Information notification method and apparatus, electronic device, and storage medium

By obtaining evaluation index information of monitoring resources to determine priorities and adjusting information notification strategies according to priorities, the problem of slow updates of monitoring resource status in video communication networks is solved, achieving efficient information notification and improved user experience.

CN115379164BActive Publication Date: 2026-11-20VISIONVERA INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210856817.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-20
Publication Date
2026-11-20
Estimated Expiration
2042-07-20

AI Technical Summary

Technical Problem

In video communication networks, when the amount of data of the monitored resources is too large, it leads to slow status updates and low status update efficiency.

Method used

By acquiring the evaluation index information of the monitored resources, priorities are determined, and information notification strategies are adjusted according to the priorities to report resource status changes to the server in real time or with a delay.

Benefits of technology

It improves the efficiency of information notification, avoids the problem of untimely updates to the status of monitored resources, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115379164B_ABST
    Figure CN115379164B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide an information notification method and device, electronic equipment and storage medium, comprising: obtaining evaluation index information of a monitored resource, determining a priority according to the evaluation index information; determining an information notification strategy according to the priority, the information notification strategy being a reporting strategy for sending resource state change information to a server. Embodiments of the present application determine a priority through evaluation index information and then determine a reporting strategy for sending resource state change information to a server, which can adjust the reporting strategy of a monitored resource based on different priorities of the monitored resource, thereby performing shunt notification processing on resource state change information of the monitored resource that needs to be reported, improving information notification efficiency, avoiding the problem that when the state of a monitored resource changes, the amount of data that needs to be reported is too large, causing the state of the monitored resource to be updated in time, and improving user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of video communication technology, and in particular to an information notification method, an information notification device, an electronic device, and a computer-readable storage medium. Background Technology

[0002] Video communication networks are real-time networks that enable real-time transmission of high-definition video across the entire network, a capability currently unattainable by the internet. This propels numerous internet applications toward high-definition video, enabling high-definition face-to-face interaction.

[0003] In practical applications, the status of monitored resources changes, and status notifications are sent in real time when all monitored resources change. However, when the amount of data for monitored resources is too large, it can lead to slow status updates and low efficiency. Summary of the Invention

[0004] In view of the above problems, embodiments of the present invention are proposed to provide an information notification method, an information notification device, an electronic device, and a computer-readable storage medium that overcome or at least partially solve the above problems.

[0005] To address the above problems, embodiments of the present invention disclose an information notification method, including:

[0006] Obtain evaluation index information of the monitored resources, and determine the priority based on the evaluation index information;

[0007] Based on the priority, an information notification strategy is determined, which is a reporting strategy for sending resource status change information to the server.

[0008] Optionally, the evaluation indicator information includes resource usage information and resource status information; determining the priority based on the evaluation indicator information includes:

[0009] The resource usage information at the current moment is compared with the specified usage information, and / or the resource status information at the current moment is compared with the specified status information to obtain the comparison result;

[0010] Based on the comparison results, priorities are determined.

[0011] Optionally, determining the priority based on the comparison results includes:

[0012] If the resource usage information at the current moment is greater than the specified usage information, and / or the resource status information at the current moment is greater than the specified status information, then the priority is determined to be the first priority;

[0013] If the resource usage information at the current moment is less than the specified usage information, and / or the resource status information at the current moment is less than the specified status information, then the priority is determined to be the second priority.

[0014] Optionally, the information notification strategy includes a real-time reporting strategy and a delayed reporting strategy; determining the information notification strategy according to the priority includes:

[0015] If the priority is the first priority, then the information notification strategy is determined to be a real-time reporting strategy;

[0016] If the priority is the second priority, then the information notification strategy is determined to be a delayed reporting strategy.

[0017] Optionally, it also includes:

[0018] When a change in the status of the monitored resource is detected, the resource status change information is reported to the server in real time according to the real-time reporting strategy; or,

[0019] According to the delayed reporting strategy, the reporting of resource status change information to the server is delayed.

[0020] Optionally, the resource usage information is determined based on the number of times the monitoring resource is used and the sum of the number of times each monitoring resource is used, and is issued by the server.

[0021] Optionally, the resource status information is determined based on the sum of the number of status changes of the monitored resource and the number of status changes of each monitored resource.

[0022] This invention also discloses an information notification device, comprising:

[0023] The acquisition module is used to acquire evaluation indicator information of the monitored resources and determine the priority based on the evaluation indicator information;

[0024] The notification module is used to determine an information notification strategy based on the priority, wherein the information notification strategy is a reporting strategy for sending resource status change information to the server.

[0025] Optionally, the evaluation index information includes resource usage information and resource status information; the acquisition module includes:

[0026] The comparison submodule is used to compare the current resource usage information with the specified usage information, and / or compare the current resource status information with the specified status information to obtain the comparison result;

[0027] The priority determination submodule is used to determine the priority based on the comparison results.

[0028] Optionally, the priority determination submodule includes:

[0029] The first priority determination unit is configured to determine the priority as first priority if the resource usage information at the current time is greater than the specified usage information, and / or the resource status information at the current time is greater than the specified status information;

[0030] The second priority determination unit is used to determine the priority as the second priority if the resource usage information at the current time is less than the specified usage information, and / or the resource status information at the current time is less than the specified status information.

[0031] Optionally, the information notification strategy includes a real-time reporting strategy and a delayed reporting strategy; the notification module includes:

[0032] The real-time reporting strategy determination submodule is used to determine the information notification strategy as a real-time reporting strategy if the priority is the first priority.

[0033] The delayed reporting strategy determination submodule is used to determine the information notification strategy as a delayed reporting strategy if the priority is the second priority.

[0034] Optionally, it also includes:

[0035] The real-time information reporting module is used to report resource status change information to the server in real time according to the real-time reporting strategy when a change in the status of the monitored resource is detected; or,

[0036] The information delay reporting module is used to delay reporting resource status change information to the server according to the delay reporting strategy.

[0037] Optionally, the resource usage information is determined based on the number of times the monitoring resource is used and the sum of the number of times each monitoring resource is used, and is issued by the server.

[0038] Optionally, the resource status information is determined based on the sum of the number of status changes of the monitored resource and the number of status changes of each monitored resource.

[0039] This invention also discloses an electronic device, including: a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the steps of the information notification method as described above.

[0040] This invention also discloses a computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, it implements the steps of the information notification method described above.

[0041] The embodiments of the present invention have the following advantages:

[0042] In this embodiment of the invention, after obtaining the evaluation index information of the monitored resources, the priority is determined by the evaluation index information, and then the reporting strategy for sending resource status change information to the server is determined. The reporting strategy of the monitored resources can be adjusted based on the different priorities of the monitored resources, so as to perform diversion notification processing of the resource status change information of the monitored resources that need to be reported, improve the efficiency of information notification, avoid the problem that the amount of data that needs to be reported is too large when the status of the monitored resources changes, resulting in untimely updates of the status of the monitored resources, and improve the user experience. Attached Figure Description

[0043] Figure 1 This is a flowchart of the steps of an information notification method provided in an embodiment of the present invention;

[0044] Figure 2 This is a flowchart of another information notification method provided in an embodiment of the present invention;

[0045] Figure 3 This is a schematic diagram illustrating an information notification process between a forwarding server and a monitoring and management server, provided in an embodiment of the present invention.

[0046] Figure 4 This is a schematic diagram illustrating an information notification process between a lower-level monitoring and management server and a higher-level monitoring and management server, as provided in an embodiment of the present invention.

[0047] Figure 5 This is a structural block diagram of an information notification device provided in an embodiment of the present invention. Detailed Implementation

[0048] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0049] In the field of surveillance, when a change in the status of a monitored resource is detected, it is necessary to send the status change information of the monitored resource in real time. However, when the data volume is too large, it can easily lead to slow and inefficient updates of the status of the monitored resource, resulting in untimely updates.

[0050] The core concept of this invention is that after obtaining the evaluation index information of the monitored resources, the priority is determined by the evaluation index information, and then the reporting strategy for sending resource status change information to the server is determined. Based on the different priorities of the monitored resources, the reporting strategy of the monitored resources can be adjusted, thereby distributing the notification of resource status change information of the monitored resources that need to be reported, improving the efficiency of information notification, avoiding the problem of untimely updates of the status of monitored resources due to the large amount of data that needs to be reported when the status of the monitored resources changes, and improving the user experience.

[0051] Reference Figure 1 The diagram illustrates a flowchart of an information notification method provided by an embodiment of the present invention. The method may specifically include the following steps:

[0052] Step 101: Obtain the evaluation index information of the monitored resources, and determine the priority based on the evaluation index information.

[0053] The execution entity of this invention can obtain and determine the priority of the monitored resources based on the evaluation index information of the monitored resources, determine the information notification strategy based on the priority, and then report the resource status change information to the server in accordance with the information notification strategy.

[0054] The execution entity in this embodiment of the invention can be a server. For example, taking the execution entity of this embodiment of the invention as a first server and the server that receives the communication request as a second server, the information notification method provided in this embodiment of the invention can be applied between the first server and the second server. The first server can obtain and determine the priority of the monitored resources based on the evaluation index information of the monitored resources, determine the information notification strategy based on the priority, and then report the resource status change information to the second server according to the information notification strategy.

[0055] In one example, the first server can be a proxy server, and the second server can be a monitoring and management server (mserver, or monitor server). In another example, the first server can be a lower-level monitoring and management server, and the second server can be a higher-level monitoring and management server.

[0056] In practical applications, a protocol server can connect to multiple monitoring devices, acquire and store monitoring resources collected by these devices, detect resource status changes in each monitoring resource, and report these changes according to the information notification policy. A lower-level monitoring management server can connect to multiple protocol servers and receive resource status change information reported by these servers. A higher-level monitoring management server can connect to multiple lower-level monitoring management servers, which can then report the resource status change information reported by the protocol servers to the higher-level monitoring management server according to the information notification policy.

[0057] Evaluation metrics can be used to assess the priority of monitored resources. Monitoring resources can be evaluated based on these metrics to determine their priority.

[0058] In this embodiment of the invention, by prioritizing the monitored resources, different information notification strategies can be determined based on different priorities, thereby diverting and notifying information about changes in resource status and improving the efficiency of information notification.

[0059] Step 102: Determine the information notification strategy based on the priority. The information notification strategy is a reporting strategy that sends resource status change information to the server.

[0060] After determining the priority of the monitored resources, an information notification strategy can be determined based on the priority, and then the resource status change information can be reported to the server in accordance with the information notification strategy.

[0061] In this embodiment of the invention, after obtaining the evaluation index information of the monitored resources, the priority is determined by the evaluation index information, and then the reporting strategy for sending resource status change information to the server is determined. The reporting strategy of the monitored resources can be adjusted based on the different priorities of the monitored resources, so as to perform diversion notification processing of the resource status change information of the monitored resources that need to be reported, improve the efficiency of information notification, avoid the problem that the amount of data that needs to be reported is too large when the status of the monitored resources changes, resulting in untimely updates of the status of the monitored resources, and improve the user experience.

[0062] Reference Figure 2 The diagram illustrates a flowchart of another information notification method provided by an embodiment of the present invention. The method may specifically include the following steps:

[0063] Step 201: Compare the current resource usage information with the specified usage information, and / or compare the current resource status information with the specified status information to obtain a comparison result.

[0064] Evaluation metrics for monitored resources can include resource usage information and resource status information. Resource usage information can be the utilization rate of the monitored resource, which can be used to indicate the frequency of use of the monitored resource. Resource status information can be the status change rate of the monitored resource, which can be used to indicate the frequency of occurrence of the monitored resource's status changes.

[0065] It can acquire resource usage information and resource status information of monitored resources at different times, compare the current resource usage information with specified usage information, and / or compare the current resource status information with specified status information to obtain the comparison result.

[0066] It should be noted that for a single monitoring resource, the resource usage and status information obtained at different times can differ from the information obtained at the previous time. In this embodiment of the invention, by obtaining resource usage and status information at different times and comparing them with the information at the current time to determine the priority of the monitoring resource, the priority of the monitoring resource can be adjusted according to the actual situation. This allows for timely reporting of resource status changes of frequently used monitoring resources or monitoring resources whose status changes frequently, thus updating the status of the monitoring resource in a timely manner.

[0067] In one optional embodiment, the resource usage information is determined based on the number of times the monitoring resource is used and the sum of the number of times each monitoring resource is used, and is issued by the server.

[0068] In one optional embodiment, the resource status information is determined based on the sum of the number of status changes of the monitored resource and the number of status changes of each monitored resource.

[0069] During information transmission between the first and second servers, the second server can determine the resource usage information of the monitored resource and send this information to the first server. The first server can determine the resource status information of the monitored resource and receive the resource usage information sent by the second server for comparison. After receiving the resource usage information sent by the second server, the first server can reply to the second server with a message indicating that the sent information has been received correctly. For example, the first server can reply to the second server with an ACK (Acknowledge character).

[0070] Specifically, the first server can count the number of status changes for each monitored resource at the current moment, and then divide the number of status changes for each monitored resource by the sum of the number of status changes for each monitored resource to determine the status change rate of each monitored resource, i.e., resource usage information. For example, the first server can count the number of status changes for X monitored resources as x, Y monitored resources as y, and Z monitored resources as z at the current moment, and determine the status change rate for X monitored resources as x / (x+y+z), the status change rate for Y monitored resources as y / (x+y+z), and the status change rate for Z monitored resources as z / (x+y+z).

[0071] The second server can count the usage frequency of each monitoring resource at the current moment, and then divide the usage frequency of each monitoring resource by the sum of the usage frequencies of all monitoring resources to determine the utilization rate of each monitoring resource, i.e., the resource status information. For example, the second server can count the usage frequency of monitoring resource A as 'a', monitoring resource B as 'b', and monitoring resource C as 'c' at the current moment, and determine the utilization rate of monitoring resource A as a / (a+b+c), monitoring resource B as b / (a+b+c), and monitoring resource C as c / (a+b+c).

[0072] In practical applications, lower-level monitoring and management servers can determine resource usage information and distribute it to the relay servers. The relay servers can determine resource status information and, based on the resource usage information and / or resource status information, determine priority. Upper-level monitoring and management servers can determine resource usage information and distribute it to lower-level monitoring and management servers. Lower-level monitoring and management servers can obtain resource status information through the relay servers and, based on the resource usage information and / or resource status information, determine priority.

[0073] Step 202: Determine the priority based on the comparison results.

[0074] Specifically, the resource usage information of each monitoring resource at the current moment can be compared with the specified usage information, and / or the resource status information of each monitoring resource at the current moment can be compared with the specified status information to obtain the comparison results, and then the priority of each monitoring resource can be determined based on the comparison results.

[0075] Those skilled in the art should understand that the above-described method of determining the notification priority of monitored resources based on the comparison results of resource usage information and designated usage information, and / or resource status information and designated status information, is merely an example of the present invention. In practical applications, those skilled in the art can use other evaluation index information of monitored resources to determine the priority of monitored resources according to actual needs, and the present invention does not impose any limitations on this.

[0076] In an optional embodiment, step 202 may include the following sub-steps S11-S12:

[0077] Sub-step S11: If the resource usage information at the current time is greater than the specified usage information, and / or the resource status information at the current time is greater than the specified status information, then the priority is determined to be the first priority.

[0078] Sub-step S12: If the resource usage information at the current time is less than the specified usage information, and / or the resource status information at the current time is less than the specified status information, then the priority is determined to be the second priority.

[0079] The specified usage information can be a preset usage rate threshold for comparison with resource usage information. The specified status information can be a preset status change rate threshold for comparison with resource status information.

[0080] The first priority can be higher than the second priority; the first priority can be high priority, and the second priority can be low priority. Specifically, if the resource usage information of the monitored resource at the current moment is greater than the preset utilization rate threshold, and / or the resource status information of the monitored resource at the current moment is greater than the preset status change rate threshold, then the priority of the monitored resource can be determined as high priority, and the monitored resource has a higher priority. If the resource usage information of the monitored resource at the current moment is less than the preset utilization rate threshold, and / or the resource status information of the monitored resource at the current moment is less than the preset status change rate threshold, then the priority of the monitored resource can be determined as low priority, and the monitored resource has a lower priority.

[0081] For example, if at the current moment, the resource usage information of monitored resource A is greater than the preset utilization rate threshold, and the resource status information of monitored resource B is greater than the preset status change rate threshold, the notification priority of monitored resources A and B can be determined as high priority; if at the current moment, the resource usage information of monitored resource C is less than the preset utilization rate threshold, the resource status information of monitored resource D is less than the preset status change rate threshold, and the resource usage information and resource status information of monitored resource E are both less than the preset utilization rate threshold and the preset status change rate threshold, the priority of monitored resources C, D, and E can be determined as low priority.

[0082] In one example, the preset usage threshold information may include a first usage threshold and a second usage threshold, wherein the first usage threshold may be greater than the second usage threshold. The resource usage information of each monitored resource can be compared with the first and second usage thresholds, and high, medium, and low priorities can be determined based on the comparison results. Specifically, if the resource usage information of a monitored resource is greater than the first usage threshold, the monitored resource can be determined as high priority; if the resource usage information of a monitored resource is neither greater than the first nor less than the second usage threshold, the monitored resource can be determined as medium priority; and if the resource usage information of a monitored resource is less than the second usage threshold, the monitored resource can be determined as low priority.

[0083] In one example, the preset status change rate threshold information may include a first change rate threshold and a second change rate threshold, wherein the first change rate threshold may be greater than the second change rate threshold. The resource status information of each monitored resource can be compared with the first and second change rate thresholds, and high, medium, and low priorities can be determined based on the comparison results. Specifically, if the resource status information of a monitored resource is greater than the first change rate threshold, the monitored resource can be determined as high priority; if the resource status information of a monitored resource is neither greater than the first change rate threshold nor less than the second change rate threshold, the monitored resource can be determined as medium priority; and if the resource status information of a monitored resource is less than the second change rate threshold, the monitored resource can be determined as low priority.

[0084] In this embodiment of the invention, by dividing the monitoring resources into a first priority and a second priority, different information notification strategies can be determined based on different priorities, thereby diverting and notifying the resource status change information of the monitoring resources that need to be reported, and improving the efficiency of information notification.

[0085] Those skilled in the art should understand that the above-described division of monitoring resources into two priorities and three priorities based on the evaluation index information of monitoring resources is merely an example of the present invention. In practical applications, those skilled in the art can divide the resources into other numbers of priorities according to actual needs, and the present invention does not impose any limitations on this.

[0086] Step 203: Determine the information notification strategy based on the priority, wherein the information notification strategy is a reporting strategy for sending resource status change information to the server.

[0087] In an optional embodiment, the information notification strategy may include a real-time reporting strategy and a delayed reporting strategy, and step 203 may include the following sub-steps S21-S22:

[0088] Sub-step S21: If the priority is the first priority, then the information notification strategy is determined to be a real-time reporting strategy.

[0089] Sub-step S22: If the priority is the second priority, then the information notification strategy is determined to be a delayed reporting strategy.

[0090] After determining the priorities, if the priority of the monitored resource is first priority, the information notification strategy for the monitored resource can be determined as a real-time reporting strategy; if the priority of the monitored resource is second priority, the information notification strategy for the monitored resource can be determined as a delayed reporting strategy. For example, if the priorities of monitored resources A and B are both first priority, the information notification strategy for monitored resources A and B can be determined as a real-time reporting strategy; if the priorities of monitored resources C, D, and E are all second priority, the information notification strategy for monitored resources C, D, and E can be determined as a delayed reporting strategy.

[0091] In this embodiment of the invention, by determining different information notification strategies for different priorities, the resource status change information of the monitored resources that need to be reported can be distributed and notified in a way that improves the efficiency of information notification.

[0092] In an optional embodiment, the method may further include: when the status of the monitored resource changes, reporting the resource status change information to the server in real time according to a real-time reporting strategy; or, reporting the resource status change information to the server in a delayed manner according to a delayed reporting strategy.

[0093] When the status of a monitored resource changes, if the monitored resource has a high priority and the information notification policy for the monitored resource is a real-time reporting policy, the synchronization frequency of the monitored resource can be increased, and the resource status change information of the monitored resource can be reported to the server in real time. If the monitored resource has a low priority and the information notification policy for the monitored resource is a delayed reporting policy, the synchronization frequency of the monitored resource can be decreased, and the reporting of the resource status change information of the monitored resource to the server can be delayed.

[0094] For example, if monitoring resources A and B have a high priority, the synchronization frequency of monitoring resources A and B can be increased from once per second to 10 times per second, sending 10 resource status change messages for each of monitoring resources A and B to the server within 1 second. If monitoring resources C, D, and E have a low priority, the synchronization frequency of monitoring resources C, D, and E can be decreased from once per second to once every 10 seconds, sending 1 resource status change message for each of monitoring resources C, D, and E to the server every 10 seconds.

[0095] In one example, if it is determined that the priority of monitoring resource C is medium priority and the priority of monitoring resources D and E is low priority, the synchronization frequency of monitoring resources D and E can be reduced, while the synchronization frequency of monitoring resource C is not adjusted.

[0096] In another example, if monitoring resource C is determined to have a medium priority and monitoring resources D and E have low priorities, the synchronization frequency of monitoring resources C, D, and E can be reduced, with the reduction in the synchronization frequency of monitoring resource C being less than that of monitoring resources D and E. For example, the synchronization frequency of monitoring resource C can be reduced to once every 20 seconds, and the synchronization frequency of monitoring resources D and E can be reduced to once every 30 seconds.

[0097] Those skilled in the art should understand that the above-described increase in the synchronization frequency of the first priority monitoring resource and decrease in the synchronization frequency of the second priority monitoring resource are merely examples of the present invention. In practical applications, those skilled in the art can determine other increases and decreases in the synchronization frequency for monitoring resources of different priorities according to actual needs. The present invention does not impose any limitations on these.

[0098] In this embodiment of the invention, by comparing the evaluation index information of the monitored resources with specified information to determine the priority, and then determining the reporting strategy for sending resource status change information to the server, the reporting strategy of the monitored resources can be adjusted based on the different priorities of the monitored resources. The resource status change information of high-priority monitored resources is reported to the server in real time, while the resource status change information of low-priority monitored resources is reported to the server with a delay. This allows for the distribution and notification of resource status change information of monitored resources that need to be reported, improving the efficiency of information notification and avoiding the problem of untimely updates of the status of monitored resources due to the large amount of data that needs to be reported when the status of monitored resources changes, thereby improving the user experience.

[0099] It should be noted that, for the sake of simplicity, the method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments of the present invention are not limited to the described order of actions, because according to the embodiments of the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions involved are not necessarily essential to the embodiments of the present invention.

[0100] To enable those skilled in the art to better understand the embodiments of the present invention, the following descriptions will take the example of a proxy server as the execution subject and the example of a lower-level monitoring and management server as the execution subject:

[0101] Reference Figure 3 This diagram illustrates an information notification process between a forwarding server and a monitoring and management server, as provided in an embodiment of the present invention.

[0102] After the monitoring and management server starts, it can count and send the current usage rate of each monitoring resource to the forwarding server. The forwarding server can count the current status change rate of each monitoring resource and send an ACK back to the monitoring and management server after receiving the resource usage information sent by the monitoring and management server.

[0103] The co-location server can compare the utilization rate of each monitored resource with a preset utilization rate threshold x, and the status change rate of each monitored resource with a preset status change rate threshold y. Based on the comparison results, priorities are determined, and corresponding information notification strategies are determined based on different priorities. If the utilization rate of a monitored resource is greater than x, and / or the status change rate of a monitored resource is greater than y, then the monitored resource has a high priority, and its status change information is reported to the monitoring management server in real time. If the utilization rate of a monitored resource is less than x, and / or the status change rate of a monitored resource is less than y, then the monitored resource has a low priority, and its status change information is reported to the monitoring management server with a delay.

[0104] During the communication between the forwarding server and the monitoring management server, the utilization rate and status change rate of each monitoring resource at the next moment can be statistically analyzed and compared. Based on the comparison results, the priority of each monitoring resource can be re-determined, and the information notification strategy of each monitoring resource can be adjusted according to the re-determined priority.

[0105] Reference Figure 4 This diagram illustrates an information notification process between a lower-level monitoring and management server and a higher-level monitoring and management server, as provided in an embodiment of the present invention.

[0106] After the upper-level monitoring and management server starts, it can count and send the usage rate of each monitoring resource to the lower-level monitoring and management server. After receiving the resource usage information sent by the upper-level monitoring and management server, the lower-level monitoring and management server replies with ACK to the upper-level monitoring and management server.

[0107] The lower-level monitoring and management server can compare the utilization rate of each monitoring resource with a preset utilization rate threshold x, determine the priority based on the comparison results, and determine the corresponding information notification strategy based on different priorities. If the utilization rate of a monitoring resource is greater than x, the monitoring resource has a high priority, and the resource status change information of the monitoring resource is reported to the monitoring and management server in real time; if the utilization rate of a monitoring resource is less than x, the monitoring resource has a low priority, and the resource status change information of the monitoring resource is reported to the monitoring and management server with a delay.

[0108] During the communication between the lower-level monitoring and management server and the upper-level monitoring and management server, the utilization rate of each monitoring resource at the next moment can be statistically analyzed and compared. Based on the comparison results, the priority of each monitoring resource can be re-determined, and the information notification strategy of each monitoring resource can be adjusted according to the re-determined priority.

[0109] Reference Figure 5 The diagram illustrates a structural block diagram of an information notification device provided by an embodiment of the present invention. The device may specifically include the following modules:

[0110] The acquisition module 501 is used to acquire evaluation index information of the monitored resources and determine the priority based on the evaluation index information;

[0111] The notification module 502 is used to determine an information notification strategy based on the priority, wherein the information notification strategy is a reporting strategy for sending resource status change information to the server.

[0112] In an optional embodiment, the evaluation index information includes resource usage information and resource status information; the acquisition module includes:

[0113] The comparison submodule is used to compare the current resource usage information with the specified usage information, and / or compare the current resource status information with the specified status information to obtain the comparison result;

[0114] The priority determination submodule is used to determine the priority based on the comparison results.

[0115] In one optional embodiment, the priority determination submodule includes:

[0116] The first priority determination unit is configured to determine the priority as first priority if the resource usage information at the current time is greater than the specified usage information, and / or the resource status information at the current time is greater than the specified status information;

[0117] The second priority determination unit is used to determine the priority as the second priority if the resource usage information at the current time is less than the specified usage information, and / or the resource status information at the current time is less than the specified status information.

[0118] In one optional embodiment, the information notification strategy includes a real-time reporting strategy and a delayed reporting strategy; the notification module includes:

[0119] The real-time reporting strategy determination submodule is used to determine the information notification strategy as a real-time reporting strategy if the priority is the first priority.

[0120] The delayed reporting strategy determination submodule is used to determine the information notification strategy as a delayed reporting strategy if the priority is the second priority.

[0121] In an optional embodiment, it further includes:

[0122] The real-time information reporting module is used to report resource status change information to the server in real time according to the real-time reporting strategy when the status of monitored resources changes; or,

[0123] The information delay reporting module is used to delay reporting resource status change information to the server according to the delay reporting strategy.

[0124] In one optional embodiment, the resource usage information is determined based on the number of times the monitoring resource is used and the sum of the number of times each monitoring resource is used, and is issued by the server.

[0125] In one optional embodiment, the resource status information is determined based on the sum of the number of status changes of the monitored resource and the number of status changes of each monitored resource.

[0126] In this embodiment of the invention, after obtaining the evaluation index information of the monitored resources, the priority is determined by the evaluation index information, and then the reporting strategy for sending resource status change information to the server is determined. The reporting strategy of the monitored resources can be adjusted based on the different priorities of the monitored resources, so as to perform diversion notification processing of the resource status change information of the monitored resources that need to be reported, improve the efficiency of information notification, avoid the problem that the amount of data that needs to be reported is too large when the status of the monitored resources changes, resulting in untimely updates of the status of the monitored resources, and improve the user experience.

[0127] As the device embodiment is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.

[0128] This invention also provides an electronic device, comprising:

[0129] It includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor. When the computer program is executed by the processor, it implements the various processes of the above-described resource status notification method embodiments and achieves the same technical effect. To avoid repetition, it will not be described again here.

[0130] This invention also provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the various processes of the above-described monitoring resource status notification method embodiments and achieves the same technical effect. To avoid repetition, it will not be described again here.

[0131] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.

[0132] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, apparatus, or computer program products. Therefore, embodiments of the present invention can take the form of entirely hardware embodiments, entirely software embodiments, or embodiments combining software and hardware aspects. Furthermore, embodiments of the present invention can take the form of computer program products 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 code.

[0133] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0134] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0135] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal equipment, causing a series of operational steps to be performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable terminal equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0136] Although preferred embodiments of the present invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present invention.

[0137] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.

[0138] The information notification method, apparatus, electronic device, and storage medium provided by the present invention have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.

Claims

1. An information notification method, characterized in that, include: Obtain evaluation index information of the monitored resources, and determine the priority based on the evaluation index information; The monitoring resources are video monitoring resources; Based on the priority, an information notification strategy is determined, wherein the information notification strategy is a reporting strategy for sending resource status change information to the server. The evaluation indicator information includes resource usage information and / or resource status information; The step of determining priority based on the evaluation index information includes: The resource usage information at the current moment is compared with the specified usage information, and / or the resource status information at the current moment is compared with the specified status information to obtain a comparison result; the resource usage information is the utilization rate of the monitored resource; the resource status information is the status change rate of the monitored resource. Based on the comparison results, priorities are determined; The priority includes: high priority and low priority; determining the information notification strategy based on the priority includes: When the status of the monitored resource changes, if the priority of the monitored resource is high, the information notification strategy for the monitored resource is a real-time reporting strategy; the real-time reporting strategy is to increase the synchronization frequency of the monitored resource and report the resource status change information of the monitored resource to the server in real time. If the priority of the monitored resource is low, the information notification strategy for the monitored resource is a delayed reporting strategy; the delayed reporting strategy is to reduce the synchronization frequency of the monitored resource and delay reporting the resource status change information of the monitored resource to the server.

2. The method according to claim 1, characterized in that, The step of determining the priority based on the comparison results includes: If the resource usage information at the current moment is greater than the specified usage information, and / or the resource status information at the current moment is greater than the specified status information, then the priority is determined to be the first priority; If the resource usage information at the current moment is less than the specified usage information, and / or the resource status information at the current moment is less than the specified status information, then the priority is determined to be the second priority.

3. The method according to claim 2, characterized in that, The information notification strategy includes a real-time reporting strategy and a delayed reporting strategy; determining the information notification strategy based on the priority includes: If the priority is the first priority, then the information notification strategy is determined to be a real-time reporting strategy; If the priority is the second priority, then the information notification strategy is determined to be a delayed reporting strategy.

4. The method according to claim 3, characterized in that, Also includes: When a change in the status of the monitored resource is detected, the resource status change information is reported to the server in real time according to the real-time reporting strategy. or, According to the delayed reporting strategy, the reporting of resource status change information to the server is delayed.

5. The method according to claim 1, characterized in that, The resource usage information is determined based on the number of times the monitored resources are used and the sum of the number of times each monitoring resource is used, and is issued by the server.

6. The method according to claim 1, characterized in that, The resource status information is determined based on the sum of the number of status changes of the monitored resources and the number of status changes of each monitored resource.

7. An information notification device, characterized in that, include: The acquisition module is used to acquire evaluation indicator information of the monitored resources and determine the priority based on the evaluation indicator information; The monitoring resources are video monitoring resources; The notification module is used to determine an information notification strategy based on the priority, wherein the information notification strategy is a reporting strategy for sending resource status change information to the server. The evaluation indicator information includes resource usage information and / or resource status information; The acquisition module includes: The comparison submodule is used to compare the current resource usage information with the specified usage information, and / or compare the current resource status information with the specified status information to obtain the comparison result; The priority determination submodule is used to determine the priority based on the comparison results; The priorities include high priority and low priority; the notification module is used to, when the status of the monitored resource changes, if the priority of the monitored resource is high priority, use a real-time reporting strategy for information notification of the monitored resource; the real-time reporting strategy is to increase the synchronization frequency of the monitored resource and report the resource status change information of the monitored resource to the server in real time. If the priority of the monitored resource is low, the information notification strategy for the monitored resource is a delayed reporting strategy; the delayed reporting strategy is to reduce the synchronization frequency of the monitored resource and delay reporting the resource status change information of the monitored resource to the server.

8. An electronic device, characterized in that, include: A processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the steps of the information notification method as described in any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, which, when executed by a processor, implements the steps of the information notification method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Video sequence intelligent adjusting method and device based on event statistics

    CN105554471A

  • Monitoring alarming method and system

    CN105957314A