A distributed clock synchronization system and its control method
Through the distributed clock synchronization system, the distributed system is monitored and controlled in real time, and the signal matching method, the signal distribution method and signal matching monitoring method are used to solve the problem that the distributed system is difficult to operate simultaneously, and the unified processing and management of data by the data center is realized, and the stability and security of the system are improved.
Patent Information
- Application Number
- CN202411829840.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-12
- Publication Date
- 2025-05-27
- Estimated Expiration
- 2044-12-12
AI Technical Summary
Due to factors such as hardware differences and network delay, distributed systems are difficult to achieve synchronous operation, which affects the data center's operation and management of data uniformity.
A distributed clock synchronization system is adopted to ensure the synchronous operation of the system through real-time monitoring and control of the distributed system, and the signal matching method, signal dispersion method and signal matching monitoring method.
The synchronous operation of distributed systems is realized, ensuring the unified processing and management of data in the data center, and improving the stability and security of the system.
Smart Images

Figure CN119299039B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of control or regulation systems, and particularly relates to a distributed clock synchronization system and a control method thereof. Background Art
[0002] A distributed clock synchronization system is a system that controls scattered or distributed systems to operate uniformly or synchronously. Due to factors such as hardware differences and network delays in the scattered systems, the scattered systems cannot operate synchronously. For example, in a data center composed of multiple servers, these servers may be located in different places. If the multiple servers cannot operate synchronously, the data center cannot uniformly process the data in each system. In this way, the operation and management of data unity in the data center will be seriously affected.
[0003] In intelligent system management, systems located in different geographical locations or different places need to be uniformly managed to make each system operate synchronously. Using a distributed clock synchronization system helps to uniformly operate and manage each scattered system to make each system operate synchronously because the distributed clock synchronization system can monitor systems in different places. For example, when a system in a certain place or several places fails, the distributed clock synchronization system can control or monitor systems in different places within a short time. The distributed clock synchronization system can provide unified management for these scattered systems to ensure that the scattered or distributed systems can operate synchronously safely and stably. Summary of the Invention
[0004] The present invention provides a distributed clock synchronization system and a control method thereof, which are used to solve the technical problem of how to make distributed systems operate synchronously. The present invention uses the distributed clock synchronization system to monitor and control distributed systems in real time. As long as one or several systems in the distributed systems do not feedback signals or information to the distributed clock synchronization system, one or several systems in the distributed systems will stop operating. Until one or several systems in the distributed systems are replaced, then use the distributed clock synchronization system to monitor and control distributed systems in real time to achieve synchronous operation of distributed systems.
[0005] To achieve the above object, the present invention is realized through the following technical solutions:
[0006] A control method for distributed clock synchronization includes the following steps:
[0007] Step 1): Each distributed system feeds back information to the distributed clock synchronization system;
[0008] Step 2): The distributed clock synchronization system monitors and controls whether each of the distributed systems is operating normally;
[0009] Among them, the distributed clock synchronization system uses the signal matching method to monitor and control whether each of the distributed systems is operating normally;
[0010] Step 3): The distributed clock synchronization system uses the signal dispersion method to determine whether each of the distributed systems is operating normally; if each of the distributed systems is operating normally, the distributed clock synchronization system monitors and controls each of the distributed systems in real time; if one or several of the distributed systems are operating abnormally, the distributed clock synchronization system controls one or several of the distributed systems to stop operating;
[0011] Step 4): Replace one or more of the distributed systems that have stopped operating, and the distributed clock synchronization system then uses the signal matching monitoring method to monitor whether the replaced one or more of the distributed systems are operating normally;
[0012] Step 5): The distributed clock synchronization system controls each of the distributed systems again;
[0013] Step 6): After each of the distributed systems is operating normally, each of the distributed systems feeds back information to the distributed clock synchronization system.
[0014] Optionally, in step 1), each of the distributed systems simultaneously feeds back information to the distributed clock synchronization system to ensure that each of the distributed systems can be controlled by the distributed clock synchronization system in real time.
[0015] Optionally, in step 2), for the signal matching method, the following steps are adopted:
[0016] Step A): The distributed clock synchronization system simultaneously identifies the signals fed back by each of the distributed systems;
[0017] Step B): The distributed clock synchronization system classifies the signals fed back by each of the distributed systems according to the signals fed back by each of the distributed systems;
[0018] Step C): According to the classified signals fed back by each of the distributed systems, the corresponding each of the distributed systems is found.
[0019] Optionally, in step 2), for the signal matching method, it is the following formula (1):
[0020] (1);
[0021] Among them, is that the distributed clock synchronization system simultaneously identifies the signals fed back by each of the distributed systems, For the signal fed back by the th distributed system to the distributed clock synchronization system, the distributed system has ones;
[0022] Is a function for classifying the signals fed back by each distributed system to the distributed clock synchronization system; For the signal fed back by the th distributed system to the distributed clock synchronization system has been classified;
[0023] Is the th system in each distributed system, Represents the position of the th system, Is the signal fed back by the th classified distributed system, and correspondingly finds the th distributed system.
[0024] Optionally, in step 3), the signal dispersion method is as follows formula (2):
[0025] (2);
[0026] Wherein, Is the signal fed back by the th distributed system to the distributed clock synchronization system, the distributed system has ones, Is to monitor the th distributed system, and monitor whether the th distributed system feeds back a signal to the distributed clock synchronization system;
[0027] Is the operation corresponding to each distributed system in terms of dispersion, Is to monitor whether each distributed system feeds back a signal to the distributed clock synchronization system.
[0028] Optionally, in step 4), the signal matching monitoring method is as follows formula (3):
[0029] (3);
[0030] Wherein, Is the th distributed system, the distributed system has ones, Is from the th distributed system to the A set of systems, to search in a cyclic manner for to a certain system or several systems among, is a cyclic operation, and the cyclic manner is to or to ;
[0031] corresponds to the rd system in the distributed system to the th system in the set of systems from the th system in the distributed system, is to monitor whether the th system feeds back a signal to the distributed clock synchronization system.
[0032] Optionally, in step 5), the distributed clock synchronization system further controls each system in the distributed system simultaneously to determine whether all systems in the distributed system are operating normally.
[0033] Optionally, in step 6), each system in the distributed system further feeds back information to the distributed clock synchronization system simultaneously.
[0034] A distributed clock synchronization system, comprising: a distributed clock synchronization system and a plurality of distributed systems;
[0035] The distributed clock synchronization system is connected to the plurality of distributed systems, and monitors and controls each distributed system in real time through the distributed clock synchronization system.
[0036] Advantages of the present invention:
[0037] The present invention utilizes the distributed clock synchronization system to monitor and control each distributed system in real time. As long as there is one or several systems among the distributed systems that do not feed back signals or information to the distributed clock synchronization system, then one or several systems in the distributed system stop operating. Until one or several systems in the distributed system are replaced, then the distributed clock synchronization system is used to monitor and control each distributed system or all systems in real time to achieve synchronous operation of each distributed system. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the following drawings are only 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.
[0039] Figure 1 is the circuit structure diagram of the present invention;
[0040] Figure 2 is the working flow chart of the present invention. Specific embodiments
[0041] The embodiments of the present application will be described in detail below with reference to the accompanying drawings. Embodiment 1
[0042] As Figure 1 shown, this embodiment provides a distributed clock synchronization system, including: a distributed clock synchronization system and multiple distributed systems (the first system to the Nth system);
[0043] Among them, the distributed clock synchronization system is connected to the first system to the Nth system;
[0044] The distributed clock synchronization system monitors and controls each distributed system (the first system to the Nth system) in real time. Embodiment 2
[0045] As Figure 2 shown, a control method for distributed clock synchronization includes the following steps:
[0046] Step 1): Each distributed system feeds back information to the distributed clock synchronization system;
[0047] Step 2): The distributed clock synchronization system monitors and controls whether each distributed system is operating normally; among them, the distributed clock synchronization system uses the signal matching method to monitor and control whether each distributed system is operating normally;
[0048] Step 3): The distributed clock synchronization system uses the signal dispersion method to determine whether each distributed system is operating normally; if each distributed system is operating normally, the distributed clock synchronization system monitors and controls each distributed system in real time; if one or several of the distributed systems are operating abnormally, the distributed clock synchronization system controls one or several of the distributed systems to stop operating;
[0049] Step 4): Replace one or more of the distributed systems that have stopped operating, and the distributed clock synchronization system then uses the signal matching monitoring method to monitor whether the replaced one or more distributed systems are operating normally;
[0050] Step 5): The distributed clock synchronization system controls each distributed system again;
[0051] Step 6): After each system in the distributed system runs normally, each system in the distributed system feeds back information to the distributed clock synchronization system.
[0052] Specifically, in step 1), each system in the distributed system feeds back information to the distributed clock synchronization system simultaneously to ensure that each system in the distributed system can be controlled by the distributed clock synchronization system in real time.
[0053] In step 2), for the signal matching method, the following steps are adopted:
[0054] Step A): The distributed clock synchronization system simultaneously discriminates the signals fed back by each system in the distributed system;
[0055] Step B): The distributed clock synchronization system classifies the signals fed back by each system in the distributed system according to the signals fed back by each system in the distributed system;
[0056] Step C): According to the signals fed back by each system in the distributed system after classification, the corresponding each system in the distributed system is found.
[0057] In addition, in step 2), the signal matching method can also be the following formula (1):
[0058] (1);
[0059] Wherein, is that the distributed clock synchronization system simultaneously discriminates the signals fed back by each system in the distributed system, is the signal fed back by the th system in the distributed system to the distributed clock synchronization system. The distributed system has ones;
[0060] is a function for classifying the signals fed back by each system in the distributed system to the distributed clock synchronization system; is the signal fed back by the th system in the distributed system to the distributed clock synchronization system that has been classified;
[0061] is the th system in each system in the distributed system, represents the th system's position, is the signal fed back by the th system in the distributed system after classification. The corresponding th system in the distributed system is found.
[0062] In step 3), the signal dispersion method is adopted, which is the following formula (2):
[0063] (2);
[0064] Among them, is the signal fed back by the th distributed system to the distributed clock synchronization system. The distributed system has ones, is that the distributed clock synchronization system monitors the th distributed system to monitor whether the th distributed system feeds back a signal to the distributed clock synchronization system;
[0065] is the operation corresponding to each distributed system in a decentralized manner, that is, is the operation corresponding to each distributed system in a decentralized manner … , is that the distributed clock synchronization system monitors whether each distributed system feeds back a signal to the distributed clock synchronization system.
[0066] In step 4), the signal pairing monitoring method is as formula (3) below:
[0067] (3);
[0068] Among them, is the th distributed system. The distributed system has ones, is the set from the th distributed system to the th distributed system, is to find to a certain system or several systems in a cyclic manner, is the cyclic operation, and the cyclic manner is to or to ;
[0069] is the th system in the set from the th distributed system to the th distributed system, is to monitor whether the th system feeds back a signal to the distributed clock synchronization system.
[0070] In step 5), the distributed clock synchronization system further controls each distributed system simultaneously to determine whether all distributed systems are operating normally.
[0071] In step 6), each distributed system further feeds back information to the distributed clock synchronization system simultaneously. Embodiment 3
[0072] Based on Embodiment 2, in formula (1), the feedback signal of the first distributed system to the feedback signal of the th distributed system is fed back to the distributed clock synchronization system simultaneously. The distributed clock synchronization system internally sends simultaneous discrimination signals to simultaneously discriminate the signals simultaneously fed back by each distributed system, and also discriminates the positions of each distributed system. The positions of each system are thus determined. Through the function classifies the signals fed back by each distributed system to the distributed clock synchronization system. The signals fed back by each distributed system after classification, through … represent the positions of each system (because the positions of each distributed system have been discriminated), and thus each distributed system is correspondingly found. Embodiment 4
[0073] In formula (2), through corresponding dispersedly to each distributed system, through monitor each distributed system. If one or several distributed systems are operating abnormally (i.e., one or several distributed systems do not feed back signals to the distributed clock synchronization system), then the distributed clock synchronization system controls one or several distributed systems to stop operating. Embodiment 5
[0074] Based on all the above embodiments, the present invention utilizes the distributed clock synchronization system to monitor and control each distributed system in real time. As long as one or several systems in each distributed system do not feed back signals or information to the distributed clock synchronization system, then one or several distributed systems stop operating. Until one or several distributed systems are replaced, then the distributed clock synchronization system is used to monitor and control each distributed system or all systems in real time.
[0075] The present invention mainly realizes control by means of signal transmission between a distributed clock synchronization system and various distributed systems. As for the hardware operation within the distributed clock synchronization system and each of the distributed systems, it is driven by the software inside them. The internal circuit structures of the distributed clock synchronization system and each of the distributed systems will not be described in detail herein.
[0076] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art within the technical scope recorded in the present invention can easily think of changes or substitutions, which should all be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims described.
Claims
1. A distributed clock synchronization control method, characterized in that: The steps include: Step 1): Each distributed system feeds back information to the distributed clock synchronization system; Step 2): The distributed clock synchronization system monitors and controls whether each distributed system is operating normally; wherein the distributed clock synchronization system uses a signal matching method to monitor and control whether each distributed system is operating normally; In step 2), the signal matching method adopts the following steps: Step A): the distributed clock synchronization system simultaneously identifies the signals fed back by each of the distributed systems; Step B): the distributed clock synchronization system classifies the signals fed back by each distributed system according to the signals fed back by each distributed system; Step C): according to the signals fed back by the classified distributed systems, correspondingly finding the distributed systems; Or, in step 2), the signal matching method is the following formula (1): (1); in, To identify the signals fed back by each distributed system for the distributed clock synchronization system. For the distributed The signal fed back by a system to the distributed clock synchronization system. The distributed system has indivual; A function for classifying the signals fed back by each distributed system to the distributed clock synchronization system; For the distributed The signals fed back by each system to the distributed clock synchronization system are classified; For each distributed system systems, Representative The location of the system, The distributed The signal fed back by the system is correspondingly found a system; Step 3): The distributed clock synchronization system uses a signal dispersion method to determine whether each distributed system is operating normally; if each distributed system is operating normally, the distributed clock synchronization system monitors and controls each distributed system in real time; if one or several of the distributed systems are operating abnormally, the distributed clock synchronization system controls one or several of the distributed systems to stop operating; In the step 3), the signal dispersion method is adopted, which is the following formula (2): (2); in, For the distributed The signal fed back by a system to the distributed clock synchronization system. The distributed system has indivual, For the distributed The system is monitored to monitor the distributed Whether the system feeds back signals to the distributed clock synchronization system; To decentralize the operations of distributed systems, To monitor whether each distributed system feeds back signals to the distributed clock synchronization system; Step 4): Replace one or more distributed systems that have stopped running, and the distributed clock synchronization system uses a signal matching monitoring method to monitor whether the replaced distributed system or systems are running normally; In the step 4), the signal matching monitoring method is the following formula (3): (3); in, For the distributed A distributed system has indivual, For the distributed system to distributed A collection of systems, To find in a circular way arrive One or more systems in It is a cyclic operation, and the cyclic mode is arrive or arrive ; Corresponding to the distributed system to distributed The first in the system set systems, To monitor the Whether the system feeds back signals to the distributed clock synchronization system; Step 5): The distributed clock synchronization system controls each distributed system; Step 6): After each distributed system operates normally, each distributed system feeds back information to the distributed clock synchronization system.
2. A distributed clock synchronization control method according to claim 1, characterized in that: In the step 1), each of the distributed systems simultaneously feeds back information to the distributed clock synchronization system to ensure that each of the distributed systems can be controlled by the distributed clock synchronization system in real time.
3. A distributed clock synchronization control method according to claim 1, characterized in that: In step 5), the distributed clock synchronization system controls each of the distributed systems simultaneously to determine whether all of the distributed systems are operating normally.
4. A distributed clock synchronization control method according to claim 1, characterized in that: In step 6), each of the distributed systems simultaneously feeds back information to the distributed clock synchronization system.
5. A distributed clock synchronization system, used to execute a distributed clock synchronization control method according to any one of claims 1 to 4, characterized in that: include: Distributed clock synchronization systems and distributed multiple systems; The distributed clock synchronization system is connected to the multiple distributed systems, and each distributed system is monitored and controlled in real time through the distributed clock synchronization system.
Citation Information
Patent Citations
Resource monitoring system and method for distributed server of wind power plant and medium
CN114461494A
System and method for real-time monitoring of power system
US20130073108A1