System operation status monitoring method, device, computer equipment and storage medium
By dividing the application system into multiple business processes and nodes, setting buried points to obtain data, and analyzing connection relationships, the problem of low monitoring efficiency in traditional methods is solved, and all-round system status monitoring and abnormal resolution is achieved, and system stability is improved sex.
Patent Information
- Application Number
- CN202210079932.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-24
- Publication Date
- 2024-12-17
- Estimated Expiration
- 2042-01-24
AI Technical Summary
In traditional methods, when there is a problem with the application system, it is difficult for customer service personnel to intuitively understand the system operation status and cannot quickly locate abnormalities, resulting in low resolution efficiency, and it is difficult to cover all business by burying points, making it difficult to effectively monitor system abnormalities.
By dividing the application system into multiple business processes and business nodes, setting buried points to obtain data, analyzing the connection relationship between business nodes, forming a comprehensive monitoring system to realize real-time collection and analysis of the system's operating status.
It improves the efficiency of system abnormality resolution, makes the application system run more stable, can monitor the system status in all aspects, and quickly discover and solve abnormal problems.
Smart Images

Figure CN114416489B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of big data, and in particular to a method, device, computer equipment and storage medium for monitoring system operation status. Background Art
[0002] Usually, the application system is directly facing the customer. The traditional way to solve customer complaints is that when there is a problem with the application system, the user will give feedback to the customer service staff. Since the customer service staff do not understand the operating principle and status of the application system and lack tools for query, the customer service staff usually directly feedback the customer feedback to the system development technicians. The development technicians analyze the problem, check the corresponding logs and data, and then locate the error point, send the result to the customer service, and then the customer service will convey it to the user. This method is cumbersome and inefficient. At the same time, it is difficult for the development technicians of the application system to intuitively understand the operation of the system, and it is impossible to quantitatively analyze and optimize the system's functions, performance and business. In related technologies, point tracking can be performed in the application system to obtain data and summary information of the point tracking location. However, it is difficult for the point tracking to cover all the business of the application system, and the point tracking is isolated and scattered, making it difficult to effectively solve system anomalies based on the point tracking data. Summary of the invention
[0003] The present invention provides a method, device, computer equipment and storage medium for monitoring the system operation status, which are used to quickly discover the cause of system abnormalities and solve the abnormalities. The operation status of the application system can be monitored from the process or as a whole, the efficiency of solving system abnormalities can be improved, and the operation of the application system can be made more stable.
[0004] To achieve the above-mentioned objectives, the first aspect of the present invention provides a method for monitoring the operation status of a system, comprising: obtaining multiple business processes of a target system, and multiple business nodes in each business process; wherein the multiple business processes are obtained in advance by dividing the business of the target system; each business process corresponds to a business scenario in the target system; the connection relationship between the multiple business nodes in the business process is determined based on the business processing sequence of the business process; each business node presets the data type to be collected; for each business node, a tracking point is set at the position corresponding to the business node in the target system, and when the target system is running, the data content corresponding to the preset data type of the business node is obtained through the tracking point; based on multiple business processes and the connection relationship between the business nodes in each business process, the data content corresponding to the business node is analyzed and processed to obtain the operation status data of the target system.
[0005] Optionally, in a first implementation method of the first aspect of the present invention, the above-mentioned step of obtaining data content corresponding to a data type preset in a business node through a tracking point when the target system is running includes: generating business operation data generated by the business operation in response to a user performing a business operation at the first business node; and collecting data content of the first business node based on the business operation data and the data type corresponding to the first business node.
[0006] Optionally, in a second implementation of the first aspect of the present invention, each business node is preset with a data acquisition interface; the above-mentioned step of collecting the data content of the first business node based on the business operation data and the data type corresponding to the first business node includes: collecting the data content corresponding to each data type of the first business node through the data acquisition interface preset by the first business node; obtaining a second business node that has a connection relationship with the first business node through the data acquisition interface, and associating the data content of the first business node with the data content of the second business node based on the connection relationship between the first business node and the second business node.
[0007] Optionally, in a third implementation of the first aspect of the present invention, the step of collecting data content corresponding to each data type of the first business node through the data collection interface preset by the first business node includes: when the operation of the first business node is completed, collecting the operation log of the first business node through the data collection interface preset by the first business node; extracting the data content corresponding to each data type of the first business node from the operation log, and sending the data content to a designated data analysis component in an asynchronous decoupling manner; wherein the data analysis component is used to: analyze and process the data content to obtain the operation status data of the target system.
[0008] Optionally, in a fourth implementation method of the first aspect of the present invention, the above-mentioned step of analyzing and processing the data content corresponding to the business nodes based on multiple business processes and the connection relationship between the business nodes in each business process to obtain the operation status data of the target system includes: for each business process, obtaining the data content of each business node in the business process; based on the connection relationship between the business nodes in the business process, associating the content data of the business nodes in the business process to obtain the process status data corresponding to the business process; based on the process status data corresponding to each business process, obtaining the operation status data of the target system.
[0009] Optionally, in a fifth implementation of the first aspect of the present invention, the step of obtaining the operating status data of the target system based on the process status data corresponding to each business process includes: if there are a first process and a second process in multiple business processes, and there is a specified process relationship between the first process and the second process, then based on the process relationship, the process status data of the first process and the process status data of the second process are associated to obtain the process association data between the first process and the second process; the process status data corresponding to each business process and the process association data between the first process and the second process having a process relationship are determined as the operating status data of the target system.
[0010] Optionally, in a sixth implementation of the first aspect of the present invention, after the step of analyzing and processing the data content corresponding to the business nodes based on multiple business processes and the connection relationship between the business nodes in each business process to obtain the operating status data of the target system, the method also includes: in response to a query instruction, extracting a query keyword from the query instruction; extracting data matching the query keyword from the operating status data of the target system to obtain a query result; determining a display dimension based on the query keyword, and displaying the query result according to the display dimension.
[0011] The second aspect of the present invention provides a monitoring device for the operation status of a system, comprising: a node acquisition module, used to acquire multiple business processes of a target system, and multiple business nodes in each business process; wherein the multiple business processes are obtained in advance by dividing the business of the target system; each business process corresponds to a business scenario in the target system; the connection relationship between multiple business nodes in the business process is determined based on the business handling order of the business process; each business node presets the data type to be collected; a data acquisition set module, used to set a tracking point at a position corresponding to the business node in the target system for each business node, and when the target system is running, obtain the data content corresponding to the preset data type of the business node through the tracking point; an analysis module, used to analyze and process the data content corresponding to the business node based on multiple business processes and the connection relationship between the business nodes in each business process, to obtain the operation status data of the target system.
[0012] Optionally, in a first implementation method of the second aspect of the present invention, the above-mentioned data acquisition set module is also used to: generate business operation data generated by the business operation in response to the user performing a business operation on the first business node; and collect data content of the first business node based on the business operation data and the data type corresponding to the first business node.
[0013] Optionally, in a second implementation method of the second aspect of the present invention, each business node is preset with a data acquisition interface; the above-mentioned data acquisition set module is also used to: collect data content corresponding to each data type of the first business node through the data acquisition interface preset by the first business node; obtain a second business node that has a connection relationship with the first business node through the data acquisition interface, and based on the connection relationship between the first business node and the second business node, associate the data content of the first business node with the data content of the second business node.
[0014] Optionally, in a third implementation of the second aspect of the present invention, the data acquisition set module is also used to: when the operation of the first business node is completed, collect the operation log of the first business node through the data acquisition interface preset by the first business node; extract the data content corresponding to each data type of the first business node from the operation log, and send the data content to a designated data analysis component through asynchronous decoupling; wherein the data analysis component is used to: analyze and process the data content to obtain the operation status data of the target system.
[0015] Optionally, in a fourth implementation method of the second aspect of the present invention, the above-mentioned analysis module is also used to: for each business process, obtain the data content of each business node in the business process; based on the connection relationship between the business nodes in the business process, perform association processing on the content data of the business nodes in the business process to obtain the process status data corresponding to the business process; based on the process status data corresponding to each business process, obtain the operation status data of the target system.
[0016] Optionally, in a fifth implementation of the second aspect of the present invention, the above-mentioned analysis module is also used for: if there are a first process and a second process in multiple business processes, and there is a specified process relationship between the first process and the second process, based on the process relationship, associating the process status data of the first process and the process status data of the second process to obtain the process association data between the first process and the second process; determining the process status data corresponding to each business process and the process association data between the first process and the second process having a process relationship as the operation status data of the target system.
[0017] Optionally, in a sixth implementation of the second aspect of the present invention, the above-mentioned device also includes: a display module, used to: in response to a query instruction, extract a query keyword from the query instruction; extract data matching the query keyword from the operating status data of the target system to obtain a query result; based on the query keyword, determine a display dimension, and display the query result according to the display dimension.
[0018] A third aspect of the present invention provides a computer device, comprising: a memory and at least one processor, wherein instructions are stored in the memory; and at least one processor calls the instructions in the memory so that the computer device executes the above-mentioned system operation status monitoring method.
[0019] A fourth aspect of the present invention provides a computer-readable storage medium having instructions stored thereon, which, when executed by a processor, implement the method for monitoring the operating status of the system as described above.
[0020] In the technical solution provided by the present invention, multiple business processes of the target system and multiple business nodes in each business process are obtained; wherein, the multiple business processes are obtained in advance by dividing the business of the target system; each business process corresponds to a business scenario in the target system; the connection relationship between the multiple business nodes in the business process is determined based on the business handling order of the business process; each business node presets the data type to be collected; for each business node, a tracking point is set at the position corresponding to the business node in the target system, and when the target system is running, the data content corresponding to the data type preset by the business node is obtained through the tracking point; based on multiple business processes and the connection relationship between the business nodes in each business process, the data content corresponding to the business node is analyzed and processed to obtain the operating status data of the target system. In the above method, on the one hand, since the application system is pre-divided into multiple business processes, each business process includes multiple business nodes, the operating status of the application system can be fully monitored, and the data between each business node can be viewed by customer service personnel, so as to quickly discover the cause of system abnormalities and solve the abnormalities. On the other hand, the application system is divided into multiple business processes, which can cover most of the business of the application system. Business nodes are divided based on business processes, and the data of business nodes are associated based on business processes. The operation status of the application system can be monitored from the process or as a whole. When the system is abnormal, the data of multiple related business nodes can be linked and analyzed to improve the efficiency of solving system abnormalities and make the operation of the application system more stable. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 A schematic diagram of an embodiment of a method for monitoring a system operating state in an embodiment of the present invention;
[0022] Figure 2 A schematic diagram of another embodiment of a method for monitoring a system operating state in an embodiment of the present invention;
[0023] Figure 3 A schematic diagram of an embodiment of a monitoring device for system operation status in an embodiment of the present invention;
[0024] Figure 4It is a schematic diagram of another embodiment of the monitoring device of the system operation status in the embodiment of the present invention;
[0025] Figure 5 FIG. 1 is a schematic diagram of an embodiment of a computer device in an embodiment of the present invention. DETAILED DESCRIPTION
[0026] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0027] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0028] AI basic technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. AI software technologies mainly include computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.
[0029] When users use the application system, if a system abnormality occurs, they usually report the abnormality to the customer service, and then the customer service will hand over the reported abnormality to the developer of the application system. The developer finds the error point in the system and corrects it by checking the logs and data of the application system. This way of handling system abnormalities is cumbersome and inefficient. In related technologies, point tracking can be performed in the application system to obtain data and summary information of the point tracking location. However, it is difficult for point tracking to cover all the business of the application system, and the point tracking is isolated and scattered, making it difficult to effectively solve system abnormalities based on the point tracking data.
[0030] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1, an embodiment of a method for monitoring system operation status in an embodiment of the present invention includes:
[0031] Step S101, obtaining multiple business processes of the target system and multiple business nodes in each business process; wherein the multiple business processes are obtained by dividing the business of the target system in advance; each business process corresponds to a business scenario in the target system; the connection relationship between the multiple business nodes in the business process is determined based on the business processing sequence of the business process; each business node is preset with a data type to be collected;
[0032] The target system can be an application system for car insurance, car services, car life, or other functional areas. The developers can divide the business in the target system in advance to obtain multiple business processes, each of which can correspond to a user business scenario. A business process can include all the steps involved in implementing a specific business. As an example, the business scenario of purchasing business insurance, the business process corresponding to the business scenario may include steps such as selecting insurance types, submitting orders, paying, and generating insurance contracts. Based on this step, multiple business nodes are set in the business process. For example, business node 1 is used to select insurance types, business node 2 is used to submit orders, and business node 3 is used for payment. Based on the business processing sequence of purchasing business insurance, multiple business nodes in the business process are connected so that there is a sequence between multiple business nodes.
[0033] In actual implementation, developers set and edit business processes based on the differences in business functions. Specifically, based on the diversity of user scenarios, the system is equipped with a variety of businesses for users to choose from. Each business has different functions, and each business corresponds to at least one user scenario. Each user scenario closed loop is regarded as a process. For example, if a user needs to handle a certain business, the process from the beginning to the end of the process is a closed-loop user scenario, which is set as a process. In this case, it usually involves multiple processing stages, so the process needs to be divided into multiple stages, each stage corresponds to one or more business nodes, and each business node is set with a unique node identifier to distinguish different business nodes.
[0034] When a business process includes multiple business nodes, it is necessary to obtain the business node identifier and establish the relationship between nodes according to the business processing order. In actual implementation, based on the role of business nodes, they can be divided into task nodes, activity nodes, branch nodes, aggregation nodes, decision nodes, etc. The data type of the node data of each node is composed of its own status, such as normal, error, node identifier, node name, node interface, process identifier of the business process to which it belongs, and runtime business data attributes. These nodes establish relationships in an orderly manner to form a process. Nodes are connected through interfaces. The interface obtains the corresponding business node ID according to its own node interface and connects with other business nodes with logical relationships.
[0035] Step S102, for each service node, a tracking point is set at a position corresponding to the service node in the target system, and when the target system is running, data content corresponding to a data type preset in the service node is obtained through the tracking point;
[0036] The data content corresponding to the business node can be stored in a database, such as a relational database. In actual implementation, each business node can pre-set a data structure in the database. When a user accesses the application system, if the user accesses the page corresponding to a business node, or the user performs an operation corresponding to the business node, the data content corresponding to the business node is collected. The data content of the business node is then stored in a relational database to facilitate subsequent queries on the business node and solve user problems.
[0037] One or more data acquisition interfaces can be set in the target application system. When there are multiple data acquisition interfaces, a business node is assigned to each interface, and the interface is used to collect data from the assigned business nodes. The data acquisition interface needs to obtain the identifier of the business node corresponding to the interface based on the business function of the business node itself, and the node status reporting function needs to be decoupled and asynchronous from its own business function. That is, in the process of the data acquisition interface collecting node data of the business node, the business function of the application system should not be affected. In the database, the data structure defined for the business node can be in the form of a table structure and stored in a relational database. The node stores the relevant interface information and is maintained through SQL (Structured Query Language).
[0038] Step S103, based on multiple business processes and the connection relationship between business nodes in each business process, the data content corresponding to the business nodes is analyzed and processed to obtain the operation status data of the target system.
[0039] In this embodiment, the target system is divided into multiple business processes, and each business process includes business nodes that are connected to each other. Based on this, based on the connection relationship between the business nodes and the division of the business processes, the data content of each business node also has a relationship. Specifically, based on the connection relationship between the business nodes, the association relationship between the content data of each business node in the business process can be obtained; based on the division between the business processes, the data corresponding to each business process can be divided, compared, and associated; in this way, the operating status of the target system can be fully monitored, and the operating status of the target system can also be monitored as a whole.
[0040] The data from each node can be used to analyze the system's operating status and obtain system status data, which can be searched and queried. Developers can understand the system's operating status from the system status data, which helps them quickly understand the system's functions and performance.
[0041] The above-mentioned method for monitoring the operating status of the system obtains multiple business processes of the target system and multiple business nodes in each business process; wherein, the multiple business processes are obtained in advance by dividing the business of the target system; each business process corresponds to a business scenario in the target system; the connection relationship between the multiple business nodes in the business process is determined based on the business handling order of the business process; each business node presets the data type to be collected; for each business node, a tracking point is set at the position corresponding to the business node in the target system, and when the target system is running, the data content corresponding to the data type preset by the business node is obtained through the tracking point; based on multiple business processes and the connection relationship between the business nodes in each business process, the data content corresponding to the business node is analyzed and processed to obtain the operating status data of the target system. In the above-mentioned method, on the one hand, since the application system is pre-divided into multiple business processes, each business process includes multiple business nodes, the operating status of the application system can be fully monitored, and the data between each business node can be viewed by customer service personnel, so as to quickly discover the cause of system abnormalities and solve the abnormalities. On the other hand, the application system is divided into multiple business processes, which can cover most of the business of the application system. Business nodes are divided based on business processes, and the data of business nodes are associated based on business processes. The operation status of the application system can be monitored from the process or as a whole. When the system is abnormal, the data of multiple related business nodes can be linked and analyzed to improve the efficiency of solving system abnormalities and make the operation of the application system more stable.
[0042] See also Figure 2 , an embodiment of a method for monitoring system operation status in an embodiment of the present invention includes:
[0043] Step S201, obtaining multiple business processes of the target system and multiple business nodes in each business process; wherein the multiple business processes are obtained by dividing the business of the target system in advance; each business process corresponds to a business scenario in the target system; the connection relationship between the multiple business nodes in the business process is determined based on the business processing sequence of the business process; each business node is preset with a data type to be collected;
[0044] Step S202, for each service node, setting a tracking point at a location corresponding to the service node in the target system;
[0045] The business node can correspond to a page or component in the target system. A piece of code is set at the location of the page or component corresponding to the business node. The code has the function of collecting relevant data of the page or component corresponding to the business node. The code is the above-mentioned embedding point.
[0046] Step S203, in response to the user performing a service operation at the first service node, generating service operation data generated by the service operation;
[0047] The business operation may include multiple operations, such as browsing pages, clicking controls, submitting orders, etc.; as the user operates, business operation data is generated. The business operation data may be collected user behavior data, such as which pages are browsed, which controls are clicked, etc., and may also include data submitted by the user, such as data information filled in by the user, the type of goods selected for purchase, the payment method selected, etc.
[0048] Step S204, based on the business operation data and the data type corresponding to the first business node, collect the data content of the first business node; wherein the data type includes: node identification, node status, node name, business process to which the node belongs, and business operation data.
[0049] In one method, the tracking points of the business node can run and collect data at a scheduled time, or can run and collect data only when the user performs an operation on the business node. In the above steps, for the first business node, the tracking point on the first business node can detect in real time or at a scheduled time whether the user performs a business operation on the first business node. If the business operation is performed, the data content of the first business node is collected. In addition to the above business operation data, it is also necessary to collect the attribute data and status data of the business node, such as node identification, node status, node name, business process to which the node belongs, etc.
[0050] The target system can also be provided with multiple data collection interfaces, each of which is used to collect data content of a branch business node, or can also be allocated according to business processes, and each data collection interface is used to collect data content of business nodes in one or more business processes. Each business node is preset with a data collection interface; through the data collection interface preset by the first business node, the data content corresponding to each data type of the first business node is collected; through the data collection interface, the second business node having a connection relationship with the first business node is obtained, and based on the connection relationship between the first business node and the second business node, the data content of the first business node is associated with the data content of the second business node.
[0051] In the above method, the data collection interface is not only used to collect data content, but also used to associate data between business nodes with connection relationships. For example, an association identifier can be added to the content data of the business node, and the association relationship between the content data can be indicated by the identifier. When an abnormality occurs, the business node where the abnormality occurs and the cause of the abnormality can be found based on the association relationship between the data.
[0052] In another implementation, when the operation of the first business node is completed, the operation log of the first business node is collected through the data collection interface preset by the first business node; the data content corresponding to each data type of the first business node is extracted from the operation log, and the data content is sent to the designated data analysis component through asynchronous decoupling; wherein, the data analysis component is used to: analyze and process the data content to obtain the operation status data of the target system.
[0053] Business nodes can store data in the node to the database in real time or on a scheduled basis. In actual implementation, when the application system is running, the corresponding node data is queried through the interface information. When the node ends (for example, normal execution or abnormal termination), the node data (including business data) is reported to the analysis platform ES (open source distributed search engine) through asynchronous decoupling technology (such as message queue MQ) in combination with the log printing function. The node data is stored after analysis by the platform. For the collected node data, based on the fact that the data is non-relational and belongs to text data, ES can be used as a data storage service to build a data analysis platform to provide visualization, multi-dimensional analysis and positioning functions.
[0054] Step S205, for each business process, obtain the data content of each business node in the business process; based on the connection relationship between the business nodes in the business process, associate the content data of the business nodes in the business process to obtain the process status data corresponding to the business process; based on the process status data corresponding to each business process, obtain the operating status data of the target system.
[0055] In a specific implementation, business processes may also have an association relationship. If there are a first process and a second process in multiple business processes, and there is a specified process relationship between the first process and the second process, then based on the process relationship, the process status data of the first process and the process status data of the second process are associated and processed to obtain the process association data between the first process and the second process; the process status data corresponding to each business process and the process association data between the first process and the second process with a process relationship are determined as the operation status data of the target system. By analyzing the association relationship between business processes, the operation status of the target system can be monitored as a whole, and the monitoring of the operation status is more comprehensive and reasonable.
[0056] Step S206, in response to the query instruction, extract the query keyword from the query instruction; extract the data matching the query keyword from the operating status data of the target system to obtain the query result; determine the display dimension based on the query keyword, and display the query result according to the display dimension.
[0057] Furthermore, based on the high-performance distributed search and analysis engine ES, you can set a variety of query conditions or query keywords, such as: user ID, process ID, node ID, interface URL (Uniform Rsource Locator), business data keywords, etc., multi-dimensional analysis and visualization data, ES supports Chinese full-text indexing, and query efficiency is greatly improved. Customer service personnel can query specific business and specific error causes from this product.
[0058] The above-mentioned monitoring method of system operation status reconstructs the process of system problem analysis and processing. Customer service personnel can use this platform to quickly locate specific error information of specific business, analyze the problem attribution type in combination with the platform's QA manual, and directly connect with the corresponding responsible department, thereby improving office efficiency. It provides a quantifiable, multi-dimensional system operation data analysis platform, which allows technical personnel to quickly understand and master the system's functions and performance as well as business.
[0059] The above describes the method for monitoring the system running state in the embodiment of the present invention. The following describes the device for monitoring the system running state in the embodiment of the present invention. Figure 3 , an embodiment of the monitoring device of the system operation status in the embodiment of the present invention includes:
[0060] The node acquisition module 31 is used to acquire multiple business processes of the target system and multiple business nodes in each business process; wherein the multiple business processes are obtained by dividing the business of the target system in advance; each business process corresponds to a business scenario in the target system; the connection relationship between the multiple business nodes in the business process is determined based on the business handling sequence of the business process; each business node is preset with the data type to be collected;
[0061] The data acquisition module 32 is used to set a tracking point at a location corresponding to the business node in the target system for each business node, and obtain the data content corresponding to the data type preset by the business node through the tracking point when the target system is running;
[0062] The analysis module 33 is used to analyze and process the data content corresponding to the business nodes based on multiple business processes and the connection relationship between the business nodes in each business process to obtain the operation status data of the target system.
[0063] The monitoring device for the operation status of the above system obtains multiple business processes of the target system and multiple business nodes in each business process; wherein, the multiple business processes are obtained in advance by dividing the business of the target system; each business process corresponds to a business scenario in the target system; the connection relationship between the multiple business nodes in the business process is determined based on the business handling order of the business process; each business node presets the data type to be collected; for each business node, a tracking point is set at the position corresponding to the business node in the target system, and when the target system is running, the data content corresponding to the data type preset by the business node is obtained through the tracking point; based on multiple business processes and the connection relationship between the business nodes in each business process, the data content corresponding to the business node is analyzed and processed to obtain the operation status data of the target system. In the above method, on the one hand, since the application system is pre-divided into multiple business processes, each business process includes multiple business nodes, the operation status of the application system can be fully monitored, and the data between each business node can be viewed by customer service personnel, so as to quickly discover the cause of system abnormalities and solve the abnormalities. On the other hand, the application system is divided into multiple business processes, which can cover most of the business of the application system. Business nodes are divided based on business processes, and the data of business nodes are associated based on business processes. The operation status of the application system can be monitored from the process or as a whole. When the system is abnormal, the data of multiple related business nodes can be linked and analyzed to improve the efficiency of solving system abnormalities and make the operation of the application system more stable.
[0064] See also Figure 4 Another embodiment of the monitoring device for the system operation status in the embodiment of the present invention includes:
[0065] The node acquisition module 31 is used to acquire multiple business processes of the target system and multiple business nodes in each business process; wherein the multiple business processes are obtained by dividing the business of the target system in advance; each business process corresponds to a business scenario in the target system; the connection relationship between the multiple business nodes in the business process is determined based on the business handling sequence of the business process; each business node is preset with the data type to be collected;
[0066] The data acquisition module 32 is used to set a tracking point at a location corresponding to the business node in the target system for each business node, and obtain the data content corresponding to the data type preset by the business node through the tracking point when the target system is running;
[0067] The data acquisition module is also used to: generate business operation data generated by the business operation in response to the user performing the business operation on the first business node; and collect data content of the first business node based on the business operation data and the data type corresponding to the first business node.
[0068] Each business node is preset with a data acquisition interface; the above-mentioned data acquisition set module is also used to: collect the data content corresponding to each data type of the first business node through the data acquisition interface preset by the first business node; obtain the second business node that has a connection relationship with the first business node through the data acquisition interface, and based on the connection relationship between the first business node and the second business node, associate the data content of the first business node with the data content of the second business node.
[0069] The above-mentioned data acquisition set module is also used for: when the first business node ends its operation, collecting the operation log of the first business node through the data collection interface preset by the first business node; extracting the data content corresponding to each data type of the first business node from the operation log, and sending the data content to the designated data analysis component through asynchronous decoupling; wherein the data analysis component is used for: analyzing and processing the data content to obtain the operation status data of the target system.
[0070] The analysis module 33 is used to analyze and process the data content corresponding to the business nodes based on multiple business processes and the connection relationship between the business nodes in each business process to obtain the operation status data of the target system.
[0071] The above analysis module is also used to: obtain the data content of each business node in each business process; based on the connection relationship between the business nodes in the business process, associate the content data of the business nodes in the business process to obtain the process status data corresponding to the business process; based on the process status data corresponding to each business process, obtain the operation status data of the target system.
[0072] The above-mentioned analysis module is also used for: if there are a first process and a second process in multiple business processes, and there is a specified process relationship between the first process and the second process, based on the process relationship, the process status data of the first process and the process status data of the second process are associated with each other to obtain the process association data between the first process and the second process; the process status data corresponding to each business process, and the process association data between the first process and the second process with a process relationship are determined as the operation status data of the target system.
[0073] The above-mentioned device also includes: a display module 34, which is used to: extract query keywords from the query instructions in response to the query instructions; extract data matching the query keywords from the operating status data of the target system to obtain query results; determine the display dimensions based on the query keywords, and display the query results according to the display dimensions.
[0074] above Figure 3 and Figure 4 The monitoring device for the system running status in the embodiment of the present invention is described in detail. Next, the computer device in the embodiment of the present invention is described in detail from the perspective of hardware processing.
[0075] Figure 5 1 is a schematic diagram of the structure of a computer device provided in an embodiment of the present invention. The computer device 500 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 510 (for example, one or more processors) and a memory 520, and one or more storage media 530 (for example, one or more mass storage devices) storing application programs 533 or data 532. Among them, the memory 520 and the storage medium 530 can be short-term storage or permanent storage. The program stored in the storage medium 530 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the computer device 500. Furthermore, the processor 510 may be configured to communicate with the storage medium 530 to execute a series of instruction operations in the storage medium 530 on the computer device 500.
[0076] The computer device 500 may also include one or more power supplies 540, one or more wired or wireless network interfaces 550, one or more input and output interfaces 560, and / or one or more operating systems 531, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, etc. It will be appreciated by those skilled in the art that Figure 5The illustrated computer device structure does not constitute a limitation on the computer device, and may include more or fewer components than illustrated, or combine certain components, or arrange the components differently.
[0077] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of a method for monitoring the operating status of the system.
[0078] The present invention also provides a computer device, which includes a memory and a processor. The memory stores instructions, and when the instructions are executed by the processor, the processor executes the steps of the system operation status monitoring method in the above embodiments.
[0079] Furthermore, the computer-readable storage medium may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function, etc.; the data storage area may store data created according to the use of the blockchain node, etc.
[0080] The blockchain referred to in this invention is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.
[0081] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0082] If the integrated unit is implemented in the form of 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, in essence, 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, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.
[0083] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for monitoring system operation status, characterized in that: The method for monitoring the operating status of the system includes: Acquire multiple business processes of the target system and multiple business nodes in each of the business processes; wherein the multiple business processes are obtained in advance by dividing the business of the target system; each of the business processes corresponds to a business scenario in the target system; the connection relationship between the multiple business nodes in the business processes is determined based on the business processing sequence of the business processes; each of the business nodes is preset with a data type to be collected; For each of the service nodes, a tracking point is set at a position corresponding to the service node in the target system, and when the target system is running, the data content corresponding to the preset data type of the service node is obtained through the tracking point; a second service node having a connection relationship with the first service node is obtained through a data acquisition interface, and based on the connection relationship between the first service node and the second service node, the data content of the first service node is associated with the data content of the second service node; Based on the multiple business processes and the connection relationship between the business nodes in each of the business processes, analyzing and processing the data content corresponding to the business nodes to obtain the operation status data of the target system; Based on the multiple business processes and the connection relationship between the business nodes in each of the business processes, the step of analyzing and processing the data content corresponding to the business nodes to obtain the operation status data of the target system includes: for each of the business processes, obtaining the data content of each business node in the business process; based on the connection relationship between the business nodes in the business process, performing association processing on the content data of the business nodes in the business process to obtain the process status data corresponding to the business process; based on the process status data corresponding to each of the business processes, obtaining the operation status data of the target system; The step of obtaining the operating status data of the target system based on the process status data corresponding to each of the business processes includes: if there is a first process and a second process in the multiple business processes, and there is a specified process relationship between the first process and the second process, then based on the process relationship, the process status data of the first process and the process status data of the second process are associated with each other to obtain the process association data between the first process and the second process; the process status data corresponding to each of the business processes and the process association data between the first process and the second process having a process relationship are determined as the operating status data of the target system.
2. The method for monitoring the system operation status according to claim 1, characterized in that: When the target system is running, the step of obtaining data content corresponding to the data type preset by the business node through the tracking point includes: In response to a user performing a service operation at the first service node, generating service operation data generated by the service operation; Based on the business operation data and a data type corresponding to the first business node, data content of the first business node is collected.
3. The method for monitoring the system operation status according to claim 2, characterized in that: Each of the service nodes is preset with a data collection interface; The step of collecting data content of the first service node based on the service operation data and the data type corresponding to the first service node includes: The data content corresponding to each data type of the first service node is collected through a data collection interface preset by the first service node.
4. The method for monitoring the system operation status according to claim 3, characterized in that: The step of collecting data content corresponding to each data type of the first service node through a data collection interface preset by the first service node includes: When the operation of the first service node ends, collecting the operation log of the first service node through a data collection interface preset by the first service node; The data content corresponding to each data type of the first business node is extracted from the operation log, and the data content is sent to a designated data analysis component in an asynchronous decoupling manner; wherein the data analysis component is used to: analyze and process the data content to obtain the operation status data of the target system.
5. The method for monitoring the system operation status according to any one of claims 1 to 4, characterized in that: After the step of analyzing and processing the data content corresponding to the business nodes based on the multiple business processes and the connection relationship between the business nodes in each of the business processes to obtain the operation status data of the target system, the method further includes: In response to a query instruction, extracting a query keyword from the query instruction; Extracting data matching the query keyword from the operating status data of the target system to obtain a query result; Based on the query keyword, a display dimension is determined, and the query result is displayed according to the display dimension.
6. A monitoring device for system operation status, characterized in that: The monitoring device for the system operation status includes: A node acquisition module is used to acquire multiple business processes of a target system and multiple business nodes in each of the business processes; wherein the multiple business processes are obtained in advance by dividing the business of the target system; each of the business processes corresponds to a business scenario in the target system; the connection relationship between the multiple business nodes in the business process is determined based on the business handling sequence of the business process; each of the business nodes is preset with a data type to be collected; A data acquisition set module is used to set a tracking point at a position corresponding to the business node in the target system for each of the business nodes, and to obtain data content corresponding to a preset data type of the business node through the tracking point when the target system is running; to obtain a second business node having a connection relationship with the first business node through a data acquisition interface, and to associate the data content of the first business node with the data content of the second business node based on the connection relationship between the first business node and the second business node; An analysis module, configured to analyze and process data contents corresponding to the business nodes based on the multiple business processes and the connection relationship between the business nodes in each of the business processes, so as to obtain the operation status data of the target system; The analysis module is also used for: For each of the business processes, obtain the data content of each business node in the business process; based on the connection relationship between the business nodes in the business process, perform association processing on the content data of the business nodes in the business process to obtain the process status data corresponding to the business process; based on the process status data corresponding to each of the business processes, obtain the operation status data of the target system; If there is a first process and a second process in the multiple business processes, and there is a specified process relationship between the first process and the second process, then based on the process relationship, the process status data of the first process and the process status data of the second process are associated with each other to obtain the process association data between the first process and the second process; the process status data corresponding to each of the business processes, and the process association data between the first process and the second process having a process relationship, are determined as the operating status data of the target system.
7. A computer device, characterized in that: The computer device comprises: a memory and at least one processor, wherein instructions are stored in the memory; The at least one processor calls the instructions in the memory to enable the computer device to execute the method for monitoring the system operating status as described in any one of claims 1 to 5.
8. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instruction is executed by the processor, the method for monitoring the system operating status as described in any one of claims 1 to 5 is implemented.
