Monitoring information processing method and monitoring information processing system based on computing power platform
By proactively pushing incremental data to the computing platform through the monitoring service, the resource consumption and time issues caused by full synchronization of monitoring information are resolved, enabling real-time monitoring and rapid response, and ensuring stable system operation.
Patent Information
- Application Number
- CN202411294370.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-14
- Publication Date
- 2025-01-24
AI Technical Summary
In existing technologies, the full synchronization and updating of monitoring information results in high resource consumption and long time, and cannot be synchronized to the target resource service in a timely manner, which may lead to business anomalies.
The monitoring service proactively pushes incremental data of monitoring information to the computing power platform for synchronous updates. Through close collaboration between the target monitoring service, the computing power platform, and the target resource service, real-time monitoring and rapid response are achieved.
This reduces resource consumption and time spent synchronizing monitoring information, ensures timely synchronization of monitoring information and stable system operation, and lowers operating costs.
Smart Images

Figure CN119363816A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of monitoring technology, and in particular to a monitoring information processing method and a monitoring information processing system based on a computing power platform. Background Art
[0002] With the rapid development of Internet technology, various web applications and client applications have made great progress, and the number of users using applications has increased sharply. As a result, the demand for application monitoring has also increased continuously, and higher requirements have been put forward for application monitoring technology. Summary of the invention
[0003] In view of the above problems, a monitoring information processing method and a monitoring information processing system based on a computing power platform are proposed to overcome the above problems or at least partially solve the above problems, including:
[0004] A monitoring information processing method based on a computing power platform, the method comprising:
[0005] The target monitoring service stores the collected monitoring information into the monitoring information list;
[0006] Each time the target monitoring service pushes a task, the incremental data in the monitoring information list is pushed to the computing power platform, and is sent to the target resource service via the computing power platform.
[0007] Optionally, the target monitoring service pushes the incremental data in the monitoring information list to the computing power platform each time a task is pushed, and sends the incremental data to the target resource service via the computing power platform, including:
[0008] The target monitoring service pushes the first monitoring information in the monitoring information queue to the computing power platform in response to the Nth push task, and sends it to the target resource service via the computing power platform;
[0009] The target monitoring service records a first information timestamp of the first monitoring information;
[0010] The target monitoring service responds to the N+1th push task, determines the second monitoring information from the monitoring information queue according to the first information timestamp, pushes the second monitoring information to the computing power platform, and sends it to the target resource service via the computing power platform;
[0011] Wherein, N is a positive integer greater than or equal to 1.
[0012] Optionally, determining the second monitoring information from the monitoring information queue according to the first information timestamp includes:
[0013] Taking the first information timestamp as the starting time, the monitoring information whose information timestamp is after the first information timestamp is determined from the monitoring information queue as the second monitoring information.
[0014] Optionally, when the first monitoring information includes multiple pieces of monitoring information, the first information timestamp is the last piece of monitoring information pushed among the first monitoring information;
[0015] The second monitoring information is a preset number of monitoring information in the monitoring information queue whose information timestamp is after the first information timestamp.
[0016] Optionally, before the first monitoring information in the monitoring information queue is pushed to the computing power platform in response to the Nth push task, and is sent to the target resource service via the computing power platform, the method further includes:
[0017] In response to the information subscription request of the computing power platform, the active push mechanism of the target monitoring service is started; wherein the information subscription request is a request sent by the computing power platform to the target monitoring service according to the instruction of the target resource service.
[0018] Optionally, before pushing the first monitoring information in the monitoring information queue to the computing power platform and sending it to the target resource service via the computing power platform, the method further includes:
[0019] Determine whether the communication tunnel between the target monitoring service and the computing power platform is available, and determine whether there is an available target resource service for the target monitoring service;
[0020] When the communication tunnel between the target monitoring service and the computing power platform is available and the target monitoring service has an available target resource service, the first monitoring information in the monitoring information queue is pushed to the computing power platform and sent to the target resource service via the computing power platform.
[0021] A monitoring information processing method based on a computing power platform, the method comprising:
[0022] The computing power platform receives monitoring information pushed by the target monitoring service; wherein the target monitoring service is used to store the collected monitoring information in a monitoring information list, and push the incremental data in the monitoring information list to the computing power platform each time a task is pushed;
[0023] The computing power platform sends the monitoring information to the target resource service.
[0024] Optionally, before the computing power platform receives the monitoring information pushed by the target monitoring service, it also includes:
[0025] According to the instruction of the target resource service, an information subscription request is sent to the target monitoring service to start the active push mechanism of the target monitoring service;
[0026] After sending an information subscription request to the target monitoring service according to the instruction of the target resource service to start the active push mechanism of the target monitoring service, the method further includes:
[0027] A communication tunnel is established between the target monitoring service and the computing power platform, and a mapping relationship is established between the target monitoring service and the target resource service.
[0028] Optionally, before sending the monitoring information to the target resource service, the method further includes:
[0029] The monitoring information is optimized.
[0030] A monitoring information processing system, the system includes a target monitoring service, a computing power platform, and a target resource service, wherein:
[0031] The target monitoring service is used to store the collected monitoring information in a monitoring information list, and push the incremental data in the monitoring information list to the computing power platform each time a task is pushed;
[0032] The computing power platform is used to receive the monitoring information pushed by the target monitoring service and send the monitoring information to the target resource service.
[0033] The embodiments of the present invention have the following advantages:
[0034] In an embodiment of the present invention, the target monitoring service stores the collected monitoring information in a monitoring information list; each time a task is pushed, the incremental data in the monitoring information list is pushed to the computing power platform, and sent to the target resource service via the computing power platform, thereby enabling the monitoring service to push incremental data of monitoring information to the resource service through the computing power platform, reducing the resource consumption and duration caused by the synchronization of monitoring information, so as to meet the high requirements for monitoring technology. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solution of the present invention, the accompanying drawings required for use in the description of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0036] Figure 1 is a flowchart of a monitoring information processing method based on a computing power platform provided by some embodiments of the present invention;
[0037] Figure 2 is a schematic diagram of a system architecture provided by some embodiments of the present invention;
[0038] Figure 3 is a flowchart of another method for processing monitoring information based on a computing power platform provided in some embodiments of the present invention;
[0039] Figure 4 is a flowchart of another method for processing monitoring information based on a computing power platform provided in some embodiments of the present invention;
[0040] Figure 5 is a flowchart of another method for processing monitoring information based on a computing power platform provided in some embodiments of the present invention;
[0041] Figure 6 It is a schematic diagram of a monitoring information processing system provided by some embodiments of the present invention. DETAILED DESCRIPTION
[0042] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0043] In scenarios such as video surveillance based on the visual network, monitoring information is continuously generated, and the amount of monitoring information is very large. In related technologies, a monitoring service can be deployed to collect monitoring information, and the monitoring platform actively retrieves the monitoring information from the monitoring service. Specifically, when the monitoring platform needs to synchronously update the monitoring information from the monitoring service, it must first delete all the monitoring to be synchronously updated in the monitoring platform, and then obtain the latest full monitoring information from the monitoring service for storage.
[0044] Since it takes a certain amount of time for monitoring information in the monitoring platform to be deleted and fully synchronized successfully, if some monitoring resources that do not need to be deleted are called during this process, business abnormalities will occur. In addition, when there is more monitoring information, the synchronization and update process consumes more resources and takes a longer time, which results in the monitoring information being unable to be synchronized to the target resource service in a timely manner.
[0045] In an embodiment of the present invention, the monitoring platform is integrated and upgraded to a computing power platform. By identifying the incremental data of the monitoring information in the monitoring service, the monitoring service actively pushes the incremental data of the monitoring information to the computing power platform to synchronize the monitoring information. This can greatly improve the efficiency of users synchronizing monitoring information or backing up monitoring information, and can also solve the problem of business anomalies caused by full synchronization update, thereby ensuring that resources are synchronized to the target resource service in a timely manner after processing.
[0046] In the embodiment of the present invention, the computing resource scheduling system realizes real-time monitoring and rapid response of the system status through close collaboration between the monitoring service, computing platform and target resource service. It is of great significance to ensure the stable operation of the system, improve maintenance efficiency and reduce operating costs. At the same time, with the continuous development and progress of technology, this monitoring system can also be continuously upgraded and improved to cope with more complex and diverse monitoring needs.
[0047] Reference Figure 1 , showing a step flow chart of a monitoring information processing method based on a computing power platform provided in some embodiments of the present invention, which can be applied to target monitoring services.
[0048] In the scenario of video surveillance in the visual network, the monitoring service can be a video surveillance service in the visual network, such as Figure 2 For the monitoring services 1 to 3 of the China Video Network, the computing power platform can deploy multiple computing power servers, such as Figure 2 From computing power server 1 to computing power server N, resource services can be deployed in different target servers, such as Figure 2 Target server 1 to target server N.
[0049] Specifically, the following steps may be included:
[0050] Step 101: The target monitoring service stores the collected monitoring information into a monitoring information list.
[0051] In practical applications, monitoring services are the source of data collection. Monitoring services can continuously capture data from various resources and generate monitoring information by analyzing the data.
[0052] Among them, the monitoring information may be information that is crucial to the stable operation of the system. Through the monitoring information, potential problems can be discovered in a timely manner, such as performance bottlenecks, resource exhaustion, security threats, etc.
[0053] After collecting the monitoring information, the monitoring service may store the monitoring information in a monitoring information queue. Specifically, each piece of monitoring information carries an information timestamp, and the monitoring information may be stored in a monitoring information list in sequence according to the order of the information timestamps.
[0054] As an example, the information timestamp may be the time when the monitoring information is generated, or the time when the monitoring information is collected, preferably the time when the monitoring information is generated.
[0055] Step 102: Each time a task is pushed, the target monitoring service pushes the incremental data in the monitoring information list to the computing power platform, and sends it to the target resource service via the computing power platform.
[0056] Each time a push task is detected, the target monitoring service can determine the incremental data in the monitoring information list based on the information timestamp of the monitoring information pushed by the last push task, that is, the monitoring information after the monitoring information pushed by the last push task is the incremental data, and then actively push the incremental data to the computing power platform, and the computing power platform then sends the incremental data to the target resource service.
[0057] In an embodiment of the present invention, the target monitoring service stores the collected monitoring information in a monitoring information list; each time a task is pushed, the incremental data in the monitoring information list is pushed to the computing power platform, and sent to the target resource service via the computing power platform, thereby enabling the monitoring service to push incremental data of monitoring information to the resource service through the computing power platform, reducing the resource consumption and duration caused by the synchronization of monitoring information, so as to meet the high requirements for monitoring technology.
[0058] Reference Figure 3 , shows a flowchart of a monitoring information processing method based on a computing power platform provided by some embodiments of the present invention, which may specifically include the following steps:
[0059] Step 301: The target monitoring service stores the collected monitoring information into a monitoring information list.
[0060] Step 302: In response to the Nth push task, the target monitoring service pushes the first monitoring information in the monitoring information queue to the computing power platform, and sends it to the target resource service via the computing power platform.
[0061] Wherein, N is a positive integer greater than or equal to 1.
[0062] When the Nth push task is detected, the monitoring service can take out the first monitoring information from the monitoring information list according to the order of the monitoring information in the monitoring information list, and then push the first monitoring information to the computing power server in the computing power platform. After receiving the first monitoring information, the computing power platform sends the first monitoring information to the target resource service to realize the retrieval of the monitoring information of the target resource service.
[0063] In some examples, after receiving monitoring information sent by the monitoring service, the computing power platform can optimize the monitoring information and then send the optimized monitoring information to the resource service.
[0064] In practical applications, as a transfer station for information, the computing power platform plays a more than simple transmission role. It also needs to optimize the information, such as deduplication, sorting, and classification, to ensure the accuracy and effectiveness of the information. At the same time, the computing power platform also needs to be scalable and flexible to cope with monitoring needs of different scales and new challenges that may arise.
[0065] In some examples, the computing power platform has intelligent analysis capabilities. It can conduct in-depth analysis and mining of these monitoring information, and determine whether the network performance of the current monitoring service side is healthy by monitoring data traffic. If network jitter occurs, the computing power platform will match the corresponding computing power server according to the change of network bandwidth to meet the computing power requirements.
[0066] In some embodiments of the present invention, in response to the Nth push task, before pushing the first monitoring information in the monitoring information queue to the computing power platform and sending it to the target resource service via the computing power platform, it also includes:
[0067] In response to the information subscription request of the computing power platform, the active push mechanism of the target monitoring service is started; wherein the information subscription request is a request sent by the computing power platform to the target monitoring service according to the instruction of the target resource service.
[0068] In actual applications, an information subscription mechanism for monitoring information can be set up on the computing power platform. When the information subscription mechanism for the target monitoring service is triggered, the target monitoring service will actively push monitoring information to the computing power platform, and the computing power platform will receive the pushed monitoring information.
[0069] Specifically, the computing power platform can send an information subscription request to the target monitoring service according to the instructions of the target resource service. After receiving the information subscription request, the target monitoring service starts the active push mechanism, and then pushes the monitoring information to the computing power platform each time a task is pushed.
[0070] In some examples, when the target resource service sends a monitoring and review request for the target monitoring service to the computing power platform, a subscription confirmation process can be triggered. The computing power platform can ask the target resource service whether to trigger the information subscription mechanism. After receiving a confirmation reply from the target resource service, the computing power platform can then send an information subscription request to the target monitoring service according to the instructions of the target resource service.
[0071] In some embodiments of the present invention, before pushing the first monitoring information in the monitoring information queue to the computing power platform and sending it to the target resource service via the computing power platform, the method further includes:
[0072] Determine whether the communication tunnel between the target monitoring service and the computing power platform is available, and determine whether there is an available target resource service for the target monitoring service; when the communication tunnel between the target monitoring service and the computing power platform is available and there is an available target resource service for the target monitoring service, push the first monitoring information in the monitoring information queue to the computing power platform, and send it to the target resource service via the computing power platform.
[0073] In actual applications, after the active push mechanism of the target monitoring service is enabled, the computing power platform can establish a communication tunnel between the target monitoring service and the computing power platform, and establish a mapping relationship between the target monitoring service and the target resource service. Specifically, on the one hand, the computing power platform maintains the connection between the target monitoring service and the computing power platform to ensure that the monitoring information can be smoothly transmitted. On the other hand, the computing power platform maintains the connection with the target resource service to ensure that the monitoring information can be accurately pushed to the corresponding target resource service, thereby achieving effective transmission and processing of monitoring information and ensuring the smooth progress of monitoring activities.
[0074] When the target monitoring service wants to push monitoring information to the computing power platform, it can determine whether the communication tunnel between the target monitoring service and the computing power platform is available, and whether there is an available target resource service for the target monitoring service. When the communication tunnel between the target monitoring service and the computing power platform is available and there is an available target resource service for the target monitoring service, the target monitoring service executes information push.
[0075] In actual applications, the computing power platform can maintain the relationship between tunnels, monitoring services and resource services, concentrate functions, and accurately push them to the corresponding target resource services. Monitoring information can be quickly received and processed by relevant target resource services, thereby achieving real-time monitoring and rapid response to the system status, and subsequent services will not be affected due to the unavailability of a certain resource.
[0076] Step 303: The target monitoring service records a first information timestamp of the first monitoring information.
[0077] In actual applications, since each piece of monitoring information carries an information timestamp, after the Nth push task is completed, the target monitoring service can record the first information timestamp of the first monitoring information as the start time of the next push.
[0078] In some examples, when the first monitoring information includes multiple pieces of monitoring information, the timestamp of the first information is the last piece of monitoring information pushed in the first monitoring information.
[0079] Step 304: The target monitoring service responds to the N+1th push task, determines the second monitoring information from the monitoring information queue according to the first information timestamp, pushes the second monitoring information to the computing power platform, and sends it to the target resource service via the computing power platform.
[0080] When the N+1th push task is detected, the target monitoring service can determine the second monitoring information from the monitoring information queue according to the first information timestamp recorded when the Nth task was pushed, according to the order of the monitoring information in the monitoring information queue, and then push the second monitoring information to the computing power platform, which can then send the second monitoring information to the target resource service.
[0081] The second monitoring information is the incremental data after N push tasks.
[0082] In some embodiments of the present invention, determining the second monitoring information from the monitoring information queue according to the first information timestamp includes:
[0083] Taking the first information timestamp as the starting time, the monitoring information whose information timestamp is after the first information timestamp is determined from the monitoring information queue as the second monitoring information.
[0084] In actual applications, the first information timestamp recorded in the Nth push task (such as the information timestamp of the last monitoring information pushed by the Nth push task) can be used as the starting time, and the monitoring information with an information timestamp after the first information timestamp is determined from the monitoring information queue as the second monitoring information, and then the second monitoring information is pushed, thereby ensuring that each push is based on the incremental data after the previous push is completed, thereby realizing orderly updating and transmission of monitoring data.
[0085] In some embodiments of the present invention, the second monitoring information may include multiple monitoring information. Specifically, the second monitoring information is a preset number of monitoring information in the monitoring information queue whose information timestamp is after the first information timestamp. For example, the preset number may be 10 or 100. In some examples, the preset number may be all the remaining monitoring information in the monitoring information queue.
[0086] In some embodiments of the present invention, a preset time interval is set between the Nth push task and the N+1th push task, that is, a preset time interval is set between two adjacent push tasks. The monitoring service can adjust the preset time interval between push tasks based on the generated data and business needs, such as the preset time interval is 10 minutes.
[0087] In some embodiments of the present invention, each push task is generated when new monitoring information enters the monitoring information queue. Specifically, the push of monitoring information can be real-time, that is, a push task is generated each time new monitoring information is collected, thereby realizing real-time push.
[0088] Reference Figure 4 , shows a flowchart of another monitoring information processing method based on a computing power platform provided by some embodiments of the present invention, which may specifically include the following steps:
[0089] Step 401: The target monitoring service stores the collected monitoring information into a monitoring information list.
[0090] Step 402, the target monitoring service responds to the information subscription request of the computing power platform and starts the active push mechanism of the target monitoring service; wherein, the information subscription request is a request sent by the computing power platform to the target monitoring service according to the instruction of the target resource service.
[0091] Step 403: In response to the Nth push task, the target monitoring service determines whether the communication tunnel between the target monitoring service and the computing power platform is available, and determines whether there is an available target resource service for the target monitoring service.
[0092] Step 404: When the communication tunnel between the target monitoring service and the computing power platform is available and the target monitoring service has an available target resource service, the target monitoring service pushes the first monitoring information in the monitoring information queue to the computing power platform, and sends it to the target resource service via the computing power platform.
[0093] Step 405: The target monitoring service records a first information timestamp of the first monitoring information.
[0094] Step 406, the target monitoring service responds to the N+1th push task, determines the second monitoring information from the monitoring information queue according to the first information timestamp, pushes the second monitoring information to the computing power platform, and sends it to the target resource service via the computing power platform.
[0095] Reference Figure 5 , showing a step flow chart of another monitoring information processing method based on a computing power platform provided in some embodiments of the present invention, which method can be applied to a computing power platform.
[0096] In the scenario of video surveillance in the visual network, the monitoring service can be a video surveillance service in the visual network, such as Figure 2 For the monitoring services 1 to 3 of the China Video Network, the computing power platform can deploy multiple computing power servers, such as Figure 2From computing power server 1 to computing power server N, resource services can be deployed in different target servers, such as Figure 2 Target server 1 to target server N.
[0097] Specifically, the following steps may be included:
[0098] Step 501, the computing power platform receives the monitoring information pushed by the target monitoring service; wherein the target monitoring service is used to store the collected monitoring information into a monitoring information list, and push the incremental data in the monitoring information list to the computing power platform each time a task is pushed.
[0099] In practical applications, monitoring services are the source of data collection. Monitoring services can continuously capture data from various resources and generate monitoring information by analyzing the data.
[0100] Among them, the monitoring information may be information that is crucial to the stable operation of the system. Through the monitoring information, potential problems can be discovered in a timely manner, such as performance bottlenecks, resource exhaustion, security threats, etc.
[0101] After collecting the monitoring information, the monitoring service may store the monitoring information in a monitoring information queue. Specifically, each piece of monitoring information carries an information timestamp, and the monitoring information may be stored in a monitoring information list in sequence according to the order of the information timestamps.
[0102] As an example, the information timestamp may be the time when the monitoring information is generated, or the time when the monitoring information is collected, preferably the time when the monitoring information is generated.
[0103] Each time a push task is detected, the target monitoring service can determine the incremental data in the monitoring information list based on the information timestamp of the monitoring information pushed by the last push task, that is, the monitoring information after the monitoring information pushed by the last push task is the incremental data, and then actively push the incremental data to the computing power platform, and the computing power platform then sends the incremental data to the target resource service.
[0104] When the Nth push task is detected, the monitoring service can take out the first monitoring information from the monitoring information list according to the order of the monitoring information in the monitoring information list, and then push the first monitoring information to the computing power server in the computing power platform. After receiving the first monitoring information, the computing power platform sends the first monitoring information to the target resource service to realize the retrieval of the monitoring information of the target resource service.
[0105] In actual applications, since each piece of monitoring information carries an information timestamp, after the Nth push task is completed, the target monitoring service can record the first information timestamp of the first monitoring information as the start time of the next push.
[0106] When the N+1th push task is detected, the target monitoring service can determine the second monitoring information from the monitoring information queue according to the first information timestamp recorded when the Nth task was pushed, according to the order of the monitoring information in the monitoring information queue, and then push the second monitoring information to the computing power platform, which can then send the second monitoring information to the target resource service.
[0107] In some embodiments of the present invention, before the computing power platform receives the monitoring information pushed by the target monitoring service, the method further includes:
[0108] According to the instruction of the target resource service, an information subscription request is sent to the target monitoring service to enable an active push mechanism of the target monitoring service.
[0109] In actual applications, an information subscription mechanism for monitoring information can be set up on the computing power platform. When the information subscription mechanism for the target monitoring service is triggered, the target monitoring service will actively push monitoring information to the computing power platform, and the computing power platform will receive the pushed monitoring information.
[0110] Specifically, the computing power platform can send an information subscription request to the target monitoring service according to the instructions of the target resource service. After receiving the information subscription request, the target monitoring service starts the active push mechanism, and then pushes the monitoring information to the computing power platform each time a task is pushed.
[0111] In some examples, when the target resource service sends a monitoring and review request for the target monitoring service to the computing power platform, a subscription confirmation process can be triggered. The computing power platform can ask the target resource service whether to trigger the information subscription mechanism. After receiving a confirmation reply from the target resource service, the computing power platform can then send an information subscription request to the target monitoring service according to the instructions of the target resource service.
[0112] In some embodiments of the present invention, after sending an information subscription request to the target monitoring service according to the instruction of the target resource service to start the active push mechanism of the target monitoring service, the process further includes:
[0113] A communication tunnel is established between the target monitoring service and the computing power platform, and a mapping relationship is established between the target monitoring service and the target resource service.
[0114] In actual applications, after the active push mechanism of the target monitoring service is enabled, the computing power platform can establish a communication tunnel between the target monitoring service and the computing power platform, and establish a mapping relationship between the target monitoring service and the target resource service. Specifically, on the one hand, the computing power platform maintains the connection between the target monitoring service and the computing power platform to ensure that the monitoring information can be smoothly transmitted. On the other hand, the computing power platform maintains the connection with the target resource service to ensure that the monitoring information can be accurately pushed to the corresponding target resource service, thereby achieving effective transmission and processing of monitoring information and ensuring the smooth progress of monitoring activities.
[0115] When the target monitoring service wants to push monitoring information to the computing power platform, it can determine whether the communication tunnel between the target monitoring service and the computing power platform is available, and whether there is an available target resource service for the target monitoring service. When the communication tunnel between the target monitoring service and the computing power platform is available and there is an available target resource service for the target monitoring service, the target monitoring service executes information push.
[0116] In actual applications, the computing power platform can maintain the relationship between tunnels, monitoring services and resource services, concentrate functions, and accurately push them to the corresponding target resource services. Monitoring information can be quickly received and processed by relevant target resource services, thereby achieving real-time monitoring and rapid response to the system status, and subsequent services will not be affected due to the unavailability of a certain resource.
[0117] Step 502: The computing power platform sends the monitoring information to the target resource service.
[0118] In some embodiments of the present invention, before sending the monitoring information to the target resource service, the process further includes: optimizing the monitoring information.
[0119] In some examples, after receiving monitoring information sent by the monitoring service, the computing power platform can optimize the monitoring information and then send the optimized monitoring information to the resource service.
[0120] In practical applications, as a transfer station for information, the computing power platform plays a more than simple transmission role. It also needs to optimize the information, such as deduplication, sorting, and classification, to ensure the accuracy and effectiveness of the information. At the same time, the computing power platform also needs to be scalable and flexible to cope with monitoring needs of different scales and new challenges that may arise.
[0121] In some examples, the computing power platform has intelligent analysis capabilities. It can conduct in-depth analysis and mining of these monitoring information, and determine whether the network performance of the current monitoring service side is healthy by monitoring data traffic. If network jitter occurs, the computing power platform will match the corresponding computing power server according to the change of network bandwidth to meet the computing power requirements.
[0122] In an embodiment of the present invention, the target monitoring service stores the collected monitoring information in a monitoring information list; each time a task is pushed, the incremental data in the monitoring information list is pushed to the computing power platform, and sent to the target resource service via the computing power platform, thereby enabling the monitoring service to push incremental data of monitoring information to the resource service through the computing power platform, reducing the resource consumption and duration caused by the synchronization of monitoring information, so as to meet the high requirements for monitoring technology.
[0123] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0124] Reference Figure 6 , shows a schematic diagram of a monitoring information processing system provided by some embodiments of the present invention, including a target monitoring service 601, a computing power platform 602, and a target resource service 603.
[0125] The target monitoring service is used to store the collected monitoring information in a monitoring information list, and push the incremental data in the monitoring information list to the computing power platform each time a task is pushed;
[0126] The computing power platform is used to receive the monitoring information pushed by the target monitoring service and send the monitoring information to the target resource service.
[0127] In some embodiments of the present invention, the target monitoring service pushes the incremental data in the monitoring information list to the computing power platform each time a task is pushed, including:
[0128] The target monitoring service pushes the first monitoring information in the monitoring information queue to the computing power platform in response to the Nth push task, and sends it to the target resource service via the computing power platform;
[0129] The target monitoring service records a first information timestamp of the first monitoring information;
[0130] The target monitoring service responds to the N+1th push task, determines the second monitoring information from the monitoring information queue according to the first information timestamp, pushes the second monitoring information to the computing power platform, and sends it to the target resource service via the computing power platform;
[0131] Wherein, N is a positive integer greater than or equal to 1.
[0132] In some embodiments of the present invention, determining the second monitoring information from the monitoring information queue according to the first information timestamp includes:
[0133] Taking the first information timestamp as the starting time, the monitoring information whose information timestamp is after the first information timestamp is determined from the monitoring information queue as the second monitoring information.
[0134] In some embodiments of the present invention, when the first monitoring information includes multiple monitoring information pieces, the first information timestamp is the last piece of monitoring information pushed in the first monitoring information; the second monitoring information is a preset number of monitoring information pieces in the monitoring information queue whose information timestamp is after the first information timestamp.
[0135] In some embodiments of the present invention, before pushing the first monitoring information in the monitoring information queue to the computing power platform in response to the Nth push task, the target monitoring service is further used to:
[0136] In response to the information subscription request of the computing power platform, the active push mechanism of the target monitoring service is started; wherein the information subscription request is a request sent by the computing power platform to the target monitoring service according to the instruction of the target resource service.
[0137] In some embodiments of the present invention, before pushing the first monitoring information in the monitoring information queue to the computing power platform, the target monitoring service is further used to:
[0138] Determine whether the communication tunnel between the target monitoring service and the computing power platform is available, and determine whether there is an available target resource service for the target monitoring service;
[0139] When the communication tunnel between the target monitoring service and the computing power platform is available and the target monitoring service has an available target resource service, the first monitoring information in the monitoring information queue is pushed to the computing power platform and sent to the target resource service via the computing power platform.
[0140] In some embodiments of the present invention, before the computing power platform receives the monitoring information pushed by the target monitoring service, the computing power platform is further used to:
[0141] According to the instruction of the target resource service, an information subscription request is sent to the target monitoring service to start the active push mechanism of the target monitoring service;
[0142] In some embodiments of the present invention, after sending an information subscription request to the target monitoring service according to the instruction of the target resource service to enable an active push mechanism of the target monitoring service, the computing power platform is further used to:
[0143] A communication tunnel is established between the target monitoring service and the computing power platform, and a mapping relationship is established between the target monitoring service and the target resource service.
[0144] In some embodiments of the present invention, before sending the monitoring information to the target resource service, the computing power platform is further used to:
[0145] The monitoring information is optimized.
[0146] In an embodiment of the present invention, the target monitoring service stores the collected monitoring information in a monitoring information list; each time a task is pushed, the incremental data in the monitoring information list is pushed to the computing power platform, and sent to the target resource service via the computing power platform, thereby enabling the monitoring service to push incremental data of monitoring information to the resource service through the computing power platform, reducing the resource consumption and duration caused by the synchronization of monitoring information, so as to meet the high requirements for monitoring technology.
[0147] Some embodiments of the present invention further provide an electronic device, comprising a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the above method is implemented when the computer program is executed by the processor.
[0148] Some embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, and the computer program implements the above method when executed by a processor.
[0149] Some embodiments of the present invention further provide a computer program product, including a computer program, which implements the above method when executed by a processor.
[0150] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0151] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0152] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0153] Those skilled in the art will appreciate that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0154] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0155] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0156] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0157] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
[0158] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the above elements.
[0159] The monitoring information processing method and monitoring information processing system based on the computing power platform are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A monitoring information processing method based on a computing power platform, characterized in that: The method comprises: The target monitoring service stores the collected monitoring information into the monitoring information list; Each time the target monitoring service pushes a task, the incremental data in the monitoring information list is pushed to the computing power platform, and is sent to the target resource service via the computing power platform.
2. The method according to claim 1, characterized in that The target monitoring service pushes the incremental data in the monitoring information list to the computing power platform each time a task is pushed, and sends the incremental data to the target resource service via the computing power platform, including: The target monitoring service pushes the first monitoring information in the monitoring information queue to the computing power platform in response to the Nth push task, and sends it to the target resource service via the computing power platform; The target monitoring service records a first information timestamp of the first monitoring information; The target monitoring service responds to the N+1th push task, determines the second monitoring information from the monitoring information queue according to the first information timestamp, pushes the second monitoring information to the computing power platform, and sends it to the target resource service via the computing power platform; Wherein, N is a positive integer greater than or equal to 1.
3. The method according to claim 2, characterized in that The determining, according to the first information timestamp, second monitoring information from the monitoring information queue comprises: Taking the first information timestamp as the starting time, the monitoring information whose information timestamp is after the first information timestamp is determined from the monitoring information queue as the second monitoring information.
4. The method according to claim 3, characterized in that In the case where the first monitoring information includes multiple pieces of monitoring information, the first information timestamp is the last piece of monitoring information pushed among the first monitoring information; The second monitoring information is a preset number of monitoring information in the monitoring information queue whose information timestamp is after the first information timestamp.
5. The method according to any one of claims 2 to 4, characterized in that: Before the first monitoring information in the monitoring information queue is pushed to the computing power platform in response to the Nth push task, and is sent to the target resource service via the computing power platform, the method further includes: In response to the information subscription request of the computing power platform, the active push mechanism of the target monitoring service is started; wherein the information subscription request is a request sent by the computing power platform to the target monitoring service according to the instruction of the target resource service.
6. The method according to claim 2, characterized in that Before pushing the first monitoring information in the monitoring information queue to the computing power platform and sending it to the target resource service via the computing power platform, the method further includes: Determine whether the communication tunnel between the target monitoring service and the computing power platform is available, and determine whether there is an available target resource service for the target monitoring service; When the communication tunnel between the target monitoring service and the computing power platform is available and the target monitoring service has an available target resource service, the first monitoring information in the monitoring information queue is pushed to the computing power platform and sent to the target resource service via the computing power platform.
7. A monitoring information processing method based on a computing power platform, characterized in that: The method comprises: The computing power platform receives monitoring information pushed by the target monitoring service; wherein the target monitoring service is used to store the collected monitoring information in a monitoring information list, and push the incremental data in the monitoring information list to the computing power platform each time a task is pushed; The computing power platform sends the monitoring information to the target resource service.
8. The method according to claim 7, characterized in that Before the computing power platform receives the monitoring information pushed by the target monitoring service, it also includes: According to the instruction of the target resource service, an information subscription request is sent to the target monitoring service to start the active push mechanism of the target monitoring service; After sending an information subscription request to the target monitoring service according to the instruction of the target resource service to start the active push mechanism of the target monitoring service, the method further includes: A communication tunnel is established between the target monitoring service and the computing power platform, and a mapping relationship is established between the target monitoring service and the target resource service.
9. The method according to claim 7, characterized in that: Before sending the monitoring information to the target resource service, the method further includes: The monitoring information is optimized.
10. A monitoring information processing system, characterized in that: The system includes a target monitoring service, a computing power platform, and a target resource service, wherein: The target monitoring service is used to store the collected monitoring information in a monitoring information list, and push the incremental data in the monitoring information list to the computing power platform each time a task is pushed; The computing power platform is used to receive the monitoring information pushed by the target monitoring service and send the monitoring information to the target resource service.