CN107329519A - A kind of server RTC clock synchronous method - Google Patents

A kind of server RTC clock synchronous method Download PDF

Info

Publication number
CN107329519A
CN107329519A CN201710522766.XA CN201710522766A CN107329519A CN 107329519 A CN107329519 A CN 107329519A CN 201710522766 A CN201710522766 A CN 201710522766A CN 107329519 A CN107329519 A CN 107329519A
Authority
CN
China
Prior art keywords
time
rtc
clock
management system
rtc clock
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.)
Pending
Application number
CN201710522766.XA
Other languages
Chinese (zh)
Inventor
李保来
吴登勇
孙超
陈亮甫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Chaoyue Numerical Control Electronics Co Ltd
Original Assignee
Shandong Chaoyue Numerical Control Electronics Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shandong Chaoyue Numerical Control Electronics Co Ltd filed Critical Shandong Chaoyue Numerical Control Electronics Co Ltd
Priority to CN201710522766.XA priority Critical patent/CN107329519A/en
Publication of CN107329519A publication Critical patent/CN107329519A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom
    • G06F1/14Time supervision arrangements, e.g. real time clock
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Electric Clocks (AREA)

Abstract

The present invention provides a kind of server RTC clock synchronous method, belong to management system design field, the present invention is based on RTC synchronised clock chips, design domestic processor driving, synchronization system time to RTC, RTC clock configuration main power supply, upper electricity just reads RTC clock to outband management system software every time simultaneously, deadline proofreads, and keeps outband management system and the uniformity of server OS time, realizes the outer real-time management of band to complete machine.

Description

A kind of server RTC clock synchronous method
Technical field
The present invention relates to management system designing technique, more particularly to a kind of server RTC clock synchronous method.Solve domestic The clock consistency design problem of processor-server platform lower platform system and outband management system is a kind of for solving state Produce processor-server platform outband management system clock and the inconsistent method of managed object clock, it is possible to achieve to domestic place The clock correction of device server platform outband management system is managed, the time correctness of holding outband management system is a kind of to state Produce the effective ways of processor-server platform outband management system time check and correction.
Background technology
In recent years, with the continuous progress of domestic processor-server, the management system design of domestic processor-server Technology is also more and more crucial.Domestic processor-server operational efficiency and the management skill using reliability are effectively improved as a kind of Art, outband management technology is just increasingly being widely applied in actual exploitation design, processing management system that can be independent Data, be in industry also gradually taken seriously, although its designing technique is more ripe, but in domestic processor clothes Also there is the place of raising to be optimized under business device platform, such as to the synchronous design method of the clock of outband management system.
At present, in the design of outband management system, management of record and management daily record to management information etc. to be based on The system time of artificial setting outband management system, this method can realize the set of time to outband management system, and protect The time of outband management system and the time consistency by pipe server are held, but the operation of this method is relatively complicated, it is necessary to people For record, each system boot needs to set system time manually, is easily caused operating error, and can give the reality of management data When property brings very big uncertainty, validity of the reduction outband management system to Data Management Analysis result.
The content of the invention
Based on problem above, the present invention proposes a kind of server RTC clock synchronous method.Based on domestic processor platform The RTC clock simultaneous techniques of design, effectively can be proofreaded the time of outband management system in real time, be realized and platform system time It is consistent, effectively increases the record time real-time of management data and the accuracy of management result, improve domestic processor The reliability of the management system function of platform.
The technical scheme is that:
A kind of server RTC clock synchronous method, is mainly based upon RTC synchronised clock chips, designs domestic processor driving, together Walk system time and arrive RTC, RTC clock configuration main power supply, while outband management system software every time upper electricity just reading RTC when Clock, deadline check and correction, keeps outband management system and the uniformity of server OS time, realizes outside to the band of complete machine Real-time management.
Based on domestic processor rack server, RTC clock chip by I2C buses respectively with domestic processor and Outband management system processor is connected, when the domestic processor operating system of design realizes dynamic synchronization native operating sys-tern and RTC Clock, while outband management system reads the time of RTC clock storage to local in real time, so as to realize outband management system and local The time synchronized of operating system.
Concrete methods of realizing is as follows:
1)When system boot is run, then start-up operation system time synchronization drive software obtains server by drive software Local system time;
2)The local zone time of acquisition is write RTC clock chip by time synchronized drive software, and updates RTC clock check mark position Information is 1, and RTC clock is proofreaded, it is ensured that RTC clock is consistent with the operation system clock;
3)Outband management system reads RTC clock after starting be used to initialize outband management system time, then, and the cycle reads RTC clock updates check mark position information, is not operated then if 0, RTC clock and real-time update band are read if 1 The time of outer management system.
Brief description of the drawings
Fig. 1 is the schematic circuit schematic diagram of the present invention;
Fig. 2 is RTC clock synchronization mechanism flow chart.
Embodiment
More detailed illustrate is carried out to present disclosure below:
The RTC clock simultaneous techniques particular content of the present invention is as follows
1st, hardware principle is designed, domestic operating system nucleus time synchronized drive software is changed, realizes and is obtained by drive software The native operating sys-tern time, RTC clock information is read and write by low speed bus I2C while realizing;
2nd, during each server start, the local zone time of acquisition is write RTC clock chip, and RTC by time synchronized drive software It is 1 that clock, which updates check mark position information, and realization is proofreaded to RTC clock, it is ensured that RTC clock and the operation system clock one Cause;
3rd, RTC clock is read after outband management system starts to be used to initialize outband management system time, and then, the cycle reads RTC clock updates check mark position information, is not operated then if 0, RTC clock and real-time update band are read if 1 The time of outer management system.

Claims (3)

1. a kind of server RTC clock synchronous method, it is characterised in that
Based on RTC synchronised clock chips, domestic processor driving is designed, synchronization system time to RTC, RTC clock configuration is active and standby Power supply, while upper electricity just reads RTC clock to outband management system software every time, deadline check and correction keeps outband management system With the uniformity of server OS time, the outer real-time management of band to complete machine is realized.
2. according to the method described in claim 1, it is characterised in that
RTC clock chip is connected with domestic processor and outband management system processor respectively by I2C buses, is designed domestic Processor operating system realizes dynamic synchronization native operating sys-tern and RTC clock, while when outband management system reads RTC in real time The time of clock storage is to locally.
3. method according to claim 2, it is characterised in that
Particular content is as follows:
1)When system boot is run, then start-up operation system time synchronization drive software obtains server by drive software Local system time;
2)The local zone time of acquisition is write RTC clock chip by time synchronized drive software, and updates RTC clock check mark position Information is 1, and RTC clock is proofreaded, it is ensured that RTC clock is consistent with the operation system clock;
3)Outband management system reads RTC clock after starting be used to initialize outband management system time, then, and the cycle reads RTC clock updates check mark position information, is not operated then if 0, RTC clock and real-time update band are read if 1 The time of outer management system.
CN201710522766.XA 2017-06-30 2017-06-30 A kind of server RTC clock synchronous method Pending CN107329519A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710522766.XA CN107329519A (en) 2017-06-30 2017-06-30 A kind of server RTC clock synchronous method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710522766.XA CN107329519A (en) 2017-06-30 2017-06-30 A kind of server RTC clock synchronous method

Publications (1)

Publication Number Publication Date
CN107329519A true CN107329519A (en) 2017-11-07

Family

ID=60198042

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710522766.XA Pending CN107329519A (en) 2017-06-30 2017-06-30 A kind of server RTC clock synchronous method

Country Status (1)

Country Link
CN (1) CN107329519A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110362152A (en) * 2019-06-28 2019-10-22 苏州浪潮智能科技有限公司 A kind of synchronization system and method for system hardware time and BMC hardware timeout

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192073A (en) * 2006-11-22 2008-06-04 英业达股份有限公司 Method for updating substrate management controller timing time
CN101923369A (en) * 2009-06-16 2010-12-22 鸿富锦精密工业(深圳)有限公司 System and method for managing time of substrate management controller
CN104572317A (en) * 2013-10-14 2015-04-29 鸿富锦精密工业(深圳)有限公司 Mainboard and method for acquiring time information by utilizing baseboard management controller of mainboard
CN104754035A (en) * 2015-03-06 2015-07-01 浪潮集团有限公司 Method for guaranteeing management mainboard time by virtue of cooperation of NTP and RTC chip
CN105955910A (en) * 2016-04-29 2016-09-21 中国人民解放军国防科学技术大学 Feiteng high-density server system-oriented time service method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192073A (en) * 2006-11-22 2008-06-04 英业达股份有限公司 Method for updating substrate management controller timing time
CN101923369A (en) * 2009-06-16 2010-12-22 鸿富锦精密工业(深圳)有限公司 System and method for managing time of substrate management controller
CN104572317A (en) * 2013-10-14 2015-04-29 鸿富锦精密工业(深圳)有限公司 Mainboard and method for acquiring time information by utilizing baseboard management controller of mainboard
CN104754035A (en) * 2015-03-06 2015-07-01 浪潮集团有限公司 Method for guaranteeing management mainboard time by virtue of cooperation of NTP and RTC chip
CN105955910A (en) * 2016-04-29 2016-09-21 中国人民解放军国防科学技术大学 Feiteng high-density server system-oriented time service method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110362152A (en) * 2019-06-28 2019-10-22 苏州浪潮智能科技有限公司 A kind of synchronization system and method for system hardware time and BMC hardware timeout

Similar Documents

Publication Publication Date Title
CN104102506B (en) A kind of Android Acceleration of starting methods based on ARM platforms
CN101256502B (en) System and method for simulating multiprocessor system
CN101916201A (en) Android-based mobile terminal cold-boot method and device
CN101923369B (en) System and method for managing time of substrate management controller
CN104597470A (en) ARM [advanced RISC (reduced instruction set computer) machine]-based embedded GNSS (global navigation satellite system) precision single-point positioning equipment and method for operating same
US9841920B2 (en) Heterogeneous memory die stacking for energy efficient computing
CN102298414A (en) Server time synchronizing system
CN104750227B (en) Dormancy awakening method and electronic device
CN105391985A (en) Embedded Linux based video monitoring system and method
CN104503898B (en) A kind of method and system of debugging embedded software parameter real time inspection
KR20160034965A (en) Optimizing boot-time peak power consumption for server/rack systems
CN105302621A (en) Method for remotely achieving initial value restoration of server BIOS Setup
CN107329519A (en) A kind of server RTC clock synchronous method
CN108920197A (en) A kind of loaded circuit and loading method improving the serial passive loading speed of FPGA
CN102566738B (en) A kind of starting-up method of server system and server system
CN104216282B (en) Method and system for performing timing treatment on LKJ by using GPS (global positioning system)/Beidou signals
CN105653376A (en) Optimization algorithm for guaranteeing information synchronization when BIOS and BMC in ARM platform are started at same time
CN102819445B (en) Quick transplanting method of comprehensive software of transformer substation on embedded system hardware platform
EP1406145A3 (en) Method and device for accessing a memory to prevent tampering of a program in the memory
WO2017107835A1 (en) Browser starting method and apparatus
CN105867894A (en) Automatic creating method and system of development environment
CN103324589A (en) SD (secure digital memory card) control system
CN105068957A (en) Method and apparatus for accessing to slave module in APB bus system
CN104572317A (en) Mainboard and method for acquiring time information by utilizing baseboard management controller of mainboard
CN109587192A (en) Method of data synchronization and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20171107

RJ01 Rejection of invention patent application after publication