A data monitoring method, system, server and storage medium
Through the system architecture of the main server connected to multiple sub-servers, the problem of low monitoring efficiency of the financial management system trading system platform test field is solved, and efficient monitoring of multiple test fields is achieved.
Patent Information
- Application Number
- CN202111193867.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-13
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2041-10-13
AI Technical Summary
The testing field monitoring efficiency of the existing financial management system trading system platform is low, requiring manual input of instructions to obtain monitoring data, and the operation is cumbersome.
A system architecture in which a main server is connected to multiple sub-servers is adopted. The main server sends data monitoring instructions, and the sub-servers extract process attribute data from the target process and summarize it to the main server to realize monitoring of multiple test sites.
The efficiency of data monitoring is improved. Users only need to operate on the main server to monitor multiple test sites, which greatly improves the efficiency of data monitoring.
Smart Images

Figure CN113868095B
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology and provides a data monitoring method, system, server and storage medium. Background Art
[0002] At present, many international banks or domestic banks purchase various financial management systems, such as Murex, Summit and Calypso, etc., and use these financial management systems to build internal trading system platforms. In order to meet the needs of daily project development and testing, these trading system platforms will maintain a certain number of development environments or test environments as test fields, which are generally maintained by multiple different servers. At present, when monitoring the test fields of trading system platforms based on various financial management systems, it is usually necessary to go to the servers corresponding to each test field to obtain monitoring data by manually inputting instructions, which has the problems of cumbersome operation and low data monitoring efficiency. Summary of the invention
[0003] In view of this, the present application proposes a data monitoring method, system, server and storage medium, which can improve the data monitoring efficiency for various financial management systems.
[0004] In a first aspect, an embodiment of the present application provides a data monitoring method, which is applied to a target server and includes:
[0005] After receiving the data monitoring instruction sent by the main server, searching for a target process related to the target system from the currently executed user process, wherein the target server is any one of the multiple sub-servers connected to the main server;
[0006] Extracting process attribute data from the target process using an instruction set provided by the target system;
[0007] The process attribute data is sent to the main server to instruct the main server to monitor the process attribute data.
[0008] The embodiment of the present application adopts a system architecture in which a main server connects to multiple sub-servers, and these sub-servers can be used to monitor the test fields of the trading system platform based on various financial management systems. When applied, the main server can send data monitoring instructions to each sub-server. After receiving the data monitoring instructions, each sub-server will search for the target process related to the various financial management systems from the currently executed process, and then use the instruction set provided by the various financial management systems to extract more detailed process attribute data from the target process, and finally send the process attribute data to the main server for aggregation and monitoring. Through such a setting, the user only needs to operate on the main server side to realize the monitoring of multiple test fields of the trading system platform, which greatly improves the data monitoring efficiency.
[0009] In an implementation of the embodiment of the present application, each of the sub-servers is configured with a monitoring program script; after receiving the data monitoring instruction sent by the main server, searching for a target process related to the target system from the currently executed user process may include:
[0010] Receiving a script start instruction sent by the main server;
[0011] The monitoring program script is run based on the script start instruction to search for a target process related to the target system from the currently executed user processes.
[0012] In an implementation of the embodiment of the present application, searching for a target process related to the target system from the currently executed user process may include:
[0013] Get the process names of all currently executing user processes;
[0014] A user process whose process name contains a specified identifier among all the user processes is determined as the target process.
[0015] In an implementation manner of the embodiment of the present application, the target system is a Murex system, and extracting process attribute data from the target process using an instruction set provided by the target system may include:
[0016] The monit command provided by the Murex system is used to perform detailed information query on the target process to extract the process attribute data.
[0017] In a second aspect, an embodiment of the present application provides another data monitoring method, which is applied to a main server and includes:
[0018] Sending a data monitoring instruction to a target server, wherein the data monitoring instruction is used to instruct the target server to search for a target process related to a target system from a currently executed user process, extract process attribute data from the target process using an instruction set provided by the target system, and send the process attribute data to the main server; the target server is any one of a plurality of sub-servers connected to the main server;
[0019] After receiving the process attribute data, the process attribute data is monitored.
[0020] In an implementation of the embodiment of the present application, the monitoring of the process attribute data may include:
[0021] Acquire an accident data set of a trading system platform based on the target system, wherein the accident data set records various abnormal events that have occurred on the trading system platform;
[0022] generating an operation event data set according to the process attribute data, wherein the operation event data set records each operation event performed by a user of the target server;
[0023] According to the accident data set and the operation event data set, an association relationship between each abnormal event that has occurred on the trading system platform and each operation event performed by the user of the target server is constructed.
[0024] Furthermore, after building the association relationship between each abnormal event that has occurred on the trading system platform and each operation event performed by the user of the target server, the following may also be included:
[0025] For a target abnormal event among the abnormal events with established association relationships and a target operation event among the operation events, searching from the operation event data set for each historical operation event having the same event type as the target operation event;
[0026] According to the accident data set, statistics are respectively made on whether a historical abnormal event of the same event type as the target abnormal event occurs on the trading system platform after each of the historical operation events is executed;
[0027] Counting the number of target historical operation events in each of the historical operation events, wherein the target historical operation event is a historical operation event in which, after execution, the trading system platform has a historical abnormal event of the same event type as the target abnormal event;
[0028] If the proportion of the number of the target historical operation events in the number of each historical operation event is less than a set threshold, the association relationship between the target abnormal event and the target operation event is deleted.
[0029] In a third aspect, an embodiment of the present application provides a data monitoring system, including:
[0030] The main server is used to send a data monitoring instruction to a target server, and after receiving the process attribute data returned by the target server, monitor the process attribute data, wherein the target server is any one of the multiple sub-servers connected to the main server;
[0031] The target server is used to search for a target process related to a target system from a currently executed user process after receiving the data monitoring instruction sent by the main server; extract the process attribute data from the target process using an instruction set provided by the target system; and send the process attribute data to the main server.
[0032] In a fourth aspect, an embodiment of the present application provides a server, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the data monitoring method proposed in the first aspect of the embodiment of the present application, or implements the data monitoring method proposed in the second aspect of the embodiment of the present application.
[0033] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the data monitoring method proposed in the first aspect of the embodiment of the present application, or implements the data monitoring method proposed in the second aspect of the embodiment of the present application.
[0034] In a sixth aspect, an embodiment of the present application provides a computer program product. When the computer program product runs on a server, the server executes the data monitoring method proposed in the first aspect of the embodiment of the present application, or executes the data monitoring method proposed in the second aspect of the embodiment of the present application.
[0035] The beneficial effects that can be achieved in the second to sixth aspects mentioned above can be referred to the relevant description of the first aspect mentioned above. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0037] Figure 1 is a schematic diagram of a data monitoring system provided in an embodiment of the present application;
[0038] Figure 2 is a flow chart of an embodiment of a data monitoring method provided in an embodiment of the present application;
[0039] Figure 3 is a flow chart of another embodiment of a data monitoring method provided by an embodiment of the present application;
[0040] Figure 4 is a structural diagram of an embodiment of a data monitoring device provided in an embodiment of the present application;
[0041] Figure 5 is a structural diagram of another embodiment of a data monitoring device provided in an embodiment of the present application;
[0042] Figure 6 It is a schematic diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION
[0043] In the following description, for the purpose of illustration rather than limitation, specific details such as specific system structures, technologies, etc. are proposed, so as to thoroughly understand the embodiments of the present application. However, it should be clear to those skilled in the art that the present application can also be implemented in other embodiments without these specific details. In other cases, the detailed description of well-known systems, devices, circuits and methods is omitted to prevent unnecessary details from hindering the description of the present application. In addition, in the description of the present application specification and the attached claims, the terms "first", "second", "third" etc. are only used to distinguish the description, and cannot be interpreted as indicating or suggesting relative importance.
[0044] At present, when monitoring the test field of the trading system platform based on various financial management systems, it is usually necessary to go to the server corresponding to each test field to obtain monitoring data by manually inputting instructions, which has the problems of cumbersome operation and low data monitoring efficiency. To solve this problem, this application proposes a data monitoring method that can improve the data monitoring efficiency for various financial management systems.
[0045] 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.
[0046] 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.
[0047] It should be understood that the execution subject of the data monitoring method provided in the embodiment of the present application can be a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, an augmented reality (AR) / virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), a large-screen TV and other terminal devices or servers, and the embodiment of the present application does not impose any restrictions on the specific types of the terminal device and the server. The server here can be an independent server, or it can be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms.
[0048] See also Figure 1 , showing a data monitoring system provided in an embodiment of the present application.
[0049] exist Figure 1In the embodiment, the data monitoring system includes a main server and N sub-servers, and these sub-servers can be docked with the main server through the network or other means. In practical applications, the N sub-servers can be used to monitor various test fields (test fields can refer to a series of non-production environments such as test environments or development environments) possessed by a transaction system platform based on various financial management systems. For example, assuming that there are 40 sub-servers and 10 test fields, each test field can be maintained by 4 sub-servers respectively. It should be understood that the embodiment of the present application does not limit the type and quantity of the main server possessed by the data monitoring system, as well as the type and quantity of the sub-servers.
[0050] The main server can be used to send data monitoring instructions to each of the N sub-servers. After sending the data monitoring instructions to a target server among the N sub-servers, the target server will search for a target process related to the target system (such as Murex, Summit or calypso) from the currently executed user process, extract process attribute data from the target process using the instruction set provided by the target system, and send the process attribute data to the main server. Next, the main server can perform various data monitoring on the process attribute data. Obviously, by adopting this system architecture of a main server docking multiple sub-servers, users only need to operate on the main server to monitor multiple test fields of the trading system platform based on various financial management systems, which greatly improves the data monitoring efficiency.
[0051] about Figure 1 The specific working principle of the data monitoring system shown can be referred to the various method embodiments described below.
[0052] See also Figure 2 , shows a data monitoring method applied to a target server provided by an embodiment of the present application, the method comprising:
[0053] 201. After receiving the data monitoring instruction sent by the main server, searching for a target process related to the target system from the currently executed user processes;
[0054] by Figure 1 Taking the data monitoring system shown as an example, the target server can be any one of the N sub-servers connected to the main server. After receiving the data monitoring instruction sent by the main server, it will search for the target process related to the target system from the user process currently executed by the target server. The target system here can be various financial management systems such as Murex, Summit or Calypso.
[0055] In an implementation of the embodiment of the present application, each of the sub-servers is configured with a monitoring program script; after receiving the data monitoring instruction sent by the main server, searching for a target process related to the target system from the currently executed user process may include:
[0056] (1) receiving a script start instruction sent by the main server;
[0057] (2) Running the monitoring program script based on the script startup instruction to search for a target process related to the target system from the currently executed user process.
[0058] The monitoring program script can be configured on the N sub-servers. Once the script is started, the user processes of the sub-servers can be queried and monitored continuously at the set frequency (for example, scanning once a minute), and all target processes related to the target system can be identified among these user processes. In actual operation, the monitoring program script of each sub-server can be started and executed by logging into the main server. For example, a "start / stop" button can be set on the monitoring page of the main server to send a script start instruction or a script stop instruction to each sub-server to control each sub-server to run or stop the monitoring program script.
[0059] In an implementation of the embodiment of the present application, searching for a target process related to the target system from the currently executed user process may include:
[0060] (1) Get the process names of all currently executed user processes;
[0061] (2) A user process whose process name contains a specified identifier among all the user processes is determined as the target process.
[0062] For a specific financial management system, the user processes related to the system generally contain certain specific identifiers. For example, if the target system is the Murex system, all Murex background processes are Java processes on the UNIX server, and different categories have different name characteristics. Specifically, the process names of user processes related to the Murex system generally carry specified identifiers. For example, the user subprocess of Murex contains the identifier "MXSESSION" in the process name, and the evening batch subprocess of Murex contains the identifier "MXPROCESSSCRIPT" in the process name. Based on these specific identifiers, all user process lists are filtered in combination with the above identifiers using commands in the server background to identify the target process related to the Murex system, that is, the user process whose process name contains the specified identifier is determined as the target process. By analogy, user processes for other types of financial management systems can also be identified in a similar manner.
[0063] 202. Extract process attribute data from the target process using an instruction set provided by the target system;
[0064] After finding the target process related to the target system, the target server will use the instruction set provided by the target system to extract detailed process attribute data from the target process. The extracted process attribute data may include the user name corresponding to the process, the system function permissions being used, the user login time, and the operation event type.
[0065] In an implementation manner of the embodiment of the present application, the target system is a Murex system, and extracting process attribute data from the target process using an instruction set provided by the target system may include:
[0066] The monit command provided by the Murex system is used to perform detailed information query on the target process to extract the process attribute data.
[0067] Assuming that the target system is the Murex system, the "monit" instruction in the Murex instruction set can be used to query the detailed information of the process to extract the corresponding process attribute data. In short, by entering a control instruction similar to "monit MX process number", the registration information of the MX process can be returned and obtained, which can include the login user name, login permission group, operator personal IP, operation event type and other process attribute data of the process. In addition, similar to the "monit" instruction, there are other functional instructions in the Murex instruction set that can obtain information of different dimensions (such as what system tasks the user is running). As long as these functional instructions are used in combination, the process attribute data in the user process can be extracted, and the status of the user process, what operations the user is doing at what time, and other information can be restored to a great extent. Similarly, other financial management systems besides the Murex system also provide similar instruction sets for extracting process detail information.
[0068] 203. Send the process attribute data to the main server to instruct the main server to monitor the process attribute data.
[0069] After extracting the process attribute data, the target server will send the process attribute data to the main server to instruct the main server to monitor the process attribute data. Obviously, the N sub-servers can perform the same operation as the target server, and send the collected process attribute data to the main server for aggregation and monitoring. After receiving the process attribute data sent by each sub-server, the main server can monitor the process attribute data in various ways according to demand. For example, the main server can summarize and organize the collected process attribute data, and display the data through the display interface, or display the data on the web program end through the specified data interface. While displaying the data in real time, the main server can also back up and record the data, and configure some data analysis tools to analyze the data, such as: 1) past usage of the test site and future usage forecast; 2) user behavior pattern research, login peak period, which functions are used more and which functions are used less; 3) correlation analysis between user behavior and system stability, past accident records, etc.
[0070] The embodiment of the present application adopts a system architecture in which a main server connects to multiple sub-servers, and these sub-servers can be used to monitor the test fields of the trading system platform based on various financial management systems; when applied, the main server can send data monitoring instructions to each sub-server, and each sub-server, after receiving the data monitoring instructions, will search for the target process related to the various financial management systems from the currently executed process, and then use the instruction set provided by the various financial management systems to extract more detailed process attribute data from the target process, and finally send the process attribute data to the main server for aggregation and monitoring. Through such a setting, the user only needs to operate on the main server to realize the monitoring of multiple test fields of the trading system platform, which greatly improves the data monitoring efficiency.
[0071] See also Figure 3 , shows a data monitoring method applied to a main server provided in an embodiment of the present application, the method comprising:
[0072] 301. Send a data monitoring instruction to a target server, wherein the data monitoring instruction is used to instruct the target server to search for a target process related to a target system from a currently executed user process, extract process attribute data from the target process using an instruction set provided by the target system, and send the process attribute data to the main server;
[0073] by Figure 1 Taking the data monitoring system shown as an example, the target server can be any one of the N sub-servers connected to the main server. The main server can send a data monitoring instruction to the target server. After receiving the data monitoring instruction, the target server will search for a target process related to the target system from the currently executed user process, extract process attribute data from the target process using the instruction set provided by the target system, and send the process attribute data to the main server. For the specific working principle of the target server obtaining process attribute data, as well as the description of the target system, please refer to the previous method embodiment of this application.
[0074] 302. After receiving the process attribute data, monitor the process attribute data.
[0075] After receiving the process attribute data sent by each sub-server, the main server can monitor the process attribute data in various ways as required.
[0076] In an implementation of the embodiment of the present application, the monitoring of the process attribute data may include:
[0077] (1) obtaining an accident data set of a trading system platform based on the target system, wherein the accident data set records various abnormal events that have occurred on the trading system platform;
[0078] (2) generating an operation event data set according to the process attribute data, wherein the operation event data set records each operation event performed by a user of the target server;
[0079] (3) Building, based on the accident data set and the operation event data set, association relationships between various abnormal events that have occurred on the trading system platform and various operation events performed by users of the target server.
[0080] For the above step (1), the main server can obtain the records of various abnormal events that have occurred in the entire trading system platform, that is, the accident data set, which can be obtained from the log of platform operation management. Assuming that the target system is the Murex system, the abnormal events recorded in the accident data set may include but are not limited to: a downtime event of the Murex system at a certain time point; an automatic restart event of the Murex system at a certain time point; an abnormal performance parameter event of the Murex system at a certain time point, etc.
[0081] For the above step (2), the main server can obtain the process attribute data of each sub-server and generate a user operation event data set of the entire trading system platform (which can be regarded as a database recorded in chronological order). The operation event data set records the operation events performed by each user at which point in time. For example: user A performed a query operation at a certain point in time; user B performed a login operation at a certain point in time, and so on.
[0082] For the above step (3), after obtaining the accident data set and the operation event data set, the main server can analyze the correlation of the accidents, that is, build the correlation relationship between each abnormal event that occurred in the trading system platform and each operation event performed by the user. The accident data set is a data set of "system-when-what abnormal event occurred", and the operation event data set is a data set of "user-when-what operation event was performed on the system". Therefore, the two data sets can be matched according to the time point of occurrence, and the correlation relationship between the abnormal event and the user operation event can be built based on the matching results. For example, user A did X operation at 6 o'clock in the morning, and the Murex system had an accident Y after 6 o'clock in the morning. It can be inferred that the Y accident that occurred in the Murex system after 6 o'clock in the morning is associated with the X operation performed by user A at 6 o'clock in the morning.
[0083] Furthermore, after building the association relationship between each abnormal event that has occurred on the trading system platform and each operation event performed by the user of the target server, the following may also be included:
[0084] (1) for a target abnormal event among the abnormal events with established association relationships and a target operation event among the operation events, searching the operation event data set for each historical operation event with the same event type as the target operation event;
[0085] (2) according to the accident data set, counting whether a historical abnormal event of the same event type as the target abnormal event occurs on the trading system platform after each of the historical operation events is executed;
[0086] (3) counting the number of target historical operation events in each of the historical operation events, wherein the target historical operation event is a historical operation event in which, after execution, the trading system platform experiences a historical abnormal event of the same event type as the target abnormal event;
[0087] (4) If the proportion of the number of the target historical operation events in the number of each historical operation event is less than a set threshold, the association relationship between the target abnormal event and the target operation event is deleted.
[0088] According to the above example, after associating the Y accident that occurred in the Murex system after 6 o'clock in the morning with the X operation performed by user A at 6 o'clock in the morning, the historical operation records of the X operation performed by all users can be found from the operation data set, and then the Y accident of the Murex system will be counted according to the accident data set to determine whether each historical operation will cause the Y accident of the Murex system, and the number of Y accidents in the historical operation records of all X operations can be determined. Finally, the degree of association between the X operation and the Y accident can be determined according to the number. The degree of association finally obtained can be calculated by the proportion of the number of Y accidents after the X operation in the number of all X operations. For example, if the Y accident will occur after all X operations, the degree of association can be determined to be 100%, and if the Y accident will occur after half of the X operations, the degree of association can be determined to be 50%, and so on. In addition, if the degree of association between the target abnormal event and the target operation event is less than a certain threshold, such as 30%, the association relationship between the target abnormal event and the target operation event can be deleted. Through such a setting, it is possible to verify whether the established association relationship between the operation event and the abnormal event is accurate based on comprehensive historical data, and delete the inaccurate association relationship.
[0089] Furthermore, after determining the proportion of the number of the target historical operation events in the number of each historical operation event, the proportion can be determined as the degree of association between the target abnormal event and the target operation event. After that, the following may also be included:
[0090] (1) counting the sub-servers corresponding to the target historical operation events;
[0091] (2) If the sub-servers corresponding to the target historical operation events are concentrated in a few sub-servers, the information of the sub-servers is associated with the target abnormal event, and the degree of association between the target abnormal event and the target operation event is reduced according to a set ratio.
[0092] If the records of accident Y occurring after the user performs operation X are concentrated in one or some of the N sub-servers, it indicates that the occurrence of accident Y may be caused by the problem of the sub-server itself. Therefore, the information of the corresponding sub-server (such as server name, model, performance configuration, etc.) can be associated with accident Y, and the degree of association between operation X and accident Y can be reduced according to a certain ratio. By setting in this way, the accuracy of the established event association relationship can be further improved.
[0093] The embodiment of the present application adopts a system architecture in which a main server connects to multiple sub-servers. These sub-servers can be used to monitor the test field of the trading system platform based on various financial management systems. When applied, the main server can send data monitoring instructions to each sub-server. After receiving the data monitoring instructions, each sub-server will search for the target process related to the various financial management systems from the currently executed process, and then use the instruction set provided by the various financial management systems to extract more detailed process attribute data from the target process, and finally send the process attribute data to the main server for aggregation and monitoring. Compared with the previous method embodiment of the present application, the embodiment of the present application also provides a specific implementation method for the main server to monitor the process attribute data of each sub-server.
[0094] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0095] Corresponding to the data monitoring method described in the above embodiment, Figure 4 A structural block diagram of a data monitoring device applied to a target server provided in an embodiment of the present application is shown. For ease of explanation, only the parts related to the embodiment of the present application are shown.
[0096] Reference Figure 4 , the device comprises:
[0097] The target process search module 401 is used to search for a target process related to a target system from a currently executed user process after receiving a data monitoring instruction sent by the main server, wherein the target server is any one of a plurality of sub-servers connected to the main server;
[0098] A process data extraction module 402, configured to extract process attribute data from the target process using an instruction set provided by the target system;
[0099] The process data sending module 403 is used to send the process attribute data to the main server to instruct the main server to monitor the process attribute data.
[0100] In an implementation of the embodiment of the present application, each of the sub-servers is configured with a monitoring program script; the target process search module may include:
[0101] A script start instruction receiving unit, used to receive the script start instruction sent by the main server;
[0102] The target process search unit is used to run the monitoring program script based on the script startup instruction to search for a target process related to the target system from the currently executed user process.
[0103] In one implementation of the embodiment of the present application, the target process search module may include:
[0104] A process name acquisition unit is used to obtain the process names of all currently executed user processes;
[0105] The target process determination unit is used to determine the user process whose process name contains the specified identifier among all the user processes as the target process.
[0106] In an implementation of the embodiment of the present application, the target system is a Murex system, and the process data extraction module may include:
[0107] The process data extraction unit is used to use the monit instruction provided by the Murex system to perform detailed information query on the target process to extract the process attribute data.
[0108] Figure 5 The following is a structural block diagram of a data monitoring device applied to a main server provided in an embodiment of the present application, the device comprising:
[0109] The data monitoring instruction sending module 501 is used to send a data monitoring instruction to a target server, wherein the data monitoring instruction is used to instruct the target server to search for a target process related to a target system from a currently executed user process, extract process attribute data from the target process using an instruction set provided by the target system, and send the process attribute data to the main server; the target server is any one of a plurality of sub-servers connected to the main server;
[0110] The process data monitoring module 502 is used to monitor the process attribute data after receiving the process attribute data.
[0111] In one implementation of the embodiment of the present application, the process data monitoring module may include:
[0112] An accident data set acquisition unit, used to acquire an accident data set of a trading system platform based on the target system, wherein the accident data set records various abnormal events that have occurred on the trading system platform;
[0113] An operation event data set generating unit, configured to generate an operation event data set according to the process attribute data, wherein the operation event data set records each operation event performed by a user of the target server;
[0114] The event association unit is used to construct an association relationship between each abnormal event that has occurred on the trading system platform and each operation event performed by the user of the target server based on the accident data set and the operation event data set.
[0115] Furthermore, the process data monitoring module may also include:
[0116] A historical operation event search unit, configured to search, for a target abnormal event among the abnormal events with established associations and a target operation event among the operation events, each historical operation event having the same event type as the target operation event from the operation event data set;
[0117] A historical operation event determination unit, configured to count, based on the accident data set, whether a historical abnormal event of the same event type as the target abnormal event occurs on the trading system platform after each of the historical operation events is executed;
[0118] A historical operation event number counting unit, used for counting the number of target historical operation events in the various historical operation events, wherein the target historical operation event is a historical operation event in which, after execution, the trading system platform has a historical abnormal event of the same event type as the target abnormal event;
[0119] The association relationship deleting unit is used to delete the association relationship between the target abnormal event and the target operation event if the proportion of the number of the target historical operation event in the number of each historical operation event is less than a set threshold.
[0120] The present application also provides a computer-readable storage medium storing computer-readable instructions. When the computer-readable instructions are executed by a processor, the following is achieved: Figure 2 or Figure 3 Any data monitoring method represented by
[0121] The present application also provides a computer program product, which, when executed on a server, enables the server to execute the following Figure 2 or Figure 3 Any data monitoring method represented by
[0122] Figure 6 Schematic diagram of a server provided by an embodiment of the present application. Figure 6 As shown, the server 6 of this embodiment includes: a processor 60, a memory 61, and a computer-readable instruction 62 stored in the memory 61 and executable on the processor 60. When the processor 60 executes the computer-readable instruction 62, the steps in the above-mentioned data monitoring method embodiments are implemented, for example Figure 2 Alternatively, when the processor 60 executes the computer-readable instructions 62, the functions of each module / unit in the above-mentioned device embodiments are realized, for example, Figure 4 Functions of modules 401 to 403 are shown.
[0123] Exemplarily, the computer-readable instructions 62 may be divided into one or more modules / units, which are stored in the memory 61 and executed by the processor 60 to complete the present application. The one or more modules / units may be a series of computer-readable instruction segments capable of completing specific functions, which are used to describe the execution process of the computer-readable instructions 62 in the server 6.
[0124] The server 6 may be a computing device such as a smart phone, a notebook, a PDA, or a cloud server. The server 6 may include, but is not limited to, a processor 60 and a memory 61. Those skilled in the art will appreciate that Figure 6 It is only an example of server 6 and does not constitute a limitation of server 6. It may include more or less components than shown in the figure, or a combination of certain components, or different components. For example, the server 6 may also include input and output devices, network access devices, buses, etc.
[0125] The processor 60 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0126] The memory 61 may be an internal storage unit of the server 6, such as a hard disk or memory of the server 6. The memory 61 may also be an external storage device of the server 6, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the server 6. Further, the memory 61 may also include both an internal storage unit of the server 6 and an external storage device. The memory 61 is used to store the computer-readable instructions and other programs and data required by the server. The memory 61 may also be used to temporarily store data that has been output or is to be output.
[0127] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0128] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0129] 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 present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the camera device / terminal device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a disk or an optical disk.
[0130] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0131] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person 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 may be replaced by equivalents. Such 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 application, and should all be included in the protection scope of the present application.
Claims
1. A data monitoring method, applied to a target server, characterized in that: The method comprises: After receiving the data monitoring instruction sent by the main server, searching for a target process related to the target system from the currently executed user process, wherein the target server is any one of a plurality of sub-servers connected to the main server, and the plurality of sub-servers are used to monitor various test fields of the trading system platform based on the target system; Extracting process attribute data from the target process using an instruction set provided by the target system, the process attribute data including a user name corresponding to the target process, the system function authority being used, the user login time, and the operation event type; Sending the process attribute data to the main server to instruct the main server to monitor the process attribute data; Wherein, monitoring the process attribute data includes: Acquire an accident data set of a trading system platform based on the target system, wherein the accident data set records various abnormal events that have occurred on the trading system platform; generating an operation event data set according to the process attribute data, wherein the operation event data set records each operation event performed by a user of the target server; According to the accident data set and the operation event data set, constructing an association relationship between each abnormal event that has occurred on the trading system platform and each operation event performed by the user of the target server; For a target abnormal event among the abnormal events with established association relationships and a target operation event among the operation events, searching from the operation event data set for each historical operation event having the same event type as the target operation event; According to the accident data set, statistics are respectively made on whether a historical abnormal event of the same event type as the target abnormal event occurs on the trading system platform after each of the historical operation events is executed; Counting the number of target historical operation events in each of the historical operation events, wherein the target historical operation event is a historical operation event in which, after execution, the trading system platform has a historical abnormal event of the same event type as the target abnormal event; If the proportion of the number of the target historical operation events in the number of each historical operation event is less than a set threshold, the association relationship between the target abnormal event and the target operation event is deleted; Determine the proportion as the correlation degree between the target abnormal event and the target operation event; Counting the sub-servers corresponding to the target historical operation events; If the sub-servers corresponding to the target historical operation events are concentrated in a few sub-servers, the information of the sub-servers is associated with the target abnormal event, and the degree of association between the target abnormal event and the target operation event is reduced according to a set ratio.
2. The method according to claim 1, characterized in that Each of the sub-servers is configured with a monitoring program script; After receiving the data monitoring instruction sent by the main server, searching for the target process related to the target system from the currently executed user process includes: Receiving a script start instruction sent by the main server; The monitoring program script is run based on the script start instruction to search for a target process related to the target system from the currently executed user processes.
3. The method according to claim 1, characterized in that The step of searching for a target process related to the target system from the currently executed user process includes: Get the process names of all currently executing user processes; A user process whose process name contains a specified identifier among all the user processes is determined as the target process.
4. The method according to any one of claims 1 to 3, characterized in that The target system is a Murex system, and the extracting process attribute data from the target process using an instruction set provided by the target system includes: The monit command provided by the Murex system is used to perform detailed information query on the target process to extract the process attribute data.
5. A data monitoring method, applied to a main server, characterized in that: The method comprises: Sending a data monitoring instruction to a target server, the data monitoring instruction is used to instruct the target server to search for a target process related to a target system from a currently executed user process, extract process attribute data from the target process using an instruction set provided by the target system, and send the process attribute data to the main server; the target server is any one of a plurality of sub-servers connected to the main server, the plurality of sub-servers are used to monitor various test fields of a trading system platform based on the target system, the process attribute data includes a user name corresponding to the target process, the system function authority being used, the user login time, and the operation event type; After receiving the process attribute data, monitoring the process attribute data; Wherein, monitoring the process attribute data includes: Acquire an accident data set of a trading system platform based on the target system, wherein the accident data set records various abnormal events that have occurred on the trading system platform; generating an operation event data set according to the process attribute data, wherein the operation event data set records each operation event performed by a user of the target server; According to the accident data set and the operation event data set, constructing an association relationship between each abnormal event that has occurred on the trading system platform and each operation event performed by the user of the target server; For a target abnormal event among the abnormal events with established association relationships and a target operation event among the operation events, searching from the operation event data set for each historical operation event having the same event type as the target operation event; According to the accident data set, statistics are respectively made on whether a historical abnormal event of the same event type as the target abnormal event occurs on the trading system platform after each of the historical operation events is executed; Counting the number of target historical operation events in each of the historical operation events, wherein the target historical operation event is a historical operation event in which, after execution, the trading system platform has a historical abnormal event of the same event type as the target abnormal event; If the proportion of the number of the target historical operation events in the number of each historical operation event is less than a set threshold, the association relationship between the target abnormal event and the target operation event is deleted; Determine the proportion as the correlation degree between the target abnormal event and the target operation event; Counting the sub-servers corresponding to the target historical operation events; If the sub-servers corresponding to the target historical operation events are concentrated in a few sub-servers, the information of the sub-servers is associated with the target abnormal event, and the degree of association between the target abnormal event and the target operation event is reduced according to a set ratio.
6. A data monitoring system, characterized in that: include: A main server is used to send a data monitoring instruction to a target server, and after receiving the process attribute data returned by the target server, monitor the process attribute data, wherein the target server is any one of a plurality of sub-servers connected to the main server, and the plurality of sub-servers are used to monitor various test fields of a trading system platform based on the target system; wherein the monitoring of the process attribute data includes: obtaining an accident data set of a trading system platform based on the target system, wherein the accident data set records various abnormal events that have occurred on the trading system platform; generating an operation event data set based on the process attribute data, wherein the operation event data set records various operation events performed by users of the target server; constructing an association relationship between various abnormal events that have occurred on the trading system platform and various operation events performed by users of the target server based on the accident data set and the operation event data set; and searching for a target abnormal event in each of the abnormal events and a target operation event in each of the operation events that have an association relationship from the operation event data set. Each historical operation event with the same event type as the target operation event; according to the accident data set, respectively count whether the transaction system platform has a historical abnormal event with the same event type as the target abnormal event after each of the historical operation events is executed; count the number of target historical operation events in each historical operation event, the target historical operation event is a historical operation event in which the transaction system platform has a historical abnormal event with the same event type as the target abnormal event after execution; if the proportion of the number of the target historical operation event in the number of each historical operation event is less than a set threshold, delete the association relationship between the target abnormal event and the target operation event; determine the proportion as the degree of association between the target abnormal event and the target operation event; count the sub-servers corresponding to the target historical operation events; if the sub-servers corresponding to the target historical operation events are concentrated in a few sub-servers, associate the information of the several sub-servers with the target abnormal event, and reduce the degree of association between the target abnormal event and the target operation event according to the set ratio; The target server is used to search for a target process related to a target system from the currently executed user process after receiving the data monitoring instruction sent by the main server; extract the process attribute data from the target process using the instruction set provided by the target system; and send the process attribute data to the main server, wherein the process attribute data includes the user name corresponding to the target process, the system function authority being used, the user login time, and the operation event type.
7. A server comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, it implements the data monitoring method according to any one of claims 1 to 4, or implements the data monitoring method according to claim 5.
8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed, it implements the data monitoring method according to any one of claims 1 to 4, or implements the data monitoring method according to claim 5.
Citation Information
Patent Citations
Coding-free integrated application platform system
CN102375731A
Information acquisition method and system, server and computer readable storage medium
CN109783284A
Layered and segmented monitoring and intervention method for large-scale parallel test tasks
CN113326209A
Storage alteration monitoring
US20210157507A1
