Cloud computing accounting service platform design
In this study, the cloud computing accounting service platform is firstly constructed. The platform architecture mainly includes data acquisition layer, data processing and storage layer and data output and display layer. In the process of platform operation, big data tagging and platform security mechanism are used. The platform architecture is shown in Fig. 1.
In Fig.1, since the platform in this paper is built based on the cloud computing model, the network environment is provided by the cloud service provider. In the data acquisition layer, the platform obtains accounting business data through different departments within the enterprise and external networks, including enterprise operating costs, industry development data and other information, and uniformly cleans these data and stores them in the data processing and storage layer, which calls the collected data to analyze the transaction costs and benefits of the enterprise. A fault-tolerant model of intermediate data is constructed to carry out fault-tolerant processing on the intermediate data generated in the process of analyzing the cost and benefit of the cloud computing accounting service platform and other accounting services, and then the processed data is integrated and stored in different databases; in the data output display layer, the processed enterprise transaction accounting service data is provided to users through different functional modules.
After the fault-tolerant processing, the processed data is integrated and stored in different databases. In the data output display layer, the processed enterprise transaction accounting service data is provided to users through different functional modules to achieve better application results.
The accounting cost-benefit analysis
The accounting audit transaction cost analysis
The analysis of accounting and auditing transaction costs is mainly the benefit analysis of enterprise transaction costs. Through the transaction data obtained from the internal accounting transaction management system of the enterprise, the internal friction of enterprise cost is deeply analyzed from the aspects of negotiation, adoption, coordination and supervision cost of enterprise transaction. The analysis mainly includes negotiation cost, adoption cost, coordination cost and supervision cost.
-
(1)
Negotiation Cost: This cost refers to the cost that the enterprise needs to pay when signing the contract, that is, the cost of manpower and material resources consumed by both enterprises in the negotiation stage before the transaction [15]. At the same time, in the contract agreement, the transaction timeliness, service quality, incentive clauses and corresponding punishment strategies of both enterprises need corresponding negotiation costs.
-
(2)
Adoption Cost: When the enterprise completes the negotiation, it needs to make preparations for starting a new business, which is the adoption cost.
-
(3)
Coordination Cost: This cost is mainly the communication and coordination cost during the implementation of the contract. In the process of enterprise projects, due to the diversity of market demand and the variability of the future, the contracts signed between enterprises will be affected by many factors [16], which will lead to accidents in the process of cooperation. Therefore, enterprises need to coordinate accordingly and renegotiate the contents of the contracts to generate new transaction costs, which constitute coordination costs.
-
(4)
Monitoring Cost: The cost is the cost of preventive measures taken by the enterprise to prevent unexpected events in project contracts. Under normal circumstances, during the process of the project, the staff may seek personal gains, which may damage the interests of the enterprise [17]. In most cases, there will be information asymmetry between enterprises, leading to deviations in the contract behavior. Therefore, it is necessary to strengthen the supervision of the contract execution process, thus forming supervision costs.
To sum up, through the analysis of negotiation cost, adoption cost and supervision cost, we can find that accounting transaction cost will accumulate a large amount of data, and the data is important. Thus, a better storage platform is needed to ensure the availability and storage of information.
Analysis of direct cost, indirect cost and total cost-benefit of investment
According to the above accounting audit transaction cost analysis, assuming that without considering the unexpected losses, the cost-benefit of enterprise contract transaction is calculated by Formula (1):
$$C=\sum_{k=1}^nc_k^i\cdot x_k^i$$
(1)
In Formula (1), C represents the cost-effectiveness. K represents the number of contracts. \({c}_k^i\) and \({x}_k^i\) represent the transaction cost and the audit cost respectively. It can be seen that there is a positive correlation between the enterprise transaction and cost. The more transactions an enterprise has, the higher the cost will be, and the higher the enterprise benefit will be [18].
Design of the fault tolerance method for intermediate data
Build the fault tolerant model of intermediate data
In the process of cost-benefit analysis and execution of other accounting service tasks in cloud computing accounting service platform, due to the large amount of data, massive intermediate data will be generated, which also has a high importance. Due to the uncertainty of cloud computing environment, it is easy to have a low fault tolerance rate. Therefore, this study introduces dynamic fault-tolerant technology in the design of cloud computing accounting service platform.
An effective intermediate data fault-tolerant model requires some assumptions, which are as follows:
-
(1)
If some accounting service node in the cloud computing accounting service platform has intermediate data, the accounting service data can be obtained in real time, and the intermediate data information generated by the accounting service can be broadcast to other nodes in the platform.
-
(2)
Under the isolation protection mechanism of the cloud computing account service platform, when the intermediate data appears on an accounting service node, the same intermediate data does not appear on other accounting service node.
-
(3)
If an accounting service node has intermediate data and cannot execute the task normally, it can continue to execute the task through other alternative operations.
-
(4)
The real-time task cycle is equal to the time limit.
Based on the above assumptions, the following intermediate data fault-tolerant model is constructed: in order to complete the accounting service task of the cloud computing accounting service platform, it is necessary to ensure the maximum tolerance of the intermediate data generated by the platform accounting service within the corresponding time limit. When the intermediate data appears in the cloud computing accounting service platform, the data can be reasonably divided into various processors.
Assume that the accounting service task set of cloud computing accounting service platform with n cycles is:
$$S=\left\{s_1,s_2,\dots,s_n\right\}$$
(2)
The accounting service tasks in S can be reasonably allocated to m processors. The accounting service tasks can be described as si = (Ai, Bi). In it, Ai represents the fastest execution time and Bi represents the deadline. In S, each accounting service task contains four elements, namely, constituent cycle, time limit, basic version and minor version. Figure 2 is used to represent the specific flow of the intermediate data fault tolerance model.
When there is intermediate data in the cloud computing accounting service platform, the platform will open the sub-version of the task and express the implementation in the following form:
$$R=\begin{Bmatrix}Y+f\left(s_i\right)\leq d,0\\Y+f\left(s_i\right)>d,1\end{Bmatrix}$$
(3)
In Formula (3), “0” indicates that the task is not executed; and “1” indicates that the task is executed. The completion time of the minor version task is represented by Y. Periodic tasks are represented by si whose execution time is f(si). Task deadlines are represented by d.
The design of cloud computing accounting service platform can enhance the reliability of the platform. But it will lead to the occupation of platform data and cause redundancy. In this regard, after obtaining the intermediate data of tasks, it is necessary to eliminate the secondary version tasks immediately to avoid occupying the platform space.
Intermediate data fault tolerance technology based on the ant colony algorithm
When performing the accounting service task, each data has set corresponding parameters, such as bandwidth, current load, etc., which can be used to calculate the initial pheromone value. Assume that the combination of each data i and the accounting service task j is PVij, and the initial pheromone value can be calculated by Formula (4):
$${PV}_{ij}=\left[\frac{S_j}{bandwidth_i}+\frac{C_j}{MIPS_1\left(1-{Load}_i\right)}\right]$$
(4)
In Formula (4), the size of the given accounting service task j is described by Sj. The bandwidth available for data i is described by bandwidthi. The CPU time occupied during the execution of accounting service task j is described by Cj. The processor speed is described by MIPSi.The current load of data i is described by Loadi.
The initial pheromone value is allocated at the beginning of the algorithm and then used as the data pheromone value. Calculate the initial pheromone value between each data and the accounting service task, and save the calculated results in the PV matrix, as shown in Formula (5):
$${PV}_{matrix}=\left[\begin{array}{cccc}{PV}_{1,1}& {PV}_{1,2}& {PV}_{1,n-1}& {PV}_{1,n}\\ {}{PV}_{2,1}& {PV}_{2,2}& {PV}_{2,n-1}& {PV}_{2,n}\\ {}{PV}_{m-1,1}& {PV}_{m-1,2}& {PV}_{m-1,n-1}& {PV}_{m-1,n}\\ {}{PV}_{m,1}& {PV}_{m,2}& {PV}_{m,n-1}& {PV}_{m,n}\end{array}\right]$$
(5)
In Formula (5), accounting service tasks and total number of data are represented by n and m respectively. The logical state of ant colony topology is described by PVmatrix. Under one index, the colony migrates to another index to get the best data.
If the data of the cloud computing service platform has certain correlation in the operation process, it indicates that if a task comes from a specific data, the accounting service task can be assigned to all available data. Feasible accounting service task lists of data i and accounting service task j are listed by PVmatrix and displayed in each column that can be passed by PVmatrix.
In each column of the matrix PVmatrix, the maximum pheromone of ant colony is recognized as the most appropriate data. When the task is assigned, the data within the matrix PVmatrix of pheromone will update the global pheromone according to the formula (6) in order to reduce the amount of current pheromone of data acquisition. Make the next ant colony not be attracted to the current data and be able to continue to search for other data:
$$\tau_{ij}=\left(1-\rho\right)\cdot\tau_{ij}+\rho\cdot{\text{V}\tau}_{ij}$$
(6)
In Formula (6), the pheromone quantity in the data is represented by τij, τij = 1/Lbest, and Lbest is the length of the global optimal route. If τij = 0, which indicates that the global optimal route is not obtained. When m and n are taken as data and task respectively, their dynamically controllable evaporation rate is represented by ρ and calculated by formula (7):
$$\rho ={\left[{\left(\frac{n}{m}\right)}^2\right]}^{-1}$$
(7)
When the accounting service task has completed its assignment, the previously assigned task can be executed again. If the task cannot be completed well in the process of service allocation, the stored checkpoint needs to be submitted again, and the information obtained needs to be analyzed for the current task record. This data is used as the updated data.
For each checkpoint, the pheromone can be used to reduce its historical record, and a new round of local pheromone can be updated by using formula (8) so that the pheromone value can be reduced as much as possible. When the task is successfully executed, the semaphore will be reduced accordingly. If the task is not successfully executed, the semaphore will be in an abnormal reduction state:
$$\tau_{ij}=\left(1-\rho\right)\cdot\tau_{ij}+\rho\cdot\tau_0\left(E_i\right)$$
(8)
The calculation process of the ant colony algorithm is realized through the following steps:
-
Step 1: Initialize parameters: configure all parameters, use formula (4) to calculate the initial pheromone value, create an independent ant colony for each task, and select the data with the highest initial pheromone in the first iteration.
-
Step 2: Start the loop: obtain the most suitable data according to the ant colony algorithm theory, send out the accounting service task submission signal, update the global pheromone by using the formula (6), and analyze whether to implement the task. If the accounting service task is completed, end it. If not, continue to analyze the execution status of the accounting service tasks. If the accounting service task is executed successfully, that is, the storage checkpoint, the new success count is added, and the local pheromone value is updated according to Formula (4)-Formula (8). And if that account service task fails to be execute, retrieve the check point at the tail end, then resubmit, add a failure count, update the local pheromone by using a formula (8), and return to the step (2) after updating until the accounting service task which fails to be executed does not occur.
-
Step 3: Task completion: When there is no accounting service task with execution failure, complete the operation and terminate the execution.