Implementation method of self-service settlement system based on digital RMB
By analyzing the transaction process data and concurrency stress testing of the self-service settlement system, we optimized the parallel settlement structure and orchestrated microservices, solved the problems of insufficient accuracy and weak processing capabilities of the traditional system in the concurrent process, and improved the concurrency accuracy and processing capabilities of the system. , improving user experience and performance.
Patent Information
- Application Number
- CN202410912025.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-09
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-09
AI Technical Summary
The traditional self-service settlement system based on digital renminbi has insufficient settlement accuracy and weak concurrent processing capabilities during the concurrent process, resulting in system performance degradation and accuracy loss under high load conditions.
By extracting self-service settlement transaction process data for code structure analysis and concurrency stress simulation testing, we evaluate the system's concurrent processing capabilities and accuracy error losses, dynamically orchestrate microservices to optimize the parallel settlement structure, and design parallel settlement firmware to improve the system's parallel processing capabilities and Resource utilization efficiency.
It improves the settlement accuracy and processing capabilities of the system under concurrent conditions, reduces accuracy errors and resource waste, and improves user experience and overall system performance.
Smart Images

Figure CN118467178B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of self-service settlement technology, and in particular to a method for implementing a self-service settlement system based on digital RMB. Background Art
[0002] With the popularity of electronic payment and mobile payment, digital RMB, as a new means of payment, has the characteristics of high efficiency, security and convenience. In this context, self-service settlement systems have emerged, especially for retail, catering, supermarkets and other scenarios that require frequent transactions. By integrating the payment function of digital RMB, the self-service settlement system can realize contactless payment, improve settlement efficiency, reduce labor costs, and enhance user experience. The core of the system is to use advanced encryption technology and distributed ledger technology (blockchain) to ensure the security and transparency of transactions. At the same time, through smart terminal devices such as self-service checkout machines and smart POS machines, users can quickly complete payment operations. This not only meets the user's demand for efficient and convenient payment, but also meets the country's strategic goal of promoting the development of the digital economy. In the future, with the further promotion and application of digital RMB, the self-service settlement system based on digital RMB is expected to become one of the mainstream payment methods, helping various industries to achieve intelligent transformation and promote the modernization of the overall social payment system. Through such a system, merchants can better manage the flow of funds and reduce the cumbersome process of cash management, while consumers can also enjoy a smoother and safer shopping experience. The application of this technology not only improves the efficiency and security of transactions, but also provides merchants with more valuable market insights through big data analysis of consumer behavior patterns, further promoting the innovation and development of business models. However, the traditional implementation method of the self-service settlement system based on digital RMB has the problems of insufficient settlement accuracy in concurrent processes and weak concurrent processing capabilities. Summary of the invention
[0003] Based on this, it is necessary to provide an implementation method of a self-service settlement system based on digital RMB to solve at least one of the above-mentioned technical problems.
[0004] To achieve the above purpose, a method for implementing a self-service settlement system based on digital RMB includes the following steps:
[0005] Step S1: Extract the self-service settlement transaction process based on the self-service settlement system of the digital RMB to obtain the self-service settlement transaction process data; perform code structure analysis on the self-service settlement transaction process data to obtain precision-controlled code structure analysis data;
[0006] Step S2: performing concurrent stress simulation test on the precision control code structure analysis data to obtain code structure concurrent stress simulation data; performing precision error loss estimation based on the code structure concurrent stress simulation data to obtain precision error loss estimation data; performing code execution precision error loss probability evaluation on the precision control code structure analysis data based on the precision error loss estimation data to obtain precision error loss probability data;
[0007] Step S3: Perform a self-service settlement precision loss simulation based on the precision error loss probability data to obtain self-service settlement precision loss simulation data; perform a self-service settlement dynamic microservice orchestration process based on the self-service settlement precision loss simulation data to obtain self-service settlement microservice orchestration data; perform a parallel settlement structure optimization design based on the self-service settlement microservice orchestration data to obtain parallel settlement structure optimization data;
[0008] Step S4: Design parallel settlement firmware for the parallel settlement structure optimization data to obtain parallel settlement firmware, and embed the parallel settlement firmware into the self-service settlement system to perform optimization of the self-service settlement system.
[0009] The present invention can fully understand the functions and operation processes of the system by extracting the self-service settlement transaction process data. This helps to determine the system requirements and design the corresponding code structure. The code structure analysis of the self-service settlement transaction process data can identify potential performance bottlenecks and optimization points. By optimizing the code structure, the efficiency and response speed of the system can be improved. The analysis of the self-service settlement transaction process can find potential errors and abnormalities, and repair and improve them in time, thereby reducing the possibility of system errors. Through concurrent stress simulation testing, the performance of the system under high load can be evaluated. This helps to determine the maximum processing capacity of the system and provide a reference for future system expansion. Through the estimation of precision error loss, the precision loss of the system under high load can be evaluated. This helps to determine the reliability level of the system under different loads and take measures to reduce the impact of precision errors. By evaluating the probability of precision error loss, the stability and reliability of the system under different conditions can be understood. This helps to formulate corresponding fault-tolerant strategies and backup plans to ensure that the system can still operate normally in the face of abnormal situations; by simulating the accuracy loss that may occur in the self-service settlement system under different conditions, we can better understand the problems that may occur in the system when facing high load or abnormal situations, so as to carry out subsequent optimization in a targeted manner. According to the accuracy loss simulation data, the self-service settlement microservices are dynamically orchestrated, so that the system can make adaptive adjustments according to actual conditions, thereby improving the stability and reliability of the system. Based on the self-service settlement microservice orchestration data, a parallel settlement structure optimization plan is designed to improve the parallel processing capability and efficiency of the system. This includes optimizing task scheduling, resource utilization, and algorithm design, thereby accelerating the settlement process and reducing the system response time. Through the optimized parallel settlement firmware, the system can process self-service settlement tasks more efficiently, improve the overall performance and response speed of the system, and thus improve the user experience. The optimized parallel settlement firmware can more effectively control the accuracy loss, reduce the probability of accuracy problems under high load or abnormal conditions, and improve the accuracy and reliability of settlement. After the parallel settlement firmware design is optimized, the system can make more full use of hardware resources, reduce resource waste, and improve the overall resource utilization efficiency of the system. Therefore, the present invention optimizes the implementation method of the traditional self-service settlement system based on the digital RMB, solves the problems of insufficient settlement accuracy and weak concurrent processing capability in the traditional implementation method of the self-service settlement system based on the digital RMB, improves the settlement accuracy in the concurrent process, and enhances the concurrent processing capability.
[0010] Preferably, step S1 comprises the following steps:
[0011] Step S11: Extract the self-service settlement transaction process based on the self-service settlement system of the digital RMB to obtain the self-service settlement transaction process data;
[0012] Step S12: performing settlement accuracy control analysis on the self-service settlement transaction process data to obtain self-service settlement accuracy control data;
[0013] Step S13: performing a settlement accuracy realization logic analysis on the self-service settlement accuracy control data to obtain settlement accuracy realization logic data;
[0014] Step S14: performing code structure analysis on the self-service settlement transaction process data according to the settlement accuracy realization logic data and the self-service settlement accuracy control data to obtain accuracy control code structure analysis data.
[0015] By extracting the self-service settlement transaction process data, the present invention can deeply understand the functions and operation processes of the self-service settlement system, so as to clarify the system requirements and design goals. By analyzing the transaction process data, the bottlenecks and optimization points in the process can be found, which is helpful to optimize the transaction process of the system, improve settlement efficiency and user experience. The extracted transaction process data can be used as a reference for system design, which is helpful to design the system architecture and functional modules to ensure that the system meets user needs. The extracted transaction process data can be used as a reference for system design, which is helpful to design the system architecture and functional modules to ensure that the system meets user needs. The risks of settlement accuracy control, including system errors, data loss and other factors affecting accuracy, are evaluated, which provides a reference for the formulation of subsequent accuracy control plans, and analyzes the realization of settlement accuracy under the current technical level. The feasibility of precision control is determined, available technical means and methods are determined, technical support is provided for subsequent implementation, and the logical process of settlement precision implementation is analyzed, including data processing, precision verification, exception handling, etc., to ensure that the logic is reasonable and complete. Security risks in the settlement process, including data leakage and tampering, are considered, and corresponding security measures and preventive measures are designed. Settlement logic is optimized, unnecessary calculations and IO operations are reduced, and settlement efficiency and performance are improved. Code quality and maintainability are ensured by parsing the code structure of self-service settlement transaction process data, reducing code bugs and errors, and converting transaction process data into a modular code structure to facilitate subsequent function expansion and maintenance. The code structure is optimized, code execution efficiency and performance are improved, and the system can still run stably under high load conditions.
[0016] Preferably, step S2 comprises the following steps:
[0017] Step S21: performing concurrent stress simulation test on the precision control code structure analysis data to obtain code structure concurrent stress simulation data;
[0018] Step S22: performing an exponential decrease gradient analysis of code execution efficiency according to the code structure concurrent pressure simulation data to obtain exponential decrease gradient data of execution efficiency;
[0019] Step S23: performing precision error loss estimation according to the execution efficiency exponential descent gradient data and the code structure concurrent pressure simulation data to obtain precision error loss estimation data;
[0020] Step S24: Evaluate the probability of code execution precision error loss on the precision control code structure analysis data according to the precision error loss estimation data and the execution efficiency exponential descent gradient data to obtain precision error loss probability data.
[0021] The present invention can evaluate the stability and performance of the system under high concurrency by performing concurrent stress simulation tests on the precision control code structure parsing data. By simulating a large number of concurrent requests, the utilization of system resources, including CPU, memory, network bandwidth, etc., is evaluated to provide a reference for system performance optimization. The response time of the system under different concurrency amounts is measured to analyze whether the system can respond to requests in a timely manner and determine the performance bottleneck of the system. According to the concurrent stress simulation data, the attenuation of system performance under different pressures is analyzed to understand the changing trend of system performance with increasing load. By analyzing the gradient data of the exponential decline in execution efficiency, the main cause of performance attenuation is determined to provide direction and basis for subsequent performance optimization. According to the analysis results, Predicting the performance of the system when the load increases in the future will help to formulate corresponding capacity planning and performance tuning strategies. According to the exponential decline gradient data of execution efficiency, it is possible to estimate the precision error loss that may occur in the system under high load conditions, including changes in data processing, calculation accuracy, etc., and analyze the impact of precision error on system functions and user experience under high load conditions. The actual loss caused by the precision error is determined. According to the precision error loss estimation data and the exponential decline gradient data of execution efficiency, a model of the probability of precision error loss is established. The probability of precision error in the system under different loads is evaluated, and the risk of precision error to business operations and user experience under different load conditions is evaluated, providing a basis for the formulation of precision control strategies.
[0022] The beneficial effect of the present invention is that by extracting the self-service settlement transaction process data, the functions and operation processes of the system can be fully understood. This helps to determine the system requirements and design the corresponding code structure. By parsing the code structure of the self-service settlement transaction process data, potential performance bottlenecks and optimization points can be identified. By optimizing the code structure, the efficiency and response speed of the system can be improved. By parsing the self-service settlement transaction process, potential errors and abnormalities can be found, and repairs and improvements can be made in a timely manner, thereby reducing the possibility of system errors. Through concurrent stress simulation testing, the performance of the system under high load can be evaluated. This helps to determine the maximum processing capacity of the system and provide a reference for future system expansion. Through the estimation of precision error loss, the precision loss of the system under high load can be evaluated. This helps to determine the reliability level of the system under different loads and take measures to reduce the impact of precision errors. By evaluating the probability of precision error loss, the stability and reliability of the system under different conditions can be understood. This helps to formulate corresponding fault-tolerant strategies and backup plans to ensure that the system can still operate normally in the face of abnormal situations; by simulating the accuracy loss that may occur in the self-service settlement system under different conditions, we can better understand the problems that may occur in the system when facing high load or abnormal situations, so as to carry out subsequent optimization in a targeted manner. According to the accuracy loss simulation data, the self-service settlement microservices are dynamically orchestrated, so that the system can make adaptive adjustments according to actual conditions, thereby improving the stability and reliability of the system. Based on the self-service settlement microservice orchestration data, a parallel settlement structure optimization plan is designed to improve the parallel processing capability and efficiency of the system. This includes optimizing task scheduling, resource utilization, and algorithm design, thereby accelerating the settlement process and reducing the system response time. Through the optimized parallel settlement firmware, the system can process self-service settlement tasks more efficiently, improve the overall performance and response speed of the system, and thus improve the user experience. The optimized parallel settlement firmware can more effectively control the accuracy loss, reduce the probability of accuracy problems under high load or abnormal conditions, and improve the accuracy and reliability of settlement. After the parallel settlement firmware design is optimized, the system can make more full use of hardware resources, reduce resource waste, and improve the overall resource utilization efficiency of the system. Therefore, the present invention optimizes the implementation method of the traditional self-service settlement system based on the digital RMB, solves the problems of insufficient settlement accuracy and weak concurrent processing capability in the traditional implementation method of the self-service settlement system based on the digital RMB, improves the settlement accuracy in the concurrent process, and enhances the concurrent processing capability. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 A schematic diagram of the steps of a method for implementing a self-service settlement system based on digital RMB;
[0024] Figure 2 for Figure 1 Detailed implementation steps of step S2 in the flowchart;
[0025] Figure 3 for Figure 1 Detailed implementation steps of step S3 in FIG.
[0026] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0027] The following is a clear and complete description of the technical method of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by technicians in this field without creative work are within the scope of protection of the present invention.
[0028] In addition, the accompanying drawings are only schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. The functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor methods and / or microcontroller methods.
[0029] It should be understood that, although the terms "first", "second", etc. may be used herein to describe various units, these units should not be limited by these terms. These terms are used only to distinguish one unit from another unit. For example, without departing from the scope of the exemplary embodiments, the first unit may be referred to as the second unit, and similarly the second unit may be referred to as the first unit. The term "and / or" used herein includes any and all combinations of one or more of the listed associated items.
[0030] To achieve this, please refer to Figures 1 to 3 , a method for implementing a self-service settlement system based on digital RMB, the method comprising the following steps:
[0031] Step S1: Extract the self-service settlement transaction process based on the self-service settlement system of the digital RMB to obtain the self-service settlement transaction process data; perform code structure analysis on the self-service settlement transaction process data to obtain precision-controlled code structure analysis data;
[0032] Step S2: performing concurrent stress simulation test on the precision control code structure analysis data to obtain code structure concurrent stress simulation data; performing precision error loss estimation based on the code structure concurrent stress simulation data to obtain precision error loss estimation data; performing code execution precision error loss probability evaluation on the precision control code structure analysis data based on the precision error loss estimation data to obtain precision error loss probability data;
[0033] Step S3: Perform a self-service settlement precision loss simulation based on the precision error loss probability data to obtain self-service settlement precision loss simulation data; perform a self-service settlement dynamic microservice orchestration process based on the self-service settlement precision loss simulation data to obtain self-service settlement microservice orchestration data; perform a parallel settlement structure optimization design based on the self-service settlement microservice orchestration data to obtain parallel settlement structure optimization data;
[0034] Step S4: Design parallel settlement firmware for the parallel settlement structure optimization data to obtain parallel settlement firmware, and embed the parallel settlement firmware into the self-service settlement system to perform optimization of the self-service settlement system.
[0035] In the embodiment of the present invention, reference Figure 1 The above is a schematic diagram of the steps of a method for implementing a self-service settlement system based on digital RMB in the present invention. In this example, the method for implementing a self-service settlement system based on digital RMB includes the following steps:
[0036] Step S1: Extract the self-service settlement transaction process based on the self-service settlement system of the digital RMB to obtain the self-service settlement transaction process data; perform code structure analysis on the self-service settlement transaction process data to obtain precision-controlled code structure analysis data;
[0037] In an embodiment of the present invention, a self-service settlement system based on the digital RMB is started to ensure the normal operation of the system, and each step in the self-service settlement transaction process is captured, including user identification, product scanning, total price calculation, and user payment, and detailed data of each step is recorded, such as timestamp, transaction amount, product information, etc.; source code related to the self-service settlement transaction is obtained, including a transaction processing module, a payment module, and a data management module, and the code is parsed using a code parsing tool to generate a structure diagram of the code, including function call relationships, dependencies, and module divisions. The relevant source code of the settlement system can also be obtained from the self-service settlement system maintainer to identify the parts of the code related to precision control, such as floating-point operations, rounding processing, and error correction, and the parsing results are converted into structured data to generate precision control code structure parsing data for subsequent processing.
[0038] Step S2: performing concurrent stress simulation test on the precision control code structure analysis data to obtain code structure concurrent stress simulation data; performing precision error loss estimation based on the code structure concurrent stress simulation data to obtain precision error loss estimation data; performing code execution precision error loss probability evaluation on the precision control code structure analysis data based on the precision error loss estimation data to obtain precision error loss probability data;
[0039] In an embodiment of the present invention, a simulation test environment is built, hardware and software are configured to ensure that the environment is similar to the actual application environment, a test script for simulating concurrent transactions is written, different concurrent scenarios are designed, such as the number of users during peak hours and transaction frequency, the test script is run, a concurrent stress test is performed on the system, the response time, CPU utilization, memory usage and other data of the system under different concurrency conditions are recorded, detailed data during the concurrent stress test process is collected, and code structure concurrent stress simulation data is generated. According to the concurrent stress simulation data, the accuracy of precision control code execution under different concurrency conditions is analyzed, the source of error is identified, and a precision error model is established. The possible precision error loss is estimated according to the actual operation data, and precision error loss estimation data is generated. The error estimation results under different scenarios are recorded, and the precision error loss estimation data is analyzed using statistical methods. The probability distribution of precision error loss under different concurrency conditions is calculated, and precision error loss probability data is generated according to the error probability distribution to describe the probability of occurrence of precision error in the system under given concurrency conditions.
[0040] Step S3: Perform a self-service settlement precision loss simulation based on the precision error loss probability data to obtain self-service settlement precision loss simulation data; perform a self-service settlement dynamic microservice orchestration process based on the self-service settlement precision loss simulation data to obtain self-service settlement microservice orchestration data; perform a parallel settlement structure optimization design based on the self-service settlement microservice orchestration data to obtain parallel settlement structure optimization data;
[0041] In the embodiment of the present invention, a simulation environment is built to ensure that it is similar to the operating environment of an actual self-service settlement system, necessary hardware and software are configured, the accuracy error loss probability data obtained from step S2 is used to determine the accuracy error conditions in different scenarios, a script for simulating accuracy loss is written, different transaction scenarios and accuracy error injection strategies are designed, such as random errors and systematic errors, the simulation script is run, the accuracy loss conditions of the self-service settlement system in different scenarios are recorded, simulation data is collected, the data generated during the simulation process is analyzed and sorted, self-service settlement accuracy loss simulation data is generated, the microservice architecture of the self-service settlement system is analyzed, the functions, dependencies and data interaction methods of each microservice are identified, a dynamic microservice orchestration strategy is formulated based on the accuracy loss simulation data, to ensure that the system can flexibly adjust the operation mode of each microservice in the case of accuracy loss, and a microservice orchestration tool (such as Kubernetes, Docker) is selected. Swarm, etc.), configure orchestration strategies, configure dynamic orchestration rules, including service expansion, load balancing, fault recovery, etc., to cope with different precision loss scenarios, perform dynamic microservice orchestration, monitor system performance, service response time and precision loss during the orchestration process, collect various data during the orchestration process, and generate self-service settlement microservice orchestration data; analyze the parallel processing structure of the current self-service settlement system, identify existing bottlenecks and optimization space, formulate a parallel settlement structure optimization plan based on the microservice orchestration data, improve the system's processing power and precision under high concurrency conditions, select parallel computing and optimization tools (such as MapReduce, Spark, etc.), configure optimization plans, and implement the optimal design of the parallel settlement structure, including algorithm optimization, data sharding, and task scheduling; test the optimized parallel settlement structure to verify its performance and precision under different concurrency conditions; collect data during the test process, generate parallel settlement structure optimization data, and record the effect and performance indicators of the optimization design.
[0042] Step S4: Design parallel settlement firmware for the parallel settlement structure optimization data to obtain parallel settlement firmware, and embed the parallel settlement firmware into the self-service settlement system to perform optimization of the self-service settlement system.
[0043] In the embodiment of the present invention, based on the parallel settlement structure optimization data, the requirements and goals of the firmware design are analyzed and determined, including performance improvement, accuracy guarantee, and concurrent processing capabilities, the overall architecture of the parallel settlement firmware is designed, and the functional modules, data flows, and interfaces of the firmware are defined. Ensure that the firmware can be seamlessly integrated with the existing system, divide the firmware functions into different modules, such as data acquisition module, parallel processing module, and result output module, optimize the algorithm for the needs of parallel processing, and ensure efficient processing of a large number of concurrent transactions. For example, use parallel computing, distributed computing, and cache optimization to write the source code of the firmware, use the programming language of the embedded system (such as C / C++) to implement the designed functional modules, test in a simulation environment, verify the functions and performance of the firmware, adjust and optimize the code, prepare the hardware platform of the existing self-service settlement system, ensure that the platform supports the operating requirements of the firmware, package the designed parallel settlement firmware, generate an executable firmware file, ensure that it is compatible with the target hardware, and use the firmware burning tool to burn the parallel settlement firmware into the hardware platform of the self-service settlement system. Ensure that the burning process is safe and reliable, and configure the self-service settlement system so that it can correctly identify and load the new firmware. Including firmware loading address, startup configuration, preliminary functional verification, ensuring the normal operation of the firmware in the self-service settlement system, the correct execution of functional modules, performance testing in the actual operating environment, verifying the firmware's performance in concurrent processing, precision control and response time, etc., debugging and optimization based on test results, solving existing problems, ensuring the firmware achieves the expected performance and stability, formally deploying the optimized firmware to the self-service settlement system, and conducting final tests before the system goes online to ensure the stability and performance of the system in actual use. After going online, the system is monitored in real time to promptly discover and solve possible problems to ensure the long-term stable operation of the system.
[0044] The present invention can fully understand the functions and operation processes of the system by extracting the self-service settlement transaction process data. This helps to determine the system requirements and design the corresponding code structure. The code structure analysis of the self-service settlement transaction process data can identify potential performance bottlenecks and optimization points. By optimizing the code structure, the efficiency and response speed of the system can be improved. The analysis of the self-service settlement transaction process can find potential errors and abnormalities, and repair and improve them in time, thereby reducing the possibility of system errors. Through concurrent stress simulation testing, the performance of the system under high load can be evaluated. This helps to determine the maximum processing capacity of the system and provide a reference for future system expansion. Through the estimation of precision error loss, the precision loss of the system under high load can be evaluated. This helps to determine the reliability level of the system under different loads and take measures to reduce the impact of precision errors. By evaluating the probability of precision error loss, the stability and reliability of the system under different conditions can be understood. This helps to formulate corresponding fault-tolerant strategies and backup plans to ensure that the system can still operate normally in the face of abnormal situations; by simulating the accuracy loss that may occur in the self-service settlement system under different conditions, we can better understand the problems that may occur in the system when facing high load or abnormal situations, so as to carry out subsequent optimization in a targeted manner. According to the accuracy loss simulation data, the self-service settlement microservices are dynamically orchestrated, so that the system can make adaptive adjustments according to actual conditions, thereby improving the stability and reliability of the system. Based on the self-service settlement microservice orchestration data, a parallel settlement structure optimization plan is designed to improve the parallel processing capability and efficiency of the system. This includes optimizing task scheduling, resource utilization, and algorithm design, thereby accelerating the settlement process and reducing the system response time. Through the optimized parallel settlement firmware, the system can process self-service settlement tasks more efficiently, improve the overall performance and response speed of the system, and thus improve the user experience. The optimized parallel settlement firmware can more effectively control the accuracy loss, reduce the probability of accuracy problems under high load or abnormal conditions, and improve the accuracy and reliability of settlement. After the parallel settlement firmware design is optimized, the system can make more full use of hardware resources, reduce resource waste, and improve the overall resource utilization efficiency of the system. Therefore, the present invention optimizes the implementation method of the traditional self-service settlement system based on the digital RMB, solves the problems of insufficient settlement accuracy and weak concurrent processing capability in the traditional implementation method of the self-service settlement system based on the digital RMB, improves the settlement accuracy in the concurrent process, and enhances the concurrent processing capability.
[0045] Preferably, step S1 comprises the following steps:
[0046] Step S11: Extract the self-service settlement transaction process based on the self-service settlement system of the digital RMB to obtain the self-service settlement transaction process data;
[0047] Step S12: performing settlement accuracy control analysis on the self-service settlement transaction process data to obtain self-service settlement accuracy control data;
[0048] Step S13: performing a settlement accuracy realization logic analysis on the self-service settlement accuracy control data to obtain settlement accuracy realization logic data;
[0049] Step S14: performing code structure analysis on the self-service settlement transaction process data according to the settlement accuracy realization logic data and the self-service settlement accuracy control data to obtain accuracy control code structure analysis data.
[0050] In an embodiment of the present invention, a self-service settlement system based on the digital RMB is started to ensure that the system runs normally and all relevant modules have been started. A data capture tool is used to record the detailed data of each step in the self-service settlement transaction process in real time, including user identification, product scanning, price calculation, payment verification, and transaction completion. The captured transaction process data is stored in a log file to ensure that each recorded transaction step has key data such as timestamp, transaction amount, product information, and user ID. The self-service settlement transaction process data is cleaned and preprocessed to remove irrelevant or erroneous data to ensure data accuracy. Key factors related to settlement accuracy, such as amount rounding rules, tax calculation methods, and floating-point operation errors, are identified. Analysis methods (such as statistical analysis, error analysis, etc.) are selected to analyze the precision control factors in the transaction process data. Detailed data analysis is performed to identify the control of settlement accuracy in different transaction scenarios and generate self-service settlement precision control data. Extract the implementation logic related to settlement accuracy, select analysis tools and methods (such as logic analysis, flowchart analysis, etc.), conduct detailed analysis of the extracted accuracy control logic, conduct structured analysis of the implementation logic of settlement accuracy control, identify the logical relationship and interdependence of each step, generate settlement accuracy implementation logic data, record the logical structure and key logic points in the analysis process, collect source code related to the self-service settlement transaction process, including settlement module, payment module, data processing module, select and configure code parsing tools (such as static code analysis tools, code auditing tools, etc.), use code parsing tools to parse the source code, generate a code structure diagram, display the calling relationship and dependency relationship between the code modules, combine the settlement accuracy implementation logic data with the code structure, focus on analyzing the code segments involving accuracy control, identify potential accuracy problems, convert the parsing results into structured data, generate accuracy control code structure parsing data, ensure the systematicness and integrity of the data, and facilitate subsequent processing.
[0051] By extracting the self-service settlement transaction process data, the present invention can deeply understand the functions and operation processes of the self-service settlement system, so as to clarify the system requirements and design goals. By analyzing the transaction process data, the bottlenecks and optimization points in the process can be found, which is helpful to optimize the transaction process of the system, improve settlement efficiency and user experience. The extracted transaction process data can be used as a reference for system design, which is helpful to design the system architecture and functional modules to ensure that the system meets user needs. The extracted transaction process data can be used as a reference for system design, which is helpful to design the system architecture and functional modules to ensure that the system meets user needs. The risks of settlement accuracy control, including system errors, data loss and other factors affecting accuracy, are evaluated, which provides a reference for the formulation of subsequent accuracy control plans, and analyzes the realization of settlement accuracy under the current technical level. The feasibility of precision control is determined, available technical means and methods are determined, technical support is provided for subsequent implementation, and the logical process of settlement precision implementation is analyzed, including data processing, precision verification, exception handling, etc., to ensure that the logic is reasonable and complete. Security risks in the settlement process, including data leakage and tampering, are considered, and corresponding security measures and preventive measures are designed. Settlement logic is optimized, unnecessary calculations and IO operations are reduced, and settlement efficiency and performance are improved. Code quality and maintainability are ensured by parsing the code structure of self-service settlement transaction process data, reducing code bugs and errors, and converting transaction process data into a modular code structure to facilitate subsequent function expansion and maintenance. The code structure is optimized, code execution efficiency and performance are improved, and the system can still run stably under high load conditions.
[0052] Preferably, step S2 comprises the following steps:
[0053] Step S21: performing concurrent stress simulation test on the precision control code structure analysis data to obtain code structure concurrent stress simulation data;
[0054] Step S22: performing an exponential decrease gradient analysis of code execution efficiency according to the code structure concurrent pressure simulation data to obtain exponential decrease gradient data of execution efficiency;
[0055] Step S23: performing precision error loss estimation according to the execution efficiency exponential descent gradient data and the code structure concurrent pressure simulation data to obtain precision error loss estimation data;
[0056] Step S24: Evaluate the probability of code execution precision error loss on the precision control code structure analysis data according to the precision error loss estimation data and the execution efficiency exponential descent gradient data to obtain precision error loss probability data.
[0057] As an example of the present invention, refer to Figure 2 As shown, in this example, step S2 includes:
[0058] Step S21: performing concurrent stress simulation test on the precision control code structure analysis data to obtain code structure concurrent stress simulation data;
[0059] In the embodiment of the present invention, a test platform of an actual operating environment is built, hardware (such as servers, network equipment, etc.) and software (such as databases, middleware, etc.) are configured, necessary test tools and monitoring tools such as Apache JMeter, Gatling, and Prometheus are installed, and multiple concurrent test scenarios are designed, including different numbers of users, transaction frequencies, and transaction types. Ensure that different scenarios such as peak hours, average loads, and low loads are covered, formulate a detailed test plan, determine the specific parameters and goals of each scenario, write concurrent test scripts, simulate the operation process of real users, including login, product scanning, settlement, and payment, ensure that the script contains key operations related to precision control, so as to test the performance of these operations in a concurrent environment, run concurrent test scripts, and perform concurrent stress testing on the system. During the test, various performance indicators of the system are monitored in real time, such as response time, throughput, CPU usage, and memory usage, record the performance of the system under different concurrent conditions, and generate code structure concurrent stress simulation data.
[0060] Step S22: performing an exponential decrease gradient analysis of code execution efficiency according to the code structure concurrent pressure simulation data to obtain exponential decrease gradient data of execution efficiency;
[0061] In an embodiment of the present invention, the code structure concurrent pressure simulation data is preprocessed, the data is cleaned and normalized, noise and outliers are removed, the data is classified and grouped, and the data is sorted according to different concurrent scenarios and test conditions. A code execution efficiency analysis model is established, and an analysis method (such as regression analysis, cluster analysis, etc.) is selected to evaluate the change in code execution efficiency, determine key indicators for evaluating execution efficiency, such as response time, throughput, and resource utilization, analyze the execution efficiency data under different concurrent conditions, identify the changing trend of code execution efficiency, focus on the situation where the efficiency decreases exponentially, analyze the system status and load conditions in these situations, use data visualization tools (such as Matplotlib, Tableau, etc.) to generate a gradient graph of efficiency decrease, intuitively display the change in execution efficiency, calculate the exponential decrease gradient of execution efficiency in each concurrent scenario, and generate exponential decrease gradient data of execution efficiency. The gradient data should include the number of concurrent users, response time, throughput, resource utilization, and corresponding gradient change values of each scenario.
[0062] Step S23: performing precision error loss estimation according to the execution efficiency exponential descent gradient data and the code structure concurrent pressure simulation data to obtain precision error loss estimation data;
[0063] In an embodiment of the present invention, the execution efficiency exponential decline gradient data is integrated with the code structure concurrent pressure simulation data to ensure the relevance and integrity of the data, and the integrated data is preprocessed, including data cleaning, standardization and normalization processing, to ensure the accuracy of data analysis, and a precision error estimation model is established based on the integrated data. Select a suitable error estimation method, such as error propagation analysis and Monte Carlo simulation, consider the sources of precision errors under different concurrency conditions in the model, such as floating point operation errors, rounding errors, and data synchronization errors, analyze the precision errors under different concurrency conditions, estimate the precision loss of the system under high concurrency, calculate the mean and variance of the error and other statistical indicators, generate precision error loss estimation data under different scenarios, organize the analysis results into structured data, and generate precision error loss estimation data. The data should include detailed information such as the error loss value, the source of the error and its impact in each concurrency scenario.
[0064] Step S24: Evaluate the probability of code execution precision error loss on the precision control code structure analysis data according to the precision error loss estimation data and the execution efficiency exponential descent gradient data to obtain precision error loss probability data.
[0065] In an embodiment of the present invention, the precision error loss estimation data is integrated with the execution efficiency exponential descent gradient data to ensure the integrity and consistency of the data, the data is further preprocessed to ensure that all data are analyzed on the same statistical basis, a probability model (such as a Bayesian network, a Markov chain, etc.) is selected to evaluate the probability of precision error loss during code execution, the required parameters and conditions are determined according to the model requirements, the corresponding data is prepared, the precision error loss is calculated using the probability model, the probability of precision error loss in the system under different concurrent scenarios is evaluated, the probability distribution and cumulative probability of each error source are calculated, the key influencing factors are determined, the calculation results are analyzed, the probability of precision error loss in the system under different conditions is identified, the accuracy and reliability of the model are verified, the credibility of the probability evaluation results is ensured, the probability evaluation results are organized into structured data, and precision error loss probability data is generated. The data should include detailed information such as the error loss probability, influencing factors and their weights in each concurrent scenario.
[0066] The present invention can evaluate the stability and performance of the system under high concurrency by performing concurrent stress simulation tests on the precision control code structure parsing data. By simulating a large number of concurrent requests, the utilization of system resources, including CPU, memory, network bandwidth, etc., is evaluated to provide a reference for system performance optimization. The response time of the system under different concurrency amounts is measured to analyze whether the system can respond to requests in a timely manner and determine the performance bottleneck of the system. According to the concurrent stress simulation data, the attenuation of system performance under different pressures is analyzed to understand the changing trend of system performance with increasing load. By analyzing the gradient data of the exponential decline in execution efficiency, the main cause of performance attenuation is determined to provide direction and basis for subsequent performance optimization. According to the analysis results, Predicting the performance of the system when the load increases in the future will help to formulate corresponding capacity planning and performance tuning strategies. According to the exponential decline gradient data of execution efficiency, it is possible to estimate the precision error loss that may occur in the system under high load conditions, including changes in data processing, calculation accuracy, etc., and analyze the impact of precision error on system functions and user experience under high load conditions. The actual loss caused by the precision error is determined. According to the precision error loss estimation data and the exponential decline gradient data of execution efficiency, a model of the probability of precision error loss is established. The probability of precision error in the system under different loads is evaluated, and the risk of precision error to business operations and user experience under different load conditions is evaluated, providing a basis for the formulation of precision control strategies.
[0067] Preferably, step S23 includes the following steps:
[0068] Step S231: performing limit nonlinear efficiency analysis on the execution efficiency exponential descent gradient data to obtain execution efficiency nonlinear limit data;
[0069] Step S232: performing response capability attenuation simulation according to the execution efficiency nonlinear limit data and the code structure concurrent pressure simulation data to obtain response capability attenuation simulation data;
[0070] Step S233: performing random attenuation response quantization processing on the response capability attenuation simulation data to obtain random attenuation response quantization data;
[0071] Step S234: performing attenuation gradient division on the response capability attenuation simulation data according to the random attenuation response quantization data to obtain response capability attenuation gradient data; performing response attenuation gradient difference calculation on the response capability attenuation gradient data using a preset response attenuation gradient numerical analysis model to obtain response attenuation gradient difference data;
[0072] Step S235: perform precision error loss estimation based on the response attenuation gradient difference data and the execution efficiency nonlinear limit data to obtain precision error loss estimation data.
[0073] In the embodiment of the present invention, the execution efficiency exponential decline gradient data is collected to ensure the integrity and accuracy of the data, data cleaning and preprocessing are performed to remove outliers and noise data, a method of extreme nonlinear analysis is selected, such as fractal analysis and nonlinear dynamics analysis, and analysis tools and parameters are configured to ensure the accuracy of the analysis process. The selected method is used to perform extreme nonlinear analysis on the execution efficiency exponential decline gradient data to identify nonlinear characteristics and extreme behaviors in the data, analyze the nonlinear changes of the data under different concurrency conditions, determine the limit state of system performance, convert the analysis results into structured data, and generate execution efficiency nonlinear limit data. The data should include nonlinear characteristics under different concurrency scenarios. , limit values and their changing trends; according to the nonlinear limit data of execution efficiency, establish a response capacity decay simulation model, determine the key parameters and conditions of the simulation, such as the number of concurrent users and transaction frequency, run the simulation model, simulate the system's response capacity under different concurrency conditions, record the decay of performance indicators such as system response time and throughput, collect the data generated during the simulation process, generate response capacity decay simulation data, the data should include response time, throughput, CPU usage, memory usage under different concurrency scenarios, select quantitative methods, such as Monte Carlo simulation and random process analysis, configure quantitative tools and parameters, ensure the accuracy of the quantitative process, and simulate the response capacity decay simulation data Perform random attenuation response quantification processing to quantify the random attenuation of system response capacity under different concurrent conditions, calculate the statistical characteristics of the quantification results, such as mean and variance, convert the quantification results into structured data, and generate random attenuation response quantification data. The data should include the quantified values and statistical characteristics of response time and throughput in different scenarios. According to the random attenuation response quantification data, divide the response capacity attenuation simulation data into attenuation gradients, divide the attenuation intervals of different gradients, mark the degree of response capacity attenuation in each interval, use the preset response attenuation gradient numerical analysis model to analyze the divided gradient data, calculate the difference of each attenuation gradient, and evaluate the response capacity changes between different gradients. , perform difference calculation on the response attenuation gradient data to generate response attenuation gradient difference data. The data should include the difference of each gradient interval, the change trend and its statistical analysis results. According to the response attenuation gradient difference data and the execution efficiency nonlinear limit data, establish the precision error loss estimation model, determine the key parameters and assumptions of the model, use the error model to estimate the precision error loss of the system under different concurrent conditions, calculate the precision error loss value in different scenarios, evaluate the impact of the error on the system performance and accuracy, convert the error loss estimation results into structured data, and generate precision error loss estimation data. The data should include the error loss value, error source and its impact degree in each concurrent scenario.
[0074] The present invention can determine the performance of the system when the load reaches the limit by performing extreme nonlinear efficiency analysis on the execution efficiency exponential decline gradient data, reveal the system's limit capacity and performance bottleneck, analyze the execution efficiency nonlinear limit data, identify the system's nonlinear efficiency characteristics under high load conditions, including system resource saturation points, performance jump areas, etc., provide a basis for system performance tuning, simulate the system's response capability attenuation when the load increases according to the execution efficiency nonlinear limit data and the code structure concurrent pressure simulation data, including indicators such as response delay and error rate, predict the system's stability performance under extreme load through the response capability attenuation simulation data, including whether the system is prone to crash and whether it can maintain normal operation, perform random attenuation response quantization processing on the response capability attenuation simulation data, and convert the response capability attenuation into specific numerical indicators, which is convenient for subsequent analysis and By comparison, through quantitative processing, the degree of attenuation of the system's response capacity under different loads can be accurately evaluated, providing a data basis for further analysis. According to the random attenuation response quantification data, the response capacity attenuation simulation data is divided into attenuation gradients, and the system's response capacity attenuation is divided into different levels or intervals for easy analysis and processing. The preset response attenuation gradient numerical analysis model is used to calculate the difference between the response capacity attenuation gradient data to determine the relative size of the attenuation degree, which helps to optimize decision-making. According to the response attenuation gradient difference data and the execution efficiency nonlinear limit data, the accuracy error loss that may occur in the system under high load conditions is estimated, thereby evaluating the reliability and stability of the system. Through the accuracy error loss estimation data, the formulation of optimization strategies is guided, including adjusting system resource allocation, optimizing algorithm design, etc., to improve the performance and stability of the system under high load conditions.
[0075] Preferably, performing limit nonlinear efficiency analysis on the execution efficiency exponential descent gradient data comprises the following steps:
[0076] Performing an exponential decrease range evaluation on the exponential decrease gradient data of the execution efficiency to obtain exponential decrease range evaluation data; segmenting the exponential decrease gradient data of the execution efficiency according to the exponential decrease range evaluation data to obtain efficiency decrease gradient segmentation data;
[0077] According to the efficiency decline gradient segmentation data, the execution efficiency exponential decline gradient data is evaluated for the operating resource proportions between different gradients to obtain the gradient operating resource proportion data;
[0078] According to the efficiency decline gradient segmentation data, the gradient operation resource proportion data is correlated and analyzed to obtain the efficiency-resource gradient reduction correlation data;
[0079] Based on the efficiency-resource gradient loss correlation data and the gradient operation resource proportion data, an extreme nonlinear efficiency analysis is performed to obtain the execution efficiency nonlinear extreme data.
[0080] In the embodiment of the present invention, the execution efficiency exponential decline gradient data is collected to ensure the integrity and accuracy of the data. The data is preprocessed, including removing noise and outliers.Calculate the execution efficiency drop between each gradient point and the previous gradient point, use the drop formula, which is the efficiency of the current gradient point minus the efficiency of the previous gradient point divided by the efficiency of the previous gradient point, to evaluate the drop of each point, organize the calculation results into structured data, and generate exponential drop evaluation data. The data should include the original efficiency value of each gradient point and the calculated drop value; determine the segmentation strategy based on the exponential drop evaluation data, select the threshold to distinguish different efficiency drop gradients (for example, high, medium, and low gradients), and segment the execution efficiency exponential drop gradient data according to the determined threshold. Each segment contains a series of gradient points corresponding to different efficiency drop degrees. Organize and record the segments. The data should include the starting point, end point and detailed information of all gradient points in each segment; collect the system's operating resource usage data in different gradient segments. The resource data includes key performance indicators such as CPU usage, memory usage, and disk IO. Analyze the data of each efficiency-decreasing gradient segment, calculate the resource share in each segment, and use the resource share formula, that is, the total usage of the resource in the segment divided by the total time in the segment, to calculate the share of each resource. Organize and record the resource share in each gradient segment, and generate gradient operation resource share data. The data should include the share value of each resource in each segment and the corresponding statistical indicators (such as the average value). , maximum value, minimum value, etc.), collect and organize the efficiency decline gradient segmentation data and gradient operation resource proportion data, ensure that the data format and time range of the two are consistent, pre-process the data, including missing value filling, outlier processing, etc., select correlation analysis methods, such as Pearson correlation coefficient, Spearman correlation coefficient or linear regression analysis, and calculate the correlation coefficient between resource utilization rate and efficiency decline for each gradient segment. The calculation process includes: calculating the average resource utilization rate in each segment, calculating the average efficiency decline range in each segment, and calculating the correlation coefficient between resource utilization rate and efficiency decline range; organize the calculation results into structured data to generate efficiency-resource gradient loss correlation data. The data should include each The statistical indicators such as the correlation coefficient value and significance level of each segment are integrated; the efficiency-resource gradient reduction correlation data and the gradient operation resource proportion data are integrated to ensure the consistency and integrity of the data; a nonlinear analysis model is selected, such as fractal analysis, nonlinear regression analysis or machine learning algorithm (such as neural network, support vector machine, etc.); the integrated data is analyzed using the selected nonlinear analysis model to evaluate the efficiency limit of the system under different resource proportions, calculate the nonlinear efficiency limit of the system under different conditions, identify the limit state of system performance, convert the analysis results into structured data, and generate execution efficiency nonlinear limit data. The data should include the nonlinear efficiency limit value of each gradient segment, the correlation analysis results and their changing trends.
[0081] By evaluating the exponential decline of the execution efficiency exponential decline gradient data, the present invention can accurately understand the changes in system performance under different loads, help identify the performance limits and bottlenecks of the system, and after determining the exponential decline, the cause of the performance decline can be more accurately located, whether it is insufficient hardware resources or inefficient software algorithms, to provide guidance for further optimization, and segment the execution efficiency exponential decline gradient data according to the exponential decline to make the data structure clearer and facilitate subsequent analysis and understanding. The segmented data can help identify the trends and characteristics of system performance decline under different loads, so as to better understand the performance of the system under different workloads. By evaluating the proportion of operating resources between different gradients, the allocation of system resources under different loads can be understood, providing guidance for resource optimization and adjustment. Based on this, analyzing the proportion of gradient running resources can help determine the resource utilization of the system under different loads, and help optimize resource allocation to improve the overall efficiency of the system. Through correlation analysis, we can gain an in-depth understanding of the relationship between execution efficiency and system resource utilization, and find out the connection between efficiency decline and resource consumption. Analyzing the efficiency-resource gradient loss correlation can help identify the main reasons for system performance decline and provide direction for targeted optimization. Based on the efficiency-resource gradient loss correlation data and the gradient running resource proportion data, extreme nonlinear efficiency analysis can accurately locate the performance limit of the system under different loads and provide guidance for performance optimization. The analyzed execution efficiency nonlinear limit data can help formulate targeted performance optimization strategies, thereby improving the performance of the system under various loads.
[0082] Preferably, step S24 includes the following steps:
[0083] Step S241: performing precision error estimation offset calculation on the precision error loss estimation data to obtain precision error estimation offset data;
[0084] Step S242: performing interactive impact factor analysis on the execution efficiency exponential decline gradient data according to the precision error estimation offset data to obtain error offset-efficiency decline interactive impact factor data;
[0085] Step S243: performing running thread demand analysis according to the error offset-efficiency reduction interaction impact factor data to obtain running thread demand analysis data;
[0086] Step S244: performing random response variable distribution continuity analysis on the running thread demand analysis data based on the GLM model and the error offset-efficiency reduction interaction factor data to obtain random response variable distribution continuity data;
[0087] Step S245: perform code execution accuracy error loss probability evaluation on the accuracy control code structure analysis data according to the error offset-efficiency reduction interaction impact factor data, the running thread demand analysis data, and the random response variable distribution continuity data to obtain accuracy error loss probability data.
[0088] In the embodiment of the present invention, the precision error loss estimation data is collected and sorted to ensure the integrity and accuracy of the data, and data preprocessing is performed, including removing noise and outliers, selecting an offset calculation method, such as mean offset, error propagation analysis, calculating the offset value of the precision error for each data point, paying attention to processing different error sources and their influencing factors during the calculation process, sorting the calculation results into structured data, generating precision error estimation offset data, the data should include the original estimated error value, the actual error value and the calculated offset value of each data point, integrating the precision error estimation offset data and the execution efficiency exponential descent gradient data, ensuring that the data format and time range of the two are consistent, and preprocessing the integrated data. , ensure the consistency and integrity of the data, select the interactive factor analysis method, such as multiple regression analysis, principal component analysis (PCA), perform interactive factor analysis on the integrated data, calculate the interactive factors between the accuracy error offset and the execution efficiency reduction, analyze the comprehensive impact of different factors on the system accuracy and efficiency, generate the error offset-efficiency reduction interactive factor data, organize the analysis results into structured data, generate the error offset-efficiency reduction interactive factor data, select the thread demand analysis method, such as thread scheduling analysis, parallel computing model, according to the error offset-efficiency reduction interactive factor data, perform running thread demand analysis, calculate the threads required under different running conditions. The number of processes is calculated to meet the system performance and accuracy requirements, and the analysis results are organized into structured data to generate running thread demand analysis data; the error offset-efficiency reduction interaction factor data and running thread demand analysis data are collected and organized, and a generalized linear model (GLM) such as linear regression, log-linear model or Poisson regression is selected, and the error offset-efficiency reduction interaction factor data and the running thread demand analysis data are used to fit the GLM model. Based on the GLM model, a random response variable distribution analysis is performed on the running thread demand analysis data, and the distribution characteristics of the random response variables are calculated, including the mean, variance and distribution form. The calculated random response variable distribution characteristics are analyzed for continuity, and their Distribution continuity under different conditions, identify and analyze discontinuity points or mutation points in the distribution, generate random response variable distribution continuity data, organize the analysis results, and generate random response variable distribution continuity data; integrate error offset-efficiency reduction interaction factor data, running thread demand analysis data and random response variable distribution continuity data, select a probability evaluation model, such as Monte Carlo simulation, Bayesian analysis or Markov chain, use the integrated data to evaluate the probability of code execution accuracy error loss, calculate the accuracy error loss probability of code execution under different conditions, including the average error probability and the extreme error probability, organize the calculation results into structured data, and generate accuracy error loss probability data.
[0089] The present invention can more accurately estimate the actual precision error offset by performing offset calculation on the precision error loss estimation data, thereby improving the accuracy of error estimation. By analyzing the interaction factors between the precision error estimation offset data and the execution efficiency exponential decline gradient data, the main factors affecting the efficiency decline can be identified, which is helpful for in-depth understanding of the changing rules of system performance. Identifying the interaction factors helps to accurately locate the root cause of the system performance decline, and provides guidance for subsequent optimization and improvement. Thread demand analysis is performed based on the error offset-efficiency decline interaction factor data to determine the number of running threads required by the system under different conditions, which is helpful for rationally planning system resources and improving system performance and efficiency. Analyzing the running thread demand can help optimize the system's thread scheduling. Strategy, improve system resource utilization, reduce resource waste, and thus improve overall efficiency. Through continuity analysis, we can better understand the distribution of running thread demand data, evaluate the continuity and stability of data, and ensure the accuracy and reliability of data. Continuity analysis helps predict fluctuations in system performance, helping system administrators and developers to better adjust system parameters to cope with fluctuations and maintain system stability. By evaluating the probability of precision error loss, we can quantify the risk of precision error in the system under different conditions, help formulate risk management strategies, and reduce the probability of system failure. The obtained precision error loss probability data can help system administrators and developers make more reasonable optimization decisions, improve system stability and reliability, and ensure that the system can operate normally under different conditions.
[0090] Preferably, step S3 comprises the following steps:
[0091] Step S31: normalizing the precision error loss probability data to obtain precision error loss probability normalized data;
[0092] Step S32: performing a self-service settlement accuracy loss simulation based on the accuracy error loss probability normalized data and the accuracy error loss estimation data to obtain self-service settlement accuracy loss simulation data;
[0093] Step S33: Performing self-service settlement dynamic microservice orchestration processing according to the self-service settlement accuracy loss simulation data to obtain self-service settlement microservice orchestration data;
[0094] Step S34: Perform distributed cache synchronization processing on the self-service settlement microservice orchestration data to obtain self-service settlement distributed cache synchronization data;
[0095] Step S35: Perform parallel settlement structure optimization design based on the self-service settlement microservice orchestration data and the self-service settlement distributed cache synchronization data to obtain parallel settlement structure optimization data.
[0096] As an example of the present invention, refer to Figure 3 As shown, in this example, step S3 includes:
[0097] Step S31: normalizing the precision error loss probability data to obtain precision error loss probability normalized data;
[0098] In an embodiment of the present invention, Min-Max normalization is used to normalize the precision error loss probability data, and the data is scaled to the range of [0, 1] or the standard normal distribution to ensure that the processed data is evenly distributed, which is convenient for subsequent analysis, and the normalization processing results are sorted to generate precision error loss probability normalized data.
[0099] Step S32: performing a self-service settlement accuracy loss simulation based on the accuracy error loss probability normalized data and the accuracy error loss estimation data to obtain self-service settlement accuracy loss simulation data;
[0100] In an embodiment of the present invention, the precision error loss probability normalized data and the precision error loss estimation data are integrated to ensure that the data formats and time ranges of the two are consistent, a simulation method is selected, such as Monte Carlo simulation or simulation based on statistical models, and simulation tools and parameters are configured to ensure the accuracy of the simulation results. The integrated data is used to simulate the self-service settlement precision loss, and the precision loss of the simulation system under different conditions is simulated. The precision loss value of each simulation is recorded, the impact of different conditions on the system accuracy is analyzed, the simulation results are sorted, and the self-service settlement precision loss simulation data is generated.
[0101] Step S33: Performing self-service settlement dynamic microservice orchestration processing according to the self-service settlement accuracy loss simulation data to obtain self-service settlement microservice orchestration data;
[0102] In an embodiment of the present invention, self-service settlement precision loss simulation data is collected to ensure that the data is complete and free of outliers, and a microservice orchestration strategy is selected, such as rule-based orchestration and automated orchestration tools (such as Kubernetes). The orchestration strategy and parameters are determined according to the simulation data to ensure the dynamic adaptability of the system. Dynamic microservice orchestration processing is performed according to the self-service settlement precision loss simulation data, and parameters such as resource allocation and load balancing of microservices are dynamically adjusted to optimize system performance and precision. The orchestration results are sorted to generate self-service settlement microservice orchestration data.
[0103] Step S34: Perform distributed cache synchronization processing on the self-service settlement microservice orchestration data to obtain self-service settlement distributed cache synchronization data;
[0104] In an embodiment of the present invention, the self-service settlement microservice orchestration data is collected and sorted to ensure the integrity and accuracy of the data, and a suitable distributed cache technology such as Redis and Memcached is selected. The cache cluster is configured according to system requirements, including the number of cache nodes, cache strategies (such as LRU, LFU, etc.) and cache capacity, and the synchronization strategy of the distributed cache is determined, such as active synchronization (Push), passive synchronization (Pull) or hybrid synchronization. The parameters of the synchronization strategy are configured to ensure the consistency and real-time performance of the cached data, synchronize the self-service settlement microservice orchestration data to the distributed cache, realize the automatic update and invalidation processing mechanism of the cached data, ensure the synchronization of the cached data with the source data, sort out the synchronization processing results, and generate the self-service settlement distributed cache synchronization data.
[0105] Step S35: Perform parallel settlement structure optimization design based on the self-service settlement microservice orchestration data and the self-service settlement distributed cache synchronization data to obtain parallel settlement structure optimization data.
[0106] In an embodiment of the present invention, the self-service settlement microservice orchestration data and the self-service settlement distributed cache synchronization data are integrated to ensure that the data format and time range of the two are consistent, analyze the existing settlement structure, identify bottlenecks and potential optimization points, and evaluate the parallel processing capability and load distribution of the system based on the integrated data. Develop a parallel settlement structure optimization strategy, such as task decomposition, load balancing, and resource scheduling, determine specific optimization measures and parameter configurations, such as the number of parallel threads and task allocation methods, and adjust and optimize the existing settlement structure based on the optimization strategy to achieve a new parallel settlement structure to ensure efficient operation of the system under high concurrency conditions, organize the results of the optimization design, and generate parallel settlement structure optimization data.
[0107] The present invention normalizes the precision error loss probability data so that the data is on a unified scale, which is convenient for subsequent processing and comparison and ensures the consistency of different data sources. Normalization can convert data into relative proportions, eliminate the absolute value differences between data, and make it easier to compare and analyze different data. By simulating precision loss, the precision loss that may occur in the system under different conditions can be evaluated to help predict the stability and reliability of the system. The simulation results can provide a basis for formulating optimization measures and improvement plans, help reduce the risk of precision loss, and improve the performance and reliability of the system. According to the self-service settlement precision loss simulation data, the orchestration mode of microservices is dynamically adjusted, so that the system can more flexibly allocate resources when facing precision loss, thereby improving the reliability of the system. High system elasticity and adaptability. Through the dynamic orchestration of microservices, the system performance can be optimized according to the real-time precision loss situation, the system response speed and processing efficiency can be improved, and the distributed cache synchronization processing of the self-service settlement microservice orchestration data can be ensured to ensure data consistency between different nodes and avoid errors and confusion caused by data synchronization. Through distributed cache synchronization processing, the time and cost of data synchronization can be reduced, and the performance and efficiency of the system can be improved. The parallel settlement structure optimization design based on the self-service settlement microservice orchestration data and distributed cache synchronization data can effectively utilize the advantages of parallel computing and improve the system's computing speed and efficiency. The optimized design can reasonably utilize system resources, avoid waste and idleness of resources, and improve the system's resource utilization and overall performance.
[0108] Preferably, step S33 includes the following steps:
[0109] Step S331: evaluating the required operating resources for the self-service settlement accuracy loss simulation data to obtain required operating resource evaluation data;
[0110] Step S332: performing smooth operation resource space allocation according to the required operation resource evaluation data to obtain smooth operation resource space allocation data;
[0111] Step S333: formulating an instance dynamic generation strategy for the self-service settlement accuracy loss simulation data according to the required operation resource evaluation data and the smooth operation resource space allocation data to obtain a settlement instance dynamic generation strategy;
[0112] Step S334: Perform self-service settlement dynamic microservice orchestration processing according to the settlement instance dynamic generation strategy and the stable operation resource space allocation data to obtain self-service settlement microservice orchestration data.
[0113] In the embodiment of the present invention, the self-service settlement precision loss simulation data is collected to ensure the integrity and accuracy of the data. The self-service settlement precision loss simulation data is calculated based on the linear regression model or machine learning model of historical data, and the required operating resources, including CPU, memory, and storage, are evaluated to generate the required operating resource evaluation data, and the resource requirements of each simulation instance are recorded; the required operating resource evaluation data are integrated to ensure that the format and time range of the data are consistent, and a resource allocation strategy is formulated according to the resource requirements and the current resource availability of the system, and an allocation algorithm is selected, such as a minimum resource waste algorithm or a maximum load balancing algorithm. According to the allocation strategy, the system resources are spatially allocated to ensure smooth operation and generate a stable operation. Resource space allocation data, including the resource allocation of each instance, integrates the required operating resource assessment data and the stable operating resource space allocation data, formulates instance dynamic generation strategy based on the integrated data, determines the parameters of the generation strategy, including the trigger conditions, generation quantity and priority of instance generation, implements the instance dynamic generation strategy, configures the system for instance generation, ensures that the instance generation strategy can dynamically adjust resource allocation to meet the system operation requirements, organizes the implementation results of the generation strategy, and generates settlement instance dynamic generation strategy data. The data should include the trigger conditions, generation quantity and resource allocation of each instance; selects microservice orchestration tools and strategies, such as Kubernetes and Docker Swarm, configures microservice orchestration parameters, ensures the dynamic adaptability of the system, performs self-service settlement dynamic microservice orchestration processing based on the integrated data, dynamically adjusts the resource allocation, load balancing and instance generation strategy of microservices, optimizes system performance and accuracy, organizes the orchestration results, and generates self-service settlement microservice orchestration data.
[0114] The present invention can accurately estimate the resource requirements of the system under different circumstances by evaluating the operation resources required for precision loss simulation, avoid insufficient or wasteful resources, and the evaluation results can be used as the basis for resource allocation and planning, help the system to reasonably allocate resources during operation, ensure the stability and efficiency of system operation, and ensure the stability and sufficiency of system resources during operation by allocating appropriate operation resource space, improve the stability and performance of the system, and realize load balancing, avoid the situation that some nodes are overloaded and cause system performance degradation or collapse, formulate instance dynamic generation strategy based on resource evaluation data and resource space allocation data, that is, dynamically generate settlement instances according to the current resource status and demand of the system to adapt to the changes and uncertainties during system operation, and the dynamic generation strategy can maximize the use of system resources, avoid wasteful resources, and improve the resource utilization and performance of the system, and dynamically adjust the orchestration mode of microservices according to the instance dynamic generation strategy and resource space allocation data, so that the system can respond flexibly and efficiently under different loads, and the dynamic microservice orchestration can make the system have better flexibility and adaptability, and can be dynamically adjusted according to the real-time resource situation and demand changes, so as to improve the stability and reliability of the system.
[0115] Preferably, step S35 includes the following steps:
[0116] Step S351: Design an asynchronous communication mechanism according to the self-service settlement microservice orchestration data and the self-service settlement distributed cache synchronization data to obtain a microservice asynchronous communication mechanism;
[0117] Step S352: Formulate a heterogeneous computing resource management strategy based on the self-service settlement microservice orchestration data and the self-service settlement distributed cache synchronization data to obtain a heterogeneous computing resource management strategy;
[0118] Step S353: Perform parallel settlement structure optimization design according to the microservice asynchronous communication mechanism and the heterogeneous computing resource management strategy to obtain parallel settlement structure optimization data.
[0119] In an embodiment of the present invention, the self-service settlement microservice orchestration data and the self-service settlement distributed cache synchronization data are collected, the communication requirements between different microservices in the system are analyzed, including the frequency, delay requirements and data volume of message transmission, the asynchronous communication scenario is determined, such as event-driven notification and message queue processing, and asynchronous communication technology is selected, such as message queue (RabbitMQ, Kafka) or event bus, and the parameters of the communication mechanism are configured, including queue length and message persistence strategy, to implement the asynchronous communication mechanism, decouple the microservices of the self-service settlement system, use message queue or event bus for asynchronous message transmission, configure the message queue or event bus, ensure the reliable transmission and processing of messages, organize the implementation results of the asynchronous communication mechanism, and generate microservice asynchronous communication mechanism data, including the configuration and status of each message queue or event bus; collect and integrate microservice orchestration data and distributed cache synchronization data to ensure data consistency and integrity, analyze the heterogeneous computing resources used in the system, including different types of CPU, GPU and memory resources, and evaluate various types of resources. The utilization rate and performance bottleneck of the resource, determine the optimization requirements, formulate heterogeneous computing resource management strategies, including resource allocation, scheduling and load balancing, etc., determine the resource requirements of different types of tasks, configure the corresponding resource allocation strategy, implement the heterogeneous computing resource management strategy, configure and optimize the system accordingly, ensure that the strategy can dynamically adjust resource allocation to meet the operation requirements of the system, organize the implementation results of the heterogeneous computing resource management strategy, generate heterogeneous computing resource management strategy data, the data should include the allocation status and performance indicators of each resource type, integrate the microservice asynchronous communication mechanism data and the heterogeneous computing resource management strategy data, ensure the consistency of data format and time range, analyze and integrate the data, identify the performance bottlenecks and optimization points in the system, formulate a parallel settlement structure optimization strategy based on the asynchronous communication mechanism and heterogeneous computing resource management strategy, determine specific optimization measures, including task decomposition, load balancing and resource scheduling, implement the parallel settlement structure optimization design, adjust and optimize the system, organize the implementation results of the optimization design, and generate parallel settlement structure optimization data.
[0120] The present invention uses an asynchronous communication mechanism, so that requests can be processed in parallel between microservices, thereby shortening the overall response time and improving the real-time performance and user experience of the system. The asynchronous communication mechanism can reduce waiting time and resource occupation, so that the system can process a large number of concurrent requests more efficiently, and improve the throughput and concurrency of the system. The asynchronous communication mechanism can share the server load to a certain extent, reduce the pressure of the system, and improve the stability and reliability of the system. By formulating a heterogeneous computing resource management strategy, the heterogeneous computing resources in the system can be effectively managed and utilized, and the resource utilization rate and the overall performance of the system can be improved. The heterogeneous computing resource management strategy can be dynamically adjusted according to the actual needs and resource conditions of the system, so that the system has better flexibility and adaptability. Reasonable use of heterogeneous computing resources can reduce the cost of system operation and improve the economic benefits and resource utilization efficiency of the system. Through the optimization design of the parallel settlement structure, the settlement task can be divided into multiple parallel computing tasks, and the parallel computing capacity of the system is fully utilized to improve the speed and efficiency of settlement. The optimization design of the parallel settlement structure can reduce the waiting time and communication delay in the settlement process, thereby accelerating the settlement speed and improving the real-time performance and responsiveness of the system. The optimized parallel settlement structure can reduce the load and resource consumption of the system, improve the performance and stability of the system, and thus improve the user experience and satisfaction.
[0121] Preferably, step S4 comprises the following steps:
[0122] Step S41: performing a self-service settlement performance simulation test according to the parallel settlement structure optimization data to obtain self-service settlement performance simulation test data;
[0123] Step S42: Performing an integration test on the self-service settlement performance simulation test data based on the self-service settlement system of the digital RMB to obtain the integration test result data;
[0124] Step S43: Design parallel settlement firmware for the parallel settlement structure optimization data according to the integrated test result data to obtain parallel settlement firmware, and embed the parallel settlement firmware into the self-service settlement system to perform optimization of the self-service settlement system.
[0125] In the embodiment of the present invention, parallel settlement structure optimization data is collected to ensure the integrity and accuracy of the data, a simulation test environment is built to simulate the operating conditions of the actual self-service settlement system, a detailed simulation test plan is formulated, including test indicators, test steps and expected results, and key performance indicators (KPIs) such as response time, throughput, and resource utilization are determined. According to the formulated test plan, a performance simulation test is performed, data generated during the test is collected, various performance indicators are recorded, self-service settlement performance simulation test data is generated, test results and performance evaluation reports are recorded, self-service settlement performance simulation test data is collected and integrated, ensuring that the data format and time range are consistent, an integrated test environment is built to simulate the actual operating conditions of the self-service settlement system, integrated test tools and parameters are configured to ensure the authenticity and reliability of the test environment, a detailed integrated test plan is formulated, including test steps, test cases and expected results, and key performance indicators (KPIs) of the test are determined, such as system stability and functional completeness. Integrity and performance: According to the formulated test plan, perform integration testing, monitor the test process, record various performance indicators and test results, analyze the integration test result data, evaluate the system's integration performance, generate integration test result data, record test results and evaluation reports; integrate integration test result data and parallel settlement structure optimization data to ensure data consistency and integrity, analyze the parallel settlement firmware design requirements based on the integration test result data, determine the firmware's functional requirements, performance requirements and reliability requirements, formulate a detailed firmware design plan, including firmware architecture, module design and interface design, determine the firmware development tools and technical specifications, ensure the feasibility of the design plan, embed the developed parallel settlement firmware into the self-service settlement system, perform system-level testing and verification, ensure the compatibility and stability of the firmware and the system, record the process data of firmware design, development and testing, and generate parallel settlement firmware data, including design documents, test reports and performance evaluation reports.
[0126] Through simulation testing, the present invention can conduct a comprehensive performance evaluation and verification of the parallel settlement structure, understand the performance of the system under different loads and conditions, help discover performance bottlenecks and optimization space, and before actual application deployment, simulation testing can discover potential problems and risks in advance, provide data support for subsequent system optimization and improvement, and reduce the risk of performance problems after the system is launched. The integration test can verify the compatibility and collaboration between the self-service settlement system and the digital RMB system, ensure that the system can be normally integrated and work together, and ensure the stability and reliability of the system. Through integration testing, it can be verified whether the various functions of the self-service settlement system are working properly, ensuring that the system can run as scheduled and meet user needs in actual application scenarios. According to the integration test result data, the parallel settlement structure is further optimized and adjusted, and a parallel settlement firmware with better performance is designed, which improves the system's operating efficiency and response speed. The optimized parallel settlement firmware can reduce system operation failures and crashes, improve the system's stability and reliability, and reduce the cost of system maintenance and operation.
[0127] The present invention can fully understand the functions and operation processes of the system by extracting the self-service settlement transaction process data. This helps to determine the system requirements and design the corresponding code structure. The code structure analysis of the self-service settlement transaction process data can identify potential performance bottlenecks and optimization points. By optimizing the code structure, the efficiency and response speed of the system can be improved. The analysis of the self-service settlement transaction process can find potential errors and abnormalities, and repair and improve them in time, thereby reducing the possibility of system errors. Through concurrent stress simulation testing, the performance of the system under high load can be evaluated. This helps to determine the maximum processing capacity of the system and provide a reference for future system expansion. Through the estimation of precision error loss, the precision loss of the system under high load can be evaluated. This helps to determine the reliability level of the system under different loads and take measures to reduce the impact of precision errors. By evaluating the probability of precision error loss, the stability and reliability of the system under different conditions can be understood. This helps to formulate corresponding fault-tolerant strategies and backup plans to ensure that the system can still operate normally in the face of abnormal situations; by simulating the accuracy loss that may occur in the self-service settlement system under different conditions, we can better understand the problems that may occur in the system when facing high load or abnormal situations, so as to carry out subsequent optimization in a targeted manner. According to the accuracy loss simulation data, the self-service settlement microservices are dynamically orchestrated, so that the system can make adaptive adjustments according to actual conditions, thereby improving the stability and reliability of the system. Based on the self-service settlement microservice orchestration data, a parallel settlement structure optimization plan is designed to improve the parallel processing capability and efficiency of the system. This includes optimizing task scheduling, resource utilization, and algorithm design, thereby accelerating the settlement process and reducing the system response time. Through the optimized parallel settlement firmware, the system can process self-service settlement tasks more efficiently, improve the overall performance and response speed of the system, and thus improve the user experience. The optimized parallel settlement firmware can more effectively control the accuracy loss, reduce the probability of accuracy problems under high load or abnormal conditions, and improve the accuracy and reliability of settlement. After the parallel settlement firmware design is optimized, the system can make more full use of hardware resources, reduce resource waste, and improve the overall resource utilization efficiency of the system. Therefore, the present invention optimizes the implementation method of the traditional self-service settlement system based on the digital RMB, solves the problems of insufficient settlement accuracy and weak concurrent processing capability in the traditional implementation method of the self-service settlement system based on the digital RMB, improves the settlement accuracy in the concurrent process, and enhances the concurrent processing capability.
[0128] Therefore, the embodiments should be regarded as illustrative and non-restrictive from all points, and the scope of the present invention is limited by the appended claims rather than the above description, and it is therefore intended that all changes falling within the meaning and range of equivalent elements of the application documents are included in the present invention.
[0129] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.
Claims
1. A method for implementing a self-service settlement system based on digital RMB, characterized in that: The following steps are involved: Step S1: Extract the self-service settlement transaction process based on the self-service settlement system of the digital RMB to obtain the self-service settlement transaction process data; perform code structure analysis on the self-service settlement transaction process data to obtain precision-controlled code structure analysis data; Step S2: performing concurrent pressure simulation test on the precision control code structure analysis data to obtain code structure concurrent pressure simulation data; performing precision error loss estimation based on the code structure concurrent pressure simulation data to obtain precision error loss estimation data; According to the precision error loss estimation data, the code execution precision error loss probability is evaluated on the precision control code structure analysis data to obtain the precision error loss probability data; wherein step S2 includes: Step S21: performing concurrent stress simulation test on the precision control code structure analysis data to obtain code structure concurrent stress simulation data; Step S22: performing an exponential decrease gradient analysis of code execution efficiency according to the code structure concurrent pressure simulation data to obtain exponential decrease gradient data of execution efficiency; Step S23: Estimating the precision error loss according to the execution efficiency exponential descent gradient data and the code structure concurrent pressure simulation data to obtain precision error loss estimation data; wherein, step S23 includes: Step S231: performing limit nonlinear efficiency analysis on the execution efficiency exponentially decreasing gradient data to obtain execution efficiency nonlinear limit data; wherein performing limit nonlinear efficiency analysis on the execution efficiency exponentially decreasing gradient data includes: Performing an exponential decrease range evaluation on the exponential decrease gradient data of the execution efficiency to obtain exponential decrease range evaluation data; segmenting the exponential decrease gradient data of the execution efficiency according to the exponential decrease range evaluation data to obtain efficiency decrease gradient segmentation data; According to the efficiency decline gradient segmentation data, the execution efficiency exponential decline gradient data is evaluated for the operating resource proportions between different gradients to obtain the gradient operating resource proportion data; According to the efficiency decline gradient segmentation data, the gradient operation resource proportion data is correlated and analyzed to obtain the efficiency-resource gradient reduction correlation data; According to the efficiency-resource gradient loss correlation data and the gradient operation resource ratio data, the limit nonlinear efficiency analysis is carried out to obtain the execution efficiency nonlinear limit data; Step S232: performing response capability attenuation simulation according to the execution efficiency nonlinear limit data and the code structure concurrent pressure simulation data to obtain response capability attenuation simulation data; Step S233: performing random attenuation response quantization processing on the response capability attenuation simulation data to obtain random attenuation response quantization data; Step S234: performing attenuation gradient division on the response capability attenuation simulation data according to the random attenuation response quantization data to obtain response capability attenuation gradient data; performing response attenuation gradient difference calculation on the response capability attenuation gradient data using a preset response attenuation gradient numerical analysis model to obtain response attenuation gradient difference data; Step S235: performing precision error loss estimation according to the response attenuation gradient difference data and the execution efficiency nonlinear limit data to obtain precision error loss estimation data; Step S24: evaluating the probability of code execution precision error loss on the precision control code structure analysis data according to the precision error loss estimation data and the execution efficiency exponential descent gradient data, and obtaining precision error loss probability data; Step S3: Perform a self-service settlement precision loss simulation based on the precision error loss probability data to obtain self-service settlement precision loss simulation data; perform a self-service settlement dynamic microservice orchestration process based on the self-service settlement precision loss simulation data to obtain self-service settlement microservice orchestration data; perform a parallel settlement structure optimization design based on the self-service settlement microservice orchestration data to obtain parallel settlement structure optimization data; Step S4: Design parallel settlement firmware for the parallel settlement structure optimization data to obtain parallel settlement firmware, and embed the parallel settlement firmware into the self-service settlement system to perform optimization of the self-service settlement system.
2. The method for implementing the self-service settlement system based on digital RMB according to claim 1 is characterized in that: Step S1 includes the following steps: Step S11: Extract the self-service settlement transaction process based on the self-service settlement system of the digital RMB to obtain the self-service settlement transaction process data; Step S12: performing settlement accuracy control analysis on the self-service settlement transaction process data to obtain self-service settlement accuracy control data; Step S13: performing a settlement accuracy realization logic analysis on the self-service settlement accuracy control data to obtain settlement accuracy realization logic data; Step S14: performing code structure analysis on the self-service settlement transaction process data according to the settlement accuracy realization logic data and the self-service settlement accuracy control data to obtain accuracy control code structure analysis data.
3. The method for implementing the self-service settlement system based on digital RMB according to claim 1 is characterized in that: Step S24 includes the following steps: Step S241: performing precision error estimation offset calculation on the precision error loss estimation data to obtain precision error estimation offset data; Step S242: performing interactive impact factor analysis on the execution efficiency exponential decline gradient data according to the precision error estimation offset data to obtain error offset-efficiency decline interactive impact factor data; Step S243: performing running thread demand analysis according to the error offset-efficiency reduction interaction impact factor data to obtain running thread demand analysis data; Step S244: performing random response variable distribution continuity analysis on the running thread demand analysis data based on the GLM model and the error offset-efficiency reduction interaction factor data to obtain random response variable distribution continuity data; Step S245: Evaluate the probability of code execution accuracy error loss on the accuracy control code structure analysis data according to the error offset-efficiency reduction interaction impact factor data, the running thread demand analysis data, and the random response variable distribution continuity data to obtain accuracy error loss probability data.
4. The method for implementing the self-service settlement system based on digital RMB according to claim 1 is characterized in that: Step S3 includes the following steps: Step S31: normalizing the precision error loss probability data to obtain precision error loss probability normalized data; Step S32: performing a self-service settlement accuracy loss simulation based on the accuracy error loss probability normalized data and the accuracy error loss estimation data to obtain self-service settlement accuracy loss simulation data; Step S33: Performing self-service settlement dynamic microservice orchestration processing according to the self-service settlement accuracy loss simulation data to obtain self-service settlement microservice orchestration data; Step S34: Perform distributed cache synchronization processing on the self-service settlement microservice orchestration data to obtain self-service settlement distributed cache synchronization data; Step S35: Perform parallel settlement structure optimization design based on the self-service settlement microservice orchestration data and the self-service settlement distributed cache synchronization data to obtain parallel settlement structure optimization data.
5. The method for implementing the self-service settlement system based on digital RMB according to claim 4 is characterized in that: Step S33 includes the following steps: Step S331: evaluating the required operating resources for the self-service settlement accuracy loss simulation data to obtain required operating resource evaluation data; Step S332: performing smooth operation resource space allocation according to the required operation resource evaluation data to obtain smooth operation resource space allocation data; Step S333: formulating an instance dynamic generation strategy for the self-service settlement accuracy loss simulation data according to the required operation resource evaluation data and the smooth operation resource space allocation data to obtain a settlement instance dynamic generation strategy; Step S334: Perform self-service settlement dynamic microservice orchestration processing according to the settlement instance dynamic generation strategy and the stable operation resource space allocation data to obtain self-service settlement microservice orchestration data.
6. The method for implementing the self-service settlement system based on digital RMB according to claim 4 is characterized in that: Step S35 includes the following steps: Step S351: Design an asynchronous communication mechanism according to the self-service settlement microservice orchestration data and the self-service settlement distributed cache synchronization data to obtain a microservice asynchronous communication mechanism; Step S352: Formulate a heterogeneous computing resource management strategy based on the self-service settlement microservice orchestration data and the self-service settlement distributed cache synchronization data to obtain a heterogeneous computing resource management strategy; Step S353: Perform parallel settlement structure optimization design according to the microservice asynchronous communication mechanism and the heterogeneous computing resource management strategy to obtain parallel settlement structure optimization data.
7. The method for implementing the self-service settlement system based on digital RMB according to claim 1 is characterized in that: Step S4 includes the following steps: Step S41: performing a self-service settlement performance simulation test according to the parallel settlement structure optimization data to obtain self-service settlement performance simulation test data; Step S42: Performing an integration test on the self-service settlement performance simulation test data based on the self-service settlement system of the digital RMB to obtain the integration test result data; Step S43: Design parallel settlement firmware for the parallel settlement structure optimization data according to the integrated test result data to obtain parallel settlement firmware, and embed the parallel settlement firmware into the self-service settlement system to perform optimization of the self-service settlement system.
