Data processing method, data processing device, computer equipment and storage medium

By using global flow numbers in the financial system to record and integrate the operation data and time nodes of transaction packets, the problem of low data retrieval efficiency in the system log is solved, and the log information of the entire process of transaction packets is clearly recorded and queryed, which improves operation and maintenance efficiency and reduces operation and maintenance costs.

CN118917946BActive Publication Date: 2025-04-25CHINA RONGXIN CLOUD TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411039505.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2025-04-25
Estimated Expiration
2044-07-31

AI Technical Summary

Technical Problem

In the financial system, as the business volume increases and the transaction concurrency frequency increases, the amount of data stored in the system log is huge, making it difficult to efficiently retrieve and analyze the data corresponding to abnormal transactions.

Method used

By introducing global flow numbers in the financial system, recording the operation data and time nodes of the main system and subsystem when executing transaction messages, and associating the global flow numbers in the system log, the integration and query of the entire process log information of the transaction messages is realized.

Benefits of technology

It realizes clear recording and query of the full process log information of transaction messages in the financial system, which facilitates operation and maintenance personnel to quickly find and analyze abnormal situations, improve operation and maintenance efficiency and reduce operation and maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118917946B_ABST
    Figure CN118917946B_ABST
Patent Text Reader

Abstract

The present application discloses a data processing method, a data processing device, a computer device and a storage medium. Applied to a financial system, the financial system includes a main system and a subsystem, and the method includes: based on the global serial number corresponding to the transaction message, the operating data when the main system executes the transaction message is stored in the system log to generate log information corresponding to the transaction message, and each transaction message corresponds to a different global serial number; when the transaction message is executed by the subsystem, the first time node when the subsystem calls the transaction message and the second time node when the subsystem feeds back the transaction message are obtained; based on the global serial number, the first time node, the second time node and the operating data when the subsystem executes the transaction message are stored in the system log to generate log information corresponding to the transaction message. The log information of the system log is associated with the global serial number, and the log information corresponding to the transaction message can be integrated based on the global serial number, which is convenient for improving operation and maintenance efficiency and reducing operation and maintenance costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and more specifically, to a data processing method, a data processing apparatus, a computer device, and a non-volatile computer-readable storage medium. Background Art

[0002] Financial systems, such as the directly connected rural credit bank system, can operate relatively stably when the business volume is small and cannot reach a high level of concurrency. However, when the business volume increases and the frequency of concurrent transactions increases, the frequency of abnormal situations will also increase. At this time, it is necessary to retrieve the corresponding data in the system log of the financial system according to the abnormal transactions to analyze the cause of the abnormality. However, the system log stores a large amount of data, so how to efficiently determine the data corresponding to the abnormal transactions in the system log has become an urgent problem to be solved. Summary of the invention

[0003] Embodiments of the present application provide a data processing method, a data processing apparatus, a computer device, and a non-volatile computer-readable storage medium.

[0004] The data processing method of the implementation mode of the present application is applied to a financial system, wherein the financial system includes a main system and a subsystem, wherein the main system and the subsystem are communicatively connected, and the method includes: based on a global serial number corresponding to the transaction message, storing the running data when the main system executes the transaction message in a system log to generate log information corresponding to the transaction message, wherein each transaction message corresponds to a different global serial number; when the transaction message is executed by the subsystem, obtaining a first time node when the subsystem calls the transaction message and a second time node when the subsystem feeds back the transaction message; based on the global serial number, storing the first time node, the second time node and the running data when the subsystem executes the transaction message in the system log to generate log information corresponding to the transaction message.

[0005] The data processing device of the embodiment of the present application is applied to a financial system, the financial system includes a main system and a subsystem, the main system and the subsystem are connected in communication, and the device includes a first storage module, an acquisition module and a second storage module. The first storage module is used to store the running data when the main system executes the transaction message in the system log based on the global serial number corresponding to the transaction message, so as to generate the log information corresponding to the transaction message, and the global serial number corresponding to each transaction message is different. The acquisition module is used to obtain the first time node when the subsystem calls the transaction message and the second time node when the subsystem feeds back the transaction message when the transaction message is executed by the subsystem. The second storage module is used to store the first time node, the second time node and the running data when the subsystem executes the transaction message in the system log based on the global serial number, so as to generate the log information corresponding to the transaction message.

[0006] The computer device of the embodiment of the present application includes a processor, a memory and a computer program, wherein the computer program is stored in the memory and executed by the processor, and the computer program includes instructions for executing a data processing method. The data processing method is applied to a financial system, the financial system includes a main system and a subsystem, the main system and the subsystem are connected in communication, and the method includes: based on the global serial number corresponding to the transaction message, the running data when the main system executes the transaction message is stored in the system log to generate the log information corresponding to the transaction message, and the global serial number corresponding to each transaction message is different; when the transaction message is executed by the subsystem, the first time node when the subsystem calls the transaction message and the second time node when the subsystem feeds back the transaction message are obtained; based on the global serial number, the first time node, the second time node and the running data when the subsystem executes the transaction message are stored in the system log to generate the log information corresponding to the transaction message.

[0007] The non-volatile computer-readable storage medium of the embodiment of the present application includes a computer program, and when the computer program is executed by a processor, the processor executes a data processing method. The data processing method is applied to a financial system, the financial system includes a main system and a subsystem, the main system and the subsystem are connected in communication, and the method includes: based on the global serial number corresponding to the transaction message, the running data when the main system executes the transaction message is stored in the system log to generate the log information corresponding to the transaction message, and the global serial number corresponding to each transaction message is different; when the transaction message is executed by the subsystem, the first time node when the subsystem calls the transaction message and the second time node when the subsystem feeds back the transaction message are obtained; based on the global serial number, the first time node, the second time node and the running data when the subsystem executes the transaction message are stored in the system log to generate the log information corresponding to the transaction message.

[0008] The data processing method, data processing device, computer equipment and computer-readable storage medium of the implementation mode of the present application store the operation data when the main system executes the transaction message in the system log based on the global serial number corresponding to the transaction message, so as to associate the operation data corresponding to the main system with the global serial number in the system log. When the transaction message is executed by the subsystem, the first time node when the subsystem calls the transaction message and the second time node when the subsystem feeds back the transaction message are obtained, and based on the global serial number, the first time node, the second time node and the operation data when the subsystem executes the transaction message are stored in the system log, so as to associate the operation data corresponding to the subsystem with the global serial number in the system log, and associate the first time node, the second time node and the global serial number. In this way, the log information corresponding to the transaction message records the corresponding operating data when each system executes the transaction message, and records the corresponding time nodes when the transaction message enters and exits the subsystem, and the operating data and time nodes are associated with the global serial number, so that the log information corresponding to the transaction message in the system log can be directly integrated based on the global serial number in the future, so that the process of the transaction message is clear at a glance, and the operation and maintenance personnel can enter the global serial number to find all the log information corresponding to the transaction message, which is convenient for improving the operation and maintenance efficiency and reducing the operation and maintenance cost.

[0009] Additional aspects and advantages of the embodiments of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the embodiments of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0011] Figure 1is a flowchart of a data processing method of certain embodiments of the present application;

[0012] Figure 2 It is a scenario schematic diagram of a data processing method of certain embodiments of the present application;

[0013] Figure 3 is a flowchart of a data processing method of certain embodiments of the present application;

[0014] Figure 4 is a flowchart of a data processing method of certain embodiments of the present application;

[0015] Figure 5 is a flowchart of a data processing method of certain embodiments of the present application;

[0016] Figure 6 is a flowchart of a data processing method of certain embodiments of the present application;

[0017] Figure 7 is a schematic diagram of a module of a data processing device in some embodiments of the present application;

[0018] Figure 8 is a schematic diagram of the structure of a computer device of certain embodiments of the present application;

[0019] Fig. 9 It is a schematic diagram of the connection status of a non-volatile computer-readable storage medium and a processor in certain embodiments of the present application. DETAILED DESCRIPTION

[0020] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions from beginning to end. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the embodiments of the present application, and cannot be understood as limiting the embodiments of the present application.

[0021] When the business volume of the financial system is not large and high concurrency cannot be achieved, the financial system can operate relatively stably. However, when the business volume increases and the frequency of concurrent transactions increases, the frequency of abnormal situations will also increase. At this time, it is necessary to retrieve the corresponding data in the system log of the financial system according to the abnormal transactions to analyze the cause of the abnormality. However, the system log stores a large amount of data, so how to efficiently determine the data corresponding to the abnormal transactions in the system log has become an urgent problem to be solved.

[0022] For example, the current financial system usually adopts a dual-active deployment mode, that is, two servers are used to execute business, and each server has a corresponding system log. During the business processing, the system randomly distributes which server is responsible for completing a certain task of the business, so the operation and maintenance personnel cannot determine which server is responsible for completing certain tasks of the abnormal business. When troubleshooting or tracking logs, the operation and maintenance personnel always need to go to the two servers to search for keywords matching some business elements, such as the transaction legal person or transaction account, and match one or more results. Then, they need to identify which data in the log is the data that needs attention one by one, resulting in a high degree of complexity, low efficiency, and high cost of operation and maintenance.

[0023] In order to solve the above technical problems, the embodiment of the present application provides a data processing method, which will be described in detail below:

[0024] See also Figure 1 The embodiment of the present application provides a data processing method, which is applied to a financial system. The financial system includes a main system and a subsystem, and the main system and the subsystem are connected in communication. The data processing method includes:

[0025] Step 011: based on the global serial number corresponding to the transaction message, the operation data when the main system executes the transaction message is stored in the system log to generate log information corresponding to the transaction message, and the global serial number corresponding to each transaction message is different;

[0026] Specifically, the financial system can provide different financial services to customers. The financial system can be divided into the main system and subsystems. The main system is the basic platform for processing financial services. The main system can be used to receive business information sent by customers, and the main system can also be used to implement specific functions. The subsystem is a system that revolves around the main system and provides specific business support or technical services, so that different functions can be implemented using the subsystem to ensure the smooth execution of the business.

[0027] For example, the main system is the direct-connected rural credit bank system. The direct-connected rural credit bank system is a payment and settlement platform that integrates fund settlement and information services developed using modern computer networks and information technology. It is a system that can provide remote payment settlement and information services to all networked institutions. Subsystems include core systems, credit systems or SMS platforms. The core system provides support for the daily operations of the financial system, including deposits and withdrawals, transfers, settlements, loan management, etc. The functions of the credit system include customer information management, credit risk assessment, loan application approval, loan contract management, and post-loan management. The SMS platform is used to send information to customers, such as verification codes. It can be understood that when the financial system executes business, the main system and subsystems often need to interact to complete different businesses.

[0028] Business usually enters the main system in the form of transaction messages. Transaction messages are a data structure used to transmit information during financial transactions. They encapsulate all the information that needs to be exchanged between the two parties in accordance with specific formats and rules, such as transaction type, transaction amount, transaction time, information about both parties, etc. The main system and subsystems are connected in communication, and transaction messages can be scheduled by the main system or subsystem to complete the corresponding tasks.

[0029] Generally speaking, during the operation of the main system and subsystem, the operation data generated will be recorded in the system log to form the corresponding log information. The operation data includes the detailed information corresponding to the transaction message, including the transaction time, transaction type, transaction amount, account information of both parties to the transaction, etc. The operation data also includes the tasks performed by each system in the process of executing the transaction message.

[0030] The global serial number is a serial number generated according to the content of the transaction message and a special generation method. The global serial number corresponding to each transaction message is different. During the transaction execution process, the operating data when the main system executes the transaction message can be stored in the system log based on the global serial number to generate the corresponding log information when the main system executes the transaction message. For example, when the operating data when the main system executes the transaction message is recorded in the system log, the global serial number corresponding to the operating data is marked in the log header corresponding to the operating data, so that the operating data corresponding to the main system in the system log are all associated with the corresponding global serial number, which is convenient for the subsequent acquisition of the log information when the main system executes the transaction message based on the global serial number, so as to obtain the operating data corresponding to the transaction message, thereby facilitating the operation and maintenance personnel to find data when abnormal situations occur.

[0031] Step 012: when the transaction message is executed by the subsystem, obtain the first time node when the subsystem calls the transaction message and the second time node when the subsystem feeds back the transaction message;

[0032] Specifically, the execution process of a transaction message can be divided into multiple tasks, and different tasks may be executed by different systems.

[0033] When the main system completes a task and the next task needs to be executed by the subsystem, the transaction message will be called from the main system to the subsystem, that is, the process node of the transaction message flows from the main system to the subsystem. At this time, the first time node of the subsystem calling the transaction message can be obtained to determine the time taken for the transaction to end the first stage of the task in the main system, and the time node of the subsystem calling the transaction message can also be determined. When the subsystem completes the task, the information corresponding to the transaction message will be fed back to the main system, and the process node of the transaction message will be transferred from the subsystem back to the main system. The main system can perform subsequent tasks based on the information fed back by the subsystem. At this time, the second time node of the subsystem feedback transaction message can be obtained to determine the time node when the subsystem ends the task and feeds back the transaction message. In this way, the processing time of the transaction in the subsystem can be accurately and clearly determined according to the first time node and the second time node, and it is also convenient to determine the processing time of the transaction in the main system in the future, so as to facilitate the subsequent determination of the response rate and timeout rate of each system based on the processing time, and then facilitate the operation and maintenance personnel to judge whether each system has abnormal conditions according to the response rate and timeout rate.

[0034] For example Figure 2 , transaction A is a transfer business, and the main system is a direct-connected Rural Credit Bank system. When transferring money, the transfer information will form a transaction message in the form of a message, and the transaction message corresponding to transaction A can enter the Rural Credit Bank system. The Rural Credit Bank system will obtain the payee and payee information, as well as the business type, and verify whether the payment account exists. At this time, it is necessary to call the core system to verify the authenticity of the payment account. The moment of the call is the first time node when the subsystem calls the transaction message, and the first time node corresponds to the inflection point 1. After the core system completes the query, it will send verification information to the direct-connected Rural Credit Bank system. The moment of sending the information is the second time node when the subsystem feedbacks the transaction message, and the second time node corresponds to the inflection point 2. It can be understood that the first time node and the second time node can be used to reflect the time when the core system verifies the authenticity of the payment account, and this time can be used to determine the response rate and timeout rate of the core system to verify the authenticity of the payment account. The subsequent transfer process also needs to call the core system. The time point when the core system calls the transaction message again is the first time node. After the core system completes the transfer, it will send the transfer completion information to the directly connected Rural Credit Bank system. The moment the information is sent is the second time node. It can be understood that the first time node and the second time node at this time can be used to reflect the time when the core system completes the transfer, and this time can be used to determine the response rate and timeout rate of the core system to complete the transfer. Of course, after the core system determines that the payment account is a real account, it can immediately initiate the transfer, and after the transfer, send the transfer completion information to the directly connected Rural Credit Bank system. The moment the information occurs is the second time node. The first time node and the second time node at this time are used to reflect the time when the core system completes the authenticity verification of the payment account and completes the transfer.

[0035] For another example, transaction C is a task that includes sending a verification code. When the process node of transaction C reaches the task that requires sending a verification code, the SMS platform can call the transaction message corresponding to transaction C, and send the verification code to the customer according to the information in the transaction message. The moment when the SMS platform calls the transaction message corresponding to transaction C is the first time node. When the SMS platform successfully sends the SMS, or the SMS platform confirms that the SMS fails to send, it will send feedback information to the Rural Credit Bank system, such as feedback on the success or failure of the SMS. The moment when the SMS platform sends feedback information to the user is the second time node.

[0036] Step 013: Based on the global serial number, the first time node, the second time node and the operating data when the subsystem executes the transaction message are stored in the system log to generate log information corresponding to the transaction message.

[0037] Specifically, when a transaction message is called by a subsystem, the first time node, the second time node, and the running data when the subsystem executes the transaction message are also stored in the system log based on the global serial number, so as to record the time when the transaction message enters and exits the subsystem and the running data corresponding to the subsystem in the system log, thereby generating the corresponding log information when the subsystem executes the transaction message in the system log. For example, when the running data when the subsystem executes the transaction message is recorded in the system log, the global serial number corresponding to the running data is marked in the log header corresponding to the running data. In this way, the running data, the first time node, and the second time node corresponding to each subsystem in the system log are associated with the corresponding global serial number, which is convenient for the subsequent acquisition of the log information corresponding to the transaction message based on the global serial number, so that the operation and maintenance personnel can find the data when an abnormal situation occurs.

[0038] In this way, in the system log, the log information of each transaction message includes the corresponding operation data when the transaction message is executed by each system. When the transaction message is called by a subsystem, the log information also includes the first time node and the second time node, and each operation data, the first time node and the second time node are associated with the corresponding global serial number, so that the operation data corresponding to the transaction message and the time when the transaction message enters and exits the subsystem can be accurately obtained according to the global serial number, so that the system log clearly records the entire process of the transaction message. During subsequent operation and maintenance, the operation and maintenance personnel only need to obtain the log information corresponding to the transaction message in the system log according to the global serial number corresponding to the transaction message, thereby improving the speed at which the operation and maintenance personnel can find data, thereby improving the operation and maintenance efficiency and reducing the operation and maintenance cost.

[0039] For example Figure 2, the main system is the direct-connected Rural Credit Bank system, and the subsystems are the core system and the SMS platform. Some tasks of transaction A need to be executed by the core system, and some tasks of transaction C need to be executed by the SMS platform. Inflection point 1 indicates the first time node when transaction A enters the core system, and inflection point 2 indicates the second time node when transaction A leaves the core system; inflection point 3 indicates the first time node when transaction C enters the SMS platform, and inflection point 4 indicates the second time node when transaction C leaves the SMS platform. In the system log, the log information of transaction A includes the operation data when the direct-connected Rural Credit Bank system executes transaction A, the operation data when the core system executes transaction A, and the first and second time nodes corresponding to transaction A entering and leaving the core system, and the above log information is associated with the global serial number corresponding to transaction A. The log information of transaction B includes the operation data when the direct-connected Rural Credit Bank system executes transaction B, and the above operation data is associated with the global serial number corresponding to transaction B. The log information of transaction C includes the operation data when the direct connection to the Rural Credit Bank system executes transaction C, the operation data when the SMS platform executes transaction C, and the first time node and the second time node corresponding to the entry and exit of transaction C in the SMS platform, and the above log information is associated with the global serial number corresponding to transaction C. In this way, when a problem is found in a transaction later, the log information of the transaction can be directly found in the system log based on the global serial number corresponding to the transaction. The log information of the transaction can integrate the entire process when the financial system executes the transaction, so that the operation and maintenance personnel can determine the cause of the abnormal situation based on the log information of the transaction.

[0040] The data processing method of the embodiment of the present application stores the operation data when the main system executes the transaction message in the system log based on the global serial number corresponding to the transaction message, so as to associate the operation data corresponding to the main system with the global serial number in the system log. When the transaction message is executed by the subsystem, the first time node when the subsystem calls the transaction message and the second time node when the subsystem feeds back the transaction message are obtained, and based on the global serial number, the first time node, the second time node and the operation data when the subsystem executes the transaction message are stored in the system log, so as to associate the operation data corresponding to the subsystem with the global serial number in the system log, and associate the first time node, the second time node and the global serial number. In this way, the log information corresponding to the transaction message records the corresponding operation data when each system executes the transaction message, and records the corresponding time node when the transaction message enters and exits the subsystem, and the operation data and time node are associated with the global serial number, so that the log information corresponding to the transaction message in the system log can be directly integrated based on the global serial number, so that the process of the transaction message is clear at a glance, and the operation and maintenance personnel can enter the global serial number to find all the log information corresponding to the transaction message, thereby facilitating the improvement of operation and maintenance efficiency and reducing operation and maintenance costs. At the same time, the response rate or timeout rate of the subsystem can also be determined based on the first time node and the second time node, so that the operation and maintenance personnel can operate and maintain the subsystem based on the response rate and timeout rate.

[0041] The system logs of the prior art do not have a global serial number, and the operation and maintenance personnel always need to go to two servers to search for matching keywords in the system logs based on some business elements, match one or more results, and then identify which data in the system logs is the data that needs attention. However, the system log of the present application integrates the log information corresponding to each transaction, and can directly obtain the log information corresponding to each transaction from the system log based on the global serial number, so that the operation and maintenance personnel can find data easily, thereby facilitating the operation and maintenance efficiency and reducing the operation and maintenance costs.

[0042] See also Figure 3 In some embodiments, the control method further comprises:

[0043] Step 014: when receiving the query instruction, obtaining the target log information from each log information of the system log according to the query parameters in the query instruction;

[0044] Step 015: Display the target log information on the screen.

[0045] Specifically, when determining that a transaction is abnormal, the operation and maintenance personnel may issue a query instruction, the query instruction includes query parameters, the query parameters may include at least one of the transaction time, the transaction legal person, the transaction type and the global serial number, and the specific parameters of the query parameters may be determined according to the operation and maintenance requirements. When the query instruction is received, the target log information in each log information of the system log may be obtained based on the query parameters, so as to confirm the abnormal situation according to the target log information.

[0046] For example, when confirming that a transaction has an abnormal situation, the query parameter can be the global serial number corresponding to the transaction. When the query instruction is the global serial number, all the operation data, the first time node and the second time node corresponding to the global serial number in the system log can be confirmed as the target log information, so that the operation and maintenance personnel can confirm the problems that occurred during the execution of the transaction corresponding to the global serial number. For another example, the system log also records the transaction time, transaction legal person or transaction type.

[0047] For another example, when it is necessary to compare the response rates corresponding to transactions of the same transaction type, the query parameter is the transaction type. When the query parameter is the transaction type, the operating data, the first time node, and the second time node in the system log that have the same transaction type as the transaction type in the query parameter can be identified as the target log information, so as to facilitate comparison of the operating data of the same transaction type, thereby facilitating determination of the normal fluctuation range of the response rate when the subsystem processes the transaction type, and further facilitating determination of whether the response rate corresponding to a certain log information is abnormal.

[0048] After obtaining the target log information, the target log information can be displayed on the screen, so that the operation and maintenance personnel can view the target log information and perform operation and maintenance according to the target log information. In this way, the operation and maintenance personnel can accurately and quickly obtain the corresponding target log information based on the query parameters, thereby improving the operation and maintenance efficiency.

[0049] See also Figure 4 In some embodiments, the control method further comprises:

[0050] Step 016: Determine a response rate of the subsystem when processing the transaction message based on the first time node and the second time node;

[0051] Step 017: Based on the global serial number corresponding to the transaction message, the response rate is stored in the system log.

[0052] Specifically, when obtaining the first time node and the second time node corresponding to the transaction message entering and exiting the subsystem, the response rate of the subsystem when processing the transaction message can be determined according to the difference between the first time node and the second time node. It can be understood that the response rate can be used to reflect whether an abnormal situation occurs when the subsystem processes the transaction message. When an abnormal situation occurs, the response rate will be greater than the response rate when no abnormal situation occurs. After calculating the response rate, the response rate can be stored in the system log based on the global serial number corresponding to the transaction message, so that when the operation and maintenance personnel look for the operation data of the transaction message, the response rate corresponding to the subsystem can be directly obtained and displayed on the screen, which is convenient for the operation and maintenance personnel to confirm whether the subsystem has an abnormal situation based on the response rate.

[0053] Of course, at this time, a corresponding preset response rate threshold can also be set for each subsystem, and the preset response rate threshold is the maximum value of the subsystem response rate when no abnormal situation occurs. When the response rate determined based on the first time node and the second time node is greater than the preset response rate threshold, it can be confirmed that the subsystem has an abnormal situation. At this time, an alarm can be directly issued to remind the operation and maintenance personnel that the subsystem has an abnormality and needs to be checked in time.

[0054] In addition, when inputting query instructions, the operation and maintenance personnel can obtain multiple response rates based on transaction time, transaction legal person or transaction type, and judge the normal fluctuation range of the response rate under the same conditions based on the multiple response rates, thereby facilitating the operation and maintenance personnel to confirm abnormal response rates and perform operation and maintenance on the subsystem corresponding to the abnormal response rate.

[0055] See also Figure 5 In some embodiments, the control method further comprises:

[0056] Step 018: Determine the number of timeout transactions of the subsystem based on the response rate corresponding to the transaction messages processed by the subsystem and a preset response rate threshold;

[0057] Step 019: Determine the timeout rate corresponding to the subsystem based on the number of timeout transactions and the total number of transactions of the subsystem.

[0058] Specifically, after determining the response rate, the timeout rate of the subsystem can also be confirmed based on the response rate. First, the timed-out transaction message is determined based on the response rate corresponding to the transaction message processed by the subsystem and the preset response rate threshold. It can be understood that the transaction message with a response rate greater than the preset response rate threshold is the timed-out transaction message, and then the number of timed-out transactions can be determined based on the number of timed-out transaction messages.

[0059] Next, the timeout rate of the subsystem can be determined based on the ratio of the number of timeout transactions and the current total number of transactions of the subsystem. For example, the total number of transactions of the transaction messages processed by the subsystem may change at any time. Then, when a query instruction is received, the number of timeout transactions and the current total number of transactions of the subsystem can be obtained, so as to confirm the current timeout rate of the subsystem. Alternatively, the current timeout rate of the subsystem can be calculated in real time, which is convenient for the operation and maintenance personnel to query. After determining the timeout rate, the corresponding timeout rate of the subsystem can be displayed on the screen, so that the operation and maintenance personnel can judge whether the subsystem has abnormal conditions based on the timeout rate.

[0060] In addition, when inputting query instructions, the operation and maintenance personnel can obtain multiple timeout rates based on transaction time, transaction legal person or transaction type, and judge the normal fluctuation range of the timeout rate under the same conditions based on the multiple timeout rates, so as to facilitate the operation and maintenance personnel to confirm abnormal timeout rates, and then facilitate the operation and maintenance of the subsystem corresponding to the abnormal timeout rate.

[0061] In this way, operation and maintenance personnel can directly obtain the response rate and timeout rate of each system based on the query instructions, so as to analyze the system-level defects caused by concurrency according to the response rate and timeout rate, identify the subsystem with abnormalities, and subsequently optimize the code and SQL scripts in a more targeted manner to improve the response rate and reduce the timeout rate.

[0062] Of course, based on the first time node, the second time node and the total time of the financial system processing the transaction message, the time of the main system processing the transaction message can also be determined, thereby determining the response rate of the main system. The operation and maintenance personnel can determine whether the main system has an abnormality based on the response rate of the main system, thereby facilitating the operation and maintenance of the main system.

[0063] See also Figure 6 In some embodiments, the method further comprises:

[0064] Step 020: upon receiving a transaction message, generating a global serial number corresponding to the transaction message;

[0065] Step 021: Store the transaction message and the corresponding global serial number in the database.

[0066] Specifically, when a transaction message is received, a global serial number corresponding to the transaction message may be generated. The global serial number may be generated based on at least one of the transaction type, transaction category, or channel identifier of the transaction message, so that the global serial number corresponding to each transaction message is unique. Then, the transaction message and the corresponding global serial number may be stored in a database. In this way, when it is determined that a transaction is abnormal, the global serial number corresponding to the transaction message may be searched in the database according to the transaction message corresponding to the transaction, for example, the global serial number may be searched in the database according to the transaction legal person information and the transaction account number in the transaction message.

[0067] System logs usually store log information in the form of files. When the storage space of a log file is full, a new log file will be reopened to store log information. Therefore, in the actual operation process, it is uncertain in which log file the log information is stored. Even if the global serial number corresponding to the transaction message is recorded in the log, it is difficult for the operation and maintenance personnel to find the corresponding log file and the corresponding global serial number when searching for the global serial number. The database can store a large amount of data in the database. Therefore, as long as the transaction message and the corresponding global serial number are stored in the database, when the operation and maintenance personnel need to find the global serial number, they can quickly find the global serial number corresponding to the transaction message in the database, so that the operation and maintenance personnel can find the log information corresponding to the transaction message in the system log according to the global serial number, which is convenient for the operation and maintenance personnel to find the log information corresponding to the transaction message in the system log according to the global serial number, and then facilitate the operation and maintenance work of the operation and maintenance personnel.

[0068] Of course, the operation data, the first time node, the second time node, the response rate and the timeout rate can also be recorded in the database to facilitate data storage and retrieval.

[0069] See also Figure 7 In order to facilitate better implementation of the data processing method of the embodiment of the present application, the embodiment of the present application also provides a data processing device 10. The data processing device 10 may include a first storage module 11, an acquisition module 12, and a second storage module 13. The first storage module 11 is used to store the running data when the main system executes the transaction message in the system log based on the global serial number corresponding to the transaction message, so as to generate log information corresponding to the transaction message, and the global serial number corresponding to each transaction message is different. The acquisition module 12 is used to obtain the first time node when the subsystem calls the transaction message and the second time node when the subsystem feeds back the transaction message when the transaction message is executed by the subsystem. The second storage module 13 is used to store the first time node, the second time node, and the running data when the subsystem executes the transaction message in the system log based on the global serial number, so as to generate log information corresponding to the transaction message.

[0070] The data processing device 10 further includes a query module 14. The query module 14 is used to, upon receiving a query instruction, obtain target log information from various log information of the system log according to query parameters in the query instruction; and display the target log information on the screen.

[0071] The data processing device 10 further includes a first determination module 15 and a third storage module 16. The determination module 15 is used to determine the response rate of the subsystem when processing the transaction message based on the first time node and the second time node. The third storage module 16 is used to store the response rate in the system log based on the global serial number corresponding to the transaction message.

[0072] The data processing device 10 further includes a second determination module 17. The second determination module 17 is used to determine the number of timeout transactions of the subsystem based on the response rate corresponding to the transaction messages processed by the subsystem and a preset response rate threshold; and determine the corresponding timeout rate of the subsystem based on the number of timeout transactions and the total number of transactions of the subsystem.

[0073] The data processing device 10 further includes a third determination module 18 and a fourth storage module 19. The third determination module 18 is used to generate a global serial number corresponding to the transaction message when receiving the transaction message. The fourth storage module 19 is used to store the transaction message and the corresponding global serial number in a database.

[0074] In the above text, the data processing device 10 is described from the perspective of the functional module in conjunction with the accompanying drawings. The functional module can be implemented in the form of hardware, can be implemented by instructions in the form of software, or can be implemented by a combination of hardware and software modules. Specifically, the steps of the method embodiment in the embodiment of the present application can be completed by the hardware integrated logic circuit in the processor and / or the instructions in the form of software. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware coding processor to execute, or can be executed by a combination of hardware and software modules in the coding processor. Optionally, the software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory, and completes the steps in the above method embodiment in conjunction with its hardware.

[0075] See also Figure 8 The computer device 100 of the embodiment of the present application includes a processor 20, a memory 30 and a computer program, wherein the computer program is stored in the memory 30 and executed by the processor 20, and the computer program includes instructions for executing the data processing method of any of the above embodiments.

[0076] See also Fig. 9The embodiment of the present application also provides a computer-readable storage medium 300 on which a computer program 310 is stored. When the computer program 310 is executed by a processor 320, the steps of the data processing method of any of the above-mentioned embodiments are implemented. For the sake of brevity, they are not repeated here.

[0077] In the description of this specification, the descriptions with reference to the terms "certain embodiments", "in an example", "exemplarily", etc., mean that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.

[0078] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0079] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A data processing method, characterized in that: Applied to a financial system, the financial system includes a main system and a subsystem, the main system and the subsystem are communicatively connected, and the method includes: Based on the global serial number corresponding to the transaction message, the operation data when the main system executes the transaction message is stored in the system log to generate log information corresponding to the transaction message, and the global serial number corresponding to each transaction message is different; When the transaction message is executed by the subsystem, obtaining a first time point when the subsystem calls the transaction message and a second time point when the subsystem feeds back the transaction message; Based on the global serial number, the first time node, the second time node and the operating data when the subsystem executes the transaction message are stored in the system log to generate log information corresponding to the transaction message.

2. The data processing method according to claim 1, characterized in that: The method further comprises: When receiving a query instruction, obtaining target log information from each log information of the system log according to the query parameters in the query instruction; The target log information is displayed on the screen.

3. The data processing method according to claim 2, characterized in that: The query parameter includes at least one of transaction time, transaction legal person, transaction type and global serial number.

4. The data processing method according to claim 1, characterized in that: Also includes; Determine, based on the first time node and the second time node, a response rate of the subsystem when processing the transaction message; Based on the global serial number corresponding to the transaction message, the response rate is stored in the system log.

5. The data processing method according to claim 4, characterized in that: Also includes: Determining the number of timed transactions of the subsystem based on the response rate corresponding to the transaction messages processed by the subsystem and a preset response rate threshold; A timeout rate corresponding to the subsystem is determined based on the number of timed transactions and the total number of transactions of the subsystem.

6. The data processing method according to claim 1, characterized in that: Also includes: When receiving a transaction message, generating a global serial number corresponding to the transaction message; The transaction message and the corresponding global serial number are stored in the database.

7. The data processing method according to claim 6, characterized in that: The global serial number is generated based on at least one of a transaction type, a transaction category or a channel identifier of the transaction message.

8. A data processing device, characterized in that: Applied to a financial system, the financial system includes a main system and a subsystem, the main system and the subsystem are communicatively connected, and the device includes: A first storage module is used to store the operation data when the main system executes the transaction message into the system log based on the global serial number corresponding to the transaction message, so as to generate log information corresponding to the transaction message, and each transaction message corresponds to a different global serial number; an acquisition module, used for acquiring, when the transaction message is executed by the subsystem, a first time node when the subsystem calls the transaction message and a second time node when the subsystem feeds back the transaction message; The second storage module is used to store the first time node, the second time node and the operating data when the subsystem executes the transaction message into the system log based on the global serial number, so as to generate log information corresponding to the transaction message.

9. A computer device, characterized in that: include: Processor, memory; and A computer program, wherein the computer program is stored in the memory and executed by the processor, and the computer program includes instructions for executing the data processing method according to any one of claims 1 to 7.

10. A non-volatile computer-readable storage medium containing a computer program, characterized in that: When the computer program is executed by a processor, the processor executes the data processing method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Transaction path generation method and system, related computer equipment and storage medium

    CN111724158A

  • Transaction data processing method and device, computer equipment and storage medium

    CN112613993A

  • Trading data tracking method and device

    CN115774739A

  • Fault analysis method, apparatus and device, and computer readable medium

    CN117411774A