An intelligent fusion terminal clock status monitoring method, device and monitoring system
By deploying the clock monitoring module on the intelligent fusion terminal, the time deviation from the clock monitoring probe is calculated and corrected, the problem of time information deviation of the intelligent fusion terminal is solved, the system's recognition performance of time signals is improved, and the system's stable operation is ensured.
Patent Information
- Application Number
- CN202111638634.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-30
- Publication Date
- 2025-06-17
- Estimated Expiration
- 2041-12-30
AI Technical Summary
In the prior art, the time information of the intelligent converged terminal is prone to deviation, which causes the main station to fail to recognize the time information. If the time deviation is too large, the management platform will cause misjudgment of the collected information, threatening the safe and stable operation of the system.
By deploying a clock monitoring module on the intelligent fusion terminal, the time to send a heartbeat request message to the clock monitoring probe, the time to receive a heartbeat response message, and the mean of the accumulated summation of the time deviations is calculated, and the clock monitoring probe is sent to the clock monitoring probe to correct the deviation of the clock signal.
It effectively avoids the deviation impact caused by the clock signal during transmission, improves the recognition performance of time signals, and ensures the stable operation of the system.
Smart Images

Figure CN114679233B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of clock status monitoring, and particularly to a method, device and monitoring system for monitoring the clock status of an intelligent fusion terminal. Background Art
[0002] An intelligent fusion terminal is an edge device in the "cloud, pipe, edge, end" architecture of the intelligent Internet of Things system, and has functions of information collection, IoT proxy and edge computing, supporting marketing, power distribution and emerging services. And the power intelligent fusion terminal is an important edge computing node for power distribution and use, and is the basic intelligent Internet of Things system for building a low-voltage power distribution IoT. As an edge device in the "cloud, pipe, edge, end" architecture, it has functions of edge IoT, status perception and data collection. As a device for supporting the business of power grid marketing, power distribution and emerging fields, it can support functions such as status information perception of power distribution IoT operation devices, electricity consumption data collection, distribution transformer monitoring, communication networking, and local analysis and decision-making mechanisms.
[0003] The intelligent fusion terminal adopts the GPS method and can receive signals from multiple satellites within its field of view at any time. Its internal hardware circuit and software encode and process the received information, and then output a synchronous pulse signal and a UCT time signal. Or, the intelligent fusion terminal deploys an SNTP protocol program to adjust the clock signal to achieve the purpose of network time synchronization.
[0004] In related technologies, since many service protocols of the intelligent fusion terminal do not support unified time monitoring and management functions, when the time information deviates, it not only causes the master station to be unable to recognize the time information, but also, if the time deviation is too large, it will cause the management platform to misjudge various collected information, thus threatening the safe and stable operation of the system. Summary of the Invention
[0005] Therefore, the technical problem to be solved by the present invention is to overcome the problem in the prior art that when the time information deviates, it not only causes the master station to be unable to recognize the time information, but also, if the time deviation is too large, it will cause the management platform to misjudge various collected information, thus threatening the safe and stable operation of the system, so as to provide a method, device and monitoring system for monitoring the clock status of an intelligent fusion terminal.
[0006] According to a first aspect, an embodiment of the present invention provides a method for monitoring the clock status of an intelligent fusion terminal, which is used for a clock monitoring module deployed on the intelligent fusion terminal, and includes the following steps:
[0007] Continuously record the first time of sending a heartbeat request message to a clock monitoring probe, the second time of receiving a heartbeat response message returned by the clock monitoring probe, the third time of the clock monitoring probe sending the heartbeat response message, and the fourth time of the heartbeat response message being transmitted to the intelligent fusion terminal within a first preset time for multiple times;
[0008] According to the first time, the second time, the third time, and the fourth time recorded each time, calculate the time deviation each time between the intelligent fusion terminal and the clock monitoring probe within the first preset time;
[0009] Calculate the deviation mean value obtained by cumulative summation of the time deviations each time within the first preset time, and send the deviation mean value to the clock monitoring probe.
[0010] In one implementation manner, according to the first time, the second time, the third time, and the fourth time recorded each time, calculate the time deviation each time between the intelligent fusion terminal and the clock monitoring probe within the first preset time, which is executed by the following formula:
[0011]
[0012] Wherein, Δt is the time deviation each time, T1 is the first time, T2 is the second time, T3 is the third time, and T4 is the fourth time.
[0013] According to a second aspect, an embodiment of the present invention further provides an intelligent fusion terminal clock status monitoring method, which is used for a clock monitoring probe, and includes the following steps:
[0014] Continuously send heartbeat response messages to the clock monitoring module multiple times within a first preset time, and load the third time when sending the heartbeat response message on the heartbeat response message;
[0015] Continuously receive the deviation mean value obtained by cumulative summation of the time deviations each time within the first preset time sent by the clock monitoring module within a second preset time;
[0016] Send the deviation mean value continuously received multiple times within the second preset time to the clock monitoring platform.
[0017] According to a third aspect, an embodiment of the present invention further provides an intelligent fusion terminal clock status monitoring method, which is used for a clock monitoring platform, and includes the following steps:
[0018] Continuously receive the deviation mean value sent by the clock monitoring probe multiple times within a third preset time;
[0019] Calculate the difference between two adjacent received deviation mean values continuously multiple times at a preset interval within a fourth preset time;
[0020] Determine whether the clock status of the monitoring system is abnormal according to the continuous multiple calculations of the difference between two adjacent received deviation mean values and the deviation mean values;
[0021] If the clock status of the monitoring system is abnormal, a warning prompt is given.
[0022] In one embodiment, the method for monitoring the clock status of the intelligent fusion terminal further includes:
[0023] If the deviation mean values sent by the clock monitoring probe received each time within the third preset time are greater than or equal to the preset threshold, a warning prompt is given.
[0024] In one embodiment, according to the continuous calculation of the deviation mean values and their differences between two adjacent receptions, it is determined whether the clock status of the monitoring system is abnormal, which is executed through the following formula:
[0025] Let E t1 、E t2 、E t3 、E t4 、E t5 ……E tn be the deviation mean values sent by the clock monitoring probe received continuously for multiple times respectively;
[0026] Let S1 = E t2 -E t1 , S2 = E t3 -E t2 , S3 = E t4 -E t3 , S4 = E t5 -E t5 , ……S n = E tn -E t(n-1) ;
[0027] If S n ≥……≥S1≥0 is satisfied, the clock status of the monitoring system is abnormal, and a warning prompt is given.
[0028] According to the fourth aspect, the embodiment of the present invention further provides an intelligent fusion terminal clock status monitoring device, which is a clock monitoring module deployed on the intelligent fusion terminal, and includes the following modules:
[0029] A time determination module, configured to continuously record the first time for sending a heartbeat request message to the clock monitoring probe, the second time for receiving the heartbeat response message returned by the clock monitoring probe, the third time for the clock monitoring probe to send the heartbeat response message, and the fourth time for the heartbeat response message to be transmitted to the intelligent fusion terminal within the first preset time;
[0030] A time deviation calculation module calculates, according to the first time, the second time, the third time, and the fourth time recorded each time, the time deviations between the intelligent fusion terminal and the clock monitoring probe within the first preset time.
[0031] A deviation mean calculation module calculates the deviation mean of the cumulative sum of the time deviations each time within the first preset time and sends the deviation mean to the clock monitoring probe.
[0032] According to a fifth aspect, an embodiment of the present invention further provides an intelligent fusion terminal clock status monitoring device for use on a clock monitoring probe, including the following modules:
[0033] A message reply module continuously sends heartbeat response messages to a clock monitoring module multiple times within a first preset time, and loads the third time when sending the heartbeat response message on the heartbeat response message.
[0034] A first deviation mean receiving module continuously receives the deviation mean of the cumulative sum of the time deviations each time within the first preset time sent by the clock monitoring module multiple times within a second preset time.
[0035] A deviation mean sending module sends the deviation mean continuously received multiple times within the second preset time to a clock monitoring platform.
[0036] According to a sixth aspect, an embodiment of the present invention further provides an intelligent fusion terminal clock status monitoring device for use on a clock monitoring platform, including the following modules:
[0037] A second deviation mean receiving module continuously receives the deviation mean sent by a clock monitoring probe multiple times within a third preset time.
[0038] A difference calculation module continuously calculates the differences between two adjacent received deviation means at a preset interval multiple times within a fourth preset time.
[0039] A clock anomaly determination module determines whether the clock status of the monitoring system is abnormal according to the continuous calculation of the two adjacent received deviation means and their differences.
[0040] A warning prompt module gives a warning prompt if the clock status of the monitoring system is abnormal.
[0041] According to a seventh aspect, an embodiment of the present invention further provides a computer-readable storage medium storing computer instructions for causing a computer to execute the intelligent fusion terminal clock status monitoring method according to the first aspect or any one of the first aspect.
[0042] According to an eighth aspect, an embodiment of the present invention further provides a monitoring system, including: an intelligent fusion terminal, a clock monitoring module, a clock monitoring probe, and a clock monitoring platform deployed on the intelligent fusion terminal, a memory, and a processor. The intelligent fusion terminal, the clock monitoring module, the clock monitoring probe, the clock monitoring platform, the memory, and the processor are communicatively connected to each other. Computer instructions are stored in the memory, and the processor executes the intelligent fusion terminal clock status monitoring method according to the first aspect or any one of the first aspects.
[0043] The technical solution of the present invention has the following advantages:
[0044] The present invention provides an intelligent fusion terminal clock status monitoring method, device, and monitoring system. Among them, the method calculates the deviation mean of the cumulative sum of each time deviation within a first preset time by the clock monitoring module, the clock monitoring probe, and the clock monitoring platform based on continuously recording the first time of sending a heartbeat request message to the clock monitoring probe, the second time of receiving a heartbeat response message from the clock monitoring probe, the third time of the clock monitoring probe sending a heartbeat response message, and the fourth time of the heartbeat response message being transmitted to the intelligent fusion terminal within the first preset time, and continuously calculates the difference between adjacent two received deviation means to correct the deviation impact caused by the clock signal during transmission, so as to avoid misjudgment of various collected information by the clock monitoring platform, thereby improving the recognition performance of the time signal, and finally ensuring the stable operation of the monitored object. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for the description of the specific embodiments or the prior art. Obviously, the following drawings are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0046] Figure 1 It is a flowchart of a specific example of the intelligent fusion terminal clock status monitoring method in an embodiment of the present invention;
[0047] Figure 2 It is a flowchart of another specific example of the intelligent fusion terminal clock status monitoring method in an embodiment of the present invention;
[0048] Figure 3 It is a flowchart of another specific example of the intelligent fusion terminal clock status monitoring method in an embodiment of the present invention;
[0049] Figure 4Schematic diagram of the interaction among the clock monitoring module, the clock monitoring probe, and the clock monitoring platform in the embodiments of the present invention;
[0050] Figure 5 Block diagram of a specific example of the clock status monitoring device for the intelligent fusion terminal in the embodiments of the present invention;
[0051] Figure 6 Block diagram of another specific example of the clock status monitoring method for the intelligent fusion terminal in the embodiments of the present invention;
[0052] Figure 7 Block diagram of another specific example of the clock status monitoring device for the intelligent fusion terminal in the embodiments of the present invention;
[0053] Figure 8 Schematic diagram of the hardware of the monitoring system in the embodiments of the present invention. Detailed implementation manners
[0054] Next, the technical solutions of the present invention will be clearly and completely described in conjunction with the accompanying drawings. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0055] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings. It is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as a limitation of the present invention. In addition, the terms "first", "second", and "third" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance.
[0056] In the description of the present invention, it should be noted that unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and it can also be the internal connection of two elements. It can be a wireless connection or a wired connection. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific situations.
[0057] In addition, the technical features involved in different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0058] Example 1
[0059] An embodiment of the present invention provides an intelligent fusion terminal clock status monitoring method for a clock monitoring module deployed on an intelligent fusion terminal, such as Figure 1 As shown, the method includes the following steps:
[0060] Step S11: Continuously record the first time of sending a heartbeat request message to the clock monitoring probe, the second time of receiving the heartbeat response message returned by the clock monitoring probe, the third time of the clock monitoring probe sending the heartbeat response message, and the fourth time of the heartbeat response message being transmitted to the intelligent fusion terminal within the first preset time for multiple times.
[0061] The first preset time above can be flexibly set according to the actual application scenario. The larger the first preset time, the more times the first time of the clock monitoring probe sending the heartbeat request message is recorded, and the more accurate it is to ensure that each time deviation between the intelligent fusion terminal and the monitoring probe involved in the following calculation is. The first time above can be represented by T1, the second time of the clock monitoring probe returning the heartbeat response message can be represented by T2, the third time of the clock monitoring probe sending the heartbeat response message can be represented by T3, and the fourth time of the heartbeat response message being transmitted to the intelligent fusion terminal can be represented by T4.
[0062] Step S12: Calculate each time deviation between the intelligent fusion terminal and the clock monitoring probe within the first preset time according to the first time, the second time, the third time, and the fourth time recorded each time.
[0063] For example: within the first preset time of 230s, the first record is T1 = 20, T2 = 30s, T3 = 35s, T4 = 155s, and the second record is T1 = 25s, T2 = 35s, T3 = 45s, T4 = 20s,
[0064] In an implementation manner, in the above step S12, calculating each time deviation between the intelligent fusion terminal and the clock monitoring probe within the first preset time according to the first time, the second time, the third time, and the fourth time recorded each time is executed through the following formula:
[0065]
[0066] Where Δt is each time deviation, T1 is the first time, T2 is the second time, T3 is the third time, and T4 is the fourth time.
[0067] Substitute the above first record: T1 = 20, T2 = 30s, T3 = 35s, T4 = 15s into the above formula (1) to get:
[0068]
[0069] Substitute the above second record: T1 = 25s, T2 = 35s, T3 = 45s, T4 = 20s into the above formula (1) to obtain:
[0070]
[0071] Step S13: Calculate the deviation mean value of the cumulative sum of each time deviation within the first preset time, and send the deviation mean value to the clock monitoring probe.
[0072] For example: The deviation mean value can be represented by Et.
[0073]
[0074] In the embodiment of the present invention, the clock monitoring module is mainly used to record T1, T2, T3, T4, calculate the time deviations Δt1, Δt2, Δt3, Δt4, etc. of T1, T2, T3, T4, calculate their average value to obtain Et, and send this value to the clock monitoring probe, so as to avoid misjudgment of various collected information by the management platform due to excessive time deviation, and thus facilitate accurate identification of the clock signal.
[0075] Embodiment 2
[0076] The embodiment of the present invention also provides an intelligent fusion terminal clock status monitoring method for use on a clock monitoring probe, as Figure 2 shown, including the following steps:
[0077] Step S21: Continuously send heartbeat response messages to the clock monitoring module within the first preset time, and load the third time when sending the heartbeat response message on the heartbeat response message.
[0078] Here, in order to cooperate with the clock monitoring module to complete the communication interaction work, it is also necessary to reply to the heartbeat request messages continuously sent by the clock monitoring module within the first preset time. That is, every time the clock monitoring module sends a heartbeat request message, the clock monitoring probe correspondingly replies with a heartbeat response message, and loads the third time T3 at the sending moment on the heartbeat response message.
[0079] Step S22: Continuously receive the deviation mean value of the cumulative sum of each time deviation within the first preset time sent by the clock monitoring module within the second preset time.
[0080] For example: The clock monitoring module calculates the deviation mean value Et based on the first preset time multiple times.
[0081] Step S23: Send the deviation mean values continuously received within the second preset time to the clock monitoring platform.
[0082] The second preset time can also be flexibly set according to the actual application scenario. The second preset time is the time for waiting to receive the deviation mean value obtained by cumulatively summing up the time deviations in each time within the first preset time by the clock monitoring module.
[0083] In the clock monitoring probe of the embodiment of the present invention, the IRIG-B format time code, NTP or 1588 protocol is mainly used to synchronize with the master station clock source, and high-precision timekeeping is maintained. As an intermediate medium for sending the deviation mean value obtained by cumulatively summing up the time deviations in each time within the first preset time to the clock monitoring platform, by sending the deviation mean value through the clock monitoring probe, the data transmission energy consumption of the clock monitoring module can be reduced, which is ultimately beneficial to assisting the clock monitoring platform to accurately identify the clock signal.
[0084] Embodiment 3
[0085] The embodiment of the present invention also provides an intelligent fusion terminal clock status monitoring method, which is used on the clock monitoring platform, as Figure 3 shown, and includes the following steps:
[0086] Step S31: Continuously receive the deviation mean value sent by the clock monitoring probe within the third preset time.
[0087] For example: E t1 、E t2 、E t3 、E t4 、E t5 ……E tn are respectively the deviation mean values continuously received by the clock monitoring probe. The third preset time is also flexibly set according to the actual application scenario. The third preset time is the time for waiting to receive the deviation mean values continuously sent by the clock monitoring probe.
[0088] Step S32: Continuously calculate the difference between the deviation mean values received in adjacent two times at preset intervals within the fourth preset time.
[0089] The fourth preset time is also flexibly set according to the actual application scenario. The fourth preset time is the time for waiting to calculate the deviation mean values continuously received by the clock monitoring probe.
[0090] For example: E t1 、E t2 、E t3 、E t4 、E t5 ……E tn is
[0091] S1 = E t2 - E t1 ,S2 = E t3 - E t2, S3 = E t4 -E t3 , S4 = E t5 -E t5 , ……S n = E tn -E t(n-1) .
[0092] Step S33: Determine whether the clock state of the monitoring system is abnormal according to the mean value of the adjacent two received deviations and their differences calculated continuously for multiple times.
[0093] In one embodiment, the above step S33, determining whether the clock state of the monitoring system is abnormal according to the mean value of the adjacent two received deviations and their differences calculated continuously for multiple times, is executed through the following formula:
[0094] Let E t1 , E t2 , E t3 , E t4 , E t5 ……E tn be the mean values of the deviations sent by the clock monitoring probe received continuously for multiple times respectively;
[0095] Let S1 = E t2 -E t1 , S2 = E t3 -E t2 , S3 = E t4 -E t3 , S4 = E t5 -E t5 , ……S n = E tn -E t(n-1) ;
[0096] If S n ≥……≥ S1 ≥ 0 is satisfied, the clock state of the monitoring system is abnormal, and a warning prompt is given.
[0097] This S n ≥……≥ S1 ≥ 0 indicates that the difference between the adjacent two received deviations is getting smaller and smaller until it approaches zero, meeting the requirement for correcting the clock deviation signal.
[0098] Step S34: If the clock state of the monitoring system is abnormal, give a warning prompt.
[0099] In one embodiment, the intelligent fusion terminal clock state monitoring method of the embodiment of the present invention further includes:
[0100] If the mean value of the deviations sent by the clock monitoring probe received each time within the third preset time is greater than or equal to the preset threshold, give a warning prompt.
[0101] For example, the preset threshold is represented by Et_limit, which is also set according to the actual situation, that is, the maximum value of the deviation allowed for the clock signal under normal circumstances.
[0102] For example, if the preset threshold Et_limit set by the clock monitoring platform satisfies Et≥Et_limit, the monitoring platform will issue a warning of a large clock deviation so that the operation and maintenance personnel can come for debugging in time to ensure the safe and stable operation of the monitoring system.
[0103] As Figure 4 shown, it is a schematic diagram of the interaction between the clock monitoring module 85, the clock monitoring probe 86, and the clock monitoring platform 87 in the embodiment of the present invention. Among them, the clock monitoring module 85 is deployed on the clock monitoring module 85.
[0104] In the intelligent fusion terminal clock status monitoring method in the embodiment of the present invention, based on the first time of continuously sending a heartbeat request message to the clock monitoring probe, the second time of receiving the heartbeat response message returned by the clock monitoring probe, the third time of the clock monitoring probe sending the heartbeat response message, and the fourth time of the heartbeat response message being transmitted to the intelligent fusion terminal within the first preset time by the clock monitoring module, the clock monitoring probe, and the clock monitoring platform, the deviation mean value of the cumulative sum of each time deviation within the first preset time is calculated, and the difference between the adjacent two received deviation mean values is continuously calculated multiple times to correct the deviation influence caused by the clock signal during transmission, so as to avoid misjudgment of various collected information by the clock monitoring platform, thereby improving the recognition performance of the time signal, and finally ensuring the stable operation of the monitored object.
[0105] Embodiment 4
[0106] An intelligent fusion terminal clock status monitoring device in the embodiment of the present invention is used for the clock monitoring module deployed on the intelligent fusion terminal. As Figure 5 shown, it includes the following modules:
[0107] A time determination module 51, configured to continuously record the first time of sending a heartbeat request message to the clock monitoring probe, the second time of receiving the heartbeat response message returned by the clock monitoring probe, the third time of the clock monitoring probe sending the heartbeat response message, and the fourth time of the heartbeat response message being transmitted to the intelligent fusion terminal within the first preset time;
[0108] A time deviation calculation module 52, configured to calculate the time deviation between the intelligent fusion terminal and the clock monitoring probe within the first preset time according to the first time, the second time, the third time, and the fourth time recorded each time;
[0109] A deviation mean value calculation module 53, configured to calculate the deviation mean value of the cumulative sum of each time deviation within the first preset time and send the deviation mean value to the clock monitoring probe.
[0110] The intelligent fusion terminal clock status monitoring device provided by the embodiment of the present invention further includes a time deviation calculation module 52, which calculates the time deviations between the intelligent fusion terminal and the clock monitoring probe within a first preset time according to the first time, the second time, the third time, and the fourth time recorded each time, and is executed through the following formula:
[0111]
[0112] where Δt is the time deviation each time, T1 is the first time, T2 is the second time, T3 is the third time, and T4 is the fourth time.
[0113] The embodiment of the present invention also provides an intelligent fusion terminal clock status monitoring device, which is used on a clock monitoring probe, as Figure 6 shown, and includes the following modules:
[0114] A message reply module 61, which is used to continuously send heartbeat response messages to the clock monitoring module multiple times within a first preset time, and load the third time when sending the heartbeat response message on the heartbeat response message;
[0115] A first deviation mean receiving module 62, which is used to continuously receive the deviation mean obtained by summing up the time deviations each time within a first preset time sent by the clock monitoring module multiple times within a second preset time;
[0116] A deviation mean sending module 63, which sends the deviation means continuously received multiple times within a second preset time to the clock monitoring platform.
[0117] The embodiment of the present invention also provides an intelligent fusion terminal clock status monitoring device, which is used on a clock monitoring platform, as Figure 7 shown, and includes the following modules:
[0118] A second deviation mean receiving module 71, which is used to continuously receive the deviation means sent by the clock monitoring probe multiple times within a third preset time;
[0119] A difference calculation module 72, which is used to continuously calculate the differences between the deviation means received twice adjacent to each other at a preset interval time multiple times within a fourth preset time;
[0120] A clock anomaly determination module 73, which is used to determine whether the clock status of the monitoring system is abnormal according to the deviation means received twice adjacent to each other and their differences calculated continuously multiple times;
[0121] A first warning prompt module 74, which is used to give a warning prompt if the clock status of the monitoring system is abnormal.
[0122] In an implementation manner, the intelligent fusion terminal clock status monitoring device in the embodiment of the present invention further includes:
[0123] The second early warning prompt module performs an early warning prompt if the average deviation received from the clock monitoring probe each time within the third preset time is greater than or equal to the preset threshold value.
[0124] In one implementation, in the intelligent fusion terminal clock status monitoring device in the embodiment of the present invention, the clock anomaly determination module 73 determines whether the clock status of the monitoring system is abnormal by continuously calculating the average deviation and its difference between two adjacent receptions for multiple times, and is executed through the following formula:
[0125] Let E t1 、E t2 、E t3 、E t4 、E t5 ……E tn be the average deviations of the clock monitoring probe received continuously for multiple times respectively;
[0126] Let S1 = E t2 - E t1 , S2 = E t3 - E t2 , S3 = E t4 - E t3 , S4 = E t5 - E t5 , …… S n = E tn - E t(n-1) ;
[0127] If S n ≥……≥ S1 ≥ 0, the clock status of the monitoring system is abnormal, and an early warning prompt is performed.
[0128] Embodiment 5
[0129] The embodiment of the present invention further provides a monitoring system. As Figure 8 shown, the computer device may include a processor 81, a memory 82, an intelligent fusion terminal 83, and a clock monitoring module 85, a clock monitoring probe 86, and a clock monitoring platform 87 deployed on the intelligent fusion terminal 84. Among them, the processor 81 and the memory 82 may be connected through a bus or other means. Figure 8 Taking the connection through the bus as an example.
[0130] The processor 81 may be a Central Processing Unit (CPU). The processor 81 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate Arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., or a combination of the above types of chips.
[0131] The memory 82, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer-executable programs, and modules. The processor 81 executes various functional applications and data processing of the processor by running the non-transitory software programs, instructions, and modules stored in the memory 82, that is, implements the intelligent fusion terminal clock status monitoring method in the above embodiments.
[0132] The memory 82 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system and application programs required for at least one function; the data storage area can store data created by the processor 81, etc. In addition, the memory 82 may include high-speed random access memory and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage devices. In some embodiments, the memory 82 may optionally include a memory remotely set relative to the processor 81, and these remote memories can be connected to the processor 81 through a network. Examples of the above networks include but are not limited to power grids, the Internet, enterprise intranets, local area networks, mobile communication networks, and combinations thereof.
[0133] One or more of the above modules are stored in the memory 82 and, when executed by the processor 81, implement the intelligent fusion terminal clock status monitoring method in the embodiments shown in the drawings.
[0134] Specific details of the above computer device can be understood by referring to the corresponding relevant descriptions and effects in the embodiments shown in the drawings, and will not be elaborated here.
[0135] Those skilled in the art can understand that to implement all or part of the processes in the above-described embodiment methods, it can be completed by instructing relevant hardware through a computer program. The program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the above-described method embodiments. Among them, the storage medium can be a magnetic disk, an optical disc, a read-only memory (ROM), a random access memory (RAM), a flash memory, a hard disk drive (HDD), or a solid-state drive (SSD), etc.; the storage medium can also include a combination of the above-mentioned types of memories.
[0136] Obviously, the above embodiments are merely examples given for clear illustration and are not limitations on the implementation manners. For those of ordinary skill in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation manners here. And the obvious changes or modifications derived therefrom are still within the protection scope of the present invention.
Claims
1. An intelligent fusion terminal clock status monitoring method, which is used for a clock monitoring module deployed on an intelligent fusion terminal, and is characterized in that, It includes the following steps: Continuously record the first time of sending a heartbeat request message to the clock monitoring probe, the second time of receiving the heartbeat response message returned by the clock monitoring probe, the third time of the clock monitoring probe sending the heartbeat response message, and the fourth time of the heartbeat response message being transmitted to the intelligent fusion terminal multiple times within the first preset time; Calculate the time deviation between the intelligent fusion terminal and the clock monitoring probe for each time within the first preset time according to the first time, the second time, the third time, and the fourth time recorded each time; Calculate the deviation mean of the cumulative sum of the time deviations for each time within the first preset time, and send the deviation mean to the clock monitoring probe; The clock monitoring probe performs the following steps: Continuously send heartbeat response messages to the clock monitoring module multiple times within the first preset time, and load the third time of sending the heartbeat response message on the heartbeat response message; Continuously receive the deviation mean of the cumulative sum of the time deviations for each time within the first preset time sent by the clock monitoring module multiple times within the second preset time; Send the deviation mean continuously received multiple times within the second preset time to the clock monitoring platform; The clock monitoring platform performs the following steps: Continuously receive the deviation mean sent by the clock monitoring probe multiple times within the third preset time; Calculate the difference between the deviation means received twice adjacent to each other multiple times at preset intervals within the fourth preset time; Determine whether the clock status of the monitoring system is abnormal according to the deviation means received twice adjacent to each other calculated continuously multiple times and their differences; If the clock status of the monitoring system is abnormal, give a warning prompt.
2. The intelligent fusion terminal clock status monitoring method according to claim 1, characterized in that, Calculate the time deviation between the intelligent fusion terminal and the clock monitoring probe for each time within the first preset time according to the first time, the second time, the third time, and the fourth time recorded each time, and execute through the following formula: Where, Δt is the time deviation for each time, T1 is the first time, T2 is the second time, T3 is the third time, and T4 is the fourth time.
3. The intelligent fusion terminal clock status monitoring method according to claim 1, characterized in that, It also includes: If the deviation mean sent by the clock monitoring probe received each time within the third preset time is greater than or equal to the preset threshold, give a warning prompt.
4. The intelligent fusion terminal clock status monitoring method according to claim 1, characterized in that, Determine whether the clock status of the monitoring system is abnormal according to the deviation means received twice adjacent to each other calculated continuously multiple times and their differences, and execute through the following formula: Assume E t1 、E t2 、E t3 、E t4 、E t5 ……E tn The deviation mean values sent by the clock monitoring probes are respectively received multiple times continuously; Let S1 = E t2 -E t1 , S2 = E t3 -E t2 , S3 = E t4 -E t3 , S4 = E t5 -E t5 , …… S n = E tn -E t(n-1) ; If S is satisfied n ≧... ≧ S1 ≧ 0, then the clock status of the monitoring system is abnormal and a warning prompt is given.
5. An intelligent fusion terminal clock status monitoring device, which is used for a clock monitoring module deployed on an intelligent fusion terminal, and is characterized in that, It includes the following modules: A time determination module, which is used to continuously record the first time of sending a heartbeat request message to the clock monitoring probe, the second time of receiving the heartbeat response message returned by the clock monitoring probe, the third time of the clock monitoring probe sending the heartbeat response message, and the fourth time of the heartbeat response message being transmitted to the intelligent fusion terminal multiple times within the first preset time; A time deviation calculation module, which is used to calculate the time deviation between the intelligent fusion terminal and the clock monitoring probe for each time within the first preset time according to the first time, the second time, the third time, and the fourth time recorded each time; The deviation mean calculation module is used to calculate the deviation mean of the cumulative sum of each time deviation within the first preset time, and send the deviation mean to the clock monitoring probe; The clock monitoring probe executes the following steps through the following modules: The message reply module is used to continuously send heartbeat response messages to the clock monitoring module multiple times within the first preset time, and load the third time when sending the heartbeat response message on the heartbeat response message; The first deviation mean receiving module is used to continuously receive the deviation mean of the cumulative sum of each time deviation within the first preset time sent by the clock monitoring module multiple times within the second preset time; The deviation mean sending module is used to send the deviation mean continuously received multiple times within the second preset time to the clock monitoring platform; The clock monitoring platform executes the following steps through the following modules: The second deviation mean receiving module is used to continuously receive the deviation mean sent by the clock monitoring probe multiple times within the third preset time; The difference calculation module is used to continuously calculate the difference between two adjacent received deviation means multiple times at a preset interval within the fourth preset time; The clock anomaly determination module is used to determine whether the clock state of the monitoring system is abnormal according to the continuous calculation of the deviation means and their differences between two adjacent received deviation means; The first warning prompt module is used to give a warning prompt if the clock state of the monitoring system is abnormal.
6. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions, and the computer instructions are used to cause the computer to execute the intelligent fusion terminal clock state monitoring method according to any one of claims 1-4.
7. A monitoring system, characterized in that, Including: An intelligent fusion terminal and a clock monitoring module, a clock monitoring probe, and a clock monitoring platform deployed on the intelligent fusion terminal, a memory and a processor. The intelligent fusion terminal and the clock monitoring module, the clock monitoring probe, the clock monitoring platform, the memory, and the processor deployed on the intelligent fusion terminal are communicatively connected to each other. The memory stores computer instructions, and the processor executes the intelligent fusion terminal clock state monitoring method according to any one of claims 1-4 by executing the computer instructions.
Citation Information
Patent Citations
Clock synchronization check method of substation automation system based on synchronous closed loop monitoring
CN107819537A