Monitoring data reporting method, monitoring data reporting device and electronic equipment
By issuing wake-up policy setting instructions based on service performance data on the simulated frequency scanning device, and using random time factor staggered reporting, the network and system load problem caused by the simulated frequency scanning device to simultaneously report data is solved, and the stability and reliability of data reporting are achieved.
Patent Information
- Application Number
- CN202411793622.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-04-18
AI Technical Summary
When a large number of simulated scanning devices wake up and report data at the same time, it may lead to a sharp increase in network traffic, resulting in excessive network bandwidth and system load, and even service interruption, resulting in reporting failure.
By obtaining service performance data, when at least one data meets a certain threshold, a wake-up policy setting instruction is issued to the simulated scanning device. The instruction carries the wake-up policy and the policy effective time. The policy effective time is determined based on a random time factor, so that the peak reporting is reported.
It effectively avoids the shortage of network resources and memory resources caused by the simultaneous reporting of data by multiple simulated scanning devices, and ensures the stability, continuity and reliability of data reporting.
Smart Images

Figure CN119847858A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of computer technology, and in particular, relates to a method for reporting monitoring data, a device for reporting monitoring data, and an electronic device. Background Art
[0002] In the related technology, when a large number of analog frequency scanning devices wake up at the same time and upload data to a professional network manager, it may cause a sharp increase in network traffic, posing serious challenges to network bandwidth and system load, affecting server performance, and may even cause service interruptions. Each analog frequency scanning device may fail to report due to network congestion or server crash. Therefore, how to avoid the failure of reporting due to simultaneous reporting by each analog frequency scanning device is a technical problem that needs to be urgently solved in this application. Summary of the invention
[0003] The embodiments of the present application provide a method for reporting monitoring data, a device for reporting monitoring data, and an electronic device, which can solve the problem of how to avoid reporting failure due to simultaneous reporting by various analog frequency scanning devices.
[0004] In the first aspect, an embodiment of the present application provides a method for reporting monitoring data, which is applied to a management end, and the method includes: obtaining at least one service performance data; when it is determined that at least one of the at least one service performance data meets the corresponding first threshold, issuing a corresponding wake-up policy setting instruction to each analog frequency scanning device, wherein each of the wake-up policy setting instructions carries a wake-up strategy and a policy effective time, and the policy effective time is determined based on a random time factor corresponding to the analog frequency scanning device; receiving monitoring data reported by each of the analog frequency scanning devices based on the policy effective time and the wake-up strategy.
[0005] In the second aspect, an embodiment of the present application provides a method for reporting monitoring data, which is applied to an analog frequency scanning device, and the method includes: receiving a wake-up policy setting instruction sent by a management end, wherein the wake-up policy setting instruction carries a wake-up policy and a policy effective time corresponding to the analog frequency scanning device, and the policy effective time is determined based on a random time factor corresponding to the analog frequency scanning device; based on the policy effective time and the wake-up policy, reporting monitoring data to the management end.
[0006] In a fourth aspect, an embodiment of the present application provides a monitoring data reporting device, which includes: an acquisition module, used to acquire at least one service performance data; a sending module, used to send a corresponding wake-up strategy setting instruction to each analog frequency scanning device when it is determined that at least one of the at least one service performance data reaches a corresponding first threshold, wherein each of the wake-up strategy setting instructions carries a wake-up strategy and a strategy effective time, and the strategy effective time is determined based on a random time factor corresponding to the analog frequency scanning device; a receiving module, used to receive the monitoring data reported by each of the analog frequency scanning devices based on the strategy effective time and the wake-up strategy. In the fifth aspect, an embodiment of the present application provides a monitoring data reporting device, which is applied to an analog frequency scanning device, and the device includes: a receiving module, which is used to receive a wake-up policy setting instruction sent by a management end, wherein the wake-up policy setting instruction carries a wake-up policy and a policy effective time corresponding to the analog frequency scanning device, and the policy effective time is determined based on a random time factor corresponding to the analog frequency scanning device; a reporting module, which is used to report monitoring data to the management end based on the policy effective time and the wake-up policy.
[0007] In a sixth aspect, an embodiment of the present application provides an electronic device, comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect, or implements the steps of the method described in the second aspect.
[0008] In the seventh aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented, or the steps of the method described in the second aspect are implemented.
[0009] In an eighth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instructions to implement the steps of the method described in the first aspect, or to implement the steps of the method described in the second aspect.
[0010] In a ninth aspect, a computer program product is provided, the computer program product comprising at least one computer program, and when the computer program is loaded and executed by a processor, the computer program implements the steps of the method described in the first aspect, or implements the steps of the method described in the second aspect.
[0011] In an embodiment of the present application, by obtaining at least one service performance data, and when it is determined that at least one of the at least one service performance data meets the corresponding first threshold, a corresponding wake-up strategy setting instruction is issued to each analog frequency scanning device, wherein each wake-up strategy setting instruction carries a wake-up strategy and a strategy effective time, and the strategy effective time is determined based on a random time factor corresponding to the analog frequency scanning device. Then, monitoring data reported by each analog frequency scanning device based on the strategy effective time and the wake-up strategy is received, thereby realizing dynamic adjustment of the wake-up strategy and the strategy effective time corresponding to each analog frequency scanning device based on the service performance data of the management end, thereby improving the flexibility of management. At the same time, the strategy effective time of each analog frequency scanning device is planned based on the random time factor, thereby realizing staggered reporting, effectively avoiding the network resources and memory resources of the management end being tight due to receiving data uploaded by multiple analog frequency scanning devices in the same time period, and ensuring the stability, continuity and reliability of data reporting. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 This is a flow chart of a method for reporting monitoring data provided by an embodiment of the present application; Figure 2 This is another flow chart of a method for reporting monitoring data provided in an embodiment of the present application; Figure 3 This is a structural diagram of a monitoring data reporting system provided in an embodiment of the present application; Figure 4 It is a structural diagram of a monitoring data reporting device provided in an embodiment of the present application; Figure 5 It is a structural schematic diagram of another monitoring data reporting device provided in an embodiment of the present application; Figure 6 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0013] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0014] In conjunction with the accompanying drawings, a method for reporting monitoring data, a device for reporting monitoring data, and an electronic device provided in an embodiment of the present application are described in detail through specific embodiments and their application scenarios.
[0015] Figure 1A method for reporting monitoring data provided by an embodiment of the present application is shown. The method can be executed by a management terminal, which can include: a server and / or a terminal device. In other words, the method can be executed by software or hardware installed on the management terminal, and the method includes the following steps: S110: Obtain at least one service performance data.
[0016] Among them, the at least one service performance data may include at least one of the following: network bandwidth utilization rate, server CPU utilization rate, server memory utilization rate, thread operation rate, and operation memory utilization rate corresponding to the management end.
[0017] In another exemplary embodiment, S110 may include: acquiring at least one service performance data according to a monitoring period. Optionally, the monitoring period may be dynamically adjusted.
[0018] S120: When it is determined that at least one of the at least one service performance data satisfies the corresponding first threshold, a corresponding wake-up strategy setting instruction is issued to each analog frequency scanning device.
[0019] Each of the wake-up strategy setting instructions carries a wake-up strategy and a strategy effective time, and the strategy effective time is determined based on a random time factor corresponding to the analog frequency scanning device.
[0020] Among them, the analog frequency sweeping device is a device used to measure and analyze the characteristics of the signal spectrum, which is widely used in the fields of communication and radio. In the construction and maintenance of wireless communication systems, by deploying an analog frequency sweeping room monitoring system, it is possible to collect frequency band numbers, operators, frequency bands, frequencies, signal receiving power and other data and report them to the management end, which is used for professional analysis and early warning of room system operation conditions such as signal anomalies and signal on and off. At the same time, due to the size limitations of analog frequency sweepers, button batteries and small batteries are usually used for operation, and small batteries are required to work for a long time, which has power limitations. Therefore, in an embodiment of the present application, a wake-up strategy setting instruction is issued to the analog frequency sweeping device to control the analog frequency sweeping device to wake up at a specified time, thereby saving energy.
[0021] In an embodiment of the present application, the acquired service performance data is analyzed to determine the resource situation of the management end, and whether it is necessary to adjust the wake-up strategy and / or wake-up time of each analog frequency scanning device according to the resource situation. Then, when it is determined that at least one of the at least one service performance data meets the corresponding first threshold, it means that the current resource situation of the management end is poor, so it is necessary to send a wake-up strategy setting instruction to each analog frequency scanning device to adjust the wake-up time of each analog frequency scanning device to avoid the centralized reporting of monitoring data by each analog frequency scanning device when the resource situation is poor. Among them, the policy effective time refers to the first wake-up time, that is, the time when the device wakes up for the first time within the corresponding policy period. The policy effective time is determined based on the random time factor corresponding to each analog frequency scanning device, and the random time factor is used to break up the policy effective time. Assume that the random time factor ΔT obeys the uniform distribution U(a, b), where a and b are the range of disturbance; the determination of the range of disturbance [a, b]) can be set according to the actual situation. For example, if you want to add 24 hours before and after the policy takes effect, then a = -24*3600 seconds, b = 24*3600 seconds. For each analog frequency scanning device, the random time factor ΔT can be generated from the uniform distribution U(a, b) based on the random number generation function. In this way, the first wake-up time of each analog frequency scanning device can be scattered. At the same time, each device can deduce that the subsequent wake-up time of the device will also be in a staggered state based on the first wake-up time, thereby achieving the effect of shaving the peak of network traffic when multiple analog frequency scanning devices wake up and report data each time, effectively avoiding the negative impact on the performance of the management end caused by multiple analog frequency scanning devices waking up at the same time and uploading data to the management end, and ensuring the continuity of reporting.
[0022] In an exemplary embodiment, the wake-up strategy includes a wake-up cycle and the number of wake-ups in the cycle, wherein each wake-up time of each analog frequency scanning device is evenly distributed in a cycle according to the number of wake-ups in the cycle, and the strategy effective time is the first wake-up time, then each wake-up time can be expressed by the following formula:
[0023] Where j is an integer from 0 to n-1, Indicates the wake-up time of the i+1th analog frequency sweep device, Indicates the policy effective time corresponding to the i-th simulated frequency sweep device. Indicates the length of the wake-up cycle corresponding to the i-th analog frequency sweep device, It should be noted that the wake-up cycles corresponding to the analog frequency sweeping devices may be the same, partially the same, or different, and the wake-up times corresponding to the analog frequency sweeping devices may be the same, partially the same, or different.
[0024] In an exemplary embodiment, determining that at least one of the at least one service performance data satisfies a corresponding first threshold may include one of the following: (1) The network bandwidth usage rate is higher than 70% for two consecutive monitoring cycles; (2) The server CPU usage rate is higher than 90% for three consecutive monitoring cycles (3) The server memory usage rate is higher than 90% for three consecutive monitoring cycles; (4) The thread running rate is higher than 95% for two monitoring cycles; (5) The running memory usage rate is higher than 95% for three consecutive cycles.
[0025] In another exemplary embodiment, the wake-up policy setting instruction may also carry an event type, device information and a timestamp, wherein the event type includes checking the wake-up policy and setting the wake-up policy; the device information includes the analog frequency scanning device SN code and the device operation and maintenance ID, which are used to uniquely identify the analog frequency scanning device; the timestamp includes an instruction sending timestamp, which is used to record the occurrence time of the event type.
[0026] S130: Receive monitoring data reported by each of the analog frequency scanning devices based on the policy effective time and the wake-up policy.
[0027] It is understandable that after receiving the wake-up policy setting instruction, each analog frequency sweeping device will report monitoring data according to the policy effective time and wake-up policy carried in the wake-up policy setting instruction. For example, assuming that the policy effective time corresponding to a certain analog frequency sweeping device is 08:00 on xx / xx / xx, the wake-up time cycle is 24 hours, and the number of wake-ups within the cycle is 24 times, then the analog frequency sweeping device will wake up once every hour starting at 08:00, and upload monitoring data to the management terminal during the wake-up period. In an embodiment of the present application, by obtaining at least one service performance data, and when it is determined that at least one of the at least one service performance data meets the corresponding first threshold, a corresponding wake-up policy setting instruction is issued to each analog frequency scanning device, wherein each wake-up policy setting instruction carries a wake-up strategy and a policy effective time, and the policy effective time is determined based on a random time factor corresponding to the analog frequency scanning device. Then, monitoring data reported by each analog frequency scanning device based on the policy effective time and the wake-up strategy is received, thereby dynamically adjusting the wake-up strategy and the policy effective time corresponding to each analog frequency scanning device based on the service performance data of the management end, thereby improving the flexibility of management. At the same time, the policy effective time of each analog frequency scanning device is planned based on the random time factor, thereby achieving staggered reporting, effectively avoiding the network resources and memory resources of the management end being tight due to receiving data uploaded by multiple analog frequency scanning devices in the same time period, and ensuring the reliability of data reporting.
[0028] In an exemplary embodiment, sending a corresponding wake-up strategy setting instruction to each analog frequency scanning device may include: obtaining the number of instruction issuances; when the number of instruction issuances is less than a second threshold, sending a corresponding wake-up strategy setting instruction to each analog frequency scanning device; and adding 1 to the number of instruction issuances.
[0029] It can be understood that the initial value of the number of instruction issuances is 0, and each time a wake-up strategy setting instruction is issued to each analog frequency sweeping device, the number of instruction issuances increases by 1. Therefore, before each issuance, it is necessary to determine whether the number of instruction issuances is less than the second threshold value. If it is less than the second threshold value, the instruction continues to be issued, and the number of instruction issuances increases by 1. In this way, by setting the second threshold value, frequent adjustment of the wake-up strategy and strategy effective time corresponding to each analog device can be avoided. Frequent adjustment may affect the normal operation of each analog frequency sweeping device.
[0030] In another exemplary embodiment, the method further includes: when the number of times the instruction is sent is greater than or equal to a second threshold, stopping sending the corresponding wake-up strategy setting instruction to each of the analog frequency scanning devices; and setting the number of times the instruction is sent to 0.
[0031] It is understandable that if the number of instruction issuances is greater than or equal to the second threshold, the corresponding wake-up strategy setting instruction is stopped from being issued to each analog frequency scanning device, thereby reducing unnecessary repetitive impact on each analog frequency scanning device and ensuring its stability.
[0032] In another embodiment, before issuing the corresponding wake-up strategy setting instructions to each analog scanning device, the method also includes: performing optimization operations on the management end, wherein the optimization operations may include at least one of the following: clearing service resources, expanding service resources, adjusting the allocation of service resources, and adding backup service resources.
[0033] Among them, the service resources may include but are not limited to: network bandwidth resources, server CPU resources, server memory resources, thread resources, and running memory resources. Cleaning up service resources means cleaning up invalid data occupying service resources to release the occupied service resources. Expanding service resources may include expanding network bandwidth, increasing the computing resources of the server CPU, expanding server memory, increasing running memory, adding threads, etc. Adding backup service resources means establishing a redundant configuration, so that when some resources fail, they can quickly switch to backup resources to avoid service interruption. Adjusting the allocation of service resources means reasonably allocating service resources according to actual business needs to meet the needs of different businesses.
[0034] In this embodiment, by optimizing the management end, it is possible to avoid relying solely on adjusting the wake-up strategy and strategy effective time corresponding to each simulated device when resources are tight, which is conducive to continuous optimization of the management end.
[0035] Optionally, after stopping sending the corresponding wake-up strategy setting instruction to each of the analog frequency scanning devices, the method further includes: sending a pause reporting instruction to the analog frequency scanning device with a low priority, and the pause reporting instruction is used to instruct the analog frequency scanning device with a low priority to stop reporting the monitoring data.
[0036] In an exemplary embodiment, before issuing the corresponding wake-up policy setting instruction to each analog frequency scanning device, the method also includes: determining the instruction issuing timestamp corresponding to the wake-up policy setting instruction; and determining the policy effective time corresponding to each analog frequency scanning device based on the instruction issuing timestamp and the random time factor corresponding to each analog frequency scanning device.
[0037] In this embodiment, by sending a timestamp in the instruction On the basis of , random disturbance, i.e., random time factor, is added to achieve the staggered effect of the strategy effective time. For example, ,in, Indicates the policy effective time corresponding to the i-th simulated frequency sweep device. Indicates the policy delivery timestamp. Represents the random time factor corresponding to the i-th analog frequency sweep device.
[0038] Figure 2 A method for reporting monitoring data provided by an embodiment of the present application is shown. The method can be performed by an analog frequency sweeping device. The method includes the following steps: S210: Receive a wake-up policy setting instruction sent by the management end.
[0039] The wake-up strategy setting instruction carries the wake-up strategy and strategy effective time corresponding to the analog frequency scanning device, and the strategy effective time is determined based on a random time factor corresponding to the analog frequency scanning device.
[0040] For details about the wake-up strategy setting instructions, please refer to Figure 1 The specific description of the illustrated embodiments will not be repeated here.
[0041] S220: Report monitoring data to the management terminal based on the policy effective time and the wake-up policy.
[0042] In an embodiment of the present application, a wake-up policy setting instruction is received from a management terminal, wherein the wake-up policy setting instruction carries a wake-up policy and a policy effective time corresponding to the analog frequency scanning device, and the policy effective time is determined based on a random time factor corresponding to the analog frequency scanning device. Then, based on the policy effective time and the wake-up policy, monitoring data is reported to the management terminal, thereby achieving staggered reporting, effectively avoiding the network resources and memory resources of the management terminal being strained due to uploading monitoring data with multiple analog frequency scanning devices in the same period, and ensuring the continuity and stability of data reporting.
[0043] Based on the above embodiments, the present application embodiment provides a monitoring data reporting system, such as Figure 3 As shown, the reporting system of the monitoring data may include a decision algorithm module 310, a wake-up strategy issuing module 320, a wake-up time preset module 330 and a simulated frequency sweeping device 340. The decision algorithm module 310 is used to monitor and analyze the network bandwidth usage and server load status of the reporting system in real time, and decide whether to intelligently adjust and set the wake-up strategy of the simulated frequency sweeping device 340 based on the analysis results. The wake-up strategy issuing module 320 is used to issue the wake-up strategy to the simulated frequency sweeping device 340. The wake-up time preset module 330 is used for the simulated frequency sweeper to receive the wake-up strategy issuing instruction and preset the wake-up time of the simulated frequency sweeper.
[0044] In an exemplary embodiment, the process of the decision algorithm module 310 deciding whether to intelligently adjust and set the wake-up strategy of the analog frequency scanning device 340 based on the analysis result may include the following steps: Step 1: Obtain the network bandwidth usage and server load status data of the reporting system; The network bandwidth usage refers to the network bandwidth usage rate, which is used to determine whether there is a bottleneck in the network bandwidth; the server load status data refers to the server CPU and memory usage data, the program running thread busyness data of the reporting system, and the running memory usage data, which are used to determine whether there is a performance bottleneck in the operation of the data processing module. In another exemplary embodiment, the network bandwidth usage rate, server CPU, memory usage data, the program running thread busyness data of the reporting system, and the running memory usage data can be derived from the monitoring system, which will not be elaborated here.
[0045] In another exemplary embodiment, bottleneck thresholds can be preset based on network bandwidth utilization, server CPU, memory utilization, program running thread busyness of the reporting system, and running memory utilization, such as network bandwidth utilization reaching 70% for two monitoring cycles, server CPU and MEM utilization exceeding 90% for three monitoring cycles, program running thread busyness of the reporting system exceeding 95% for two monitoring cycles, and running memory exceeding 95% for three cycles.
[0046] Step 2: When the decision algorithm module 310 identifies that the corresponding performance indicator of the reporting system reaches the preset bottleneck threshold, the wake-up strategy issuing module 320 is triggered to intelligently adjust the wake-up strategy of the analog frequency scanning device 340 and record the triggering times.
[0047] It should be further explained that, in another exemplary implementation process, the wake-up strategy issuing module 320 is triggered three times in a row to intelligently adjust the wake-up strategy of the analog frequency scanning device 340, and the decision algorithm module 310 actively issues an early warning, and suspends the triggering of the wake-up strategy issuing module 320 to intelligently adjust the wake-up strategy of the analog frequency scanning device 340; the active warning method can be achieved by pushing an early warning message to the monitoring system, and the monitoring system issues an early warning; after suspending the triggering of the wake-up strategy issuing module 320 to intelligently adjust the wake-up strategy of the analog frequency scanning device 340, the administrator can optimize and expand the network bandwidth or server CPU and memory utilization of the reporting system, and then reset it.
[0048] In an exemplary embodiment, the process of the wake-up strategy issuing module 320 issuing the wake-up strategy to the analog frequency scanning device 340 may include: after receiving the wake-up strategy instruction triggered by the decision algorithm module 310 to intelligently adjust the wake-up strategy of the analog frequency scanning device 340, automatically issuing the wake-up strategy setting instruction to the analog frequency scanning device 340. Among them, the wake-up strategy setting instruction includes event type, device information, timestamp, and wake-up strategy; the event type includes checking the wake-up strategy and setting the wake-up strategy; the device information includes the SN code of the analog frequency scanning device 340 and the device operation and maintenance ID, which is used to uniquely identify the analog frequency scanning device 340; the timestamp includes the instruction issuance timestamp and the policy effective timestamp; the wake-up strategy includes the wake-up cycle and the number of wake-ups within the cycle. In another exemplary embodiment, the wake-up frequency issuing module will issue the wake-up strategy setting instructions to the analog frequency scanning device 340 in batches at the same time; the instruction issuance timestamp is used to record the occurrence time of the event type and is marked as , s represents the event type; the policy effective time is used to record the wake-up policy effective time of each analog scanning device 340, marked as ; The setting of the policy effective time is through the policy issuance time In another exemplary embodiment, the wake-up period in the wake-up strategy is used to set the execution period of the wake-up strategy of the analog frequency sweeping device 340, which is marked as The number of wake-up times within a cycle is used to record the number of times the analog frequency scanning device 340 wakes up within a cycle, marked as n.
[0049] In an exemplary embodiment, the process of the analog sweeper receiving the wake-up strategy instruction and presetting the wake-up time of the analog sweeper includes: based on receiving the instruction sent by the wake-up strategy issuing module 320, parsing the instruction content and presetting the wake-up time of the analog sweeper device. The instruction content includes the policy effective time , wake-up cycle , the number of wake-up times n in the cycle; the preset analog sweeper device wake-up time refers to the preset complete cycle based on the parsed instruction content The time point of each wake-up within the device; the device wake-up time point is used to record in a complete cycle The wake-up time of each device is evenly distributed in a cycle according to the number of wake-up times, and the policy takes effect time is the first wake-up time, and the wake-up time of each analog frequency sweep device 340 can be derived, that is, the formula can be: = +
[0050] Where i is an integer from 0 to n-1, Marked as the i+1th wake-up time; In the monitoring data reporting system provided in the embodiment of the present application, according to the method of staggered setting of the wake-up policy effective time, and setting the policy effective time as the first wake-up time of the device, the first wake-up time of each analog frequency scanning device can be effectively dispersed; at the same time, based on the first wake-up time, each device deduces that each subsequent wake-up time of the device will also be in a dispersed and staggered state, thereby achieving the effect of peak shaving of the network process when multiple analog frequency scanning devices wake up to report data each time.
[0051] Figure 4 A schematic diagram showing the structure of a monitoring data reporting device provided by an embodiment of the present application is shown as follows: Figure 4 As shown, the monitoring data reporting device 400 may include: an acquisition module 410 , a sending module 420 and a receiving module 430 .
[0052] In this embodiment, the acquisition module 410 is used to acquire at least one service performance data; the sending module 420 is used to send a corresponding wake-up strategy setting instruction to each analog frequency scanning device when it is determined that at least one of the at least one service performance data reaches and satisfies the corresponding first threshold, wherein each of the wake-up strategy setting instructions carries a wake-up strategy and a strategy effective time, and the strategy effective time is determined based on a random time factor corresponding to the analog frequency scanning device; the receiving module 430 is used to receive monitoring data reported by each of the analog frequency scanning devices based on the strategy effective time and the wake-up strategy.
[0053] In an exemplary embodiment, the sending module 420 is specifically used to: obtain the number of instruction sending times; when the number of instruction sending times is less than the second threshold, send the corresponding wake-up strategy setting instruction to each analog scanning device; and increase the number of instruction sending times by 1.
[0054] In an exemplary embodiment, the monitoring data reporting device 400 may also include a reset module, which is used to: stop sending the corresponding wake-up strategy setting instruction to each analog scanning device when the number of times the instruction is sent is greater than or equal to a second threshold; and set the number of times the instruction is sent to 0.
[0055] In an exemplary embodiment, the monitoring data reporting device 400 may also include an optimization module for: performing optimization operations on the management end, wherein the optimization operations may include at least one of the following: clearing service resources, expanding service resources, adjusting the allocation of service resources, and adding spare service resources.
[0056] In an exemplary embodiment, the monitoring data reporting device 400 may also include a determination module, used to: determine the instruction issuing timestamp corresponding to the wake-up strategy setting instruction; based on the instruction issuing timestamp and the random time factor corresponding to each of the analog scanning devices, determine the policy effective time corresponding to each of the analog scanning devices.
[0057] The monitoring data reporting device provided in the embodiment of the present application can realize Figure 1 To avoid repetition, the various processes implemented in the illustrated embodiment will not be described again here.
[0058] The monitoring data reporting device in the embodiment of the present application may be a device, or a component, an integrated circuit, or a chip in an electronic device. The embodiment of the present application does not specifically limit this.
[0059] The monitoring data reporting device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0060] Figure 5 A schematic diagram showing the structure of a monitoring data reporting device provided by an embodiment of the present application is shown as follows: Figure 5 As shown, the monitoring data reporting device 500 may include: a receiving module 510 and a reporting module 520 .
[0061] In this embodiment, the receiving module 510 is used to receive a wake-up policy setting instruction sent by the management end, wherein the wake-up policy setting instruction carries the wake-up policy and the policy effective time corresponding to the analog frequency scanning device, and the policy effective time is determined based on a random time factor corresponding to the analog frequency scanning device; the reporting module 520 is used to report monitoring data to the management end based on the policy effective time and the wake-up policy.
[0062] The monitoring data reporting device provided in the embodiment of the present application can realize Figure 2 To avoid repetition, the various processes implemented in the illustrated embodiment will not be described again here.
[0063] The monitoring data reporting device in the embodiment of the present application may be a device, or a component, an integrated circuit, or a chip in an electronic device. The embodiment of the present application does not specifically limit this.
[0064] The monitoring data reporting device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0065] Optional, such as Figure 6 As shown, an embodiment of the present application also provides an electronic device 600, including a processor 610, a memory 620, and a program or instruction stored in the memory 620 and executable on the processor 610. When the program or instruction is executed by the processor 610, each process of the above-mentioned monitoring data reporting method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0066] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned monitoring data reporting method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0067] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0068] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned monitoring data reporting method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0069] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0070] An embodiment of the present application also provides a computer program product, which includes at least one computer program. When the computer program is loaded and executed by a processor, it implements the various processes of the above-mentioned monitoring data reporting method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0071] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0072] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0073] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A method for reporting monitoring data, characterized in that: Applied to the management side, including: obtaining at least one service performance data; In the case of determining that at least one of the at least one service performance data satisfies the corresponding first threshold, issuing a corresponding wake-up strategy setting instruction to each analog frequency scanning device, wherein each of the wake-up strategy setting instructions carries a wake-up strategy and a strategy effective time, and the strategy effective time is determined based on a random time factor corresponding to the analog frequency scanning device; The monitoring data reported by each of the analog frequency scanning devices based on the policy effective time and the wake-up policy is received.
2. The method according to claim 1, characterized in that The sending of a corresponding wake-up strategy setting instruction to each analog frequency scanning device includes: Get the number of times the command was issued; When the number of times the instruction is issued is less than the second threshold, issuing a corresponding wake-up strategy setting instruction to each analog frequency scanning device; The number of times the command is issued is increased by 1.
3. The method according to claim 2, characterized in that The method further comprises: When the number of times the instruction is sent is greater than or equal to the second threshold, stop sending the corresponding wake-up strategy setting instruction to each analog frequency scanning device; Set the command sending times to 0.
4. The method according to claim 3, characterized in that After stopping sending the corresponding wake-up strategy setting instruction to each of the analog frequency scanning devices, the method further includes: Perform optimization operations on the management end, wherein the optimization operations may include at least one of the following: clearing service resources, expanding service resources, adjusting the allocation of service resources, and adding spare service resources.
5. The method according to claim 1, characterized in that Before sending the corresponding wake-up strategy setting instruction to each analog frequency scanning device, the method further includes: Determine the instruction issuing timestamp corresponding to the wake-up strategy setting instruction; Based on the instruction issuing timestamp and the random time factor corresponding to each of the analog frequency scanning devices, the policy effective time corresponding to each of the analog frequency scanning devices is determined.
6. A method for reporting monitoring data, characterized in that: Applicable to analog frequency sweeping equipment, including: Receive a wake-up strategy setting instruction sent by a management terminal, wherein the wake-up strategy setting instruction carries a wake-up strategy corresponding to the analog frequency scanning device and a strategy effective time, and the strategy effective time is determined based on a random time factor corresponding to the analog frequency scanning device; Based on the policy effective time and the wake-up policy, the monitoring data is reported to the management end.
7. A monitoring data reporting device, characterized in that: Applied to the management side, including: An acquisition module, used to acquire at least one service performance data; A sending module, configured to send a corresponding wake-up strategy setting instruction to each analog frequency scanning device when it is determined that at least one of the at least one service performance data reaches and satisfies the corresponding first threshold, wherein each of the wake-up strategy setting instructions carries a wake-up strategy and a strategy effective time, and the strategy effective time is determined based on a random time factor corresponding to the analog frequency scanning device; The receiving module is used to receive the monitoring data reported by each of the analog scanning devices based on the policy effective time and the wake-up policy.
8. A monitoring data reporting device, characterized in that: Applicable to analog frequency sweeping equipment, including: A receiving module, configured to receive a wake-up policy setting instruction sent by a management terminal, wherein the wake-up policy setting instruction carries a wake-up policy and a policy effective time corresponding to the analog frequency scanning device, and the policy effective time is determined based on a random time factor corresponding to the analog frequency scanning device; The reporting module is used to report monitoring data to the management terminal based on the policy effective time and the wake-up policy.
9. An electronic device, characterized in that: It includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein when the program or instruction is executed by the processor, the steps of the method for reporting monitoring data as described in any one of claims 1 to 6 are implemented.
10. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the method for reporting monitoring data according to any one of claims 1 to 6 are implemented.