Application of Dynamic Programming Algorithms to Accounting Information Management
Published Online: Sep 22, 2025
Received: Jan 07, 2025
Accepted: Apr 23, 2025
DOI: https://doi.org/10.2478/amns-2025-0958
Keywords
© 2025 Jing Chen, published by Sciendo
This work is licensed under the Creative Commons Attribution 4.0 International License.
Accounting information is an indispensable part of modern enterprise management, which is an important basis for enterprise decision-making, risk management, cost control and other aspects [1]. With the development of the market economy and the intensification of market competition, the demand of enterprises for accounting information is becoming stronger and stronger, and the management of enterprise accounting information has become a field of great concern [2]. Enterprise accounting information refers to the financial information generated by enterprises in the process of accounting and financial management, including financial statements, account records, accounting vouchers and so on [3–4].
Enterprise accounting information management refers to the enterprise management of the generation, collection, processing, storage and use of accounting information, mainly including the following aspects, the establishment of an effective internal control system, to ensure that the generation, collection, processing and use of accounting information in accordance with the relevant laws and regulations, to prevent distortion of accounting information or errors, to improve the quality of accounting information, and to ensure the accuracy and completeness of accounting information, timeliness and reliability, and provide effective support for enterprise management and decision-making by providing timely and accurate financial information [5–8]. The goal of enterprise accounting information management is to improve the quality, reliability and timeliness of financial information to provide support for enterprise management and decision-making [9].
With the gradual integration of intelligence with the daily management work of enterprises, the enterprise accounting information management work has ushered in a new intelligent management stage [10]. Through the retrieval of information data, the identification of characteristic attributes, and the optimization of parameters, the efficiency of accounting information management can be improved [11]. Data fusion in the intelligent era is characterized by massive data retrieval, differential multi-source information identification, and efficient processing of complicated information, which can effectively boost the operation and development of enterprises. Relying on intelligent information management methods, it can help enterprises improve their operation and management level, transform their operation and development model, and optimize their accounting information management effectiveness [12–13]. The quality of accounting information management is not only related to the normal operation of the enterprise and scientific decision-making, but also related to the coordinated operation ability between various departments, so the internal coordination mechanism of the enterprise should be improved [14–15]. Accurately controlling the role and core position of accounting information in the operation of enterprises is one of the important ways to improve the efficiency of the daily work of enterprises, which can increase the actual benefits of enterprises in an orderly manner and boost the steady development of enterprises [16–17].
In the intelligent era, enterprises rely on information technology data processing methods to improve the management capacity of enterprise accounting information, and visualize and manage all accounting information within the enterprise from the macro-whole, in order to improve the enterprise's control of project prediction, program decision-making and investment risk [18–19]. Through the construction of the accounting information database, the effective information data is stored, which is conducive to subsequent data retrieval and application, and optimizes the decision-making of enterprise managers. Intelligent accounting information management process, with dynamic data storage, visualization information operation, all-round process control characteristics, so the study of enterprise accounting information management in the intelligent era is of great significance [20–21].
In this study, the solution steps and applicable conditions of the dynamic programming algorithm are firstly elaborated, and the results of the adaptation of the accounting information management problem to the dynamic programming algorithm are obtained, which paves the way for the development of the later paper. Before carrying out the design of algorithm improvement, the complete knapsack problem was familiarized. The initial improvement of the algorithm was accomplished by using a binary algorithm based on the idea of solving a complete knapsack problem after transforming it into a 0/1 knapsack problem. Then the number of states involved in each state transition was reduced to complete the optimization of the time efficiency when managing accounting information, and superimposed to complete the ODP dynamic programming optimization. The algorithm with two rounds of optimization was applied to the practice of accounting information management, and the significant advantages of the improved algorithm in several aspects were verified through experiments.
Dynamic planning, along with linear planning, nonlinear planning and goal planning, belongs to the same branch of operations research [22], but the obvious difference between dynamic planning and the other three methods lies in the fact that the latter is more applicable to static problems, and dynamic planning is more applicable to the situation where the system contains time variables or variables related to time and its current state is related to both past and future states, and this kind of system can be called a multi-stage decision optimization system. Stage Decision Optimization System, in which the problem to be solved is a multi-stage decision problem.
In solving the multi-stage decision-making problem [23], the optimal solution formulated at a certain moment is not the optimal solution of the whole system process, which needs to be realized in the whole time process by selecting the optimal solution at each time stage to achieve the optimization of the whole system. Of course, dynamic programming is also applicable conditions, that is, the problem to be solved must satisfy the optimization principle and no after-effects. The so-called non-sequitur means that if the state at a certain stage is known, the development of the process after this stage is only related to the state at this stage, and the state experienced before this stage is irrelevant.
Establishing a dynamic planning model is the first step in solving accounting information management problems using kinetic planning algorithms [24], and its general steps are: determining the stage variables. According to the chronological or spatial characteristics, the whole process of all the problems is naturally divided into a number of interconnected phases, so that it is easy to solve the problem in the order of the phases afterwards. Generally, the stage variables are discrete variables, denoted by
Determine the state variables and the set of allowed states. The state is the state of nature at the beginning of each stage, and the possible system states at each stage are identified, which are required to characterize the process without posteriority. Typically, the state variable for stage
Determine the decision variables and the set of allowed decisions. Decisions are choices made after the state of one phase has been determined that have an impact on the state of the next phase. Generally use
Determine the state transfer relationship and write the state transfer equation, i.e.,
Write the indicator values for dynamic programming based on the principle of optimization.
Using the method of nested backward extrapolation, starting from the last stage, seek the optimization of each sub-process in turn, and finally obtain the optimization of the whole process, form the optimal strategy, and obtain the optimal index value, i.e.
Optimization Principle. A property of this problem is used in practical cases, in transforming the original problem into a subproblem, the original problem is optimal when and only when the subproblem is optimal, this is the optimization principle. The optimization principle is not obvious, nor is it always true. For example, in the management of accounting information in an enterprise, if it is changed to seek the largest gain in single-digit words, the dynamic programming algorithm fails. If the optimization principle holds, the problem is said to have an optimal substructure.
Posteriority-free. Posteriority-free means that the value of each state depends only on the characteristic variable corresponding to the current state, and is independent of the operation used to reach that state. If no posteriority is not satisfied, then the expression of the state transfer equation is unreasonable, because the same state may correspond to many instances of different nature. In the management of accounting information in an enterprise, for a given total number of funds
Overlap of subproblems. In accounting information management, the dynamic programming algorithm improves the original recursive algorithm with exponential complexity into an algorithm with only polynomial time complexity, and the key lies in the reduction of repetitive and redundant operations, which is the fundamental purpose of applying the dynamic programming algorithm. The essence of the dynamic programming algorithm is an algorithmic technique that exchanges the amount of space storage for the speed of time operations. It is realized in the process, had to store the value of each state in the operation process, in order to facilitate the subsequent operation to call the value that has been derived, thus reducing the time complexity. Therefore, problems solved using dynamic programming algorithms generally have one distinguishing feature. Overlap of subproblems. If the subproblems are not overlapping, then this act of storing each state by the dynamic programming algorithm is unnecessary or even a waste of space resources. Although the overlap of sub-problems is not a necessary condition for the applicability of dynamic programming algorithms, but only if the sub-problems have overlap, the application of dynamic programming algorithms compared with other algorithms has the advantage of time-efficiency, and this paper proposes the accounting information management problem to meet the applicability of dynamic programming algorithms, and therefore the optimization of dynamic programming algorithms is designed further in the latter part of the paper.
Before conducting experiments on the application of dynamic programming algorithms to accounting information management, one needs to be familiar with an overview of the complete knapsack problem. An overview of the complete knapsack problem is given next, first given
In this case, the complete knapsack problem is similar to the 0/1 knapsack problem, but in the complete knapsack problem, the number of each event is infinite. For each event, there are only two decisions in the 0/1 knapsack problem. Either you choose or you don't choose. However, in the complete knapsack problem, there are not only two strategies associated with the events, but a variety of strategies for choosing 0, choosing 1, and choosing 2 ……
By looking at the idea of the 0/1 knapsack problem, subproblem
The initial iteration condition is:
This conventional dynamic programming algorithm is often referred to as the NDP algorithm in event-specific applications. Like the 0/1 knapsack problem, the complete knapsack problem requires the computation of subproblems
For the knapsack problem, the following optimizations can be considered: for two events
Since the complete knapsack is structurally similar to the 0/1 knapsack problem, except that there is only one event in the 0/1 knapsack while there are multiple events in the complete knapsack, the complete knapsack problem can be considered to be converted into the 0/1 knapsack problem. Due to the limitation of the knapsack capacity, the 1st event can only be selected at most [
The initial iteration condition is:
However, the method still has defects in the time efficiency of accounting information management. Here, in order to achieve the purpose of improving the algorithm, this paper proposes a more efficient conversion method. Assuming the inference that for any positive integer
The above problem is converted to a 0/1 knapsack problem by inference, the first one is to convert the

BDP model path
When performing the computation of subproblem
By analyzing the original state transition formula, it is found that each state transition involves a large number of invalid states. After the analysis of the decision dependencies between the states, the number of states in each state transition is reduced from
A new dynamic programming algorithm (BDP) is designed by studying the complete backpack problem and the 0/1 backpack problem, which significantly reduces the time complexity by transforming the complete backpack problem into the 0/1 backpack problem, thus improving the operational efficiency of the algorithm. Further, a more efficient Optimal Dynamic Programming (ODP) algorithm is proposed by reducing the number of states involved in each state transition by optimizing the state transition formulation.The ODP algorithm not only reduces the computation of invalid states, but also further improves the time efficiency of the algorithm by reducing the number of state transitions.
The proposed improved dynamic programming algorithm and the traditional dynamic programming algorithm are used in the solution of the dynamic programming model, and the iteration process is shown in Fig. 2. From Fig. 2, it can be seen that the improved dynamic programming algorithm proposed in the paper has converged in 35 iterations, while the traditional dynamic programming algorithm starts to converge only in 65 iterations. This shows the superior performance of the improved model in this paper, which can complete the convergence in a smaller number of iterations.

Solve the iterative process
The improved dynamic programming algorithm in this paper is applied to the accounting information management of an enterprise, and the resource values of 10 different nodes of accounting are selected to test the data processing rate and accuracy of accounting information when applying the method, and the test results are shown in Fig. 3, where Fig. (a), Fig. (b), and Fig. (c) indicate the average processing time, processing rate, and processing accuracy of the method, respectively. the test data of the 10 different nodes of accounting information show that The average processing time of the method is 7.28s, and the data processing rate of accounting information is 22.12Mbit/s, which is dozens of times faster than that of the traditional accounting information management method, and the accuracy of its data processing reaches more than 98.5%. Therefore, the improved dynamic programming algorithm design in this paper greatly improves the efficiency and accuracy of accounting information management and further enhances the effectiveness of accounting information processing.

Test results
An enterprise for the listed electronic processing enterprises, in different provinces and cities with a number of factories parks, the enterprise internal financial statements using the daily statement system, business accounting and financial accounting work pressure, will be improved in this paper dynamic programming algorithm applied to eight different parks in the management of accounting information, each park in the group as a unit of the extraction of eight work groups, compared before and after the trial of the algorithm of accounting work The application data is shown in Fig. 4. The total working hours refers to the sum of the weekly working hours of all financial accounting and operational accounting related personnel. The total working hours of each group of accounting-related personnel in each factory campus are reduced by more than 30% compared with the total working hours of each group of accounting-related personnel before the use of the algorithm. It shows that the use of the improved dynamic programming algorithm proposed in this paper has led to a significant increase in the efficiency of accounting work.

Total length of work
In order to further verify the application effect of the algorithm in the enterprise accounting-related staff, 100 accounting-related staff were asked to make a perceptual evaluation of the four dimensions of the previous accounting information management method and the accounting information management method that applied the algorithm of this paper, with a score of 10 out of 10, and a minimum of 0. The four dimensions were efficiency, ease of getting started, reasonableness, and applicability, respectively. The statistics of the subjective evaluation results are shown in Table 1. The average score of related staff's evaluation of this paper's method was improved by 28% compared with the previous method. It confirms the high evaluation of the staff on the method of accounting information management based on the improved dynamic planning algorithm. The reasons for this result are analyzed mainly because the method significantly reduces the workload of accounting-related personnel and reduces the probability of human error.
The relevant staff subjective evaluation results(N=100)
| Dimension | Comparison project | <5.0 | 5.0~8.0 | >8.0 | Average score |
|---|---|---|---|---|---|
| Efficiency | Primary method | 51 | 22 | 27 | 5.25 |
| Improvement method | 12 | 59 | 29 | 8.43 | |
| Easy access | Primary method | 56 | 23 | 21 | 4.56 |
| Improvement method | 15 | 62 | 28 | 8.12 | |
| Reasonableness | Primary method | 42 | 43 | 15 | 4.89 |
| Improvement method | 15 | 70 | 15 | 7.88 | |
| Applicability | Primary method | 44 | 39 | 17 | 5.25 |
| Improvement method | 9 | 79 | 12 | 7.98 |
After incorporating the improved dynamic programming algorithm into the accounting information management, all aspects of the enterprise have been greatly improved. Through the use of the improved dynamic programming algorithm, the operating cycle of the enterprise has been greatly improved, and Figure 5 shows the change in the operating cycle of the enterprise. In 2011, when the improved dynamic planning algorithm was just implemented, the operating cycle was compressed from 130 days to 125 days, and in the following years, the operating cycle is also gradually shortened, and in 2023, the operating cycle is only 56 days. Through the application of rational dynamic planning algorithms, accounting-related staff can formulate reasonable procurement plans based on the supply and demand situation in the market, manage and monitor inventory and receivables, and significantly reduce inventory costs.

Operational cycle change
The enterprise has realized high labor productivity through the application of improved dynamic planning algorithm to accounting information management. The enterprise has been actively exploring accounting information management methods, since the introduction of improved dynamic programming algorithms and accounting information management combined mode, the rights and responsibilities are assigned to each person, everything with the data to speak, to stimulate the enthusiasm of the staff, so that employees pay more attention to their own value creation. Figure 6 shows the change of labor productivity of the enterprise, the company's labor productivity has been maintained at a high level, even in the economic downturn in the period of 2012-2014 also maintained a relatively high level.2023 compared with 2022, labor productivity increased by 6.65%.

Labor productivity change chart
Dynamic programming algorithm is an optimization method that uses state transfer to solve multi-stage decision-making. In this paper, the application of dynamic programming algorithm in accounting information management is studied in the light of the problems in accounting information management. The improved dynamic programming algorithm in this paper, when dealing with the problems in the management of aggregate information, the average processing rate is 22.12Mbit/s, compared with the traditional accounting information management methods under the information processing rate is greatly improved, and the accuracy of its data processing are more than 98.5%. It shows that the improved dynamic programming algorithm in this paper improves the effectiveness of accounting information management. The method designed in this paper is used to reduce the total working hours of the personnel responsible for accounting work in the enterprise by more than 30% compared with the total working hours of the personnel responsible for accounting work in the enterprise before the use of the method. And the average score of the evaluation of this paper's method is 28% higher than that of the previous accounting information management method. It shows that this method reduces the workload of accounting related personnel, and also improves their work efficiency, which is recognized by the staff. In addition, the method has an excellent effect on improving the operation cycle of the company. It can keep the company's labor productivity at a high level for a long time, which verifies that the method of this paper can achieve the goal of the most scientific management of accounting information and the maximization of the overall benefit of the enterprise.
