CN115225193B - BMC time synchronization method, system, device and readable storage medium - Google Patents

BMC time synchronization method, system, device and readable storage medium Download PDF

Info

Publication number
CN115225193B
CN115225193B CN202210893226.3A CN202210893226A CN115225193B CN 115225193 B CN115225193 B CN 115225193B CN 202210893226 A CN202210893226 A CN 202210893226A CN 115225193 B CN115225193 B CN 115225193B
Authority
CN
China
Prior art keywords
bmc
time
time synchronization
local
request
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.)
Active
Application number
CN202210893226.3A
Other languages
Chinese (zh)
Other versions
CN115225193A (en
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202210893226.3A priority Critical patent/CN115225193B/en
Publication of CN115225193A publication Critical patent/CN115225193A/en
Application granted granted Critical
Publication of CN115225193B publication Critical patent/CN115225193B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The invention provides a BMC time synchronization method, a system, a device and a readable storage medium, wherein the method comprises the following steps: adding a time synchronization command in the local BMC, and defining a data format of a time request and a reply thereof; when the local BMC cannot acquire the NTP time through the NTP server, the local BMC periodically transmits a time request to a plurality of BMCs; the BMC receiving the time request sends reply data to the local BMC after passing the request verification; after receiving the reply, the local BMC performs time synchronization verification, and after the verification passes, the corresponding BMC is used as a time synchronization candidate BMC; according to each communication duration, the optimal BMC is screened out from all time synchronization candidate BMCs; the time of the optimal BMC is set as the time of the native BMC. The invention can effectively reduce the cost of BMC time synchronization and improve the accuracy of BMC time.

Description

一种BMC时间同步方法、系统、装置及可读存储介质A BMC time synchronization method, system, device and readable storage medium

技术领域Technical Field

本发明涉及计算机技术领域,更具体的说是涉及一种BMC时间同步方法、系统、装置及可读存储介质。The present invention relates to the field of computer technology, and more particularly to a BMC time synchronization method, system, device and readable storage medium.

背景技术Background technique

BMC(Baseboard Management Controller)是一个独立于服务器系统的小型操作系统,作用是方便服务器远程管理、监控、部署、重启等操作。BMC接通电源即启动运行,不受服务器开关机影响,独立于业务系统之外。BMC时间在服务器监控、日志记录等方面有重要作用,但是BMC没有单独的电池,需要从其它部件同步时间。BMC (Baseboard Management Controller) is a small operating system independent of the server system. Its function is to facilitate remote management, monitoring, deployment, and restart of the server. BMC starts running when the power is turned on. It is not affected by the server power on and off and is independent of the business system. BMC time plays an important role in server monitoring and logging. However, BMC does not have a separate battery and needs to synchronize time with other components.

现有技术中,BMC启动时,需要从ME(管理引擎接口,Management EngineInterface)同步一次时间。当NTP服务器开启时,通过NTP服务器获取时间进行同步;如果无法在NTP服务器获取到时间,则通过BIOS在系统开机时向BMC发送一次自己的时间。可见,采用现有技术进行BMC时间同步时,如果出现无法获取NTP时间的情况,只有系统开机时才能进行时间同步,无法保障BMC的时间准确度。In the prior art, when the BMC is started, it needs to synchronize the time from the ME (Management Engine Interface). When the NTP server is turned on, the time is obtained through the NTP server for synchronization; if the time cannot be obtained from the NTP server, the BIOS sends its own time to the BMC once when the system is turned on. It can be seen that when the prior art is used to synchronize the BMC time, if the NTP time cannot be obtained, the time synchronization can only be performed when the system is turned on, and the time accuracy of the BMC cannot be guaranteed.

发明内容Summary of the invention

针对以上问题,本发明的目的在于提供一种BMC时间同步方法、系统、装置及可读存储介质,能够有效降低BMC时间同步的成本,提高BMC时间的准确度。In view of the above problems, an object of the present invention is to provide a BMC time synchronization method, system, device and readable storage medium, which can effectively reduce the cost of BMC time synchronization and improve the accuracy of BMC time.

本发明为实现上述目的,通过以下技术方案实现:一种BMC时间同步方法,包括:To achieve the above object, the present invention is implemented through the following technical solutions: a BMC time synchronization method, comprising:

在本机BMC内增加时间同步命令,并定义其时间请求和回复的数据格式;Add time synchronization commands to the local BMC and define the data formats of its time requests and replies;

当本机BMC无法通过NTP服务器获取NTP时间时,本机BMC周期性向多台BMC发送时间请求;When the local BMC cannot obtain the NTP time from the NTP server, the local BMC periodically sends time requests to multiple BMCs;

收到时间请求的BMC在通过请求校验后向本机BMC发送回复数据;The BMC that receives the time request sends reply data to the local BMC after passing the request verification;

本机BMC收到回复后,进行时间同步校验,校验通过后将相应的BMC作为时间同步候选BMC;After receiving the reply, the local BMC performs time synchronization verification. If the verification passes, the corresponding BMC is used as a candidate BMC for time synchronization;

根据每个通信时长,在所有时间同步候选BMC中筛选出最佳BMC;According to each communication duration, the best BMC is selected from all time synchronization candidate BMCs;

将最佳BMC的时间设定为本机BMC的时间。Set the best BMC time to the BMC time of this machine.

进一步,所述时间同步命令采用IPMI命令,所述时间请求数据包括请求校验码,请求校验码采用用于时间请求校验的预设加密字符串;Further, the time synchronization command adopts an IPMI command, the time request data includes a request verification code, and the request verification code adopts a preset encrypted string for time request verification;

所述回复数据包括:The response data includes:

本机NTP状态、NTP服务器地址、时间戳和时间同步校验码;其中,当本机NTP状态的取值为1时,代表可以从NTP服务器获取到时间,时间同步校验码采用用于时间同步校验的预设加密字符串。The local NTP status, NTP server address, timestamp and time synchronization check code; among them, when the local NTP status value is 1, it means that the time can be obtained from the NTP server, and the time synchronization check code uses the preset encrypted string for time synchronization verification.

进一步,所述本机BMC周期性向多台BMC发送时间请求,包括:Furthermore, the local BMC periodically sends time requests to multiple BMCs, including:

本机BMC周期性向同一网段的M台BMC发送IPMI时间请求Time Sync Request;其中,M>=2。The local BMC periodically sends an IPMI time request Time Sync Request to M BMCs in the same network segment; where M>=2.

进一步,所述收到时间请求的BMC在通过请求校验后向本机BMC发送回复数据,包括:Further, the BMC receiving the time request sends reply data to the local BMC after passing the request verification, including:

收到IPMI时间请求的BMC若能识别请求校验码,则发送带有本机NTP状态、NTP服务器地址、时间戳和N位时间同步校验码的IPMI回复。If the BMC that receives the IPMI time request can recognize the request verification code, it sends an IPMI reply with the local NTP status, NTP server address, timestamp and N-bit time synchronization verification code.

进一步,所述本机BMC收到回复后,进行时间同步校验,校验通过后将相应的BMC作为时间同步候选BMC,包括:Further, after receiving the reply, the local BMC performs a time synchronization check, and after the check passes, the corresponding BMC is used as a time synchronization candidate BMC, including:

本机BMC收到IPMI回复后,检验时间同步校验码,若校验通过,则将此BMC作为时间同步候选BMC。After receiving the IPMI reply, the local BMC checks the time synchronization check code. If the check passes, the BMC is used as a candidate BMC for time synchronization.

进一步,所述根据每个通信时长,在所有时间同步候选BMC中筛选出最佳BMC,包括:Further, the method of selecting the best BMC from all time synchronization candidate BMCs according to each communication duration includes:

确定每个时间同步候选BMC的通信时长,并从中筛选出通信时长最短且本机NTP状态值为1的时间同步候选BMC,将其作为最佳BMC。The communication duration of each time synchronization candidate BMC is determined, and the time synchronization candidate BMC with the shortest communication duration and a local NTP status value of 1 is selected as the best BMC.

进一步,所述将最佳BMC的时间设定为本机BMC的时间,包括:Further, setting the optimal BMC time as the local BMC time includes:

将最佳BMC的时间戳设为本机BMC的时间,并将本机的NTP服务器地址设置为该最佳BMC的NTP服务器地址。The timestamp of the best BMC is set to the time of the local BMC, and the NTP server address of the local BMC is set to the NTP server address of the best BMC.

相应的,本发明还公开了一种BMC时间同步系统,包括:Correspondingly, the present invention also discloses a BMC time synchronization system, comprising:

设置模块,用于在本机BMC内增加时间同步命令,并定义其时间请求和回复的数据格式;The setting module is used to add time synchronization commands in the local BMC and define the data format of its time request and reply;

请求模块,用于当本机BMC无法通过NTP服务器获取NTP时间时,本机BMC周期性向多台BMC发送时间请求;The request module is used to periodically send time requests to multiple BMCs when the local BMC cannot obtain the NTP time from the NTP server.

回复模块,用于收到时间请求的BMC在通过请求校验后向本机BMC发送回复数据;The reply module is used for the BMC that receives the time request to send reply data to the local BMC after passing the request verification;

验证模块,用于本机BMC收到回复后,进行时间同步校验,校验通过后将相应的BMC作为时间同步候选BMC;The verification module is used to perform time synchronization verification after the local BMC receives the reply. If the verification passes, the corresponding BMC is used as a candidate BMC for time synchronization;

筛选模块,用于根据每个通信时长,在所有时间同步候选BMC中筛选出最佳BMC;A screening module is used to screen out the best BMC from all time synchronization candidate BMCs according to each communication duration;

同步模块,用于将最佳BMC的时间设定为本机BMC的时间。The synchronization module is used to set the time of the optimal BMC as the time of the local BMC.

进一步,所述请求模块具体用于:当本机BMC无法通过NTP服务器获取NTP时间时,本机BMC周期性向同一网段的M台BMC发送IPMI时间请求Time Sync Request;其中,M>=2。Further, the request module is specifically used for: when the local BMC cannot obtain NTP time through the NTP server, the local BMC periodically sends an IPMI time request Time Sync Request to M BMCs in the same network segment; wherein M>=2.

进一步,所述回复模块具体用于:收到IPMI时间请求的BMC若能识别请求校验码,则发送带有本机NTP状态、NTP服务器地址、时间戳和N位时间同步校验码的IPMI回复。Further, the reply module is specifically used for: if the BMC receiving the IPMI time request can identify the request verification code, then sending an IPMI reply with the local NTP status, NTP server address, timestamp and N-bit time synchronization verification code.

进一步,所述验证模块具体用于:本机BMC收到IPMI回复后,检验时间同步校验码,若校验通过,则将此BMC作为时间同步候选BMC。Furthermore, the verification module is specifically used for: after the local BMC receives the IPMI reply, checking the time synchronization verification code, if the verification passes, taking this BMC as a time synchronization candidate BMC.

进一步,所述筛选模块具体用于:确定每个时间同步候选BMC的通信时长,并从中筛选出通信时长最短且本机NTP状态值为1的时间同步候选BMC,将其作为最佳BMC。Furthermore, the screening module is specifically used to: determine the communication duration of each time synchronization candidate BMC, and screen out the time synchronization candidate BMC with the shortest communication duration and a local NTP status value of 1, and use it as the best BMC.

进一步,所述同步模块具体用于:将最佳BMC的时间戳设为本机BMC的时间,并将最佳BMC的NTP服务器地址设置为本机的NTP服务器地址。Furthermore, the synchronization module is specifically used to: set the timestamp of the best BMC to the time of the local BMC, and set the NTP server address of the best BMC to the NTP server address of the local machine.

相应的,本发明公开了一种BMC时间同步装置,包括:Accordingly, the present invention discloses a BMC time synchronization device, comprising:

存储器,用于存储BMC时间同步程序;A memory, used for storing a BMC time synchronization program;

处理器,用于执行所述BMC时间同步程序时实现如上文任一项所述BMC时间同步方法的步骤。The processor is used to implement the steps of the BMC time synchronization method as described in any one of the above when executing the BMC time synchronization program.

相应的,本发明公开了一种可读存储介质,所述可读存储介质上存储有BMC时间同步程序,所述BMC时间同步程序被处理器执行时实现如上文任一项所述BMC时间同步方法的步骤。Accordingly, the present invention discloses a readable storage medium, on which a BMC time synchronization program is stored. When the BMC time synchronization program is executed by a processor, the steps of the BMC time synchronization method described in any one of the above items are implemented.

对比现有技术,本发明有益效果在于:本发明提供了一种BMC时间同步方法、系统、装置及可读存储介质,能够在NTP服务器失效时,通过IPMI命令自动获取其它BMC的时间,并利用本机NTP状态值保证时间准确度、利用校验码保证数据的安全,既有效降低了BMC时间同步的成本,又保证了BMC时间同步的准确度。Compared with the prior art, the beneficial effect of the present invention is that: the present invention provides a BMC time synchronization method, system, device and readable storage medium, which can automatically obtain the time of other BMCs through IPMI commands when the NTP server fails, and use the local NTP status value to ensure time accuracy and use the check code to ensure data security, which effectively reduces the cost of BMC time synchronization and ensures the accuracy of BMC time synchronization.

由此可见,本发明与现有技术相比,具有突出的实质性特点和显著的进步,其实施的有益效果也是显而易见的。It can be seen that compared with the prior art, the present invention has outstanding substantive features and significant progress, and the beneficial effects of its implementation are also obvious.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

附图1是本发明具体实施方式的方法流程图。FIG1 is a flow chart of a method according to a specific embodiment of the present invention.

附图2是本发明具体实施方式的系统结构图。FIG2 is a system structure diagram of a specific implementation mode of the present invention.

图中,1为设置模块;2为请求模块;3为回复模块;4为验证模块;5为筛选模块;6为同步模块。In the figure, 1 is the setting module; 2 is the request module; 3 is the reply module; 4 is the verification module; 5 is the screening module; and 6 is the synchronization module.

具体实施方式Detailed ways

本发明的核心是提供一种BMC时间同步方法,现有技术中,BMC启动时,需要从ME同步一次时间。当NTP服务器开启时,通过NTP服务器获取时间进行同步;如果无法在NTP服务器获取到时间,则通过BIOS在系统开机时向BMC发送一次自己的时间。可见,采用现有技术进行BMC时间同步时,如果出现无法获取NTP时间的情况,只有系统开机时才能进行时间同步,无法保障BMC的时间准确度。The core of the present invention is to provide a BMC time synchronization method. In the prior art, when the BMC is started, it needs to synchronize the time from the ME once. When the NTP server is turned on, the time is obtained through the NTP server for synchronization; if the time cannot be obtained from the NTP server, the BIOS sends its own time to the BMC once when the system is turned on. It can be seen that when the prior art is used to synchronize the BMC time, if the NTP time cannot be obtained, the time synchronization can only be performed when the system is turned on, and the time accuracy of the BMC cannot be guaranteed.

而本发明提供的BMC时间同步方法,首先,无法在NTP服务器获取到时间时,BMC周期性向同网段的多台BMC发送IPMI时间请求,根据最短回复时长和NTP状态确定最佳BMC,将最佳BMC回复中的时间戳与NTP服务器地址设为原BMC的时间和NTP服务器地址。由此可见,本发明能够有效降低BMC时间同步的成本,提高BMC时间的准确度。The BMC time synchronization method provided by the present invention, first, when the time cannot be obtained from the NTP server, the BMC periodically sends IPMI time requests to multiple BMCs in the same network segment, determines the best BMC according to the shortest response time and the NTP status, and sets the timestamp and NTP server address in the best BMC response as the time and NTP server address of the original BMC. It can be seen that the present invention can effectively reduce the cost of BMC time synchronization and improve the accuracy of BMC time.

为了使本技术领域的人员更好地理解本发明方案,下面结合附图和具体实施方式对本发明作进一步的详细说明。显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to enable those skilled in the art to better understand the scheme of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

实施例一:Embodiment 1:

如图1所示,本实施例提供了一种BMC时间同步方法,包括如下步骤:As shown in FIG1 , this embodiment provides a BMC time synchronization method, including the following steps:

S1:在本机BMC内增加时间同步命令,并定义其时间请求和回复的数据格式。S1: Add a time synchronization command in the local BMC and define the data format of its time request and reply.

具体的,时间同步命令采用IPMI命令。时间请求数据包括请求校验码,请求校验码采用用于时间请求校验的预设加密字符串。回复数据包括:本机NTP状态、NTP服务器地址、时间戳和时间同步校验码;其中,当本机NTP状态的取值为1时,代表可以从NTP服务器获取到时间,时间同步校验码采用用于时间同步校验的预设加密字符串。Specifically, the time synchronization command uses an IPMI command. The time request data includes a request verification code, and the request verification code uses a preset encrypted string for time request verification. The reply data includes: the local NTP status, the NTP server address, the timestamp, and the time synchronization verification code; among them, when the local NTP status value is 1, it means that the time can be obtained from the NTP server, and the time synchronization verification code uses a preset encrypted string for time synchronization verification.

作为示例的,BMC时间请求与时间同步数据类型如下:As an example, the BMC time request and time synchronization data types are as follows:

typedef struct Time Sync Requesttypedef struct Time Sync Request

{{

uint8 RequestCode[16];//请求校验码uint8 RequestCode[16]; //Request verification code

}Time_Sync_Request;}Time_Sync_Request;

typedef struct Time Sync Respondtypedef struct Time Sync Respond

{{

uint8 NtpStatus;//ntp状态:1:可以从NTP获取到时间uint8 NtpStatus; //ntp status: 1: time can be obtained from NTP

uint8 NtpServer;//当NtpStatus=1时,为NTP Server地址;否则为空uint8 NtpServer; //When NtpStatus=1, it is the NTP Server address; otherwise it is empty

uint8 TimeSyncStamp[24];//时间戳uint8 TimeSyncStamp[24]; //time stamp

uint8 TimeSyncCode[16];//时间同步校验码uint8 TimeSyncCode[16]; //time synchronization check code

}Time_Sync_Request;}Time_Sync_Request;

S2:当本机BMC无法通过NTP服务器获取NTP时间时,本机BMC周期性向多台BMC发送时间请求。S2: When the local BMC cannot obtain the NTP time from the NTP server, the local BMC periodically sends time requests to multiple BMCs.

具体来说,当本机BMC无法通过NTP服务器获取NTP时间时,本机BMC周期性向同一网段的M台BMC发送IPMI时间请求Time Sync Request;其中,M>=2。Specifically, when the local BMC cannot obtain the NTP time through the NTP server, the local BMC periodically sends an IPMI time request Time Sync Request to M BMCs in the same network segment; where M>=2.

S3:收到时间请求的BMC在通过请求校验后向本机BMC发送回复数据。S3: The BMC that receives the time request sends reply data to the local BMC after passing the request verification.

具体的,收到IPMI时间请求的BMC若能识别请求校验码,则发送带有本机NTP状态、NTP服务器地址、时间戳和N位时间同步校验码的IPMI回复。Specifically, if the BMC receiving the IPMI time request can identify the request verification code, it sends an IPMI reply with the local NTP status, NTP server address, timestamp and N-bit time synchronization verification code.

S4:本机BMC收到回复后,进行时间同步校验,校验通过后将相应的BMC作为时间同步候选BMC。S4: After receiving the reply, the local BMC performs time synchronization verification. If the verification passes, the corresponding BMC is used as a candidate BMC for time synchronization.

本步骤利用回复数据的时间同步校验码来实现同步校验,即本机BMC收到IPMI回复后,检验时间同步校验码,若校验通过,则将此BMC作为时间同步候选BMC。This step uses the time synchronization check code of the reply data to implement synchronization verification, that is, after the local BMC receives the IPMI reply, it verifies the time synchronization check code. If the verification passes, this BMC is used as a time synchronization candidate BMC.

S5:根据每个通信时长,在所有时间同步候选BMC中筛选出最佳BMC。S5: Filter out the best BMC from all time synchronization candidate BMCs according to each communication duration.

首先,确定每个时间同步候选BMC的通信时长。然后,从中筛选出通信时长最短且本机NTP状态值为1的时间同步候选BMC,将其作为最佳BMC。First, the communication duration of each time synchronization candidate BMC is determined. Then, the time synchronization candidate BMC with the shortest communication duration and a local NTP status value of 1 is selected and used as the best BMC.

S6:将最佳BMC的时间设定为本机BMC的时间。S6: The optimal BMC time is set as the BMC time of the local device.

具体的,将最佳BMC的时间戳设为本机BMC的时间,并将本机的NTP服务器地址设置为该最佳BMC的NTP服务器地址。Specifically, the timestamp of the best BMC is set to the time of the local BMC, and the local NTP server address is set to the NTP server address of the best BMC.

本实施例提供了一种BMC时间同步方法,能够在NTP服务器失效时,通过IPMI命令自动获取其它BMC的时间,并利用本机NTP状态值保证时间准确度、利用校验码保证数据的安全,既有效降低了BMC时间同步的成本,又保证了BMC时间同步的准确度。This embodiment provides a BMC time synchronization method, which can automatically obtain the time of other BMCs through IPMI commands when the NTP server fails, and use the local NTP status value to ensure time accuracy and use the check code to ensure data security, which effectively reduces the cost of BMC time synchronization and ensures the accuracy of BMC time synchronization.

实施例二:Embodiment 2:

基于实施例一,如图2所示,本发明还公开了一种BMC时间同步系统,包括:设置模块1、请求模块2、回复模块3、验证模块4、筛选模块5和同步模块6。Based on the first embodiment, as shown in FIG. 2 , the present invention further discloses a BMC time synchronization system, including: a setting module 1 , a request module 2 , a reply module 3 , a verification module 4 , a screening module 5 and a synchronization module 6 .

设置模块1,用于在本机BMC内增加时间同步命令,并定义其时间请求和回复的数据格式。The setting module 1 is used to add a time synchronization command in the local BMC and define the data format of its time request and reply.

请求模块2,用于当本机BMC无法通过NTP服务器获取NTP时间时,本机BMC周期性向多台BMC发送时间请求。请求模块2具体用于:当本机BMC无法通过NTP服务器获取NTP时间时,本机BMC周期性向同一网段的M台BMC发送IPMI时间请求Time Sync Request;其中,M>=2。Request module 2 is used for: when the local BMC cannot obtain NTP time through the NTP server, the local BMC periodically sends time requests to multiple BMCs. Request module 2 is specifically used for: when the local BMC cannot obtain NTP time through the NTP server, the local BMC periodically sends IPMI time requests Time Sync Request to M BMCs in the same network segment; where M>=2.

回复模块3,用于收到时间请求的BMC在通过请求校验后向本机BMC发送回复数据。回复模块3具体用于:收到IPMI时间请求的BMC若能识别请求校验码,则发送带有本机NTP状态、NTP服务器地址、时间戳和N位时间同步校验码的IPMI回复。The reply module 3 is used for the BMC that receives the time request to send reply data to the local BMC after the request is verified. The reply module 3 is specifically used for: if the BMC that receives the IPMI time request can recognize the request verification code, it will send an IPMI reply with the local NTP status, NTP server address, timestamp and N-bit time synchronization verification code.

验证模块4,用于本机BMC收到回复后,进行时间同步校验,校验通过后将相应的BMC作为时间同步候选BMC。验证模块4具体用于:本机BMC收到IPMI回复后,检验时间同步校验码,若校验通过,则将此BMC作为时间同步候选BMC。Verification module 4 is used to perform time synchronization verification after the local BMC receives the reply, and if the verification passes, the corresponding BMC is used as a time synchronization candidate BMC. Verification module 4 is specifically used to: after the local BMC receives the IPMI reply, check the time synchronization verification code, and if the verification passes, use this BMC as a time synchronization candidate BMC.

筛选模块5,用于根据每个通信时长,在所有时间同步候选BMC中筛选出最佳BMC。筛选模块5具体用于:确定每个时间同步候选BMC的通信时长,并从中筛选出通信时长最短且本机NTP状态值为1的时间同步候选BMC,将其作为最佳BMC。The screening module 5 is used to screen out the best BMC from all time synchronization candidate BMCs according to each communication duration. The screening module 5 is specifically used to: determine the communication duration of each time synchronization candidate BMC, and screen out the time synchronization candidate BMC with the shortest communication duration and the local NTP status value of 1, and use it as the best BMC.

同步模块6,用于将最佳BMC的时间设定为本机BMC的时间。同步模块6具体用于:将最佳BMC的时间戳设为本机BMC的时间,并将最佳BMC的NTP服务器地址设置为本机的NTP服务器地址。The synchronization module 6 is used to set the time of the best BMC as the time of the local BMC. The synchronization module 6 is specifically used to: set the timestamp of the best BMC as the time of the local BMC, and set the NTP server address of the best BMC as the NTP server address of the local BMC.

本实施例提供了一种BMC时间同步系统,能够在NTP服务器失效时,通过IPMI命令自动获取其它BMC的时间,并利用本机NTP状态值保证时间准确度、利用校验码保证数据的安全,既有效降低了BMC时间同步的成本,又保证了BMC时间同步的准确度。This embodiment provides a BMC time synchronization system, which can automatically obtain the time of other BMCs through IPMI commands when the NTP server fails, and use the local NTP status value to ensure time accuracy and use the check code to ensure data security, which effectively reduces the cost of BMC time synchronization and ensures the accuracy of BMC time synchronization.

实施例三:Embodiment three:

本实施例公开了一种BMC时间同步装置,包括处理器和存储器;其中,所述处理器执行所述存储器中保存的BMC时间同步程序时实现以下步骤:This embodiment discloses a BMC time synchronization device, including a processor and a memory; wherein the processor implements the following steps when executing a BMC time synchronization program stored in the memory:

1、在本机BMC内增加时间同步命令,并定义其时间请求和回复的数据格式。1. Add a time synchronization command to the local BMC and define the data format of its time request and reply.

2、当本机BMC无法通过NTP服务器获取NTP时间时,本机BMC周期性向多台BMC发送时间请求。2. When the local BMC cannot obtain NTP time from the NTP server, the local BMC periodically sends time requests to multiple BMCs.

3、收到时间请求的BMC在通过请求校验后向本机BMC发送回复数据。3. The BMC that receives the time request sends reply data to the local BMC after passing the request verification.

4、本机BMC收到回复后,进行时间同步校验,校验通过后将相应的BMC作为时间同步候选BMC。4. After receiving the reply, the local BMC performs a time synchronization check. If the check passes, the corresponding BMC is used as a candidate BMC for time synchronization.

5、根据每个通信时长,在所有时间同步候选BMC中筛选出最佳BMC。5. Filter out the best BMC from all time synchronization candidate BMCs based on each communication duration.

6、将最佳BMC的时间设定为本机BMC的时间。6. Set the optimal BMC time to the local BMC time.

进一步的,本实施例中的BMC时间同步装置,还可以包括:Furthermore, the BMC time synchronization device in this embodiment may further include:

输入接口,用于获取外界导入的BMC时间同步程序,并将获取到的BMC时间同步程序保存至所述存储器中,还可以用于获取外界终端设备传输的各种指令和参数,并传输至处理器中,以便处理器利用上述各种指令和参数展开相应的处理。本实施例中,所述输入接口具体可以包括但不限于USB接口、串行接口、语音输入接口、指纹输入接口、硬盘读取接口等。The input interface is used to obtain the BMC time synchronization program imported from the outside and save the obtained BMC time synchronization program to the memory, and can also be used to obtain various instructions and parameters transmitted by external terminal devices and transmit them to the processor so that the processor can use the above various instructions and parameters to carry out corresponding processing. In this embodiment, the input interface can specifically include but is not limited to a USB interface, a serial interface, a voice input interface, a fingerprint input interface, a hard disk reading interface, etc.

输出接口,用于将处理器产生的各种数据输出至与其相连的终端设备,以便于与输出接口相连的其他终端设备能够获取到处理器产生的各种数据。本实施例中,所述输出接口具体可以包括但不限于USB接口、串行接口等。The output interface is used to output various data generated by the processor to the terminal device connected thereto, so that other terminal devices connected to the output interface can obtain various data generated by the processor. In this embodiment, the output interface may specifically include but is not limited to a USB interface, a serial interface, etc.

通讯单元,用于在BMC时间同步装置和外部服务器之间建立远程通讯连接,以便于BMC时间同步装置能够将镜像文件挂载到外部服务器中。本实施例中,通讯单元具体可以包括但不限于基于无线通讯技术或有线通讯技术的远程通讯单元。The communication unit is used to establish a remote communication connection between the BMC time synchronization device and the external server so that the BMC time synchronization device can mount the image file to the external server. In this embodiment, the communication unit may specifically include but is not limited to a remote communication unit based on wireless communication technology or wired communication technology.

键盘,用于获取用户通过实时敲击键帽而输入的各种参数数据或指令。The keyboard is used to obtain various parameter data or instructions input by the user by tapping the keycaps in real time.

显示器,用于运行服务器供电线路短路定位过程的相关信息进行实时显示。The display is used to display the relevant information of the server power supply line short circuit locating process in real time.

鼠标,可以用于协助用户输入数据并简化用户的操作。The mouse can be used to assist users in inputting data and simplify user operations.

本实施例提供了一种BMC时间同步装置,实现了在BMC的NTP服务器失效时,自动获取其它BMC的时间,从中筛选出正确的时间及NTP服务器地址,并将其设在为本机的时间和NTP服务器地址,最大限度的保证BMC的时间准确度。。This embodiment provides a BMC time synchronization device, which can automatically obtain the time of other BMCs when the NTP server of the BMC fails, filter out the correct time and NTP server address, and set it as the local time and NTP server address, thereby ensuring the time accuracy of the BMC to the maximum extent.

实施例四:Embodiment 4:

本实施例还公开了一种可读存储介质,这里所说的可读存储介质包括随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动硬盘、CD-ROM或技术领域内所公知的任意其他形式的存储介质。可读存储介质中存储有BMC时间同步程序,所述BMC时间同步程序被处理器执行时实现以下步骤:This embodiment also discloses a readable storage medium, and the readable storage medium mentioned here includes random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, register, hard disk, removable hard disk, CD-ROM or any other form of storage medium known in the technical field. The readable storage medium stores a BMC time synchronization program, and when the BMC time synchronization program is executed by the processor, the following steps are implemented:

1、在本机BMC内增加时间同步命令,并定义其时间请求和回复的数据格式。1. Add a time synchronization command to the local BMC and define the data format of its time request and reply.

2、当本机BMC无法通过NTP服务器获取NTP时间时,本机BMC周期性向多台BMC发送时间请求。2. When the local BMC cannot obtain NTP time from the NTP server, the local BMC periodically sends time requests to multiple BMCs.

3、收到时间请求的BMC在通过请求校验后向本机BMC发送回复数据。3. The BMC that receives the time request sends reply data to the local BMC after passing the request verification.

4、本机BMC收到回复后,进行时间同步校验,校验通过后将相应的BMC作为时间同步候选BMC。4. After receiving the reply, the local BMC performs a time synchronization check. If the check passes, the corresponding BMC is used as a candidate BMC for time synchronization.

5、根据每个通信时长,在所有时间同步候选BMC中筛选出最佳BMC。5. Filter out the best BMC from all time synchronization candidate BMCs based on each communication duration.

6、将最佳BMC的时间设定为本机BMC的时间。6. Set the optimal BMC time to the local BMC time.

本实施例提供了一种可读存储介质,实现了在BMC的NTP服务器失效时,自动获取其它BMC的时间,从中筛选出正确的时间及NTP服务器地址,并将其设在为本机的时间和NTP服务器地址,最大限度的保证BMC的时间准确度。This embodiment provides a readable storage medium, which can automatically obtain the time of other BMCs when the NTP server of the BMC fails, filter out the correct time and NTP server address, and set them as the local time and NTP server address, thereby maximizing the time accuracy of the BMC.

综上所述,本发明实现了当NTP服务器失效时,有BMC周期性向同网段的M台BMC发送IPMI时间请求,根据最短回复时长和NTP状态确定最佳BMC,并将其回复中的时间戳与NTP服务器地址设为原BMC的时间和NTP服务器地址,从而完成了BMC的时间同步,并有效的保证了BMC时间同步的准确度。In summary, the present invention realizes that when the NTP server fails, a BMC periodically sends IPMI time requests to M BMCs in the same network segment, determines the best BMC according to the shortest reply time and the NTP status, and sets the timestamp and NTP server address in its reply as the time and NTP server address of the original BMC, thereby completing the time synchronization of the BMC and effectively ensuring the accuracy of the BMC time synchronization.

本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其它实施例的不同之处,各个实施例之间相同或相似部分互相参见即可。对于实施例公开的方法而言,由于其与实施例公开的系统相对应,所以描述的比较简单,相关之处参见方法部分说明即可。In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. As for the method disclosed in the embodiment, since it corresponds to the system disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

专业人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

在本发明所提供的几个实施例中,应该理解到,所揭露的系统、系统和方法,可以通过其它的方式实现。例如,以上所描述的系统实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,系统或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed systems, systems and methods can be implemented in other ways. For example, the system embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of systems or units, which can be electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个单元中。In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, or each module may exist physically separately, or two or more modules may be integrated into one unit.

同理,在本发明各个实施例中的各处理单元可以集成在一个功能模块中,也可以是各个处理单元物理存在,也可以两个或两个以上处理单元集成在一个功能模块中。Similarly, each processing unit in each embodiment of the present invention may be integrated into one functional module, or each processing unit may exist physically, or two or more processing units may be integrated into one functional module.

结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

以上对本发明所提供的BMC时间同步方法、系统、装置及可读存储介质进行了详细介绍。本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想。应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以对本发明进行若干改进和修饰,这些改进和修饰也落入本发明权利要求的保护范围内。The BMC time synchronization method, system, device and readable storage medium provided by the present invention are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.

Claims (9)

1.一种BMC时间同步方法,其特征在于,包括:1. A BMC time synchronization method, comprising: 在本机BMC内增加时间同步命令,并定义其时间请求和回复的数据格式;Add time synchronization commands in the local BMC and define the data format of its time request and reply; 当本机BMC无法通过NTP服务器获取NTP时间时,本机BMC周期性向多台BMC发送时间请求;When the local BMC cannot obtain the NTP time from the NTP server, the local BMC periodically sends time requests to multiple BMCs; 收到时间请求的BMC在通过请求校验后向本机BMC发送回复数据;The BMC that receives the time request sends reply data to the local BMC after passing the request verification; 本机BMC收到回复后,进行时间同步校验,校验通过后将相应的BMC作为时间同步候选BMC;After receiving the reply, the local BMC performs time synchronization verification. If the verification passes, the corresponding BMC is used as a candidate BMC for time synchronization; 根据每个通信时长,在所有时间同步候选BMC中筛选出最佳BMC;具体包括:确定每个时间同步候选BMC的通信时长,并从中筛选出通信时长最短且本机NTP状态值为1的时间同步候选BMC,将其作为最佳BMC;According to each communication duration, the best BMC is selected from all time synchronization candidate BMCs; specifically, the communication duration of each time synchronization candidate BMC is determined, and the time synchronization candidate BMC with the shortest communication duration and a local NTP status value of 1 is selected, and the time synchronization candidate BMC is selected as the best BMC; 将最佳BMC的时间设定为本机BMC的时间。Set the best BMC time to the BMC time of this machine. 2.根据权利要求1所述的BMC时间同步方法,其特征在于,所述时间同步命令采用IPMI命令,所述时间请求数据包括请求校验码,请求校验码采用用于时间请求校验的预设加密字符串;2. The BMC time synchronization method according to claim 1, wherein the time synchronization command adopts an IPMI command, the time request data includes a request verification code, and the request verification code adopts a preset encrypted string for time request verification; 所述回复数据包括:The response data includes: 本机NTP状态、NTP服务器地址、时间戳和时间同步校验码;其中,当本机NTP状态的取值为1时,代表可以从NTP服务器获取到时间,时间同步校验码采用用于时间同步校验的预设加密字符串。The local NTP status, NTP server address, timestamp and time synchronization check code; when the local NTP status value is 1, it means that the time can be obtained from the NTP server, and the time synchronization check code uses a preset encrypted string for time synchronization verification. 3.根据权利要求2所述的BMC时间同步方法,其特征在于,所述本机BMC周期性向多台BMC发送时间请求,包括:3. The BMC time synchronization method according to claim 2, wherein the local BMC periodically sends time requests to multiple BMCs, comprising: 本机BMC周期性向同一网段的M台BMC发送IPMI时间请求Time Sync Request;其中,M>=2。The local BMC periodically sends an IPMI time request Time Sync Request to M BMCs in the same network segment; where M>=2. 4.根据权利要求3所述的BMC时间同步方法,其特征在于,所述收到时间请求的BMC在通过请求校验后向本机BMC发送回复数据,包括:4. The BMC time synchronization method according to claim 3, characterized in that the BMC receiving the time request sends reply data to the local BMC after passing the request verification, comprising: 收到IPMI时间请求的BMC若能识别请求校验码,则发送带有本机NTP状态、NTP服务器地址、时间戳和N位时间同步校验码的IPMI回复。If the BMC that receives the IPMI time request can recognize the request verification code, it sends an IPMI reply with the local NTP status, NTP server address, timestamp and N-bit time synchronization verification code. 5.根据权利要求4所述的BMC时间同步方法,其特征在于,所述本机BMC收到回复后,进行时间同步校验,校验通过后将相应的BMC作为时间同步候选BMC,包括:5. The BMC time synchronization method according to claim 4, characterized in that after receiving the reply, the local BMC performs a time synchronization check, and after the check passes, the corresponding BMC is used as a time synchronization candidate BMC, including: 本机BMC收到IPMI回复后,检验时间同步校验码,若校验通过,则将此BMC作为时间同步候选BMC。After receiving the IPMI reply, the local BMC checks the time synchronization check code. If the check passes, the BMC is used as a candidate BMC for time synchronization. 6.根据权利要求5所述的BMC时间同步方法,其特征在于,所述将最佳BMC的时间设定为本机BMC的时间,包括:6. The BMC time synchronization method according to claim 5, wherein the step of setting the time of the best BMC as the time of the local BMC comprises: 将最佳BMC的时间戳设为本机BMC的时间,并将最佳BMC的NTP服务器地址设置为本机的NTP服务器地址。Set the timestamp of the best BMC to the time of the local BMC, and set the NTP server address of the best BMC to the NTP server address of the local machine. 7.一种BMC时间同步系统,其特征在于,包括:7. A BMC time synchronization system, comprising: 设置模块,用于在本机BMC内增加时间同步命令,并定义其时间请求和回复的数据格式;The setting module is used to add time synchronization commands in the local BMC and define the data format of its time request and reply; 请求模块,用于当本机BMC无法通过NTP服务器获取NTP时间时,本机BMC周期性向多台BMC发送时间请求;The request module is used to periodically send time requests to multiple BMCs when the local BMC cannot obtain the NTP time from the NTP server. 回复模块,用于收到时间请求的BMC在通过请求校验后向本机BMC发送回复数据;验证模块,用于本机BMC收到回复后,进行时间同步校验,校验通过后将相应的BMC作为时间同步候选BMC;The reply module is used for the BMC that receives the time request to send the reply data to the local BMC after the request verification is passed; the verification module is used for the local BMC to perform time synchronization verification after receiving the reply, and the corresponding BMC is used as the candidate BMC for time synchronization after the verification is passed; 筛选模块,用于根据每个通信时长,在所有时间同步候选BMC中筛选出最佳BMC;同步模块,用于将最佳BMC的时间设定为本机BMC的时间。The screening module is used to screen out the best BMC from all time synchronization candidate BMCs according to each communication duration; the synchronization module is used to set the time of the best BMC as the time of the local BMC. 8.一种BMC时间同步装置,其特征在于,包括:8. A BMC time synchronization device, comprising: 存储器,用于存储BMC时间同步程序;A memory, used for storing a BMC time synchronization program; 处理器,用于执行所述BMC时间同步程序时实现如权利要求1至6任一项权利要求所述的BMC时间同步方法的步骤。A processor, configured to implement the steps of the BMC time synchronization method according to any one of claims 1 to 6 when executing the BMC time synchronization program. 9.一种可读存储介质,其特征在于:所述可读存储介质上存储有BMC时间同步程序,所述BMC时间同步程序被处理器执行时实现如权利要求1至6任一项权利要求所述的BMC时间同步方法的步骤。9. A readable storage medium, characterized in that: a BMC time synchronization program is stored on the readable storage medium, and when the BMC time synchronization program is executed by a processor, the steps of the BMC time synchronization method according to any one of claims 1 to 6 are implemented.
CN202210893226.3A 2022-07-27 2022-07-27 BMC time synchronization method, system, device and readable storage medium Active CN115225193B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210893226.3A CN115225193B (en) 2022-07-27 2022-07-27 BMC time synchronization method, system, device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210893226.3A CN115225193B (en) 2022-07-27 2022-07-27 BMC time synchronization method, system, device and readable storage medium

Publications (2)

Publication Number Publication Date
CN115225193A CN115225193A (en) 2022-10-21
CN115225193B true CN115225193B (en) 2024-05-10

Family

ID=83612910

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210893226.3A Active CN115225193B (en) 2022-07-27 2022-07-27 BMC time synchronization method, system, device and readable storage medium

Country Status (1)

Country Link
CN (1) CN115225193B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108234057A (en) * 2018-01-24 2018-06-29 郑州云海信息技术有限公司 Method for synchronizing time, device and the storage medium of server based on BMC
CN110336636A (en) * 2019-07-26 2019-10-15 新华三技术有限公司成都分公司 Method for synchronizing time, device and baseboard management controller
CN111211853A (en) * 2019-12-20 2020-05-29 苏州浪潮智能科技有限公司 BMC time synchronization checking method and equipment
CN114779882A (en) * 2022-04-20 2022-07-22 苏州浪潮智能科技有限公司 BMC time synchronization method and device, BMC and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032978A (en) * 2018-05-31 2018-12-18 郑州云海信息技术有限公司 A kind of document transmission method based on BMC, device, equipment and medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108234057A (en) * 2018-01-24 2018-06-29 郑州云海信息技术有限公司 Method for synchronizing time, device and the storage medium of server based on BMC
CN110336636A (en) * 2019-07-26 2019-10-15 新华三技术有限公司成都分公司 Method for synchronizing time, device and baseboard management controller
CN111211853A (en) * 2019-12-20 2020-05-29 苏州浪潮智能科技有限公司 BMC time synchronization checking method and equipment
CN114779882A (en) * 2022-04-20 2022-07-22 苏州浪潮智能科技有限公司 BMC time synchronization method and device, BMC and storage medium

Also Published As

Publication number Publication date
CN115225193A (en) 2022-10-21

Similar Documents

Publication Publication Date Title
CN112669149B (en) Block chain consensus method, device, server and storage medium
CN108924274B (en) Domain name system DNS processing method and device, storage medium and electronic equipment
CN112671950A (en) Domain name processing method and device based on block chain, electronic equipment and storage medium
CN112235136B (en) Network file system backup method, system, terminal and storage medium
CN111338673B (en) Equipment debugging method and device, electronic equipment and storage medium
CN107844311A (en) A kind of server firmware upgrade method and device
CN115225193B (en) BMC time synchronization method, system, device and readable storage medium
CN113238778B (en) Method, system, equipment and medium for upgrading BIOS firmware
CN114296880A (en) Service request processing method, device, equipment and medium based on large-scale cluster
CN114115955A (en) Server resource box FPGA firmware upgrade method, system, terminal and storage medium
CN115681193B (en) Fan regulation and control system, method, device and medium for intelligent network card
CN112003723A (en) Method and system for batch firmware upgrade of Expander chip
CN112148334A (en) Firmware upgrading method, device, system, terminal, lamp and storage medium
CN116560922A (en) Method, system and device for power-on and power-off testing of server and readable storage medium
CN116204214A (en) BMC upgrade method, device, system, electronic equipment and storage medium
CN109271188A (en) A kind of CPLD upgrade method and relevant apparatus
CN115061756A (en) A server power capping scheme configuration method, system, device and medium
CN114783501A (en) Method, system and device for verifying write mode of SSD and storage medium
CN114513792A (en) Remote network control method and device based on eSIM card
CN115499339B (en) Pressure testing method, system and device for VNC function and storage medium
CN114578938B (en) Method, system, device and storage medium for dual-battery redundant start-up of server
CN113760809B (en) Configuration method, system, device and readable storage medium of a GPIO interface
CN115150304B (en) Monitoring method, system, device and medium for server node IPv6 network
CN115640568B (en) Remote pre-configuration method, system, device and medium for BIOS password and login parameters
CN114443150B (en) Switch factory information synchronization method, system, terminal and storage medium

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
GR01 Patent grant
GR01 Patent grant