CN108415817A - BMC obtains the method, apparatus of time, equipment and can storage medium - Google Patents
BMC obtains the method, apparatus of time, equipment and can storage medium Download PDFInfo
- Publication number
- CN108415817A CN108415817A CN201810171636.0A CN201810171636A CN108415817A CN 108415817 A CN108415817 A CN 108415817A CN 201810171636 A CN201810171636 A CN 201810171636A CN 108415817 A CN108415817 A CN 108415817A
- Authority
- CN
- China
- Prior art keywords
- time
- bmc
- preset
- preset memory
- obtains
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3466—Performance evaluation by tracing or monitoring
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
技术领域technical field
本发明涉及服务器维护技术领域,特别是涉及一种BMC获取时间的方法。本发明还涉及一种BMC获取时间的装置、设备及可读存储介质。The invention relates to the technical field of server maintenance, in particular to a method for BMC to acquire time. The invention also relates to a device, equipment and readable storage medium for BMC to acquire time.
背景技术Background technique
服务器BMC(Baseboard Management Controller,基板管理控制器)的时间管理系统在服务器系统监控中起着重要的作用,BMC监管服务器各部件的健康状况,保证服务器出现异常时能够准确地定位异常发生的时间及其原因,因此保证BMC计时的准确性十分重要。The time management system of the server BMC (Baseboard Management Controller, Baseboard Management Controller) plays an important role in the monitoring of the server system. The BMC monitors the health status of each component of the server to ensure that when the server is abnormal, it can accurately locate the abnormal time and Therefore, it is very important to ensure the accuracy of BMC timing.
目前,BMC的时间获取的途径主要是通过NTP(Network Time Protocol,网络时间协议)服务器获得,NTP服务器是通过网络协议与BMC建立通信并实时发送实时时间给BMC,当BMC发生重启时,BMC如果与NTP服务器之间处于通信异常状态,BMC就会恢复到初始设定时间,由于初始设定时间是在实时时间之前的时间,因此BMC就无法获取正确的时间。At present, the way to obtain the time of the BMC is mainly through the NTP (Network Time Protocol, Network Time Protocol) server. The NTP server establishes communication with the BMC through the network protocol and sends the real time to the BMC in real time. When the BMC restarts, if the BMC If the communication with the NTP server is abnormal, the BMC will return to the initial setting time. Since the initial setting time is before the real time, the BMC cannot obtain the correct time.
因此如何保证在通过NTP服务器无法获取实时时间的情况下,BMC重启后能够得到正确的时间是本领域技术人员需要解决的问题。Therefore, how to ensure that when the real time cannot be obtained through the NTP server, the correct time can be obtained after the BMC is restarted is a problem to be solved by those skilled in the art.
发明内容Contents of the invention
本发明的目的是提供一种BMC获取时间的方法,其能够保证BMC时间的准确性;本发明的另一目的是提供一种包括上述方法的BMC获取时间的装置、设备及可读存储介质,其也能够保证BMC时间的准确性。The object of the present invention is to provide a kind of method of BMC acquisition time, and it can guarantee the accuracy of BMC time; Another object of the present invention is to provide a kind of device, equipment and readable storage medium comprising the BMC acquisition time of above-mentioned method, It can also ensure the accuracy of the BMC time.
为解决上述技术问题,本发明提供了一种BMC获取时间的方法,包括:In order to solve the above technical problems, the present invention provides a method for BMC to obtain time, including:
将当前时间实时存储至预设存储器;Store the current time in real time to the preset memory;
每隔预设时间周期获取基板管理控制器BMC的系统时间;Acquiring the system time of the baseboard management controller BMC every preset time period;
当所述系统时间对应的时间点在预设时间阈值对应的时间点之前时,则读取预设存储器内预先存储的时间并将所述预设存储器内预先存储的时间设置为所述BMC的系统时间。When the time point corresponding to the system time is before the time point corresponding to the preset time threshold, read the pre-stored time in the preset memory and set the pre-stored time in the preset memory as the time of the BMC system time.
优选地,在所述读取预设存储器内预先存储的时间并将所述预设存储器内预先存储的时间设置为所述BMC的系统时间后,还包括:Preferably, after reading the pre-stored time in the preset memory and setting the pre-stored time in the preset memory as the system time of the BMC, it also includes:
生成所述BMC异常的提示信号。A prompt signal for abnormality of the BMC is generated.
优选地,所述提示信号为语音信号或光信号。Preferably, the prompt signal is a voice signal or a light signal.
优选地,所述预设存储器为实时时钟寄存器RTC。Preferably, the preset memory is a real-time clock register RTC.
为解决上述技术问题,本发明还提供了一种BMC获取时间的装置,包括:In order to solve the above technical problems, the present invention also provides a device for BMC to obtain time, including:
保存单元,用于将当前时间实时存储至预设存储器;A saving unit is used to store the current time to the preset memory in real time;
获取单元,用于每隔预设时间周期获取基板管理控制器BMC的系统时间;An acquisition unit, configured to acquire the system time of the baseboard management controller BMC every preset time period;
设置单元,用于当所述系统时间对应的时间点在预设时间阈值对应的时间点之前时,则读取预设存储器内预先存储的时间并将所述预设存储器内预先存储的时间设置为所述BMC的系统时间。A setting unit, configured to read the pre-stored time in the preset memory and set the pre-stored time in the preset memory when the time point corresponding to the system time is before the time point corresponding to the preset time threshold It is the system time of the BMC.
优选地,还包括:Preferably, it also includes:
告警单元,用于生成所述BMC异常的提示信号。An alarm unit, configured to generate a prompt signal indicating that the BMC is abnormal.
优选地,所述提示信号为语音信号或光信号。Preferably, the prompt signal is a voice signal or a light signal.
优选地,所述预设存储器为实时时钟寄存器RTC。Preferably, the preset memory is a real-time clock register RTC.
为解决上述技术问题,本发明还提供了一种BMC获取时间的设备,包括:In order to solve the above-mentioned technical problems, the present invention also provides a kind of equipment that BMC acquires time, comprising:
存储器,用于存储计算机程序;memory for storing computer programs;
处理器,用于执行所述计算机程序时实现如上述任一项所述BMC获取时间方法的步骤。A processor, configured to implement the steps of the method for acquiring time from the BMC as described in any one of the above when executing the computer program.
为解决上述技术问题,本发明还提供了一种可读存储介质,所述可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如上述任一项所述BMC获取时间方法的步骤。In order to solve the above technical problems, the present invention also provides a readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the BMC acquisition time as described in any one of the above is realized. method steps.
本发明提供了一种BMC获取时间的方法、装置、设备及可读存储介质,包括:将当前时间实时存储至预设存储器;每隔预设时间周期获取基板管理控制器BMC的系统时间;当系统时间对应的时间点在预设时间阈值对应的时间点之前时,则读取预设存储器内预先存储的时间并将预设存储器内预先存储的时间设置为BMC的系统时间。本发明每隔一段时间就获取一次BMC的系统时间,当出现获取到的系统时间对应的时间点在预设时间阈值对应的时间点之前,则说明BMC重启后无法通过NTP服务器获得实时时间而恢复到了初始设定时间,此时,读取预设存储器内预先存储的时间并将读取预设存储器内预先存储的时间设置为BMC的系统时间,由于预设存储器内预先存储的时间为BIOS初始化时发送的实时时间,因此本发明在BMC在无法通过NTP服务器获得实时时间的情况下可以通过预设存储器获得实时时间,保证了BMC时间的准确性。The present invention provides a method, device, device and readable storage medium for obtaining time by BMC, including: storing the current time in a preset memory in real time; obtaining the system time of the baseboard management controller BMC every preset time period; When the time point corresponding to the system time is before the time point corresponding to the preset time threshold, read the pre-stored time in the preset memory and set the pre-stored time in the preset memory as the system time of the BMC. The present invention obtains the system time of the BMC every once in a while, and when the time point corresponding to the obtained system time is before the time point corresponding to the preset time threshold, it means that the BMC cannot obtain the real-time time through the NTP server after restarting and recover When the initial setting time is reached, at this time, read the pre-stored time in the preset memory and set it as the system time of the BMC, because the pre-stored time in the preset memory is for BIOS initialization Therefore, the present invention can obtain the real time through the preset memory when the BMC cannot obtain the real time through the NTP server, thereby ensuring the accuracy of the BMC time.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对现有技术和实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the prior art and the accompanying drawings that need to be used in the embodiments. Obviously, the accompanying drawings in the following description are only some of the present invention. Embodiments, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1为本发明提供的一种BMC获取时间的方法的流程图;Fig. 1 is the flowchart of the method for a kind of BMC acquisition time provided by the present invention;
图2为本发明提供的一种BMC获取时间的装置的结构示意图。FIG. 2 is a schematic structural diagram of a device for obtaining time by a BMC provided by the present invention.
具体实施方式Detailed ways
本发明的核心是提供一种BMC获取时间的方法,其能够保证BMC时间的准确性;本发明的另一核心是提供一种包括上述方法的BMC获取时间的装置、设备及可读存储介质,其也能够保证BMC时间的准确性。Core of the present invention is to provide a kind of method for BMC acquisition time, and it can guarantee the accuracy of BMC time; Another core of the present invention is to provide a kind of device that comprises the BMC acquisition time of above-mentioned method, equipment and readable storage medium, It can also ensure the accuracy of the BMC time.
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
本发明提供了一种BMC获取时间的方法,如图1所示,图1为本发明提供的一种BMC获取时间的方法的流程图,该方法包括以下步骤:The present invention provides a kind of method for BMC obtaining time, as shown in Figure 1, Fig. 1 is the flowchart of the method for a kind of BMC obtaining time provided by the present invention, and this method comprises the following steps:
步骤S1:将当前时间实时存储至预设存储器。Step S1: Store the current time in the preset memory in real time.
需要说明的是,为了能在BMC与NTP时间服务器之间通信异常而获取不到实时时间的时候,因此需要将实时时间预先存储到预设存储器中,当BMC与NTP时间服务器之间通信异常时,BMC再通过内部读取的方式,将预设存储器内的时间设置为系统时间,具体地,预设存储器中的实时时间可以是BIOS在上电初始化时发送到BMC的实时时间,BMC在接收到BIOS发送的实时时间后就将该实时时间存储至预设存储器,该实时时间存储至预设存储器后会实时地计时,以使该实时时间与当前的时间点一致。It should be noted that, in order to obtain the real time when the communication between the BMC and the NTP time server is abnormal, the real time needs to be stored in the preset memory in advance. When the communication between the BMC and the NTP time server is abnormal , the BMC sets the time in the preset memory as the system time by means of internal reading. Specifically, the real-time time in the preset memory can be the real-time time sent to the BMC by the BIOS when it is powered on and initialized. After the real-time time sent by the BIOS is stored in the preset memory, the real-time time will be counted in real time after being stored in the preset memory, so that the real-time time is consistent with the current time point.
步骤S2:每隔预设时间周期获取基板管理控制器BMC的系统时间。Step S2: Obtain the system time of the baseboard management controller BMC every preset time period.
需要说明的是,为了保证BMC的系统时间一直都是实时时间,因此需要一直获取BMC当前的系统时间,以便于判断BMC当前的系统时间是否为实时时间。具体地,可以通过监控程序对BMC进行实时监控,每隔预设时间周期获取一次BMC的系统时间,预设时间周期可以根据实际情况进行设置,如需进一步确保BMC系统时间的准确性,可以将预设时间周期设置得短一些。通过不断获取BMC的系统时间,可以让管理员一直都能了解到BMC当前的系统时间,以便于管理员通过BMC的系统时间来了解当前BMC的运行状况。It should be noted that, in order to ensure that the system time of the BMC is always real time, it is necessary to obtain the current system time of the BMC all the time, so as to judge whether the current system time of the BMC is real time. Specifically, the BMC can be monitored in real time through the monitoring program, and the BMC system time can be obtained every preset time period. The preset time period can be set according to the actual situation. To further ensure the accuracy of the BMC system time, you can set The preset time period is set shorter. By continuously obtaining the system time of the BMC, the administrator can always know the current system time of the BMC, so that the administrator can know the current running status of the BMC through the system time of the BMC.
步骤S3:当系统时间对应的时间点在预设时间阈值对应的时间点之前时,则读取预设存储器内预先存储的时间并将预设存储器内预先存储的时间设置为BMC的系统时间。Step S3: When the time point corresponding to the system time is before the time point corresponding to the preset time threshold, read the pre-stored time in the preset memory and set the pre-stored time in the preset memory as the system time of the BMC.
需要说明的是,为了判断BMC当前的系统时间有没有恢复到初始设定时间,因此需要将BMC当前的系统时间与预设时间阈值进行比较,由于初始设定时间是固化在BMC里的时间点,这个时间点一般是一个很早以前的时间点,因此预设时间阈值可以设置为接近当前实时时间即可,例如:初始设定时间为1970年1月1日,此时,预设时间阈值可以设置为2018年1月1日。若BMC当前的系统时间对应的时间点在预设时间阈值对应的时间点之前,则表明BMC当前的系统时间是实时时间,若BMC当前的系统时间对应的时间点在预设时间阈值对应的时间点之前,则表明此时BMC恢复到了初始设定时间,此时,读取预设存储器内预先存储的时间,并将该时间设置为BMC的系统时间。It should be noted that in order to determine whether the current system time of the BMC has returned to the initial set time, it is necessary to compare the current system time of the BMC with the preset time threshold, since the initial set time is the time point solidified in the BMC , this time point is generally a long time ago, so the preset time threshold can be set close to the current real time, for example: the initial setting time is January 1, 1970, at this time, the preset time threshold Can be set to January 1, 2018. If the time point corresponding to the current system time of the BMC is before the time point corresponding to the preset time threshold, it indicates that the current system time of the BMC is real time; if the time point corresponding to the current system time of the BMC is at the time corresponding to the preset time threshold Before the dot, it indicates that the BMC has returned to the initial set time at this time. At this time, read the pre-stored time in the preset memory and set the time as the system time of the BMC.
作为优选的,在读取预设存储器内预先存储的时间并将预设存储器内预先存储的时间设置为BMC的系统时间后,还包括:As preferably, after reading the pre-stored time in the preset memory and setting the pre-stored time in the preset memory as the system time of the BMC, it also includes:
生成BMC异常的提示信号。Generate a prompt signal for BMC abnormality.
需要说明的是,若出现了将预设存储器内预先存储的时间设置为BMC的系统时间的情况,则说明BMC此时发生了异常重启,BMC重启后与NTP时间服务器之间的通讯异常,此时可以生成BMC异常的提示信号,以便于通知管理员及时查看BMC,并作出相应的解决措施。具体地,提示信号可以是BMC生成的,并发送到管理员所在的终端。通过这种方式,方便了管理员对服务器的管理,提高了管理员维护服务器的效率。It should be noted that if the pre-stored time in the preset memory is set as the BMC system time, it means that the BMC has restarted abnormally at this time, and the communication between the BMC and the NTP time server is abnormal after the restart. When the BMC is abnormal, a prompt signal can be generated to notify the administrator to check the BMC in time and take corresponding solutions. Specifically, the prompt signal may be generated by the BMC and sent to the terminal where the administrator is located. In this way, it is convenient for the administrator to manage the server, and the efficiency of the administrator in maintaining the server is improved.
作为优选的,提示信号为语音信号或光信号。Preferably, the prompt signal is a voice signal or a light signal.
需要说明的是,提示信号可以是语音信号或者光信号,例如:在提示信号为语音信号时,若BMC发生异常,BMC会发出“出现异常,请及时检查设备!”的语音,在提示信号是光信号的时,当BMC发生异常,则BMC上的警示灯会发出红色的灯光,以提示在现场的管理员及时检查设备。通过语音信号和光信号的方式进行提示,更加直观地反应出BMC当前的状态,方便管理员及时作出应对措施,提高了工作效率。It should be noted that the prompt signal can be a voice signal or an optical signal. For example, when the prompt signal is a voice signal, if an abnormality occurs in the BMC, the BMC will issue a voice saying "An abnormality has occurred, please check the device in time!". When the light signal is activated, when the BMC is abnormal, the warning light on the BMC will emit a red light to remind the on-site administrator to check the equipment in time. Prompts through voice signals and light signals can more intuitively reflect the current status of the BMC, facilitate administrators to take timely countermeasures, and improve work efficiency.
作为优选的,预设存储器为实时时钟寄存器RTC。Preferably, the preset memory is a real-time clock register RTC.
需要说明的是,预设存储器为实时时钟寄存器RTC(Real-Time Clock,实时时钟寄存器),RTC是集成电路,通常称为时钟芯片,其主要作用是提供精确的实时时间。RTC智能化程度大,具有万年历功能,输出控制也灵活多样,同时RTC还能进行时间误差的校正,进一步提高了BMC的系统时间的准确性。It should be noted that the preset memory is a real-time clock register RTC (Real-Time Clock, real-time clock register). RTC is an integrated circuit, usually called a clock chip, and its main function is to provide accurate real-time time. RTC has a high degree of intelligence, has a perpetual calendar function, and has flexible and diverse output control. At the same time, RTC can also correct time errors, which further improves the accuracy of BMC system time.
本发明提供了一种BMC获取时间的方法,包括:将当前时间实时存储至预设存储器;每隔预设时间周期获取基板管理控制器BMC的系统时间;当系统时间对应的时间点在预设时间阈值对应的时间点之前时,则读取预设存储器内预先存储的时间并将预设存储器内预先存储的时间设置为BMC的系统时间。本发明每隔一段时间就获取一次BMC的系统时间,当出现获取到的系统时间对应的时间点在预设时间阈值对应的时间点之前,则说明BMC重启后无法通过NTP服务器获得实时时间而恢复到了初始设定时间,此时,读取预设存储器内预先存储的时间并将读取预设存储器内预先存储的时间设置为BMC的系统时间,由于预设存储器内预先存储的时间为BIOS初始化时发送的实时时间,因此本发明在BMC在无法通过NTP服务器获得实时时间的情况下可以通过预设存储器获得实时时间,保证了BMC时间的准确性。The present invention provides a method for obtaining time by BMC, comprising: storing the current time in a preset memory in real time; obtaining the system time of the baseboard management controller BMC every preset time period; When the time point corresponding to the time threshold is before, read the pre-stored time in the preset memory and set the pre-stored time in the preset memory as the system time of the BMC. The present invention obtains the system time of the BMC every once in a while, and when the time point corresponding to the obtained system time is before the time point corresponding to the preset time threshold, it means that the BMC cannot obtain the real-time time through the NTP server after restarting and recover When the initial setting time is reached, at this time, read the pre-stored time in the preset memory and set it as the system time of the BMC, because the pre-stored time in the preset memory is for BIOS initialization Therefore, the present invention can obtain the real time through the preset memory when the BMC cannot obtain the real time through the NTP server, thereby ensuring the accuracy of the BMC time.
本发明还提供了一种BMC获取时间的装置,如图2所示,图2为本发明提供的一种BMC获取时间的装置的结构示意图,该装置包括:The present invention also provides a kind of device of BMC obtaining time, as shown in Figure 2, Fig. 2 is the structural representation of the device of a kind of BMC obtaining time provided by the present invention, and this device comprises:
保存单元1,用于将当前时间实时存储至预设存储器;A storage unit 1, configured to store the current time in real-time to a preset memory;
获取单元2,用于每隔预设时间周期获取基板管理控制器BMC的系统时间;The acquisition unit 2 is configured to acquire the system time of the baseboard management controller BMC every preset time period;
设置单元3,用于当系统时间对应的时间点在预设时间阈值对应的时间点之前时,则读取预设存储器内预先存储的时间并将预设存储器内预先存储的时间设置为BMC的系统时间。The setting unit 3 is used to read the pre-stored time in the preset memory and set the pre-stored time in the preset memory as the time point of the BMC when the time point corresponding to the system time is before the time point corresponding to the preset time threshold. system time.
作为优选的,该装置还包括:As preferably, the device also includes:
告警单元,用于生成BMC异常的提示信号。The alarm unit is used to generate a prompt signal of abnormality of the BMC.
作为优选的,提示信号为语音信号或光信号。Preferably, the prompt signal is a voice signal or a light signal.
作为优选的,预设存储器为实时时钟寄存器RTC。Preferably, the preset memory is a real-time clock register RTC.
本发明提供了一种BMC获取时间装置,包括:将当前时间实时存储至预设存储器;每隔预设时间周期获取基板管理控制器BMC的系统时间;当系统时间对应的时间点在预设时间阈值对应的时间点之前时,则读取预设存储器内预先存储的时间并将预设存储器内预先存储的时间设置为BMC的系统时间。本发明每隔一段时间就获取一次BMC的系统时间,当出现获取到的系统时间对应的时间点在预设时间阈值对应的时间点之前,则说明BMC重启后无法通过NTP服务器获得实时时间而恢复到了初始设定时间,此时,读取预设存储器内预先存储的时间并将读取预设存储器内预先存储的时间设置为BMC的系统时间,由于预设存储器内预先存储的时间为BIOS初始化时发送的实时时间,因此本发明在BMC在无法通过NTP服务器获得实时时间的情况下可以通过预设存储器获得实时时间,保证了BMC时间的准确性。The invention provides a BMC time acquisition device, comprising: storing the current time in a preset memory in real time; acquiring the system time of the baseboard management controller BMC every preset time period; when the time point corresponding to the system time is at the preset time When the time point corresponding to the threshold is before, read the pre-stored time in the preset memory and set the pre-stored time in the preset memory as the system time of the BMC. The present invention obtains the system time of the BMC every once in a while, and when the time point corresponding to the obtained system time is before the time point corresponding to the preset time threshold, it means that the BMC cannot obtain the real-time time through the NTP server after restarting and recover When the initial setting time is reached, at this time, read the pre-stored time in the preset memory and set it as the system time of the BMC, because the pre-stored time in the preset memory is for BIOS initialization Therefore, the present invention can obtain the real time through the preset memory when the BMC cannot obtain the real time through the NTP server, thereby ensuring the accuracy of the BMC time.
本发明还提供了一种BMC获取时间的设备,包括:The present invention also provides a kind of equipment of BMC obtaining time, comprising:
存储器,用于存储计算机程序;memory for storing computer programs;
处理器,用于执行计算机程序时实现如上述任一项BMC获取时间方法的步骤。The processor is used to implement the steps of any one of the methods for obtaining time from the BMC when executing the computer program.
本发明还提供了一种可读存储介质,可读存储介质上存储有计算机程序,计算机程序被处理器执行时实现如上述任一项BMC获取时间方法的步骤。The present invention also provides a readable storage medium. A computer program is stored on the readable storage medium. When the computer program is executed by a processor, the steps of any one of the above BMC time acquisition methods are implemented.
对于本发明提供的一种BMC获取时间设备及可读存储介质的介绍请参照上述方法实施例,本发明在此不在赘述。For the introduction of a BMC time acquisition device and readable storage medium provided by the present invention, please refer to the above-mentioned method embodiments, and the present invention will not be repeated here.
以上对本发明所提供一种BMC获取时间方法、装置、设备及可读存储介质进行了详细介绍。本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想。应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以对本发明进行若干改进和修饰,这些改进和修饰也落入本发明权利要求的保护范围内。The method, device, equipment, and readable storage medium for acquiring time of BMC provided by the present invention are described above in detail. In this paper, specific examples are used to illustrate the principle and implementation of the present invention, and the descriptions of the above embodiments are only used to help understand the method and core idea of the present invention. It should be pointed out that for those skilled in the art, without departing from the principles of the present invention, some improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the protection scope of the claims of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810171636.0A CN108415817A (en) | 2018-03-01 | 2018-03-01 | BMC obtains the method, apparatus of time, equipment and can storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810171636.0A CN108415817A (en) | 2018-03-01 | 2018-03-01 | BMC obtains the method, apparatus of time, equipment and can storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN108415817A true CN108415817A (en) | 2018-08-17 |
Family
ID=63129755
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810171636.0A Pending CN108415817A (en) | 2018-03-01 | 2018-03-01 | BMC obtains the method, apparatus of time, equipment and can storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108415817A (en) |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109375956A (en) * | 2018-11-01 | 2019-02-22 | 郑州云海信息技术有限公司 | A method for restarting an operating system, a logical device and a control device |
| CN111007916A (en) * | 2019-11-29 | 2020-04-14 | Tcl移动通信科技(宁波)有限公司 | Terminal device time setting method and system, storage medium and terminal device |
| CN112148065A (en) * | 2019-06-28 | 2020-12-29 | 华为技术有限公司 | Time synchronization method and server |
| CN113835468A (en) * | 2021-09-16 | 2021-12-24 | 苏州浪潮智能科技有限公司 | A method and system for monitoring RTC time jump |
| CN113849336A (en) * | 2021-11-25 | 2021-12-28 | 苏州浪潮智能科技有限公司 | BMC time management method, system, device and computer medium |
| CN115495160A (en) * | 2022-11-16 | 2022-12-20 | 苏州浪潮智能科技有限公司 | ARM server and its starting method, device and readable storage medium |
| CN116225572A (en) * | 2023-03-24 | 2023-06-06 | 苏州浪潮智能科技有限公司 | The method, device, equipment and medium for the first time synchronization in the BMC start-up phase |
| CN120276552A (en) * | 2025-06-06 | 2025-07-08 | 苏州元脑智能科技有限公司 | Time synchronization method, device, system, network equipment and storage medium |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101923369A (en) * | 2009-06-16 | 2010-12-22 | 鸿富锦精密工业(深圳)有限公司 | Baseboard management controller time management system and method |
| CN102298414A (en) * | 2010-06-22 | 2011-12-28 | 鸿富锦精密工业(深圳)有限公司 | Server time synchronizing system |
| CN104572317A (en) * | 2013-10-14 | 2015-04-29 | 鸿富锦精密工业(深圳)有限公司 | Mainboard and method for acquiring time information by utilizing baseboard management controller of mainboard |
-
2018
- 2018-03-01 CN CN201810171636.0A patent/CN108415817A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101923369A (en) * | 2009-06-16 | 2010-12-22 | 鸿富锦精密工业(深圳)有限公司 | Baseboard management controller time management system and method |
| CN102298414A (en) * | 2010-06-22 | 2011-12-28 | 鸿富锦精密工业(深圳)有限公司 | Server time synchronizing system |
| CN104572317A (en) * | 2013-10-14 | 2015-04-29 | 鸿富锦精密工业(深圳)有限公司 | Mainboard and method for acquiring time information by utilizing baseboard management controller of mainboard |
Non-Patent Citations (1)
| Title |
|---|
| 网友: "linux rtc驱动", 《HTTP://BBS.CHINAUNIX.NET/FORUM.PHP?MOD=VIEWTHREAD&TID=3637782&PAGE=1&AUTHORID=22915173》 * |
Cited By (16)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109375956B (en) * | 2018-11-01 | 2021-10-15 | 郑州云海信息技术有限公司 | A method for restarting an operating system, a logical device and a control device |
| CN109375956A (en) * | 2018-11-01 | 2019-02-22 | 郑州云海信息技术有限公司 | A method for restarting an operating system, a logical device and a control device |
| CN112148065A (en) * | 2019-06-28 | 2020-12-29 | 华为技术有限公司 | Time synchronization method and server |
| WO2020258958A1 (en) * | 2019-06-28 | 2020-12-30 | 华为技术有限公司 | Time synchronization method and server |
| CN111007916A (en) * | 2019-11-29 | 2020-04-14 | Tcl移动通信科技(宁波)有限公司 | Terminal device time setting method and system, storage medium and terminal device |
| CN113835468B (en) * | 2021-09-16 | 2023-07-14 | 苏州浪潮智能科技有限公司 | A method and system for monitoring RTC time jump |
| CN113835468A (en) * | 2021-09-16 | 2021-12-24 | 苏州浪潮智能科技有限公司 | A method and system for monitoring RTC time jump |
| US12216534B2 (en) | 2021-11-25 | 2025-02-04 | Suzhou Metabrain Intelligent Technology Co., Ltd. | BMC time management method, system and apparatus, and computer medium |
| WO2023092919A1 (en) * | 2021-11-25 | 2023-06-01 | 苏州浪潮智能科技有限公司 | Bmc time management method, system, and apparatus, and computer medium |
| CN113849336A (en) * | 2021-11-25 | 2021-12-28 | 苏州浪潮智能科技有限公司 | BMC time management method, system, device and computer medium |
| CN115495160B (en) * | 2022-11-16 | 2023-02-28 | 苏州浪潮智能科技有限公司 | ARM server, starting method and device thereof, and readable storage medium |
| CN115495160A (en) * | 2022-11-16 | 2022-12-20 | 苏州浪潮智能科技有限公司 | ARM server and its starting method, device and readable storage medium |
| US12277089B1 (en) | 2022-11-16 | 2025-04-15 | Suzhou Metabrain Intelligent Technology Co., Ltd. | Arm server and starting method and apparatus therefor, and readable storage medium |
| CN116225572A (en) * | 2023-03-24 | 2023-06-06 | 苏州浪潮智能科技有限公司 | The method, device, equipment and medium for the first time synchronization in the BMC start-up phase |
| CN116225572B (en) * | 2023-03-24 | 2026-01-30 | 苏州元脑智能科技有限公司 | Methods, apparatus, equipment, and media for the first time synchronization during the BMC startup phase. |
| CN120276552A (en) * | 2025-06-06 | 2025-07-08 | 苏州元脑智能科技有限公司 | Time synchronization method, device, system, network equipment and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108415817A (en) | BMC obtains the method, apparatus of time, equipment and can storage medium | |
| CN114978883B (en) | Network wakeup management method and device, electronic equipment and storage medium | |
| CN111290918B (en) | Server running state monitoring method and device and computer readable storage medium | |
| CN102081573B (en) | Device and method for recording equipment restart reason | |
| CN104461805A (en) | CPLD-based system state detecting method, CPLD and server mainboard | |
| CN108376107A (en) | A kind of method, apparatus, equipment and the storage medium of server failure detection | |
| CN103577298A (en) | Baseboard management controller monitoring system and method | |
| CN116107819A (en) | A server startup fault detection system, method, device and medium | |
| CN108932007B (en) | Method and computer device for obtaining timestamp | |
| US12339724B2 (en) | Power supply control method and apparatus, and server and non-volatile storage medium | |
| CN115099778A (en) | Management and control method, system, equipment and medium for industrial manufacturing equipment | |
| CN104754035A (en) | Method for guaranteeing management mainboard time by virtue of cooperation of NTP and RTC chip | |
| WO2020000956A1 (en) | Method, apparatus and device for bmc monitoring of correctable ecc errors | |
| CN102932387A (en) | Equipment operation maintenance method and device | |
| CN115952022A (en) | Control method, system, equipment and medium for automatic storage of fault information | |
| CN109408350A (en) | It is a kind of to record the method for board resetting reason, controller and storage equipment | |
| CN116701338A (en) | Log time correction method and device, electronic equipment and storage medium | |
| CN109960638A (en) | BMC startup reason recording method, system, device and readable storage medium | |
| TW201516665A (en) | System and method for detecting system error of server | |
| CN109582505A (en) | A kind of recovery system, method and device of BIOS option default value | |
| CN110417619A (en) | A kind of recording method, system and the storage medium of server exception state | |
| CN111679943A (en) | Server test system | |
| KR20090052418A (en) | Device with restart information management function | |
| CN115098294A (en) | Abnormal event processing method, electronic equipment and management terminal | |
| CN105158611A (en) | Information processing method and electronic apparatus |
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 | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180817 |