System indicator generation method, device, proxy server and storage medium

By implementing the system indicator generation method in the proxy server, filtering and merging the monitoring requests and information of the response system, the problems of high operation and maintenance manpower consumption and low indicator generation efficiency in the existing technology are solved, and the generation efficiency of system indicator data is improved.

CN114490260BActive Publication Date: 2024-08-27CHINA PING AN LIFE INSURANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210063589.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-20
Publication Date
2024-08-27
Estimated Expiration
2042-01-20

AI Technical Summary

Technical Problem

When generating system indicators, the existing system needs to install a log platform client, which results in high labor consumption and low efficiency in operation and maintenance. Moreover, the access log contains a large amount of irrelevant information, which affects the efficiency of indicator generation.

Method used

The system indicator generation method is implemented in the proxy server. By receiving the indicator monitoring requirements of the response system, filtering the monitoring requests, generating the target indicator file, and running the target indicator file when the response system completes the response, the monitoring information is merged to generate indicator data to avoid Analyze a large number of operation logs to improve the efficiency of indicator data generation.

Benefits of technology

It realizes non-sensitive addition, deletion and modification operations, accurately determines the indicator data of the response system, improves the efficiency of indicator data generation, reduces the need for operation log analysis of the response system, and improves the efficiency of indicator data generation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114490260B
    Figure CN114490260B
Patent Text Reader

Abstract

The present invention relates to data processing, and provides a system indicator generation method, device, proxy server and storage medium. The method can screen multiple monitoring requests from the generated requests based on the response system when it is monitored that any terminal device has a request generated, generate multiple target indicator files according to the indicator monitoring requirements, the request identifier of each monitoring request and the configuration indicator file corresponding to the response system, run the corresponding target indicator file when the response system completes the response to each monitoring request, and obtain monitoring information, wherein the monitoring information includes a first indicator result and a second indicator result, merge multiple first indicator results, obtain a third indicator result, determine the second indicator result and the third indicator result as the indicator data of the response system on the indicator monitoring requirements, and improve the generation efficiency of the indicator data. In addition, the present invention also relates to blockchain technology, and the indicator data can be stored in a blockchain.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a system indicator generation method, device, proxy server and storage medium. Background Art

[0002] At present, when statistics and analysis are performed on the basic indicators of the system (response status, request volume, request return time, etc.), it is usually necessary to use the log platform client installed on the system to collect the access logs on the system. However, installing the client on the system will consume a lot of operation and maintenance manpower. In addition, when the access logs on the system increase dramatically, the access logs contain a large amount of log information that is irrelevant to the basic indicators of the system, resulting in low efficiency in generating the basic indicators of the system. Summary of the invention

[0003] In view of the above, it is necessary to provide a system indicator generation method, device, proxy server and storage medium, which can improve the efficiency of indicator data generation.

[0004] On the one hand, the present invention provides a system indicator generation method, which is applied to a proxy server, wherein the proxy server communicates with a response system, and the response system communicates with multiple terminal devices. The system indicator generation method includes:

[0005] Receiving an indicator monitoring requirement for the response system, wherein the indicator monitoring requirement includes a dependent indicator and a non-dependent indicator;

[0006] When it is detected that any terminal device generates a request, a plurality of monitoring requests are screened from the generated requests based on the response system;

[0007] Generate multiple target indicator files according to the indicator monitoring requirements, the request identifier of each monitoring request and the configuration indicator file corresponding to the response system;

[0008] Forwarding the multiple monitoring requests to the response system, and running the corresponding target indicator file when the response system completes the response to each monitoring request to obtain monitoring information of each monitoring request, wherein the monitoring information includes a first indicator result of the monitoring request on the dependent indicator and a second indicator result on the non-dependent indicator;

[0009] Combining the first indicator results in the plurality of monitoring information to obtain a third indicator result of the response system on the dependent indicator;

[0010] The second indicator result and the third indicator result are determined as indicator data of the response system in accordance with the indicator monitoring requirement.

[0011] According to a preferred embodiment of the present invention, screening a plurality of monitoring requests from generated requests based on the response system comprises:

[0012] Obtaining a system address of the response system;

[0013] extracting an execution address from the generated request;

[0014] Determine the request corresponding to the execution address that successfully matches the system address as the initial request;

[0015] Obtaining the demand generation time of the indicator detection demand, and obtaining the request generation time of the initial request;

[0016] The initial requests corresponding to the request generation time whose value is greater than the demand generation time are determined as the multiple monitoring requests.

[0017] According to a preferred embodiment of the present invention, generating multiple target indicator files according to the indicator monitoring requirements, the request identifier of each monitoring request and the configuration indicator file corresponding to the response system includes:

[0018] Acquire a file corresponding to both the proxy server and the response system from a preset configuration library as the configuration indicator file;

[0019] Extracting initial configuration indicators from the configuration indicator file;

[0020] The initial configuration indicator is replaced with the indicator monitoring requirement to obtain a monitoring script file;

[0021] Each request identifier is written into the position corresponding to the preset tag in the monitoring script file to obtain the multiple target indicator files.

[0022] According to a preferred embodiment of the present invention, after forwarding the multiple monitoring requests to the response system, the method further includes:

[0023] Traversing the log library of the response system based on each request identifier;

[0024] If there is a request log matching the request identifier in the log library, detecting whether the request log contains a preset event;

[0025] If the request log contains the preset event, it is determined that the response system completes the response to each monitoring request.

[0026] According to a preferred embodiment of the present invention, the combining of the first indicator results in the plurality of monitoring information to obtain the third indicator result of the response system on the dependent indicator comprises:

[0027] Performing word segmentation processing on the dependency indicator to obtain multiple dependency word segments;

[0028] Calculate the vocabulary similarity between each dependent word and the preset operation vocabulary;

[0029] Determine the preset operation vocabulary with the largest vocabulary similarity as the operation relationship in the dependency index;

[0030] The first indicator results are combined based on the operation relationship to obtain the third indicator result.

[0031] According to a preferred embodiment of the present invention, the word segmentation processing of the dependency indicator to obtain a plurality of dependency word segments includes:

[0032] Segment the dependency indicator according to the preset indicator to obtain multiple segmentation paths and path segmentation words corresponding to each segmentation path;

[0033] Obtaining the indicator usage frequency of the preset indicator;

[0034] Calculate the segmentation probability of each segmentation path according to the usage frequency of the indicator;

[0035] The path participles corresponding to the segmentation path with the largest segmentation probability are determined as the multiple dependent participles.

[0036] According to a preferred embodiment of the present invention, the method further comprises:

[0037] Obtaining the indicator benchmark of the response system in accordance with the indicator monitoring requirement from a preset assessment benchmark library;

[0038] Detecting the indicator data based on the indicator benchmark to obtain the operating status of the response system;

[0039] If the operating state is abnormal, generating prompt information according to the indicator data;

[0040] The prompt information is sent to the preset binding terminal.

[0041] On the other hand, the present invention further proposes a system indicator generating device, which runs in a proxy server, the proxy server communicates with a response system, the response system communicates with a plurality of terminal devices, and the system indicator generating device comprises:

[0042] A receiving unit, configured to receive an indicator monitoring requirement for the response system, wherein the indicator monitoring requirement includes a dependent indicator and an independent indicator;

[0043] A screening unit, configured to screen a plurality of monitoring requests from the generated requests based on the response system when a request is detected to be generated by any terminal device;

[0044] A generating unit, configured to generate a plurality of target indicator files according to the indicator monitoring requirement, a request identifier of each monitoring request and a configuration indicator file corresponding to the response system;

[0045] an operating unit, configured to forward the plurality of monitoring requests to the response system, and to operate the corresponding target indicator file when the response system completes the response to each monitoring request, to obtain monitoring information of each monitoring request, wherein the monitoring information includes a first indicator result of the monitoring request on the dependent indicator, and a second indicator result on the non-dependent indicator;

[0046] A merging unit, configured to merge the first indicator results in the plurality of monitoring information to obtain a third indicator result of the response system on the dependent indicator;

[0047] A determination unit is used to determine the second indicator result and the third indicator result as indicator data of the response system in accordance with the indicator monitoring requirement.

[0048] On the other hand, the present invention further provides a proxy server, the proxy server comprising:

[0049] a memory storing computer readable instructions; and

[0050] A processor executes computer-readable instructions stored in the memory to implement the system indicator generating method.

[0051] On the other hand, the present invention further proposes a computer-readable storage medium, in which computer-readable instructions are stored. The computer-readable instructions are executed by a processor in a proxy server to implement the system indicator generation method.

[0052] It can be seen from the above technical scheme that the present invention updates the configuration indicator file based on the indicator monitoring requirements and request identifiers. Since there is no need to reconstruct the association information between the proxy server and the response system, the generation efficiency of the multiple target indicator files can be improved, so that the monitoring indicators of the response system can be added, deleted, and modified without any sense of touch. By filtering multiple monitoring requests from the generated requests by the response system, the generation requests processed by other systems can be eliminated, which makes it impossible to accurately determine the indicator data of the response system. Furthermore, when the response system completes the response to each monitoring request, the corresponding target indicator file is run, which can avoid the response system from failing to complete the processing of the monitoring request and causing the inability to accurately generate the monitoring information, and then the indicator data can be accurately determined based on the monitoring information. In addition, since the present invention does not need to analyze a large number of operation logs on the response system, but only needs to analyze the monitoring information, the generation efficiency of the indicator data is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 It is a flow chart of a preferred embodiment of the system indicator generating method of the present invention.

[0054] Figure 2 It is a functional module diagram of a preferred embodiment of the system indicator generating device of the present invention.

[0055] Figure 3 It is a schematic diagram of the structure of a proxy server of a preferred embodiment of the system indicator generation method of the present invention. DETAILED DESCRIPTION

[0056] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention is described in detail below with reference to the accompanying drawings and specific embodiments.

[0057] like Figure 1 FIG. 1 is a flow chart of a preferred embodiment of the system indicator generation method of the present invention. According to different requirements, the order of the steps in the flow chart can be changed, and some steps can be omitted.

[0058] The system indicator generation method can acquire and process relevant data based on artificial intelligence technology. Artificial Intelligence (AI) is a 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.

[0059] 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.

[0060] The system indicator generation method is applied to one or more proxy servers, and the proxy server is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored computer-readable instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable gate arrays (Field-Programmable Gate Array, FPGA), digital signal processors (Digital Signal Processor, DSP), embedded devices, etc.

[0061] The proxy server can be any electronic product that can perform human-computer interaction with a user, such as a personal computer, a tablet computer, a smart phone, a personal digital assistant (PDA), a game console, an interactive network television (IPTV), a smart wearable device, etc.

[0062] The proxy server may include a network device and / or a user device, wherein the network device includes, but is not limited to, a single network proxy server, a proxy server group consisting of multiple network proxy servers, or a cloud consisting of a large number of hosts or network proxy servers based on cloud computing.

[0063] The network where the proxy server is located includes, but is not limited to: the Internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (VPN), etc.

[0064] In at least one embodiment of the present invention, the system indicator generation method is applied to a proxy server, the proxy server communicates with a response system, and the response system communicates with a plurality of terminal devices.

[0065] S10, receiving an indicator monitoring requirement for the response system, wherein the indicator monitoring requirement includes dependent indicators and non-dependent indicators.

[0066] In at least one embodiment of the present invention, the indicator monitoring requirement is generated based on a monitoring requirement for the response system.

[0067] The dependent indicators refer to indicators that are mutually dependent, and the non-dependent indicators refer to indicators that are not mutually dependent.

[0068] S11, when it is detected that any terminal device has generated a request, a plurality of monitoring requests are screened from the generated requests based on the response system.

[0069] In at least one embodiment of the present invention, the arbitrary terminal device refers to any device that communicates with the response system.

[0070] The generated request refers to a request generated by any terminal device.

[0071] The multiple monitoring requests refer to requests generated by the arbitrary terminal device after the demand generation time.

[0072] In at least one embodiment of the present invention, the proxy server screening multiple monitoring requests from the generated requests based on the response system includes:

[0073] Obtaining a system address of the response system;

[0074] extracting an execution address from the generated request;

[0075] Determine the request corresponding to the execution address that successfully matches the system address as the initial request;

[0076] Obtaining the demand generation time of the indicator detection demand, and obtaining the request generation time of the initial request;

[0077] The initial requests corresponding to the request generation time whose value is greater than the demand generation time are determined as the multiple monitoring requests.

[0078] The execution address is the address information corresponding to the generated request being processed.

[0079] The initial request refers to a request that needs to be processed by the response system.

[0080] By matching the execution address with the system address, the initial request that needs to be processed by the response system can be accurately screened out from the generated requests, and then by comparing the request generation time with the demand generation time, the multiple monitoring requests can be accurately screened out from the initial request, thereby improving the accuracy of the indicator data.

[0081] S12, generating a plurality of target indicator files according to the indicator monitoring requirement, the request identifier of each monitoring request and the configuration indicator file corresponding to the response system.

[0082] In at least one embodiment of the present invention, the configuration indicator file refers to a file in which the proxy server monitors the response system, and the configuration indicator file includes an initial configuration indicator.

[0083] In at least one embodiment of the present invention, the proxy server generates multiple target indicator files according to the indicator monitoring requirements, the request identifier of each monitoring request, and the configuration indicator file corresponding to the response system, including:

[0084] Acquire a file corresponding to both the proxy server and the response system from a preset configuration library as the configuration indicator file;

[0085] Extracting initial configuration indicators from the configuration indicator file;

[0086] The initial configuration indicator is replaced with the indicator monitoring requirement to obtain a monitoring script file;

[0087] Each request identifier is written into the position corresponding to the preset tag in the monitoring script file to obtain the multiple target indicator files.

[0088] The preset configuration library stores multiple server monitoring index files of each system on the initial configuration index. The initial configuration index can be set arbitrarily, for example, the initial configuration index can be request processing time.

[0089] The preset label is used to indicate the monitored object.

[0090] The monitoring script file can be quickly generated through the configuration indicator file, and then the file for monitoring the monitoring request can be accurately generated by using the preset tag.

[0091] S13, forwarding the multiple monitoring requests to the response system, and running the corresponding target indicator file when the response system completes the response to each monitoring request, to obtain monitoring information of each monitoring request, wherein the monitoring information includes a first indicator result of the monitoring request on the dependent indicator, and a second indicator result on the non-dependent indicator.

[0092] In at least one embodiment of the present invention, the first indicator result refers to result information corresponding to the dependent indicator, and the second indicator result refers to result information corresponding to the non-dependent indicator.

[0093] In at least one embodiment of the present invention, after forwarding the plurality of monitoring requests to the response system, the method further comprises:

[0094] Traversing the log library of the response system based on each request identifier;

[0095] If there is a request log matching the request identifier in the log library, detecting whether the request log contains a preset event;

[0096] If the request log contains the preset event, it is determined that the response system completes the response to each monitoring request.

[0097] Wherein, the log library stores all operation logs of the response system.

[0098] The preset event refers to an execution event for request processing.

[0099] The request identifier can be used to accurately filter out the request log from the log library, and then based on the detection of the request log based on the preset event, it can be timely learned that the response system completes the response to each monitoring request, and the monitoring information can be quickly obtained.

[0100] S14, combining the first indicator results in the plurality of monitoring information to obtain the third indicator result of the response system on the dependent indicator.

[0101] In at least one embodiment of the present invention, the proxy server merges the first indicator results in the plurality of monitoring information to obtain the third indicator result of the response system on the dependent indicator, including:

[0102] Performing word segmentation processing on the dependency indicator to obtain multiple dependency word segments;

[0103] Calculate the vocabulary similarity between each dependent word and the preset operation vocabulary;

[0104] Determine the preset operation vocabulary with the largest vocabulary similarity as the operation relationship in the dependency index;

[0105] The first indicator results are combined based on the operation relationship to obtain the third indicator result.

[0106] The preset operation words refer to words with operation meanings. For example, the preset operation words include sum, mean, etc.

[0107] For example, the dependent indicator is the total number of URI requests. After word segmentation, the multiple dependent participles are: total, URI, number of requests. After calculation, the dependent participle "total" has the highest lexical similarity with the preset operation word "sum". Therefore, the operation relationship is the sum, and then the sum of the first indicator results is calculated to obtain the third indicator result.

[0108] Through the above implementation, the operation relationship can be accurately extracted from the preset operation vocabulary, so that the first indicator result is processed using the operation relationship to improve the accuracy of the third indicator result.

[0109] Specifically, the proxy server performs word segmentation processing on the dependency indicator to obtain a plurality of dependency word segments including:

[0110] Segment the dependency indicator according to the preset indicator to obtain multiple segmentation paths and path segmentation words corresponding to each segmentation path;

[0111] Obtaining the indicator usage frequency of the preset indicator;

[0112] Calculate the segmentation probability of each segmentation path according to the usage frequency of the indicator;

[0113] The path participles corresponding to the segmentation path with the largest segmentation probability are determined as the multiple dependent participles.

[0114] Among them, the preset indicator may include the initial configuration indicator.

[0115] The indicator usage frequency refers to the number of times the system is monitored using the preset indicator.

[0116] The segmentation probability refers to the sum of the indicator usage frequencies corresponding to the path segmentation words matching the preset indicator under each segmentation path.

[0117] The dependent indicators can be quickly divided by the preset indicators, and then the multiple dependent participles can be accurately selected from the path participles corresponding to the multiple segmentation paths by using the indicator usage frequency.

[0118] S15: Determine the second indicator result and the third indicator result as indicator data of the response system in accordance with the indicator monitoring requirement.

[0119] It should be emphasized that in order to further ensure the privacy and security of the above indicator data, the above indicator data can also be stored in a blockchain node.

[0120] In at least one embodiment of the present invention, the indicator data refers to the response of the response system to the indicator monitoring requirement.

[0121] In at least one embodiment of the present invention, the method further comprises:

[0122] Obtaining the indicator benchmark of the response system in accordance with the indicator monitoring requirement from a preset assessment benchmark library;

[0123] Detecting the indicator data based on the indicator benchmark to obtain the operating status of the response system;

[0124] If the operating state is abnormal, generating prompt information according to the indicator data;

[0125] The prompt information is sent to the preset binding terminal.

[0126] The preset assessment benchmark library stores benchmark values ​​of multiple systems on multiple indicators, and the benchmark value may be a data interval.

[0127] The operating state is determined according to the data relationship between the indicator benchmark and the indicator data, and if the indicator data is within the interval of the indicator benchmark, the operating state is determined to be normal. If any indicator data is not within the interval of the indicator benchmark, the operating state is determined to be abnormal.

[0128] The preset binding terminal may be an operation and maintenance user who is responsible for supervising the response system.

[0129] Through the response system and the indicator monitoring requirements, the indicator benchmark can be accurately obtained from the preset assessment benchmark library, and then the indicator data can be detected based on the indicator benchmark to improve the accuracy of the operating status. When the operating status is abnormal, the operation and maintenance users of the response system can be notified in time.

[0130] It can be seen from the above technical scheme that the present invention updates the configuration indicator file based on the indicator monitoring requirements and request identifiers. Since there is no need to reconstruct the association information between the proxy server and the response system, the generation efficiency of the multiple target indicator files can be improved, so that the monitoring indicators of the response system can be added, deleted, and modified without any sense of touch. By filtering multiple monitoring requests from the generated requests by the response system, the generation requests processed by other systems can be eliminated, which makes it impossible to accurately determine the indicator data of the response system. Furthermore, when the response system completes the response to each monitoring request, the corresponding target indicator file is run, which can avoid the response system from failing to complete the processing of the monitoring request and causing the inability to accurately generate the monitoring information, and then the indicator data can be accurately determined based on the monitoring information. In addition, since the present invention does not need to analyze a large number of operation logs on the response system, but only needs to analyze the monitoring information, the generation efficiency of the indicator data is improved.

[0131] like Figure 2 As shown, it is a functional module diagram of a preferred embodiment of the system indicator generating device of the present invention. The system indicator generating device 11 includes a receiving unit 110, a screening unit 111, a generating unit 112, an operating unit 113, a merging unit 114, a determining unit 115, a traversing unit 116, a detecting unit 117, an acquiring unit 118 and a sending unit 119. The module / unit referred to in the present invention refers to a series of computer-readable instruction segments that can be acquired by the processor 13 and can complete a fixed function, which is stored in the memory 12. In this embodiment, the functions of each module / unit will be described in detail in subsequent embodiments.

[0132] In at least one embodiment of the present invention, the system indicator generating device runs in a proxy server, the proxy server communicates with a response system, and the response system communicates with a plurality of terminal devices.

[0133] The receiving unit 110 receives an indicator monitoring requirement for the response system, where the indicator monitoring requirement includes a dependent indicator and an independent indicator.

[0134] In at least one embodiment of the present invention, the indicator monitoring requirement is generated based on a monitoring requirement for the response system.

[0135] The dependent indicators refer to indicators that are mutually dependent, and the non-dependent indicators refer to indicators that are not mutually dependent.

[0136] When it is detected that any terminal device generates a request, the screening unit 111 screens a plurality of monitoring requests from the generated requests based on the response system.

[0137] In at least one embodiment of the present invention, the arbitrary terminal device refers to any device that communicates with the response system.

[0138] The generated request refers to a request generated by any terminal device.

[0139] The multiple monitoring requests refer to requests generated by the arbitrary terminal device after the demand generation time.

[0140] In at least one embodiment of the present invention, the screening unit 111 screens multiple monitoring requests from the generated requests based on the response system, including:

[0141] Obtaining a system address of the response system;

[0142] extracting an execution address from the generated request;

[0143] Determine the request corresponding to the execution address that successfully matches the system address as the initial request;

[0144] Obtaining the demand generation time of the indicator detection demand, and obtaining the request generation time of the initial request;

[0145] The initial requests corresponding to the request generation time whose value is greater than the demand generation time are determined as the multiple monitoring requests.

[0146] The execution address is the address information corresponding to the generated request being processed.

[0147] The initial request refers to a request that needs to be processed by the response system.

[0148] By matching the execution address with the system address, the initial request that needs to be processed by the response system can be accurately screened out from the generated requests, and then by comparing the request generation time with the demand generation time, the multiple monitoring requests can be accurately screened out from the initial request, thereby improving the accuracy of the indicator data.

[0149] The generating unit 112 generates a plurality of target indicator files according to the indicator monitoring requirement, the request identifier of each monitoring request and the configuration indicator file corresponding to the response system.

[0150] In at least one embodiment of the present invention, the configuration indicator file refers to a file in which the proxy server monitors the response system, and the configuration indicator file includes an initial configuration indicator.

[0151] In at least one embodiment of the present invention, the generating unit 112 generates a plurality of target indicator files according to the indicator monitoring requirement, the request identifier of each monitoring request and the configuration indicator file corresponding to the response system, including:

[0152] Acquire a file corresponding to both the proxy server and the response system from a preset configuration library as the configuration indicator file;

[0153] Extracting initial configuration indicators from the configuration indicator file;

[0154] The initial configuration indicator is replaced with the indicator monitoring requirement to obtain a monitoring script file;

[0155] Each request identifier is written into the position corresponding to the preset tag in the monitoring script file to obtain the multiple target indicator files.

[0156] The preset configuration library stores multiple server monitoring index files of each system on the initial configuration index. The initial configuration index can be set arbitrarily, for example, the initial configuration index can be request processing time.

[0157] The preset label is used to indicate the monitored object.

[0158] The monitoring script file can be quickly generated through the configuration indicator file, and then the file for monitoring the monitoring request can be accurately generated by using the preset tag.

[0159] The running unit 113 forwards the multiple monitoring requests to the response system, and runs the corresponding target indicator file when the response system completes the response to each monitoring request to obtain monitoring information of each monitoring request, wherein the monitoring information includes the first indicator result of the monitoring request on the dependent indicator and the second indicator result on the non-dependent indicator.

[0160] In at least one embodiment of the present invention, the first indicator result refers to result information corresponding to the dependent indicator, and the second indicator result refers to result information corresponding to the non-dependent indicator.

[0161] In at least one embodiment of the present invention, after forwarding the plurality of monitoring requests to the response system, the traversal unit 116 traverses the log repository of the response system based on each request identifier;

[0162] If there is a request log matching the request identifier in the log library, the detection unit 117 detects whether the request log contains a preset event;

[0163] If the request log contains the preset event, the determining unit 115 determines that the response system completes the response to each monitoring request.

[0164] Wherein, the log library stores all operation logs of the response system.

[0165] The preset event refers to an execution event for request processing.

[0166] The request identifier can be used to accurately filter out the request log from the log library, and then based on the detection of the request log based on the preset event, it can be timely learned that the response system completes the response to each monitoring request, and the monitoring information can be quickly obtained.

[0167] The merging unit 114 merges the first indicator results in the plurality of monitoring information to obtain a third indicator result of the response system on the dependent indicator.

[0168] In at least one embodiment of the present invention, the merging unit 114 merges the first indicator results in the plurality of monitoring information to obtain the third indicator result of the response system on the dependent indicator, including:

[0169] Performing word segmentation processing on the dependency indicator to obtain multiple dependency word segments;

[0170] Calculate the vocabulary similarity between each dependent word and the preset operation vocabulary;

[0171] Determine the preset operation vocabulary with the largest vocabulary similarity as the operation relationship in the dependency index;

[0172] The first indicator results are combined based on the operation relationship to obtain the third indicator result.

[0173] The preset operation words refer to words with operation meanings. For example, the preset operation words include sum, mean, etc.

[0174] For example, the dependent indicator is the total number of URI requests. After word segmentation, the multiple dependent participles are: total, URI, number of requests. After calculation, the dependent participle "total" has the highest lexical similarity with the preset operation word "sum". Therefore, the operation relationship is the sum, and then the sum of the first indicator results is calculated to obtain the third indicator result.

[0175] Through the above implementation, the operation relationship can be accurately extracted from the preset operation vocabulary, so that the first indicator result is processed using the operation relationship to improve the accuracy of the third indicator result.

[0176] Specifically, the merging unit 114 performs word segmentation processing on the dependency indicator to obtain a plurality of dependency word segments including:

[0177] Segment the dependency indicator according to the preset indicator to obtain multiple segmentation paths and path segmentation words corresponding to each segmentation path;

[0178] Obtaining the indicator usage frequency of the preset indicator;

[0179] Calculate the segmentation probability of each segmentation path according to the usage frequency of the indicator;

[0180] The path participles corresponding to the segmentation path with the largest segmentation probability are determined as the multiple dependent participles.

[0181] Among them, the preset indicator may include the initial configuration indicator.

[0182] The indicator usage frequency refers to the number of times the system is monitored using the preset indicator.

[0183] The segmentation probability refers to the sum of the indicator usage frequencies corresponding to the path segmentation words matching the preset indicator under each segmentation path.

[0184] The dependent indicators can be quickly divided by the preset indicators, and then the multiple dependent participles can be accurately selected from the path participles corresponding to the multiple segmentation paths by using the indicator usage frequency.

[0185] The determining unit 115 determines the second indicator result and the third indicator result as indicator data of the response system in accordance with the indicator monitoring requirement.

[0186] It should be emphasized that in order to further ensure the privacy and security of the above indicator data, the above indicator data can also be stored in a blockchain node.

[0187] In at least one embodiment of the present invention, the indicator data refers to the response of the response system to the indicator monitoring requirement.

[0188] In at least one embodiment of the present invention, the acquisition unit 118 acquires the indicator benchmark of the response system on the indicator monitoring requirement from a preset assessment benchmark library;

[0189] The detection unit 117 detects the indicator data based on the indicator benchmark to obtain the operating status of the response system;

[0190] If the operating state is abnormal, the generating unit 112 generates prompt information according to the indicator data;

[0191] The sending unit 119 sends the prompt information to the preset binding terminal.

[0192] The preset assessment benchmark library stores benchmark values ​​of multiple systems on multiple indicators, and the benchmark value may be a data interval.

[0193] The operating state is determined according to the data relationship between the indicator benchmark and the indicator data, and if the indicator data is within the interval of the indicator benchmark, the operating state is determined to be normal. If any indicator data is not within the interval of the indicator benchmark, the operating state is determined to be abnormal.

[0194] The preset binding terminal may be an operation and maintenance user who is responsible for supervising the response system.

[0195] Through the response system and the indicator monitoring requirements, the indicator benchmark can be accurately obtained from the preset assessment benchmark library, and then the indicator data can be detected based on the indicator benchmark to improve the accuracy of the operating status. When the operating status is abnormal, the operation and maintenance users of the response system can be notified in time.

[0196] It can be seen from the above technical scheme that the present invention updates the configuration indicator file based on the indicator monitoring requirements and request identifiers. Since there is no need to reconstruct the association information between the proxy server and the response system, the generation efficiency of the multiple target indicator files can be improved, so that the monitoring indicators of the response system can be added, deleted, and modified without any sense of touch. By filtering multiple monitoring requests from the generated requests by the response system, the generation requests processed by other systems can be eliminated, which makes it impossible to accurately determine the indicator data of the response system. Furthermore, when the response system completes the response to each monitoring request, the corresponding target indicator file is run, which can avoid the response system from failing to complete the processing of the monitoring request and causing the inability to accurately generate the monitoring information, and then the indicator data can be accurately determined based on the monitoring information. In addition, since the present invention does not need to analyze a large number of operation logs on the response system, but only needs to analyze the monitoring information, the generation efficiency of the indicator data is improved.

[0197] like Figure 3 FIG. 1 is a schematic diagram of the structure of a proxy server of a preferred embodiment of the system indicator generation method of the present invention.

[0198] In one embodiment of the present invention, the proxy server 1 includes, but is not limited to, a memory 12, a processor 13, and computer-readable instructions stored in the memory 12 and executable on the processor 13, such as a system indicator generation program.

[0199] Those skilled in the art will appreciate that the schematic diagram is merely an example of the proxy server 1 and does not constitute a limitation on the proxy server 1. The proxy server 1 may include more or fewer components than shown in the diagram, or a combination of certain components, or different components. For example, the proxy server 1 may also include input and output devices, network access devices, buses, etc.

[0200] The processor 13 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 any conventional processor, etc. The processor 13 is the computing core and control center of the proxy server 1, and uses various interfaces and lines to connect various parts of the entire proxy server 1, and execute the operating system of the proxy server 1 and various installed applications, program codes, etc.

[0201] Exemplarily, the computer-readable instructions may be divided into one or more modules / units, which are stored in the memory 12 and executed by the processor 13 to complete the present invention. 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 in the proxy server 1. For example, the computer-readable instructions may be divided into a receiving unit 110, a screening unit 111, a generating unit 112, a running unit 113, a merging unit 114, a determining unit 115, a traversing unit 116, a detecting unit 117, an acquiring unit 118, and a sending unit 119.

[0202] The memory 12 can be used to store the computer-readable instructions and / or modules. The processor 13 implements various functions of the proxy server 1 by running or executing the computer-readable instructions and / or modules stored in the memory 12 and calling the data stored in the memory 12. The memory 12 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the proxy server, etc. The memory 12 can include non-volatile and volatile memories, such as: a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other storage devices.

[0203] The memory 12 may be an external memory and / or an internal memory of the proxy server 1. Furthermore, the memory 12 may be a memory in a physical form, such as a memory stick, a TF card (Trans-flash Card), and the like.

[0204] If the module / unit integrated in the proxy server 1 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 invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing related hardware through computer-readable instructions. The computer-readable instructions can be stored in a computer-readable storage medium. When the computer-readable instructions are executed by the processor, the steps of the above-mentioned method embodiments can be implemented.

[0205] The computer-readable instructions include computer-readable instruction codes, which may be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer-readable instruction code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM).

[0206] The blockchain referred to in the present invention is a new application mode of computer technologies such as distributed system indicator generation, point-to-point 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.

[0207] Combination Figure 1 The memory 12 in the proxy server 1 stores computer-readable instructions to implement a system indicator generation method, and the processor 13 can execute the computer-readable instructions to implement:

[0208] Receiving an indicator monitoring requirement for a response system, wherein the indicator monitoring requirement includes a dependent indicator and a non-dependent indicator;

[0209] When it is detected that any terminal device generates a request, a plurality of monitoring requests are screened from the generated requests based on the response system;

[0210] Generate multiple target indicator files according to the indicator monitoring requirements, the request identifier of each monitoring request and the configuration indicator file corresponding to the response system;

[0211] Forwarding the multiple monitoring requests to the response system, and running the corresponding target indicator file when the response system completes the response to each monitoring request to obtain monitoring information of each monitoring request, wherein the monitoring information includes a first indicator result of the monitoring request on the dependent indicator and a second indicator result on the non-dependent indicator;

[0212] Combining the first indicator results in the plurality of monitoring information to obtain a third indicator result of the response system on the dependent indicator;

[0213] The second indicator result and the third indicator result are determined as indicator data of the response system in accordance with the indicator monitoring requirement.

[0214] Specifically, the specific implementation method of the processor 13 for the above-mentioned computer readable instructions can refer to Figure 1 The description of the relevant steps in the corresponding embodiments will not be repeated here.

[0215] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.

[0216] The computer-readable storage medium stores computer-readable instructions, wherein the computer-readable instructions are used to implement the following steps when executed by the processor 13:

[0217] Receiving an indicator monitoring requirement for a response system, wherein the indicator monitoring requirement includes a dependent indicator and a non-dependent indicator;

[0218] When it is detected that any terminal device generates a request, a plurality of monitoring requests are screened from the generated requests based on the response system;

[0219] Generate multiple target indicator files according to the indicator monitoring requirements, the request identifier of each monitoring request and the configuration indicator file corresponding to the response system;

[0220] Forwarding the multiple monitoring requests to the response system, and running the corresponding target indicator file when the response system completes the response to each monitoring request to obtain monitoring information of each monitoring request, wherein the monitoring information includes a first indicator result of the monitoring request on the dependent indicator and a second indicator result on the non-dependent indicator;

[0221] Combining the first indicator results in the plurality of monitoring information to obtain a third indicator result of the response system on the dependent indicator;

[0222] The second indicator result and the third indicator result are determined as indicator data of the response system in accordance with the indicator monitoring requirement.

[0223] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0224] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0225] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present invention is limited by the appended claims rather than the above description, so it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any attached figure mark in the claims should not be regarded as limiting the claims involved.

[0226] In addition, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. The multiple units or devices mentioned can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.

[0227] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.

Claims

1. A method for generating system indicators, characterized in that: Applied in a proxy server, the proxy server communicates with a response system, the response system communicates with a plurality of terminal devices, the system indicator generation method comprises: Receiving an indicator monitoring requirement for the response system, wherein the indicator monitoring requirement includes a dependent indicator and a non-dependent indicator; When it is detected that any terminal device generates a request, a plurality of monitoring requests are screened from the generated requests based on the response system; Generate multiple target indicator files according to the indicator monitoring requirements, the request identifier of each monitoring request and the configuration indicator file corresponding to the response system; Forwarding the multiple monitoring requests to the response system, and running the corresponding target indicator file when the response system completes the response to each monitoring request to obtain monitoring information of each monitoring request, wherein the monitoring information includes a first indicator result of the monitoring request on the dependent indicator and a second indicator result on the non-dependent indicator; Merging the first indicator results in the plurality of monitoring information to obtain the third indicator result of the response system on the dependent indicator includes: performing word segmentation processing on the dependent indicator to obtain a plurality of dependent word segmentations; calculating the lexical similarity between each dependent word segmentation and a preset operation word; determining the preset operation word with the largest lexical similarity as the operation relationship in the dependent indicator; merging the first indicator result based on the operation relationship to obtain the third indicator result; wherein, performing word segmentation processing on the dependent indicator to obtain a plurality of dependent word segmentations includes: segmenting the dependent indicator according to the preset indicator to obtain a plurality of segmentation paths and path segmentations corresponding to each segmentation path; obtaining the indicator usage frequency of the preset indicator; calculating the segmentation probability of each segmentation path according to the indicator usage frequency; determining the path segmentation corresponding to the segmentation path with the largest segmentation probability as the plurality of dependent word segmentations; The second indicator result and the third indicator result are determined as indicator data of the response system in accordance with the indicator monitoring requirement.

2. The system indicator generation method according to claim 1, characterized in that: The filtering of the plurality of monitoring requests from the generated requests based on the response system comprises: Obtaining a system address of the response system; extracting an execution address from the generated request; Determine the request corresponding to the execution address that successfully matches the system address as the initial request; Obtaining the demand generation time of the indicator monitoring demand, and obtaining the request generation time of the initial request; The initial requests corresponding to the request generation time whose value is greater than the demand generation time are determined as the multiple monitoring requests.

3. The system indicator generation method according to claim 1, characterized in that: The generating of a plurality of target indicator files according to the indicator monitoring requirements, the request identifier of each monitoring request and the configuration indicator file corresponding to the response system comprises: Acquire a file corresponding to both the proxy server and the response system from a preset configuration library as the configuration indicator file; Extracting initial configuration indicators from the configuration indicator file; The initial configuration indicator is replaced with the indicator monitoring requirement to obtain a monitoring script file; Each request identifier is written into the position corresponding to the preset tag in the monitoring script file to obtain the multiple target indicator files.

4. The system indicator generation method according to claim 1, characterized in that: After forwarding the plurality of monitoring requests to the response system, the method further comprises: Traversing the log library of the response system based on each request identifier; If there is a request log matching the request identifier in the log library, detecting whether the request log contains a preset event; If the request log contains the preset event, it is determined that the response system completes the response to each monitoring request.

5. The system indicator generation method according to claim 1, characterized in that: The method further comprises: Obtaining the indicator benchmark of the response system in accordance with the indicator monitoring requirement from a preset assessment benchmark library; Detecting the indicator data based on the indicator benchmark to obtain the operating status of the response system; If the operating state is abnormal, generating prompt information according to the indicator data; The prompt information is sent to the preset binding terminal.

6. A system indicator generating device, characterized in that: Running in a proxy server, the proxy server communicates with a response system, the response system communicates with a plurality of terminal devices, and the system indicator generating device includes: A receiving unit, configured to receive an indicator monitoring requirement for the response system, wherein the indicator monitoring requirement includes a dependent indicator and an independent indicator; A screening unit, configured to screen a plurality of monitoring requests from the generated requests based on the response system when a request is detected to be generated by any terminal device; A generating unit, configured to generate a plurality of target indicator files according to the indicator monitoring requirement, a request identifier of each monitoring request and a configuration indicator file corresponding to the response system; an operating unit, configured to forward the plurality of monitoring requests to the response system, and to operate the corresponding target indicator file when the response system completes the response to each monitoring request, to obtain monitoring information of each monitoring request, wherein the monitoring information includes a first indicator result of the monitoring request on the dependent indicator, and a second indicator result on the non-dependent indicator; A merging unit, used to merge the first indicator results in the plurality of monitoring information to obtain the third indicator result of the response system on the dependent indicator, including: performing word segmentation processing on the dependent indicator to obtain a plurality of dependent word segmentations; calculating the lexical similarity between each dependent word segmentation and a preset operation word; determining the preset operation word with the largest lexical similarity as the operation relationship in the dependent indicator; merging the first indicator result based on the operation relationship to obtain the third indicator result; wherein, performing word segmentation processing on the dependent indicator to obtain a plurality of dependent word segmentations includes: segmenting the dependent indicator according to the preset indicator to obtain a plurality of segmentation paths and path segmentations corresponding to each segmentation path; obtaining the indicator usage frequency of the preset indicator; calculating the segmentation probability of each segmentation path according to the indicator usage frequency; determining the path segmentation corresponding to the segmentation path with the largest segmentation probability as the plurality of dependent word segmentations; A determination unit is used to determine the second indicator result and the third indicator result as indicator data of the response system in accordance with the indicator monitoring requirement.

7. A proxy server, characterized in that: The proxy server comprises: a memory storing computer-readable instructions; and A processor executes computer-readable instructions stored in the memory to implement the system indicator generation method as described in any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions are executed by a processor in the proxy server to implement the system indicator generation method as described in any one of claims 1 to 5.