Life cycle-based process monitoring method, apparatus and device, and storage medium
Through the life cycle-based process monitoring method, the data to be monitored is obtained and the life cycle is configured according to the process configuration rules, the problem that the existing technology cannot discover operational problems in the process life cycle in a timely manner, and the comprehensive monitoring and problem discovery of the entire life cycle is achieved, which improves the user experience.
Patent Information
- Application Number
- CN202411763608.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-03
- Publication Date
- 2025-03-11
AI Technical Summary
The existing monitoring system cannot promptly detect potential operational problems during the entire life cycle of the process, resulting in a decrease in user's sense of use of the business system.
Provide a life cycle-based process monitoring method. By obtaining data to be monitored, the process nodes are configured according to preset process configuration rules, and the life cycle is obtained, and the execution of the process nodes to be monitored is monitored for each life cycle.
It realizes comprehensive monitoring of the operation of the process throughout the life cycle, timely discovers potential operation problems, and improves users' sense of use of the business system.
Smart Images

Figure CN119599412A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of big data, and in particular to a lifecycle-based process monitoring method, apparatus, device, and storage medium. Background Art
[0002] With the development of financial services, business scenarios are becoming increasingly diverse and interconnected. In order to ensure that business processes are carried out correctly and efficiently throughout their life cycle, monitoring systems are usually used to monitor business processes.
[0003] Existing monitoring systems focus on individual business processes, using corresponding technical indicators to capture anomalies during business operations. However, business processes are typically composed of multiple nodes with a sequential execution order. If an error occurs in any of these nodes during execution, all subsequent nodes will fail, resulting in an unsuccessful business process response, seriously affecting user satisfaction with the business process.
[0004] Although the existing monitoring system can monitor the execution status of a single node, it cannot promptly detect potential operational problems throughout the entire life cycle of the process, thereby reducing the user experience of the business system. Summary of the Invention
[0005] The present application provides a lifecycle-based process monitoring method, apparatus, equipment and storage medium to solve the technical problem that the existing monitoring system is unable to timely detect potential operational problems throughout the life cycle of the process, thereby reducing the user's experience of using the business system.
[0006] In a first aspect, the present application provides a lifecycle-based process monitoring method, comprising:
[0007] Acquire data to be monitored, where the data to be monitored is obtained by screening historical transaction records of the first process node;
[0008] Performing process configuration on the first process node according to a preset process configuration rule to obtain at least one life cycle corresponding to the first process node, wherein each life cycle includes at least one process node to be monitored;
[0009] For each life cycle, at least one process node to be monitored in the life cycle is monitored based on the process execution status of the data to be monitored to obtain a monitoring result of the corresponding life cycle.
[0010] In a possible implementation, obtaining the data to be monitored includes:
[0011] Determine a first process node that has been run, and obtain a historical transaction record corresponding to the first process node;
[0012] According to the preset screening rules, the historical transaction records are screened to obtain the data to be monitored.
[0013] In a possible implementation, performing process configuration on the first process node according to a preset process configuration rule to obtain at least one lifecycle corresponding to the first process node includes:
[0014] Determining a process identifier corresponding to the first process node;
[0015] Determining at least one life cycle corresponding to the process identifier according to the preset process configuration rule;
[0016] Each life cycle includes the first process node and at least one process node to be monitored, and the at least one process node to be monitored is a process node in the corresponding life cycle whose execution order is after the first process node.
[0017] In a possible implementation, for each life cycle, monitoring at least one to-be-monitored process node of the life cycle based on the process execution status of the to-be-monitored data to obtain a monitoring result corresponding to the life cycle includes:
[0018] For any life cycle in the at least one life cycle, the life cycle is parsed to obtain the first process node and the at least one process node to be monitored;
[0019] In accordance with the execution order corresponding to the life cycle, calling the data to be monitored, sequentially executing the at least one process node to be monitored, and obtaining at least one execution result;
[0020] Analyze and process the at least one execution result to obtain a monitoring result corresponding to the life cycle.
[0021] In a possible implementation, calling the data to be monitored, executing the at least one process node to be monitored, and obtaining at least one execution result according to the execution order corresponding to the lifecycle include:
[0022] The process node to be monitored that is at the first place in the execution order is determined as the current process node;
[0023] Parsing the current process node to obtain an execution element corresponding to the current process node;
[0024] Based on the execution element, calling corresponding data to be executed from the data to be monitored, and executing the current process node using the data to be executed to obtain a first execution result;
[0025] If the first execution result indicates successful execution, determining whether there are other process nodes after the current process node based on the execution order;
[0026] If so, the process node to be monitored that is first in the execution order among the other process nodes is updated as the current process node, and the data to be monitored is called, and the updated current process node is executed until no other process node exists after the current process node;
[0027] If not, the process execution operation of the life cycle is terminated, and at least one execution result corresponding to the life cycle is output.
[0028] In a possible implementation, after executing the current process node using the to-be-executed data and obtaining a first execution result, the method further includes:
[0029] In the case where the first execution result indicates that the execution has failed, the process execution operation of the life cycle is terminated, and the execution result corresponding to the life cycle is output.
[0030] In one possible implementation, the execution result includes a response status and a feedback result of the current process node, and the analyzing and processing the at least one execution result to obtain a monitoring result corresponding to the lifecycle includes:
[0031] When the execution result indicates that the current process node responds successfully and the feedback result is correct, the monitoring result of the corresponding life cycle is a first monitoring result, and the first monitoring result is used to indicate that at least one process node in the life cycle and the corresponding to-be-executed data are in a normal state;
[0032] In a case where the execution result indicates that the current process node has failed to respond, the monitoring result of the corresponding lifecycle is a second monitoring result, and the second monitoring result is used to indicate that the system executing the lifecycle is in an abnormal state;
[0033] When the execution result indicates that the feedback result corresponding to the current process node is wrong, the monitoring result of the corresponding life cycle is the third monitoring result, and the third monitoring result is used for at least one process node in the life cycle or the corresponding data to be executed is in an abnormal state.
[0034] In a possible implementation, after analyzing and processing the at least one execution result to obtain a monitoring result corresponding to the life cycle, the method further includes:
[0035] If the monitoring result is the second monitoring result, system abnormality information is generated and sent to the system processing terminal, wherein the system abnormality information includes: current response time of the system and current response failure of the system;
[0036] When the monitoring result is the third monitoring result, the feedback result corresponding to the current process node is analyzed to determine the process anomaly and / or data anomaly, and based on the process anomaly and / or data anomaly, business anomaly information is generated and sent to the business processing terminal.
[0037] In a second aspect, the present application provides a lifecycle-based process monitoring device, comprising:
[0038] An acquisition module, configured to acquire data to be monitored, wherein the data to be monitored is obtained by screening historical transaction records of the first process node;
[0039] a configuration module, configured to perform process configuration on the first process node according to a preset process configuration rule, and obtain at least one life cycle corresponding to the first process node, wherein each life cycle includes at least one process node to be monitored;
[0040] The monitoring module is used to monitor, for each life cycle, at least one process node to be monitored in the life cycle based on the process execution status of the data to be monitored, and obtain a monitoring result of the corresponding life cycle.
[0041] In a possible implementation, the apparatus further includes: a determination module and a screening module;
[0042] The determining module is used to determine the first process node that has been run;
[0043] The acquisition module is further configured to acquire historical transaction records corresponding to the first process node;
[0044] The screening module is used to screen the historical transaction records according to preset screening rules to obtain the data to be monitored.
[0045] In a possible implementation, the determining module is further configured to determine a process identifier corresponding to the first process node;
[0046] The determining module is further configured to determine at least one life cycle corresponding to the process identifier according to the preset process configuration rule;
[0047] Each life cycle includes the first process node and at least one process node to be monitored, and the at least one process node to be monitored is a process node in the corresponding life cycle whose execution order is after the first process node.
[0048] In a possible implementation, the apparatus further includes: a parsing module and an execution module;
[0049] The parsing module is configured to parse any life cycle in the at least one life cycle to obtain the first process node and the at least one process node to be monitored;
[0050] The execution module is configured to call the data to be monitored according to the execution order corresponding to the life cycle, execute the at least one process node to be monitored in sequence, and obtain at least one execution result;
[0051] The monitoring module is further configured to analyze and process the at least one execution result to obtain a monitoring result corresponding to the life cycle.
[0052] In a possible implementation, the device further includes: a judgment module, an update module, and an output module;
[0053] The determining module is further configured to determine the process node to be monitored that is first in the execution order as the current process node;
[0054] The parsing module is further configured to parse the current process node to obtain an execution element corresponding to the current process node;
[0055] The execution module is specifically configured to call corresponding data to be executed from the data to be monitored based on the execution element, and execute the current process node using the data to be executed to obtain a first execution result;
[0056] The judgment module is configured to judge whether there are other process nodes after the current process node based on the execution order when the first execution result indicates that the execution is successful;
[0057] The updating module is configured to update the process node to be monitored that is first in the execution order among the other process nodes as the current process node, if any;
[0058] The execution module is further configured to call the data to be monitored and execute the updated current process node until no other process nodes exist after the current process node;
[0059] The output module is used to terminate the process execution operation of the life cycle if it does not exist, and output at least one execution result corresponding to the life cycle.
[0060] In a possible implementation, the output module is further configured to terminate the process execution operation of the life cycle and output the execution result corresponding to the life cycle when the first execution result indicates execution failure.
[0061] In a possible implementation, the monitoring module is further configured to, when the execution result indicates that the current process node has responded successfully and the feedback result is correct, use the monitoring result corresponding to the lifecycle as a first monitoring result, where the first monitoring result is configured to indicate that at least one process node in the lifecycle and the corresponding to-be-executed data are both in a normal state;
[0062] The monitoring module is further configured to, when the execution result indicates that the current process node has failed to respond, use the monitoring result of the corresponding lifecycle as a second monitoring result, wherein the second monitoring result is configured to indicate that the system executing the lifecycle is in an abnormal state;
[0063] The monitoring module is also used to, when the execution result indicates that the feedback result corresponding to the current process node is wrong, the monitoring result of the corresponding life cycle is a third monitoring result, and the third monitoring result is used for at least one process node in the life cycle or the corresponding data to be executed is in an abnormal state.
[0064] In a possible implementation, the apparatus further includes: a generating module and a sending module;
[0065] The generating module is configured to generate system abnormality information when the monitoring result is the second monitoring result;
[0066] The sending module is used to send the system abnormality information to the system processing terminal, wherein the system abnormality information includes: the current response time of the system and the current response failure of the system;
[0067] The generating module is further configured to, when the monitoring result is the third monitoring result, analyze the feedback result corresponding to the current process node, determine a process anomaly and / or a data anomaly, and generate business anomaly information based on the process anomaly and / or the data anomaly;
[0068] The sending module is further configured to send the service exception information to a service processing terminal.
[0069] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor;
[0070] The memory stores computer-executable instructions;
[0071] The processor executes the computer-executable instructions stored in the memory to implement the above first aspect and / or various possible implementations of the first aspect.
[0072] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the first aspect above and / or various possible implementation methods of the first aspect.
[0073] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the above first aspect and / or various possible implementation methods of the first aspect.
[0074] The lifecycle-based process monitoring method, apparatus, equipment and storage medium provided in the present application obtain the data to be monitored and configure the process of the first process node according to the preset process configuration rules to obtain at least one lifecycle corresponding to the first process node. For each lifecycle, the process execution status of at least one process node to be monitored in the lifecycle is monitored based on the data to be monitored to obtain the monitoring result of the corresponding lifecycle, thereby realizing all-round monitoring of the process operation status of the entire lifecycle, achieving the technical effect of timely discovering potential operation problems throughout the entire lifecycle to enhance the user's experience of using the business system. BRIEF DESCRIPTION OF THE DRAWINGS
[0075] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0076] Figure 1 A schematic diagram of the structure of a monitoring platform based on the service life cycle provided in an embodiment of the present application;
[0077] Figure 2 Schematic diagram of the process of life cycle-based process monitoring method provided in the embodiment of the present application Figure 1 ;
[0078] Figure 3 Schematic diagram of the process of life cycle-based process monitoring method provided in the embodiment of the present application Figure 2 ;
[0079] Figure 4 Schematic diagram of the process of life cycle-based process monitoring method provided in the embodiment of the present application Figure 3 ;
[0080] Figure 5 A schematic diagram of the structure of a life cycle-based process monitoring device provided in this application;
[0081] Figure 6 This is a schematic diagram of the structure of the electronic device provided in this application.
[0082] The above drawings illustrate specific embodiments of the present application, which will be described in more detail below. These drawings and the textual description are not intended to limit the scope of the present application in any way, but rather to illustrate the concepts of the present application to those skilled in the art by reference to specific embodiments. DETAILED DESCRIPTION
[0083] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
[0084] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with the relevant laws, regulations and standards of the relevant countries and regions, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0085] In addition, this application involves conducting big data analysis of user information (including but not limited to personal biometrics, identity data, consumption data, asset data, electronic terminal operation data, etc.), and using artificial intelligence technology to make automated decisions, and making technical solutions that have a significant impact on personal rights and interests based on the results of automated decisions. The application provides users with corresponding operation entrances for them to choose to agree or reject the results of automated decisions; if the user chooses to reject, the expert decision-making process will be entered.
[0086] It should be noted that the lifecycle-based process monitoring method, device, equipment and storage medium of the present application can be used in the financial field, and can also be used in any field other than finance. The application field of the lifecycle-based process monitoring method, device, equipment and storage medium of the present application is not limited.
[0087] The prosperity and development of the financial sector has made financial operations more complex, and the interconnectedness of business processes has become increasingly close. Business processes are typically composed of multiple process nodes with a sequential execution order. If an error occurs in any of these process nodes, all subsequent process nodes will fail to execute, resulting in unsuccessful business process responses and reduced user satisfaction.
[0088] For example, when a user attempts to change an insurance policy through the user interface, if they enter incorrect information during the process, the entire policy change process will be blocked and cannot be successfully executed. In this case, the user experience will be greatly reduced, and their trust in the service will also be reduced accordingly.
[0089] Therefore, in order to ensure the correctness and efficiency of business operations, a monitoring system is usually used to monitor business processes. The existing process monitoring method is to set technical indicators corresponding to a single process node to capture abnormal conditions of a single process node during operation.
[0090] Although existing monitoring methods can detect abnormal operating status of a single business link through corresponding technical indicators, they do not consider the impact of process nodes on process operation throughout the entire life cycle, and are unable to promptly detect potential operating problems throughout the entire life cycle of the process, thereby reducing users' experience with the business system.
[0091] The lifecycle-based process monitoring method provided in this application is intended to solve the above technical problems of the prior art. After obtaining the data to be monitored corresponding to the first process node and configuring the process for the first process node to obtain at least one corresponding lifecycle, the method uses the data to be monitored to execute each lifecycle, monitors the execution process, and obtains the monitoring results of the corresponding lifecycle. This method realizes all-round monitoring of the process operation status of the entire lifecycle, and achieves the technical effect of timely discovering potential operational problems throughout the entire lifecycle to enhance the user's experience of using the business system.
[0092] This application can be specifically applied to enterprise business monitoring systems, such as monitoring the processes of traditional banking, insurance, and fund business systems, to promptly identify potential process operation problems throughout the entire life cycle. For traditional banking services, such as monitoring business processes such as deposits, withdrawals, remittances, and loans within a specific time period, promptly identify operational problems corresponding to the entire life cycle, ensure that each process node can be accurately executed, thereby improving business efficiency and enhancing the user experience.
[0093] For example, Figure 1A schematic diagram of the structure of a monitoring platform based on a business lifecycle provided in an embodiment of the present application. The monitoring platform 100 includes a data acquisition device 101, a business lifecycle process device 102, a business process parsing engine device 103, a data screening device 104, a business process running device 105, and a business monitoring and analysis device 106. Among them, the data acquisition device 101 is used to collect and store business transaction record data in the business system so that the corresponding transaction data can be called in subsequent process running and monitoring operations. The business lifecycle process device 102 is used to configure the process. For example, for the insurance application process in the insurance business, the corresponding lifecycle is configured. The lifecycle includes insurance application, query, and policy change. The business process parsing engine device 103 is used to parse the process configured by the business lifecycle process device 102 and send at least one process node obtained by the parsing to the business process running device 105. In addition, the data screening device 104 is used to filter the business transaction record data obtained by the data acquisition device 101 and send the filtered transaction data to be monitored to the business process running device 105. The business process running device 105 is used to run a process node within a life cycle based on the received transaction data to be monitored and at least one process node. At the same time, the business monitoring and analysis device 106 monitors the above process running process to obtain monitoring results.
[0094] The following specific embodiments describe in detail the technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0095] Figure 2 Schematic diagram of the process of life cycle-based process monitoring method provided in the embodiment of the present application Figure 1 This method can be applied to the above Figure 1 The monitoring platform 100 shown in FIG. Figure 2 As shown, the method includes:
[0096] S201: Obtain data to be monitored.
[0097] The data to be monitored is obtained by screening historical transaction records of a first process node. The first process node is an executed process node in a certain life cycle. During the execution of the first process node, historical transaction records are generated.
[0098] Specifically, the system determines the first executed process node and, based on a preset time period, obtains historical transaction records corresponding to the first process node within the preset time period. The historical transaction records are then filtered based on preset filtering rules to obtain data to be monitored. This data to be monitored is then used for subsequent monitoring and analysis of at least one lifecycle. The first process node may, for example, be an order creation node, a payment request submission, or a new customer enrollment node in an insurance business process. Furthermore, in an insurance business process, for example, historical transaction data may include transaction data such as customer name, customer policy information, and customer identification.
[0099] It is understandable that the above-mentioned preset screening rules may be one of the following, or a combination of the following screening rules: time range, transaction type, and the last two digits of the customer identifier.
[0100] It should be noted that in this method, the execution entity can be a server or a terminal device, wherein the terminal device can be a wireless terminal or a wired terminal. For example, the wireless terminal can be a computer with a mobile terminal, a personal digital assistant (PDA), or other devices.
[0101] S202: Perform process configuration on the first process node according to a preset process configuration rule to obtain at least one life cycle corresponding to the first process node.
[0102] Each life cycle includes at least one process node to be monitored, and each life cycle consists of at least one process node to be monitored and a first process node.
[0103] Specifically, the preset process configuration rules include an association relationship between a process node and at least one life cycle. During the process configuration of the first process node, at least one life cycle associated with the first process node is determined from the preset process configuration rules. The preset process configuration rules can be stored in the database of the business system in the form of a process configuration list. For example, the preset process configuration rules are stored in a "workflow" list, which includes fields such as node ID (identification), node name, node type, predecessor node, and successor node.
[0104] Optionally, each process node is configured with a corresponding node ID, and each lifecycle is configured with a corresponding cycle ID. Based on the association between the node ID and the cycle ID, at least one cycle ID corresponding to the node ID is determined. For example, the node ID of the first process node is 0000. Based on this node ID, the associated lifecycle ID is queried in the preset process configuration rules, resulting in: a first lifecycle of 1000 and a second lifecycle of 1100. Therefore, the first process node corresponds to two lifecycles, namely, lifecycles 1000 and 1100.
[0105] S203: For each life cycle, monitor at least one process node to be monitored in the life cycle based on the process execution status of the data to be monitored to obtain a monitoring result corresponding to the life cycle.
[0106] Specifically, after obtaining at least one lifecycle corresponding to the first process node, for each lifecycle, at least one process node to be monitored within the lifecycle is determined. The monitored data is then called according to the execution order of the at least one process node to be monitored within the lifecycle, and the at least one process node to be monitored is sequentially executed. Simultaneously, the execution of the at least one process node to be monitored is monitored to obtain a monitoring result for the corresponding lifecycle. This monitoring result reflects the execution status of each process node throughout the lifecycle. Based on this monitoring result, operational issues within each process node throughout the lifecycle can be promptly identified, ensuring smooth and efficient operation of the entire lifecycle.
[0107] Optionally, for each life cycle, determine at least one process node to be monitored that is located after the above-mentioned first process node in the life cycle, and parse the above-mentioned at least one process node to be monitored in turn to obtain the data required by the process node to be monitored during the execution process, and call the data from the above-mentioned data to be monitored to run the process node to be monitored and obtain the execution result, and then analyze the execution result corresponding to the entire life cycle to obtain the monitoring result of the corresponding life cycle.
[0108] For example, in an insurance business system, the first process node is insurance application. The first lifecycle corresponding to this insurance application node includes, in order of execution: insurance application, query, and policy cancellation. The query node is parsed to determine that the data required for the query node is a user ID. Therefore, multiple user IDs are retrieved from the monitored data corresponding to the insurance application node, and a query operation is performed to obtain insurance information such as the insurance type and insured amount corresponding to the multiple user IDs. Furthermore, at the policy cancellation node, the user ID, policy cancellation form, policy cancellation contract, and policy cancellation account required for policy cancellation are determined. This information is retrieved from the query results to execute the policy cancellation operation and obtain the execution result corresponding to the policy cancellation node. Finally, the execution results corresponding to the query and policy cancellation nodes are analyzed, revealing that the process configuration in the first lifecycle is correct and that each process node has executed successfully. Therefore, the monitoring result for the first lifecycle is that the process nodes and transaction data corresponding to the entire lifecycle are in a normal state.
[0109] Optionally, monitoring indicators can be developed based on the business needs of the process nodes to be monitored, such as execution success rate, response time, error rate, and number of abnormal events. This application does not impose any restrictions on this. After obtaining the execution results corresponding to the entire lifecycle, the execution results can also be analyzed based on the monitoring indicators corresponding to each process node to be monitored to obtain monitoring results corresponding to the entire lifecycle.
[0110] The lifecycle-based process monitoring method provided in the embodiment of the present application obtains the data to be monitored and configures the process of the first process node according to the preset process configuration rules to obtain at least one lifecycle corresponding to the first process node. For each lifecycle, the process execution status of at least one process node to be monitored in the lifecycle is monitored based on the data to be monitored to obtain the monitoring result of the corresponding lifecycle, thereby realizing all-round monitoring of the process operation status of the entire lifecycle, achieving the technical effect of timely discovering potential operation problems in the entire lifecycle to enhance the user's experience of using the business system.
[0111] Figure 3 Schematic diagram of the process of life cycle-based process monitoring method provided in the embodiment of the present application Figure 2 .like Figure 3 As shown, this embodiment Figure 1-2 Based on the embodiment, a possible implementation method of lifecycle-based process monitoring is described in detail, and the method includes:
[0112] S301: Determine a first process node that has been run, and obtain a historical transaction record corresponding to the first process node.
[0113] After each process node is finished running, a run flag is generated. Optionally, the first process node that has been run is determined based on the run flag, and the run flag is used. Figure 1 The data collection device 101 in the process queries and obtains the historical transaction records corresponding to the first process node. The obtained historical transaction records may be stored in the database of the corresponding business system. For example, in an insurance system, the historical transaction records may include new customer insurance application records, policy inquiry records, and policy cancellation records. After obtaining the historical transaction records, the historical transaction records are stored in the insurance system database to facilitate subsequent monitoring and operation calls.
[0114] It should be noted that the execution status of a process node includes: run, running, and not run, and each execution status has a corresponding identifier. The execution status of a process node can be determined based on the execution timestamp and execution order of the node.
[0115] S302: Filter the historical transaction records according to preset filtering rules to obtain the data to be monitored.
[0116] Specifically, according to the preset screening rules, the historical transaction records are screened to obtain the business details to be monitored, and the business details to be monitored are parsed to obtain the data to be monitored, wherein the data to be monitored includes the transaction type, transaction status, etc. This application does not impose any restrictions on this. In addition, the above-mentioned screening rules are, for example, a combination rule of transaction type and customer number ending in 0-7. For example, the preset screening rules are: the transaction type is insurance policy inquiry, and the customer number ending in 0-5, the historical transaction record obtained is a message, and according to the above-mentioned preset screening rules, the message is parsed to split out the data to be monitored that meets the above-mentioned transaction type and customer number ending in 0.
[0117] S303: Determine the process identifier corresponding to the first process node.
[0118] Each life cycle includes at least one process node, and each process node includes but is not limited to: a node name, a node ID, a business table name corresponding to the node, a previous node ID, and a next node ID.
[0119] S304: Determine at least one life cycle corresponding to the process identifier according to the preset process configuration rule.
[0120] Each life cycle includes the first process node and at least one process node to be monitored, and the at least one process node to be monitored is a process node in the corresponding life cycle whose execution order is after the first process node.
[0121] Specifically, the process configuration rule is used to indicate the corresponding relationship between each process node and the life cycle. According to the process identifier, the process configuration rule is searched and determined to have at least one corresponding life cycle.
[0122] For example, a possible implementation of process configuration is given here. Figure 1 The business lifecycle process device 102 shown is completed. Optionally, the business lifecycle process device 102 includes: a business new process configuration unit, a business change process configuration unit, and a business cancellation process configuration unit. The above-mentioned business lifecycle process device 10 determines the business type corresponding to the first process node by analyzing the above-mentioned first process node, and calls the corresponding business process configuration unit according to the business type to configure the corresponding life cycle for the above-mentioned first process node. For example, in the insurance business, the first process node is insurance application, and the insurance application node is a new process. The business new process configuration unit is called, and based on the preset process configuration rules, the first life cycle, the second life cycle, and the third life cycle corresponding to the node identifier of the first process node are determined. Among them, the first life cycle includes: new customer insurance application + policy inquiry; the first life cycle includes: new customer insurance application + policy change; the first life cycle includes: new customer insurance application + cancellation during the hesitation period.
[0123] This method introduces a flexible process configuration mechanism. According to actual business needs, multiple lifecycle processes are configured for the same process node, thereby ensuring that business processing can fully cover multiple business scenarios involved in the process node. This is conducive to discovering the impact of the same process node on different business scenarios and improving the efficiency of process monitoring.
[0124] S305: For any life cycle in the at least one life cycle, parse the life cycle to obtain the first process node and the at least one process node to be monitored.
[0125] Specifically, each lifecycle includes at least one process node. Each process node carries a node identifier, a node name, a preceding node identifier, a succeeding node identifier, and the pending data required by the process node during execution. For each lifecycle, the lifecycle is parsed to obtain the corresponding process node. The process node includes a first process node and at least one process node to be monitored.
[0126] Optionally, step S305 may be performed by Figure 1 The business process parsing engine device 103 shown is completed. The business process parsing engine device 103 parses the above life cycle to obtain multiple process nodes and the execution order corresponding to each process node.
[0127] S306 : Call the data to be monitored according to the execution order corresponding to the life cycle, execute the at least one process node to be monitored in sequence, and obtain at least one execution result.
[0128] Specifically, after obtaining at least one monitored process node corresponding to each lifecycle and the execution order corresponding to each monitored process node, the monitored process node is parsed according to the execution order to obtain node information corresponding to the process node. Based on the node information, the corresponding transaction data is called from the monitored data to execute the corresponding monitored process node and obtain the execution result corresponding to the monitored process node. According to the above execution method, each monitored process node in the above lifecycle is executed in sequence to obtain at least one execution result. The execution result may be, for example, that the first monitored process node is unresponsive.
[0129] S307: Analyze and process the at least one execution result to obtain a monitoring result corresponding to the life cycle.
[0130] Specifically, the entire life cycle corresponds to at least one execution result, and the above at least one execution result is analyzed to determine whether there are potential operation problems in the process node corresponding to each execution result in the entire life cycle, and based on the determination result, the monitoring result corresponding to the above life cycle is obtained.
[0131] Optionally, a possible implementation method for analyzing at least one execution result to obtain a monitoring result corresponding to the lifecycle is provided herein. If the execution result indicates that the current process node responded successfully and the feedback result is correct, the monitoring result corresponding to the lifecycle is the first monitoring result; if the execution result indicates that the current process node responded unsuccessfully, the monitoring result corresponding to the lifecycle is the second monitoring result; if the execution result indicates that the feedback result corresponding to the current process node is incorrect, the monitoring result corresponding to the lifecycle is the third monitoring result.
[0132] Among them, the above-mentioned first monitoring result is used to indicate that at least one process node in the above-mentioned life cycle and the corresponding data to be executed are in a normal state, the above-mentioned second monitoring result is used to indicate that the system executing the above-mentioned life cycle is in an abnormal state, and the above-mentioned third monitoring result is used for at least one process node in the above-mentioned life cycle or the corresponding data to be executed is in an abnormal state.
[0133] It is understandable that after obtaining the monitoring results corresponding to each life cycle, monitoring information can also be generated based on the monitoring results, and the monitoring information can be sent to the terminal device to remind the corresponding staff to perform exception processing. Here is a possible implementation method for generating monitoring information based on the monitoring results and sending the monitoring information of this method to the terminal device. In the case where the above-mentioned monitoring result is the second monitoring result, system abnormality information is generated, and the system abnormality information is sent to the system processing terminal. In addition, in the case where the above-mentioned monitoring result is the third monitoring result, the feedback result corresponding to the current process node is analyzed to determine the process abnormality and / or data abnormality, and based on the process abnormality and / or data abnormality, business abnormality information is generated, and the business abnormality information is sent to the business processing terminal. Among them, the above-mentioned system abnormality information includes: the current response time of the system, and the current response failure of the system.
[0134] For example, in an insurance business process, the first lifecycle includes: insurance application + policy query. If the feedback result is: "The ID of the second process node to be monitored is not found", it can be determined that the process configuration in this lifecycle is incorrect, that is, a process exception. Therefore, the generated business exception information will include: "The ID of the second process node to be monitored is not found". Alternatively, if the feedback result of the query phase is: "The customer identity information is incorrect", it is determined to be a data anomaly. The generated business exception information is: "Customer identity information is incorrect" and this business exception information is sent to the business processing terminal to remind business staff to promptly confirm and handle the abnormal data.
[0135] This method evaluates the execution results of process nodes throughout the lifecycle to generate monitoring results for the entire lifecycle. These results reflect any process or data anomalies throughout the lifecycle. Furthermore, different types of monitoring results are sent to different staff members to alert them to promptly address anomalies. This reduces losses caused by untimely detection and handling of anomalies and avoids diminishing user satisfaction with the business system.
[0136] The lifecycle-based process monitoring method provided in the embodiment of the present application determines the first process node that has been run, obtains the historical transaction record corresponding to the first process node, and then filters the transaction record according to the preset screening rules to obtain the data to be monitored. In addition, the process identifier corresponding to the above-mentioned first process node is determined, and at least one life cycle corresponding to the above-mentioned process identifier is determined according to the preset process configuration rules. The at least one life cycle includes the first process node and at least one process node to be monitored. Then, for any life cycle in the at least one life cycle, the life cycle is parsed to obtain the above-mentioned first process node and at least one process node to be monitored, and the above-mentioned data to be monitored is called according to the execution order corresponding to the above-mentioned life cycle, and the above-mentioned at least one process node to be monitored is executed in sequence to obtain at least one execution result, and then the at least one execution result is analyzed and processed to obtain the monitoring result corresponding to the life cycle. Through the flexible configuration of the life cycle process, this method enables a process node to correspond to the life cycle of multiple scenarios, ensuring that the business processing can fully cover the multiple business scenarios involved in the process node, which is conducive to discovering the impact of the same process node on different business scenarios and improving the efficiency of process monitoring. In addition, by monitoring the execution process of the life cycle, this method can promptly discover problems corresponding to different process nodes in the entire life cycle, and send the monitoring results corresponding to the life cycle to the corresponding terminal device to remind professionals to deal with them in time, which is conducive to timely and efficient handling of potential operational problems in the life cycle, thereby improving users' experience in using the business system.
[0137] Figure 4 Schematic diagram of the process of life cycle-based process monitoring method provided in the embodiment of the present application Figure 3 .like Figure 4 As shown, this embodiment Figure 1-3 Based on the embodiment, a possible execution logic of a process to be monitored in each life cycle is described in detail. The method includes:
[0138] S401: Determine the process node to be monitored that is first in the execution order as the current process node.
[0139] Specifically, a life cycle includes at least one process node to be monitored. After the first process node in the life cycle is identified, the unexecuted process nodes are the process nodes to be monitored, and the process node to be monitored that is first in the execution order is determined as the current process node.
[0140] S402: Analyze the current process node to obtain the execution element corresponding to the current process node.
[0141] The execution elements mentioned above include: node type, node status, and the corresponding data to be executed. The current process node is parsed to obtain the corresponding execution elements. For example, if the current process node is insurance application, its corresponding execution elements include but are not limited to: user identity information, insurance product, and insurance application form.
[0142] Optionally, step S402 may be performed by Figure 1 The business process parsing engine device 103 is completed. The business process parsing engine device 103 obtains the execution element corresponding to the current process node and sends the execution element to the business process running device 105, so that the business process running device 105 executes the corresponding process node according to the execution element.
[0143] S403: Based on the execution element, call corresponding data to be executed from the data to be monitored, and use the data to be executed to execute the node of the current process to obtain a first execution result.
[0144] The data to be executed is the data required by the current process node during execution.
[0145] Specifically, based on the aforementioned execution elements, the data details corresponding to the current process node are determined. Based on the data details, the corresponding data to be executed is retrieved from the monitored data. The current process node is then executed using the data to be executed, resulting in a first execution result. The first execution result includes whether the node was successfully executed, as well as a feedback result. The feedback result may include, for example, a generated form and / or updated user data.
[0146] S404: When the first execution result indicates that the execution has failed, terminate the process execution operation of the life cycle and output the execution result corresponding to the life cycle.
[0147] Specifically, if the first execution result indicates that the current process node has failed to execute, that is, the to-be-executed data corresponding to the current process node is abnormal, the process node is abnormal, or the system is abnormal, then in these abnormal situations, there is no need to execute the process nodes after the current node. Therefore, the process execution operation of the above life cycle is terminated, and the execution result corresponding to the above life cycle is output. The execution result includes an execution failure indicator and error information.
[0148] It is understandable that the execution failure of the current process node can be judged based on the execution failure identifier in the first execution result, and the first execution result can also be judged based on the expected result corresponding to the current process result to determine that the first execution result is an execution failure.
[0149] S405: When the first execution result indicates successful execution, determine whether there are other process nodes after the current process node based on the execution order.
[0150] Specifically, if the first execution result of the current process node indicates successful execution, based on the execution order of the lifecycle corresponding to the current process node, a determination is made as to whether there are other process nodes to be monitored after the current process node, and a determination is made based on the determination result as to whether to terminate the process execution operation of the current lifecycle. A possible implementation method for determining whether to terminate the process execution operation of the current lifecycle based on the determination is as follows: Steps S406 and S407.
[0151] For example, in the insurance business system, the first life cycle includes: insurance, policy inquiry, and policy change. The current process node is policy inquiry. If the policy query response is successful and the correct result is returned, determine whether there are other process nodes after the policy query. If there is a policy change after the policy query, determine to execute the policy change node.
[0152] S406. If so, update the process node to be monitored that is first in the execution order among the other process nodes to the current process node, call the data to be monitored, and execute the updated current process node until there is no other process node after the current process node.
[0153] Specifically, based on the determination in step S405 above, if it is determined that other process nodes exist after the current process node, then, based on the process execution order of the corresponding lifecycle, the process node to be monitored that is at the top of the execution order among the other process nodes is updated to be the current process node. The updated current process node is then parsed to obtain the execution element corresponding to the updated current process node. Based on the execution element, the corresponding data to be executed is called from the data to be monitored, and the updated current process node is executed based on the data to be executed. This process is repeated until no other process nodes exist after the current process node in the current lifecycle, or the execution result corresponding to the current process node is execution failure.
[0154] For example, in an insurance business system, the first life cycle includes: insurance application, policy inquiry, and policy change. In one case, the current process node is a policy inquiry. If the policy inquiry response fails, even if there are policy changes after the policy inquiry, the process execution operation of the first life cycle is still terminated. In another case, the current process node is a policy inquiry. If the policy inquiry response is successful and returns the correct result, determine whether there are other process nodes after the policy inquiry. If there are policy changes after the policy inquiry, determine to execute the policy change node. After the policy change execution is completed and the corresponding execution result is obtained, the process execution operation of the above-mentioned first life cycle is terminated.
[0155] S407: If not, terminate the process execution operation of the life cycle and output at least one execution result corresponding to the life cycle.
[0156] Specifically, if, based on the determination in step S405, no other process nodes exist after the current process node, the process execution operation for the corresponding lifecycle is terminated, and at least one execution result corresponding to the lifecycle is output. For example, the second lifecycle includes: insurance application, policy inquiry, and policy cancellation. If the current process node is cancellation and the cancellation response is successful and a correct result is returned, a determination is made as to whether any other process nodes exist after the cancellation node. Since no other process nodes exist after the cancellation process in the second lifecycle, the process execution operation for the second lifecycle is terminated, and the two execution results corresponding to the second lifecycle are output.
[0157] The process monitoring method based on life cycle provided by the embodiment of the present application determines the process node to be monitored that is at the top of the execution order as the current process node, and parses the current process node to obtain the corresponding execution element, and then based on the execution element, calls the corresponding data to be executed from the data to be monitored, and uses the data to be executed to execute the current process node to obtain the first execution result. In the case where the first execution result indicates that the execution failed, the process execution operation of the above life cycle is terminated and the corresponding execution result is output; in the case where the above first execution result indicates that the execution is successful, it is determined whether there are other process nodes after the above current process node. If so, the process node to be monitored that is at the top of the execution order among the other process nodes is updated as the current process node, and the data to be monitored is called, and the updated current process node is executed until there are no other process nodes after the current process node; if not, the process execution operation of the above life cycle is terminated and at least one execution result corresponding to the above life cycle is output. In the case where the execution of the current process node fails, the process execution operation of the corresponding life cycle is terminated, and the loss is stopped in time, which not only avoids the waste of system resources, but also avoids the accumulation of errors, affecting the analysis results of potential operation problems in the entire life cycle. In addition, when the current process node is successfully executed, this method executes other process nodes to be monitored after the current process node in sequence, which is conducive to full-link monitoring of the life cycle, timely discovering potential operational problems in each process node of the life cycle, and improving the accuracy of the monitoring results.
[0158] Figure 5 A schematic diagram of the structure of the process monitoring device based on the life cycle provided in this application is shown as follows: Figure 5 As shown, the lifecycle-based process monitoring device 50 provided in this embodiment includes:
[0159] An acquisition module 501 is configured to acquire data to be monitored, wherein the data to be monitored is obtained by filtering historical transaction records of the first process node;
[0160] A configuration module 502 is configured to perform process configuration on the first process node according to a preset process configuration rule, and obtain at least one life cycle corresponding to the first process node, wherein each life cycle includes at least one process node to be monitored;
[0161] The monitoring module 503 is configured to monitor, for each life cycle, the process execution status of at least one process node to be monitored in the life cycle based on the data to be monitored, and obtain a monitoring result of the corresponding life cycle.
[0162] In a possible implementation, the apparatus further includes: a determination module 504 and a screening module 505;
[0163] The determining module 504 is used to determine the first process node that has been executed;
[0164] The acquisition module 501 is further configured to acquire the historical transaction records corresponding to the first process node;
[0165] The screening module 505 is used to screen the historical transaction records according to preset screening rules to obtain the data to be monitored.
[0166] In a possible implementation, the determining module 504 is further configured to determine a process identifier corresponding to the first process node;
[0167] The determining module 504 is further configured to determine at least one life cycle corresponding to the process identifier according to the preset process configuration rule;
[0168] Each life cycle includes the first process node and at least one process node to be monitored, and the at least one process node to be monitored is a process node in the corresponding life cycle whose execution order is after the first process node.
[0169] In a possible implementation, the apparatus further includes: a parsing module 506 and an execution module 507;
[0170] The parsing module 506 is configured to parse any life cycle in the at least one life cycle to obtain the first process node and the at least one process node to be monitored;
[0171] The execution module 507 is configured to call the monitored data according to the execution order corresponding to the life cycle, execute the at least one monitored process node in sequence, and obtain at least one execution result;
[0172] The monitoring module 503 is further configured to analyze and process the at least one execution result to obtain a monitoring result corresponding to the life cycle.
[0173] In a possible implementation, the apparatus further includes: a determination module 508, an update module 509, and an output module 510;
[0174] The determining module 504 is further configured to determine the monitored process node that is first in the execution order as the current process node;
[0175] The parsing module 506 is further configured to parse the current process node to obtain an execution element corresponding to the current process node;
[0176] The execution module 507 is specifically configured to call corresponding data to be executed from the data to be monitored based on the execution element, and execute the current process node using the data to be executed to obtain a first execution result;
[0177] The judgment module 508 is configured to judge whether there are other process nodes after the current process node based on the execution order when the first execution result indicates that the execution is successful;
[0178] The updating module 509 is configured to update the process node to be monitored that is first in the execution order among the other process nodes as the current process node, if any;
[0179] The execution module 507 is further configured to call the data to be monitored and execute the updated current process node until no other process node exists after the current process node;
[0180] The output module 510 is configured to terminate the process execution operation of the life cycle if the life cycle does not exist, and output at least one execution result corresponding to the life cycle.
[0181] In a possible implementation, the output module 510 is further configured to terminate the process execution operation of the life cycle and output the execution result corresponding to the life cycle when the first execution result indicates execution failure.
[0182] In one possible implementation, the monitoring module 503 is further configured to, when the execution result indicates that the current process node has responded successfully and the feedback result is correct, use the monitoring result corresponding to the lifecycle as a first monitoring result, where the first monitoring result is configured to indicate that at least one process node in the lifecycle and the corresponding to-be-executed data are in a normal state.
[0183] The monitoring module 503 is further configured to, when the execution result indicates that the current process node has failed to respond, use the monitoring result of the corresponding lifecycle as a second monitoring result, where the second monitoring result is configured to indicate that the system executing the lifecycle is in an abnormal state;
[0184] The monitoring module 503 is also used to, when the execution result indicates that the feedback result corresponding to the current process node is wrong, the monitoring result of the corresponding life cycle is a third monitoring result, and the third monitoring result is used for at least one process node in the life cycle or the corresponding data to be executed is in an abnormal state.
[0185] In a possible implementation, the apparatus further includes: a generating module 511 and a sending module 512;
[0186] The generating module 511 is configured to generate system abnormality information when the monitoring result is the second monitoring result;
[0187] The sending module 512 is configured to send the system abnormality information to the system processing terminal, wherein the system abnormality information includes: the current response time of the system, and the current response failure of the system;
[0188] The generating module 511 is further configured to, when the monitoring result is the third monitoring result, analyze the feedback result corresponding to the current process node, determine a process anomaly and / or a data anomaly, and generate business anomaly information based on the process anomaly and / or the data anomaly;
[0189] The sending module 512 is further configured to send the service exception information to a service processing terminal.
[0190] The lifecycle-based process monitoring device provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effects are similar, and are not described in detail in this embodiment.
[0191] Figure 6 This is a schematic diagram of the structure of the electronic device provided in this application. Figure 6 As shown, the electronic device 60 provided in this embodiment includes: at least one processor 601 and a memory 602. Optionally, the device 60 further includes a communication component 603. The processor 601, the memory 602 and the communication component 603 are connected via a bus 604.
[0192] During the specific implementation process, at least one processor 601 executes the computer-executable instructions stored in the memory 602, so that the at least one processor 601 performs the above method.
[0193] The specific implementation process of the processor 601 can be found in the above method embodiment. Its implementation principle and technical effects are similar and will not be repeated here in this embodiment.
[0194] In the above embodiments, it should be understood that the processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASICs), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the present invention may be directly executed by a hardware processor or by a combination of hardware and software modules within the processor.
[0195] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage.
[0196] A bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. Buses can be categorized as address buses, data buses, and control buses. For ease of illustration, the buses in the drawings of this application are not limited to just one bus or just one type of bus.
[0197] The present application also provides a computer program product, including a computer program, which implements the above method when executed by a processor.
[0198] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the above method is implemented.
[0199] The readable storage medium may be implemented by any type of volatile or non-volatile memory device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium may be any available medium that can be accessed by a general-purpose or special-purpose computer.
[0200] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be an integral part of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the readable storage medium can also exist in the device as discrete components.
[0201] The division of units is merely a logical functional division; actual implementations may employ alternative divisions, such as combining or integrating multiple units or components into another system, or omitting or disabling certain features. Furthermore, any direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection between devices or units, either through an interface, electrical, mechanical, or other means.
[0202] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0203] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0204] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the method of the present invention. The aforementioned storage medium includes various media that can store program code, such as USB flash drives, mobile hard drives, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical disks.
[0205] Those skilled in the art will appreciate that all or part of the steps in the above-described method embodiments can be implemented using hardware associated with program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0206] It should be noted that for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all optional embodiments, and the actions and modules involved are not necessarily required by this application.
[0207] It should be further noted that, although the various steps in the flowchart are shown in sequence as indicated by the arrows, these steps are not necessarily performed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps may be performed in other orders. Moreover, at least a portion of the steps in the flowchart may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily performed at the same time, but may be performed at different times. The execution order of these sub-steps or stages is not necessarily to be performed in sequence, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0208] It should be understood that the above-described device embodiments are merely illustrative, and the device of the present application may also be implemented in other ways. For example, the division of units / modules in the above-described embodiments is merely a logical functional division, and actual implementations may employ other division methods. For example, multiple units, modules, or components may be combined or integrated into another system, or some features may be omitted or not implemented.
[0209] In addition, unless otherwise specified, the functional units / modules in the various embodiments of the present application may be integrated into a single unit / module, each unit / module may exist physically separately, or two or more units / modules may be integrated together. The aforementioned integrated units / modules may be implemented in the form of hardware or software program modules.
[0210] If an integrated unit / module is implemented in hardware, the hardware may be digital circuits, analog circuits, etc. The physical implementation of the hardware structure includes, but is not limited to, transistors, memristors, etc. Unless otherwise specified, the processor may be any appropriate hardware processor, such as a CPU, GPU, FPGA, DSP, and ASIC. Unless otherwise specified, the storage unit may be any appropriate magnetic storage medium or magneto-optical storage medium, such as resistive random access memory (RRAM), dynamic random access memory (DRAM), static random access memory (SRAM), enhanced dynamic random access memory (EDRAM), high-bandwidth memory (HBM), hybrid memory cube (HMC), etc.
[0211] If the integrated unit / module is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory and includes a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, magnetic disk, or optical disk, etc., various media that can store program code.
[0212] In the above embodiments, the description of each embodiment has its own focus. For parts not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0213] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present application that follow the general principles of the present application and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0214] It should be understood that the present application is not limited to the exact structure described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A process monitoring method based on life cycle, characterized in that: include: Acquire the data to be monitored, where the data to be monitored is obtained by screening the historical transaction records of the first process node; According to a preset process configuration rule, the first process node is configured to obtain at least one life cycle corresponding to the first process node, wherein each life cycle includes at least one process node to be monitored; For each life cycle, at least one to-be-monitored process node of the life cycle is monitored based on the process execution status of the to-be-monitored data to obtain a monitoring result of the corresponding life cycle.
2. The method according to claim 1, characterized in that The obtaining of the data to be monitored includes: Determine a first process node that has been run, and obtain a historical transaction record corresponding to the first process node; According to the preset screening rules, the historical transaction records are screened to obtain the data to be monitored.
3. The method according to claim 1, characterized in that The step of performing process configuration on the first process node according to a preset process configuration rule to obtain at least one life cycle corresponding to the first process node includes: Determine a process identifier corresponding to the first process node; Determine at least one life cycle corresponding to the process identifier according to the preset process configuration rule; Each life cycle includes the first process node and at least one process node to be monitored, and at least one process node to be monitored is a process node in the corresponding life cycle whose execution order is after the first process node.
4. The method according to claim 3, characterized in that The step of monitoring at least one process node to be monitored in each life cycle based on the process execution status of the data to be monitored to obtain a monitoring result of the corresponding life cycle includes: For any life cycle in the at least one life cycle, the life cycle is parsed to obtain the first process node and the at least one process node to be monitored; According to the execution order corresponding to the life cycle, calling the data to be monitored, sequentially executing the at least one process node to be monitored, and obtaining at least one execution result; The at least one execution result is analyzed and processed to obtain a monitoring result corresponding to the life cycle.
5. The method according to claim 4, characterized in that The step of calling the data to be monitored and executing at least one process node to be monitored in the execution order corresponding to the life cycle to obtain at least one execution result includes: The process node to be monitored that is at the first place in the execution order is determined as the current process node; Parsing the current process node to obtain an execution element corresponding to the current process node; Based on the execution element, calling corresponding data to be executed from the data to be monitored, and executing the current process node using the data to be executed to obtain a first execution result; In the case where the first execution result indicates that the execution is successful, judging whether there are other process nodes after the current process node based on the execution order; If so, the process node to be monitored that is at the first place in the execution order among the other process nodes is updated as the current process node, and the data to be monitored is called to execute the updated current process node until there is no other process node after the current process node; If not, the process execution operation of the life cycle is terminated, and at least one execution result corresponding to the life cycle is output.
6. The method according to claim 5, characterized in that After executing the current process node using the data to be executed and obtaining a first execution result, the method further includes: In the case where the first execution result indicates that the execution has failed, the process execution operation of the life cycle is terminated, and the execution result corresponding to the life cycle is output.
7. The method according to claim 5, characterized in that The execution result includes a response status and a feedback result of the current process node, and the analyzing and processing of the at least one execution result to obtain a monitoring result corresponding to the life cycle includes: When the execution result indicates that the current process node responds successfully and the feedback result is correct, the monitoring result of the corresponding life cycle is a first monitoring result, and the first monitoring result is used to indicate that at least one process node in the life cycle and the corresponding to-be-executed data are in a normal state; In the case where the execution result indicates that the current process node fails to respond, the monitoring result of the corresponding life cycle is a second monitoring result, and the second monitoring result is used to indicate that the system executing the life cycle is in an abnormal state; When the execution result indicates that the feedback result corresponding to the current process node is wrong, the monitoring result of the corresponding life cycle is the third monitoring result, and the third monitoring result is used for at least one process node in the life cycle or the corresponding data to be executed is in an abnormal state.
8. The method according to claim 7, characterized in that After analyzing and processing the at least one execution result to obtain a monitoring result corresponding to the life cycle, the method further includes: In the case where the monitoring result is the second monitoring result, generating system abnormality information, and sending the system abnormality information to the system processing terminal, wherein the system abnormality information includes: the current response time of the system, and the current response failure of the system; When the monitoring result is the third monitoring result, the feedback result corresponding to the current process node is analyzed to determine the process anomaly and / or data anomaly, and based on the process anomaly and / or data anomaly, business anomaly information is generated and sent to the business processing terminal.
9. A process monitoring device based on life cycle, characterized in that: include: An acquisition module, used for acquiring data to be monitored, wherein the data to be monitored is obtained by screening historical transaction records of the first process node; A configuration module, configured to perform process configuration on the first process node according to a preset process configuration rule, and obtain at least one life cycle corresponding to the first process node, wherein each life cycle includes at least one process node to be monitored; The monitoring module is used to monitor, for each life cycle, at least one process node to be monitored in the life cycle based on the process execution status of the data to be monitored, and obtain a monitoring result of the corresponding life cycle.
10. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 8 when executed by a processor.
12. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 8 when being executed by a processor.