CN102752065A - Time synchronization method and system - Google Patents
Time synchronization method and system Download PDFInfo
- Publication number
- CN102752065A CN102752065A CN2012102227843A CN201210222784A CN102752065A CN 102752065 A CN102752065 A CN 102752065A CN 2012102227843 A CN2012102227843 A CN 2012102227843A CN 201210222784 A CN201210222784 A CN 201210222784A CN 102752065 A CN102752065 A CN 102752065A
- Authority
- CN
- China
- Prior art keywords
- clock
- node
- synchronization
- sync signal
- signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0685—Clock or time synchronisation in a node; Intranode synchronisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40006—Architecture of a communication node
- H04L12/40013—Details regarding a bus controller
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/0008—Synchronisation information channels, e.g. clock distribution lines
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
- Electric Clocks (AREA)
Abstract
An embodiment of the invention discloses a time synchronization method, comprising the steps of: selecting a piece of clock bus equipment on a clock bus to serve as a clock source node, and other clock bus equipment on the clock bus to serve as to-be-synchronized nodes; generating a clock synchronization signal by the clock source node, wherein the clock synchronization signal comprises a clock signal and a synchronization signal; broadcasting the calendar time of the clock source node to the to-be-synchronized nodes at a first moment by the clock source node; recording the calendar time by the to-be-synchronized nodes; transmitting the clock synchronization signal to the to-be-synchronized nodes through the clock bus at a second moment by the clock source node; decoding the clock synchronization signal by the to-be-synchronized nodes so as to obtain the clock signal and the synchronization signal; and when the to-be-synchronized nodes obtain the synchronization signal, adding a first predetermined time interval to the calendar time of the clock source node so as to obtain the calendar time of the to-be-synchronized nodes by the to-be-synchronized nodes. By the method and the system disclosed by the embodiment of the invention, time between time bus equipment can be precisely synchronized.
Description
Technical field
The present invention relates to baseboard management controller systems technology field, particularly relate to a kind of method for synchronizing time and system.
Background technology
In fault-tolerant computer, baseboard management controller (Baseboard Management Controller, BMC) one very important function be exactly event log recorder (System Event Log, SEL) function.BMC through and main frame between system interface, local interfaces such as sensor bus obtain variety of event and warning on the mainboard, and stamp timestamp for each incident according to the local time of BMC, and the generation event log.(Intelligent Platform Management Interface, IPMI) standard, the precision of the timestamp of event log are a second level according to existing intelligent platform management interface.
In the application of fault-tolerant computer, generally all allow a plurality of nodes to form a hardware partition, the CPU in the hardware partition connects through interconnection.BMC is responsible for giving on the SEL record with this node more higher leveled device management module, and (Device Management Software, DMS), DMS analyzes, handles by all kinds of SEL that send on the BMC, and generates all kinds of troubleshooting strategies in view of the above.
Because the hardware of each node in same hard partitioning has correlation, when a certain fault took place, the BMC of each node possibly report many logouts in a short period of time.For fault processing module can correctly be diagnosed and handling failure, therefore require DMS correctly to distinguish the sequencing that each incident takes place.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of method for synchronizing time and system, realize the precise synchronization of the time between the Time BUS equipment.
The present invention provides a kind of method for synchronizing time, comprising:
A clock bus equipment is the clock source node on the selection clock bus, and other clock bus equipment on the said clock bus are for treating synchronization node;
Said clock source node is constantly broadcasted the calendar time of said clock source node to the said synchronization node of treating first;
The said synchronization node of treating writes down the calendar time of said clock source node;
Said clock source node constantly is transferred to the said synchronization node of treating with clock sync signal through said clock bus second; Said second moment and said first time at intervals, first predetermined time interval; Said clock sync signal comprises clock signal and synchronizing signal for the clock source node produces;
The said synchronization node said clock sync signal of decoding of treating obtains said clock signal and said synchronizing signal;
The said synchronization node of treating adds behind the above first predetermined time interval the calendar time of the said clock source node of record as the said calendar time of treating synchronization node when obtaining said synchronizing signal.
The present invention also provides a kind of clock synchronization system, and said system comprises:
The unit is chosen in the clock source, is used for confirming that this clock synchronization system is the clock source node or treats synchronization node;
The clock sync signal generation unit is used for when said clock source is chosen the unit and confirmed that this clock synchronization system is the clock source node, producing clock sync signal, and said clock sync signal comprises clock signal and synchronizing signal;
Transmitting element is used for when said clock source is chosen the unit and confirmed that this clock synchronization system is the clock source node, and the said clock sync signal that said clock sync signal generation unit is produced is transferred to through said clock bus treats synchronization node;
Receiving element is used for choosing the unit when said clock source and confirms that this clock synchronization system is when treating synchronization node, and the receive clock source node is through the clock sync signal of said clock bus transmission;
The clock sync signal decoding unit is used for choosing the unit when said clock source and confirms that this clock synchronization system is when treating synchronization node, and the said clock sync signal that the said receiving element of decoding receives obtains clock signal and synchronizing signal;
Unify the calendar time unit, be used for the calendar time of each clock bus equipment on the unified clock bus;
Said unified calendar time unit further comprises:
Clock source node radio unit is used for when said clock source is chosen the unit and confirmed that this clock synchronization system is said clock source node, first constantly to the said synchronization node broadcasting calendar time of treating;
Record cell is used for choosing the unit when said clock source and confirms that this clock synchronization system is said when treating synchronization node, writes down the calendar time of the said clock source node of said clock source node broadcasting;
The delivery time control unit; Be used for when said clock source is chosen the unit and confirmed that this clock synchronization system is said clock source node, be controlled at the second said clock sync signal that constantly said clock sync signal generation unit produced and be transferred to the said synchronization node of treating through said clock bus; In said second moment and said first time at intervals, first predetermined time interval, said clock sync signal comprises clock signal and synchronizing signal;
Arithmetic element; Be used for choosing the unit and confirm that this clock synchronization system is said when treating that synchronization node and said clock sync signal decoding unit obtain said synchronizing signal, the said calendar time of said recording unit records is added behind first predetermined time interval as the said calendar time of treating synchronization node when said clock source.
According to specific embodiment provided by the invention, the invention discloses following technique effect:
The said method for synchronizing time of the embodiment of the invention, a Time BUS equipment is responsible for producing clock sync signal for the clock source node on the selection clock bus; Said clock source node is broadcasted calendar time constantly first; Treat that synchronization node writes down said calendar time; Said clock source node constantly sends said clock sync signal to the said synchronization node of treating second; The said synchronization node said clock sync signal of decoding of treating obtains said synchronizing signal; Said when treating that synchronization node obtains said synchronizing signal, with the said calendar time of record add second constantly and behind first first predetermined time interval between constantly as the said calendar time of treating synchronization node.Because the existence of synchronizing signal; Can be so that said treating be treated the clock signal of synchronization node as this after synchronization node adds first predetermined time interval with the calendar time that receives; Thereby realize the precise synchronization of time between each Time BUS equipment on the same Time BUS; For Premium Features such as failure diagnosis provide support, improve system availability.
Description of drawings
Fig. 1 is the method for synchronizing time flow chart of the embodiment of the invention one;
Fig. 2 is the said method for synchronizing time application hardware of an embodiment of the invention sketch map;
Fig. 3 is the method for synchronizing time sequential chart of the embodiment of the invention two;
Fig. 4 is the clock synchronization system structure chart of the embodiment of the invention.
Embodiment
For make above-mentioned purpose of the present invention, feature and advantage can be more obviously understandable, below in conjunction with accompanying drawing and embodiment the present invention done further detailed explanation.
In view of this, the object of the present invention is to provide a kind of method for synchronizing time and system, realize the precise synchronization of time between the Time BUS equipment.
Referring to Fig. 1 and Fig. 2, Fig. 1 is the method for synchronizing time flow chart of the embodiment of the invention one; Fig. 2 is the application hardware sketch map when clock bus equipment is specially baseboard management controller in the said method of the embodiment of the invention.
The said method for synchronizing time of first embodiment of the invention comprises:
A clock bus equipment is the clock source node on S100, the selection clock bus, and other clock bus equipment on the said clock bus are for treating synchronization node;
S200, said clock source node produce clock sync signal, and said clock sync signal comprises clock signal and synchronizing signal;
Said clock sync signal can be that said clock signal and synchronizing signal are obtained through Manchester's code.
CPLD in the said clock source node (Complex Programmable Logic Device; CPLD) device is responsible for clocking (specifically can be 32768Hz); And synchronizing signal also claims a second synchronizing signal (specifically can be 1Hz), and these two signals specifically can be admixed together through Manchester's code.
S300, said clock source node are constantly broadcasted the calendar time of said clock source node to the said synchronization node of treating first.
Said clock source node specifically can be broadcasted the calendar time of said clock source node to the said synchronization node of treating the whole second zero hour.
S400, the said synchronization node of treating write down the calendar time of said clock source node.
S500, said clock source node constantly are transferred to the said synchronization node of treating with said clock sync signal through said clock bus second; Said second moment and said first time at intervals, first predetermined time interval; Said clock sync signal comprises clock signal and synchronizing signal for the clock source node produces.
First predetermined time interval can be one second, two seconds etc.; Specifically can set as required; Certainly, first predetermined time interval of the setting calendar time that should be greater than said clock source node is delivered to the duration of treating that synchronization node is required from the clock source node.
Said clock source node through said clock bus, specifically can adopt the RS-485 differential signal transmission to the said synchronization node of treating said clock sync signal.
Owing to adopt RS-485 differential signal transmission real-time clock, therefore can support long distance to stride the BMC time synchronized of rack room.
Particularly, the CPLD of said clock source node specifically can be the manchester clock signal with clock sync signal, sends to the RS-485 interface chip, said clock sync signal through the RS-485 bus transfer on the time bus other each treat synchronization node.
S600, the said synchronization node said clock sync signal of decoding of treating obtain said clock signal and said synchronizing signal;
S700, the said synchronization node of treating add behind the above first predetermined time interval the calendar time of the said clock source node of record as the said calendar time of treating synchronization node when obtaining said synchronizing signal.
Said treat that synchronization node receives the said clock sync signal of Manchester's code after; The CPLD that this clock sync signal is transferred to this clock bus equipment decodes; CPLD obtains said clock signal and said synchronizing signal, and said clock signal and said synchronizing signal can be described 32768Hz clock signal of preamble and 1Hz signal.
Wherein said clock signal is used for the unified clock frequency as the real-time clock signal of treating synchronization node; Said synchronizing signal is used to the synchronous of the time of realizing simultaneously as the external interrupt triggering signal of BMC.
The said method for synchronizing time of the embodiment of the invention, a Time BUS equipment is responsible for producing clock sync signal for the clock source node on the selection clock bus; Said clock source node broadcasting calendar time; Treat that synchronization node writes down said calendar time; Said clock source node sends said clock sync signal to the said synchronization node of treating at interval in the very first time; The said synchronization node said clock sync signal of decoding of treating obtains said synchronizing signal; The said synchronization node of treating adds behind the above first predetermined time interval the calendar time of the said clock source node of record as the said calendar time of treating synchronization node when obtaining said synchronizing signal.Because the existence of synchronizing signal; Can be so that said treating be treated the clock signal of synchronization node as this after synchronization node adds the above first predetermined time interval with the calendar time that receives; Thereby realize the precise synchronization of time between each Time BUS equipment on the same Time BUS; For Premium Features such as failure diagnosis provide support, improve system availability.
The said method of the embodiment of the invention further can also comprise:
The said synchronization node of treating is with the clock signal of said clock signal as self.
The clock source node can be through clock bus to treating that synchronization node sends said clock sync signal constantly; Comprise clock signal and synchronizing signal in the clock sync signal; And treat the real-time clock synchronizing signal of synchronization node receive clock source node; Obtain clock signal wherein, be used for the unified clock frequency as self clock signal.Thereby realized with the calendar time of clock source node synchronously after, accomplish that further clock signal is also in full accord with the clock signal frequency of clock source node.
The said method of the embodiment of the invention further can realize the fault redundance in synchronised clock source, when break down in the clock source, can elect a clock node as new clock source node, thereby guarantees system reliability.
A clock bus equipment is the clock source node on the said selection clock bus, and other clock bus equipment on the said clock bus specifically can may further comprise the steps for treating synchronization node:
When the clock bus device power on the said clock bus or the above clock sync signal of said clock bus are lost; Whether each the clock bus Equipment Inspection on the said clock bus receives the said clock sync signal that transmits on the said clock bus; Wherein said each clock bus equipment is since 1 serial number, and the numbering of said each clock bus equipment is different;
In N the time interval, do not receive said clock sync signal if be numbered the clock bus equipment of N in said each clock bus equipment, then to be provided with oneself be said clock source node to the clock bus equipment of the said N of being numbered;
In N the time interval, receive said clock sync signal if be numbered the clock bus equipment of N in said each clock bus equipment, then to be provided with oneself be the said synchronization node of treating to the clock bus equipment of the said N of being numbered.
Said treat that synchronization node finds that the bus clock synchronizing signal is lost after; Can notify Time BUS; The Time BUS notice is as the clock bus device shutdown of said clock source node; Also can announcement apparatus administration module DMS, said device management module DMS can pass through the business datum passage, and notice is as the clock bus device shutdown of said clock source node.Then, the other times node except that this clock source node on the said clock bus, promptly all are as treating that the clock bus equipment of synchronization node can elect a clock bus equipment as new clock source node.
Referring to Fig. 3, this figure is the method for synchronizing time sequential chart of the embodiment of the invention.
The method for synchronizing time of the embodiment of the invention produces clock sync signal at said clock source node, after said clock sync signal comprises the step of clock signal and synchronizing signal, further can may further comprise the steps:
Said clock source node was broadcasted the calendar time of said clock source node the whole second zero hour to the said synchronization node of treating.
Said clock source node be not through Time BUS to treating that synchronization node sends calendar time, but send through the mode of broadcasting, said clock source node specifically was to treating synchronization node broadcasting calendar time through business network the whole second zero hour.
Said calendar time is accurate to the time of millisecond, for example: 2012/2/13 09:22:10:300.
Because the precision of calendar time is very high, for high-precision daily record time synchronized is provided precondition is provided.
The said synchronization node of treating writes down said calendar time.
Said clock source node constantly was transferred to the said synchronization node of treating with said clock sync signal through said clock bus in whole second at next;
The said synchronization node said clock sync signal of decoding of treating obtains said clock signal and said synchronizing signal;
The said synchronization node of treating obtains said synchronizing signal promptly during second synchronizing signal, and the said said calendar time of treating that synchronization node will receive added after one second treats that as said the calendar time of synchronization node is the CLK time.
Therefore the embodiment of the invention can guarantee that each clock signal of treating synchronization node and clock source node is a synchronization, and be accurate to Millisecond owing to unified the calendar time of all Time BUS equipment of said clock bus.
Clock bus equipment in the said method for synchronizing time of the embodiment of the invention specifically can be baseboard management controller.
Referring to Fig. 4, this figure is the clock synchronization system structure chart of the embodiment of the invention.
The clock synchronization system of the embodiment of the invention comprises: unit 11, clock sync signal coding unit 12, transmitting element 13, receiving element 15 and clock sync signal decoding unit 14 are chosen in the clock source, and unified calendar time unit.
Unit 11 is chosen in the clock source, is used for confirming that this clock synchronization system is the clock source node or treats synchronization node.
Said clock source is chosen unit 11 and specifically can be comprised:
Detecting unit is used for powering on or the above clock sync signal of said clock bus when losing when this clock synchronization system, detects and whether receives the said clock sync signal that transmits on the said clock bus;
Confirm the unit, be used for testing result,, oneself then is set is said clock source node if in N the time interval, do not receive said clock sync signal according to detecting unit; If in N time slot, receive said clock sync signal; Oneself then is set is the said synchronization node of treating; Said N is the numbering of clock bus equipment, and wherein said each clock bus equipment is since 1 serial number, and the numbering of said each clock bus equipment is different.
Clock sync signal generation unit 12 is used for when said clock source is chosen the unit and confirmed that this clock synchronization system is the clock source node, producing clock sync signal, and said clock sync signal comprises clock signal and synchronizing signal.
Clock sync signal generation unit 12 specifically is that said clock signal and synchronizing signal are obtained said clock sync signal through Manchester's code.
Transmitting element 13 is used for when said clock source is chosen the unit and confirmed that this clock synchronization system is the clock source node, and the said clock sync signal that said clock sync signal generation unit is produced is transferred to through said clock bus treats synchronization node;
Receiving element 15 is used for choosing the unit when said clock source and confirms that this clock synchronization system is when treating synchronization node, receives the clock sync signal of transmitting element 13 transmission.
Clock sync signal decoding unit 14 is used for choosing the unit when said clock source and confirms that this clock synchronization system is when treating synchronization node, and the said clock sync signal that the said receiving element 15 of decoding receives obtains clock signal and synchronizing signal.
Unify the calendar time unit, be used for the calendar time of each clock bus equipment on the unified clock bus.
Said unified calendar time unit specifically comprises:
Clock source node radio unit is used for when said clock source is chosen the unit and confirmed that this clock synchronization system is said clock source node, first constantly to the said synchronization node broadcasting calendar time of treating;
Record cell is used for choosing the unit when said clock source and confirms that this clock synchronization system is said when treating synchronization node, writes down the calendar time of the said clock source node of said clock source node broadcasting;
The delivery time control unit; Be used for when said clock source is chosen the unit and confirmed that this clock synchronization system is said clock source node, be controlled at the second said clock sync signal that constantly said clock sync signal generation unit produced and be transferred to the said synchronization node of treating through said clock bus; In said second moment and said first time at intervals, first predetermined time interval, said clock sync signal comprises clock signal and synchronizing signal;
Arithmetic element; Be used for choosing the unit and confirm that this clock synchronization system is said when treating that the said clock sync signal decoding unit of synchronization node obtains said synchronizing signal, treat that as said the calendar time of synchronization node is the CLK time after said calendar time is added first predetermined time interval when said clock source.
The said clock synchronization system of the embodiment of the invention can further include:
First notification unit is used for choosing the unit when said clock source and confirms that this clock synchronization system is when treating synchronization node, confirm that said clock sync signal is lost after, the announcement apparatus administration module is closed said clock source node.
When said clock source node was closed, unit 11 was chosen in said clock source, and the conduct from said clock bus is said treats that Time BUS equipment of election is as new clock source node the Time BUS equipment of synchronization node.
Method for synchronizing time that this provided and system, except can be used between the fault-tolerant computer BMC real-time clock synchronously, can be used for the clock synchronization of other each nodes of embedded system too.Especially for those equipment that connects through low speed bus such as I2C, serial ports, owing to use the software clock synchronous protocol can bring bigger accuracy error, this programme can provide a kind of perfect clock synchronization scheme in this type application scenario.
More than to method for synchronizing time provided by the present invention and system; Carried out detailed introduction; Used concrete example among this paper principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand the inventive method and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, part all can change on embodiment and range of application.In sum, this description should not be construed as limitation of the present invention.
Claims (12)
1. a method for synchronizing time is characterized in that, said method comprises:
A clock bus equipment is the clock source node on the selection clock bus, and other clock bus equipment on the said clock bus are for treating synchronization node;
Said clock source node is constantly broadcasted the calendar time of said clock source node to the said synchronization node of treating first;
The said synchronization node of treating writes down the calendar time of said clock source node;
Said clock source node constantly is transferred to the said synchronization node of treating with clock sync signal through said clock bus second; Said second moment and said first time at intervals, first predetermined time interval; Said clock sync signal comprises clock signal and synchronizing signal for the clock source node produces;
The said synchronization node said clock sync signal of decoding of treating obtains said clock signal and said synchronizing signal;
The said synchronization node of treating adds behind the above first predetermined time interval the calendar time of the said clock source node of record as the said calendar time of treating synchronization node when obtaining said synchronizing signal.
2. method for synchronizing time according to claim 1 is characterized in that, said method also comprises:
The said synchronization node of treating is with the clock signal of said clock signal as self.
3. method for synchronizing time according to claim 2; It is characterized in that; Said clock source node is transferred to the said synchronization node of treating with said clock sync signal through said clock bus, is specially: said clock source node adopts the RS-485 differential signal transmission to the said synchronization node of treating through said clock bus said clock sync signal.
4. according to each described method for synchronizing time of claim 1 to 3, it is characterized in that said clock sync signal is that said clock signal and said synchronizing signal are obtained through Manchester's code.
5. according to each described method for synchronizing time of claim 1 to 3; It is characterized in that; A clock bus equipment is the clock source node on the said selection clock bus, and other clock bus equipment on the said clock bus may further comprise the steps for treating synchronization node:
When the clock bus device power on the said clock bus or the above clock sync signal of said clock bus are lost; Whether each the clock bus Equipment Inspection on the said clock bus receives the said clock sync signal that transmits on the said clock bus; Wherein said each clock bus equipment is since 1 serial number, and the numbering of said each clock bus equipment is different;
In N the time interval, do not receive said clock sync signal if be numbered the clock bus equipment of N in said each clock bus equipment, then to be provided with oneself be said clock source node to the clock bus equipment of the said N of being numbered;
In N time slot, receive said clock sync signal if be numbered the clock bus equipment of N in said each clock bus equipment, then to be provided with oneself be the said synchronization node of treating to the clock bus equipment of the said N of being numbered.
6. according to each described method for synchronizing time of claim 1 to 3, it is characterized in that said method further comprises:
Said treat that synchronization node confirms that said clock sync signal is lost after, the announcement apparatus administration module;
Said device management module notifies said clock source node to close.
7. according to each described clock synchronization system of claim 1 to 3, it is characterized in that said clock bus equipment is specially baseboard management controller.
8. a clock synchronization system is characterized in that, said system comprises:
The unit is chosen in the clock source, is used for confirming that this clock synchronization system is the clock source node or treats synchronization node;
The clock sync signal generation unit is used for when said clock source is chosen the unit and confirmed that this clock synchronization system is the clock source node, producing clock sync signal, and said clock sync signal comprises clock signal and synchronizing signal;
Transmitting element is used for when said clock source is chosen the unit and confirmed that this clock synchronization system is the clock source node, and the said clock sync signal that said clock sync signal generation unit is produced is transferred to through said clock bus treats synchronization node;
Receiving element is used for choosing the unit when said clock source and confirms that this clock synchronization system is when treating synchronization node, and the receive clock source node is through the clock sync signal of said clock bus transmission;
The clock sync signal decoding unit is used for choosing the unit when said clock source and confirms that this clock synchronization system is when treating synchronization node, and the said clock sync signal that the said receiving element of decoding receives obtains clock signal and synchronizing signal;
Unify the calendar time unit, be used for the calendar time of each clock bus equipment on the unified clock bus;
Said unified calendar time unit further comprises:
Clock source node radio unit is used for when said clock source is chosen the unit and confirmed that this clock synchronization system is said clock source node, first constantly to the said synchronization node broadcasting calendar time of treating;
Record cell is used for choosing the unit when said clock source and confirms that this clock synchronization system is said when treating synchronization node, writes down the calendar time of the said clock source node of said clock source node broadcasting;
The delivery time control unit; Be used for when said clock source is chosen the unit and confirmed that this clock synchronization system is said clock source node, be controlled at the second said clock sync signal that constantly said clock sync signal generation unit produced and be transferred to the said synchronization node of treating through said clock bus; In said second moment and said first time at intervals, first predetermined time interval, said clock sync signal comprises clock signal and synchronizing signal;
Arithmetic element; Be used for choosing the unit and confirm that this clock synchronization system is said when treating that synchronization node and said clock sync signal decoding unit obtain said synchronizing signal, the said calendar time of said recording unit records is added behind first predetermined time interval as the said calendar time of treating synchronization node when said clock source.
9. clock synchronization system according to claim 8 is characterized in that, said clock sync signal coding unit is that said clock signal and synchronizing signal are obtained said first clock sync signal through Manchester's code.
10. according to Claim 8 or 9 described clock synchronization systems, it is characterized in that said clock source is chosen the unit and comprised:
Detecting unit is used for powering on or the above clock sync signal of said clock bus when losing when this clock synchronization system, detects and whether receives the said clock sync signal that transmits on the said clock bus;
Confirm the unit, be used for testing result, if in N the time interval, do not receive said clock sync signal according to detecting unit; Oneself then is set is said clock source node; If in N time slot, receive said clock sync signal, oneself then is set is the said synchronization node of treating, said N is the numbering of clock bus equipment; Wherein said each clock bus equipment is since 1 serial number, and the numbering of said each clock bus equipment is different.
11. according to Claim 8 or 9 described clock synchronization systems, it is characterized in that said system further comprises:
First notification unit is used for choosing the unit when said clock source and confirms that this clock synchronization system is when treating synchronization node, confirm that said clock sync signal is lost after, the announcement apparatus administration module is closed said clock source node.
12. according to Claim 8 or 9 described clock synchronization systems, it is characterized in that said system is specially baseboard management controller.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210222784.3A CN102752065B (en) | 2012-06-29 | 2012-06-29 | A kind of method for synchronizing time and system |
PCT/CN2013/070459 WO2014000434A1 (en) | 2012-06-29 | 2013-01-15 | Method and system for time synchronization |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210222784.3A CN102752065B (en) | 2012-06-29 | 2012-06-29 | A kind of method for synchronizing time and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102752065A true CN102752065A (en) | 2012-10-24 |
CN102752065B CN102752065B (en) | 2015-09-09 |
Family
ID=47031987
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210222784.3A Expired - Fee Related CN102752065B (en) | 2012-06-29 | 2012-06-29 | A kind of method for synchronizing time and system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102752065B (en) |
WO (1) | WO2014000434A1 (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014000434A1 (en) * | 2012-06-29 | 2014-01-03 | 华为技术有限公司 | Method and system for time synchronization |
CN104597878A (en) * | 2014-12-31 | 2015-05-06 | 重庆川仪自动化股份有限公司 | Controller time synchronizing method of industrial control system |
CN104978301A (en) * | 2014-04-09 | 2015-10-14 | Nxp股份有限公司 | Two-line differential bus receiving and sending system based on I2C bus protocol and I2C double-line differential communication method |
CN104978291A (en) * | 2014-04-09 | 2015-10-14 | Nxp股份有限公司 | Single line interface bus receiving and dispatching system based on I2C (Inter-Integrated Circuit) bus protocol, and I2C bus communication method |
CN107295624A (en) * | 2016-03-30 | 2017-10-24 | 日本电气株式会社 | Node synchronization method and the node using this method |
CN108599916A (en) * | 2018-05-10 | 2018-09-28 | 烽火通信科技股份有限公司 | A kind of cluster internal clock wiring system and clock synchronizing method |
CN111831054A (en) * | 2019-04-19 | 2020-10-27 | 北京猎户星空科技有限公司 | Asynchronous system clock synchronization method, device, system and storage medium |
CN112821976A (en) * | 2020-12-31 | 2021-05-18 | 锐捷网络股份有限公司 | Method and device for maintaining local clock synchronization |
CN113726466A (en) * | 2021-07-21 | 2021-11-30 | 歌尔股份有限公司 | Wearable device and signal acquisition method thereof |
CN116300381A (en) * | 2022-12-30 | 2023-06-23 | 惠州市德赛西威汽车电子股份有限公司 | High-precision time service implementation method, system and storage medium for automobile cabin system |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9075773B1 (en) | 2014-05-07 | 2015-07-07 | Igneous Systems, Inc. | Prioritized repair of data storage failures |
US9276900B1 (en) | 2015-03-19 | 2016-03-01 | Igneous Systems, Inc. | Network bootstrapping for a distributed storage system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1337138A (en) * | 1999-01-19 | 2002-02-20 | 西门子公司 | Method for the time synchronisation of a computer network and computer network with time synchronisation |
CN1584757A (en) * | 2004-05-21 | 2005-02-23 | 杨桂臣 | Self-calibrating synchronous timing timer |
US7197657B1 (en) * | 2003-04-03 | 2007-03-27 | Advanced Micro Devices, Inc. | BMC-hosted real-time clock and non-volatile RAM replacement |
CN1937484A (en) * | 2006-09-21 | 2007-03-28 | 华为技术有限公司 | Method and system for realizing multi-clock synchronization |
CN1949723A (en) * | 2006-11-06 | 2007-04-18 | 华为技术有限公司 | Method and system for remote-maintaining JTAG device in ATCA |
CN101394264A (en) * | 2007-09-21 | 2009-03-25 | 华为技术有限公司 | Monitoring method and device for periodically packet transmission |
CN102291232A (en) * | 2011-09-01 | 2011-12-21 | 中兴通讯股份有限公司 | Clock synchronization method and device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6359945B1 (en) * | 1999-01-25 | 2002-03-19 | Sun Microsystems, Inc. | Phase locked loop and method that provide fail-over redundant clocking |
CN102752065B (en) * | 2012-06-29 | 2015-09-09 | 华为技术有限公司 | A kind of method for synchronizing time and system |
-
2012
- 2012-06-29 CN CN201210222784.3A patent/CN102752065B/en not_active Expired - Fee Related
-
2013
- 2013-01-15 WO PCT/CN2013/070459 patent/WO2014000434A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1337138A (en) * | 1999-01-19 | 2002-02-20 | 西门子公司 | Method for the time synchronisation of a computer network and computer network with time synchronisation |
US7197657B1 (en) * | 2003-04-03 | 2007-03-27 | Advanced Micro Devices, Inc. | BMC-hosted real-time clock and non-volatile RAM replacement |
CN1584757A (en) * | 2004-05-21 | 2005-02-23 | 杨桂臣 | Self-calibrating synchronous timing timer |
CN1937484A (en) * | 2006-09-21 | 2007-03-28 | 华为技术有限公司 | Method and system for realizing multi-clock synchronization |
CN1949723A (en) * | 2006-11-06 | 2007-04-18 | 华为技术有限公司 | Method and system for remote-maintaining JTAG device in ATCA |
CN101394264A (en) * | 2007-09-21 | 2009-03-25 | 华为技术有限公司 | Monitoring method and device for periodically packet transmission |
CN102291232A (en) * | 2011-09-01 | 2011-12-21 | 中兴通讯股份有限公司 | Clock synchronization method and device |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014000434A1 (en) * | 2012-06-29 | 2014-01-03 | 华为技术有限公司 | Method and system for time synchronization |
US10216690B2 (en) | 2014-04-09 | 2019-02-26 | Nxp B.V. | Single-wire interface bus transceiver system based on I2C-bus, and associated method for communication of single-wire interface bus |
CN104978291B (en) * | 2014-04-09 | 2019-10-22 | Nxp股份有限公司 | One-wire interface Bus Transmit-receive System system and I2C single-wire communication method based on I2C bus protocol |
CN104978291A (en) * | 2014-04-09 | 2015-10-14 | Nxp股份有限公司 | Single line interface bus receiving and dispatching system based on I2C (Inter-Integrated Circuit) bus protocol, and I2C bus communication method |
CN104978301A (en) * | 2014-04-09 | 2015-10-14 | Nxp股份有限公司 | Two-line differential bus receiving and sending system based on I2C bus protocol and I2C double-line differential communication method |
CN104978301B (en) * | 2014-04-09 | 2019-08-13 | Nxp股份有限公司 | Two-wire differential bus receive-transmit system and I2C two-wire differential communication method based on I2C bus protocol |
CN104597878A (en) * | 2014-12-31 | 2015-05-06 | 重庆川仪自动化股份有限公司 | Controller time synchronizing method of industrial control system |
CN107295624A (en) * | 2016-03-30 | 2017-10-24 | 日本电气株式会社 | Node synchronization method and the node using this method |
CN108599916A (en) * | 2018-05-10 | 2018-09-28 | 烽火通信科技股份有限公司 | A kind of cluster internal clock wiring system and clock synchronizing method |
CN111831054A (en) * | 2019-04-19 | 2020-10-27 | 北京猎户星空科技有限公司 | Asynchronous system clock synchronization method, device, system and storage medium |
CN111831054B (en) * | 2019-04-19 | 2022-07-19 | 北京猎户星空科技有限公司 | Asynchronous system clock synchronization method, device, system and storage medium |
CN112821976A (en) * | 2020-12-31 | 2021-05-18 | 锐捷网络股份有限公司 | Method and device for maintaining local clock synchronization |
CN113726466A (en) * | 2021-07-21 | 2021-11-30 | 歌尔股份有限公司 | Wearable device and signal acquisition method thereof |
CN113726466B (en) * | 2021-07-21 | 2023-12-01 | 歌尔股份有限公司 | Wearable device and signal acquisition method thereof |
CN116300381A (en) * | 2022-12-30 | 2023-06-23 | 惠州市德赛西威汽车电子股份有限公司 | High-precision time service implementation method, system and storage medium for automobile cabin system |
Also Published As
Publication number | Publication date |
---|---|
CN102752065B (en) | 2015-09-09 |
WO2014000434A1 (en) | 2014-01-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102752065A (en) | Time synchronization method and system | |
JP5160170B2 (en) | PPS connection apparatus (time synchronization apparatus) for STP, time synchronization system, and method for providing PPS connection or time synchronization apparatus for STP | |
US10110367B2 (en) | High precision timer in CPU cluster | |
EP3284244B1 (en) | Methods, systems, and computer readable media for emulating network devices with different clocks | |
DE502005003356D1 (en) | DECENTRALIZED ERROR TOLERANT CLOCK GENERATION IN VLSI CHIPS | |
CN108259109B (en) | Network equipment in PTP domain and TOD synchronization method | |
CN102647270A (en) | A method of time synchronization of free running nodes in an avionics network | |
CN110492965A (en) | The method and apparatus of serial message clock synchronization in a kind of master-slave system | |
CN104363069A (en) | Network time system and method based on Beidou satellite positioning | |
CN110928176B (en) | Multifunctional time service equipment supporting multiple time service technologies | |
CN104821870A (en) | Master station smart power grid scheduling technology support system-based clock synchronization method | |
US20110222561A1 (en) | Systems and methods for providing time synchronization | |
CN104468072A (en) | IMA platform clock synchronization method | |
CN101009546A (en) | Time synchronization method for network segment utilizing different time synchronization protocol | |
JP2010004321A (en) | Time tracking system and time tracking apparatus | |
CN113946448A (en) | Time sequence management method and device of server cluster and electronic equipment | |
CN117938291A (en) | Synchronous system and method based on two-in-two system, electronic equipment and storage medium | |
CN206788690U (en) | A kind of time server with outage detection function | |
US8055801B2 (en) | Pulse-per-second attachment for STP | |
CN116865898A (en) | Clock redundancy system based on multiple clock domains and method for realizing clock redundancy | |
WO2001090865A1 (en) | Time synchronization within a distributed processing system | |
US20240103563A1 (en) | System and method for time synchronization between multiple operating systems | |
WO2022144022A1 (en) | Synchronous monitoring method and apparatus, time server and downstream time server | |
CN103095446B (en) | The changing method of multi-mode clock and corresponding multi-mode clock | |
KR102711525B1 (en) | Time synchronization apparatus in precision time protocol network, system including the same and method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150909 Termination date: 20180629 |