[go: up one dir, main page]

CN116301968A - An information updating method, device, electronic equipment and storage medium - Google Patents

An information updating method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116301968A
CN116301968A CN202310084923.9A CN202310084923A CN116301968A CN 116301968 A CN116301968 A CN 116301968A CN 202310084923 A CN202310084923 A CN 202310084923A CN 116301968 A CN116301968 A CN 116301968A
Authority
CN
China
Prior art keywords
parameter information
information
hardware
bmc
server
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
CN202310084923.9A
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.)
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 CN202310084923.9A priority Critical patent/CN116301968A/en
Publication of CN116301968A publication Critical patent/CN116301968A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Hardware Redundancy (AREA)

Abstract

The embodiment of the invention provides an information updating method, an information updating device, electronic equipment and a storage medium, wherein the method comprises the following steps: after the server is started and enters the OS, the OS acquires first hardware parameter information of the server, and the first hardware parameter information is stored in a first data table and sent to the BMC; acquiring synchronous state parameter information and sending the synchronous state parameter information to the BMC; the synchronization state parameter is used for indicating an open synchronization state or a closed synchronization state; acquiring second hardware parameter information and storing the second hardware parameter information into a second data table in the running process of the server and under the condition that the synchronous state parameter indicates that the synchronous state is opened; comparing the first hardware parameter information with the second hardware parameter information; if the comparison results are different, the second hardware parameter information is sent to the BMC, and a synchronous command is sent to the BMC, so that the BMC updates the current hardware parameter information. The method and the system can enable the user to discover the problems of all hardware in the server in time, thereby avoiding more serious problems and improving the user experience.

Description

一种信息的更新方法、装置、电子设备和存储介质An information updating method, device, electronic equipment and storage medium

技术领域technical field

本发明涉及信息管理技术领域,特别是涉及一种信息的更新方法、一种信息的更新装置、一种电子设备和一种计算机可读存储介质。The present invention relates to the technical field of information management, in particular to an information update method, an information update device, an electronic device, and a computer-readable storage medium.

背景技术Background technique

平台管理表示的是一系列的监视和控制功能,操作的对象是系统硬件。比如通过监视系统硬件的温度、电压、风扇、电源等等,以及做相应的调节工作,以保证系统处于健康的状态。如果系统状态不正常,也可以通过复位的方式来重新启动系统。同时,平台管理还负责记录各种硬件的信息和日志记录,用于提示用户和后续问题的定位。以上的这些功能可以集成到一个控制器上来实现,这个控制器被称为基板管理控制器(Baseboard ManagerController),简称BMC。Platform management represents a set of monitoring and control functions that operate on system hardware. For example, by monitoring the temperature, voltage, fan, power supply, etc. of the system hardware, and making corresponding adjustments, to ensure that the system is in a healthy state. If the system status is abnormal, you can also restart the system by resetting. At the same time, the platform management is also responsible for recording various hardware information and log records, which are used to prompt users and locate subsequent problems. The above functions can be implemented by integrating into a controller, which is called a baseboard management controller (Baseboard Manager Controller), referred to as BMC.

BMC是一个独立的系统,它不依赖与系统上的其它硬件,也不依赖与BIOS(General-purpose input/output,通用输入/输出口)、OS(Operating System,操作系统)等,但是BMC可以与BIOS和OS交互,可以起到更好的平台管理作用,包括管理CPU、内存、PCIE(Peripheral Component Interconnect Express,周边设备高速连接标准)设备等等。用户通过这些管理信息,可以更好的了解当前的设备信息,但是关于BMC显示的设备信息,是开机过程中BIOS通过IPMI(Intelligent Platform Management Interface,智能平台管理接口)命令发送给BMC的,只是记录开机过程中的设备信息,进入OS之后,信息将不再更新,从而导致OS下发生异常时,BMC也无法更新,用户无法及时获取设备实时信息的变化,从而引起更严重的故障。BMC is an independent system, it does not depend on other hardware on the system, nor does it depend on BIOS (General-purpose input/output, general-purpose input/output port), OS (Operating System, operating system), etc., but BMC can Interacting with BIOS and OS can play a better role in platform management, including managing CPU, memory, PCIE (Peripheral Component Interconnect Express, peripheral high-speed connection standard) devices and so on. Users can better understand the current device information through these management information, but the device information displayed by the BMC is sent to the BMC by the BIOS through the IPMI (Intelligent Platform Management Interface, Intelligent Platform Management Interface) command during the boot process, and it is just a record The device information during the boot process will not be updated after entering the OS. As a result, when an abnormality occurs under the OS, the BMC cannot be updated, and the user cannot obtain changes in real-time information of the device in time, causing more serious faults.

发明内容Contents of the invention

鉴于上述问题,提出了本发明实施例以便提供一种克服上述问题或者至少部分地解决上述问题的一种信息的更新方法、一种信息的更新装置、一种电子设备和一种计算机可读存储介质。In view of the above problems, the embodiments of the present invention are proposed to provide an information update method, an information update device, an electronic device, and a computer-readable storage device that overcome the above problems or at least partially solve the above problems. medium.

为了解决上述问题,本发明实施例公开了一种信息的更新方法,应用于服务器,所述服务器运行有操作系统OS,所述服务器与基板管理控制器BMC通信连接,所述方法包括:In order to solve the above problems, an embodiment of the present invention discloses a method for updating information, which is applied to a server, the server runs an operating system OS, and the server is connected to a baseboard management controller BMC through communication. The method includes:

在所述服务器启动,进入所述OS后,通过所述OS获取所述服务器的第一硬件参数信息,并将所述第一硬件参数信息保存至第一数据表以及将所述第一硬件参数信息发送至所述BMC;After the server starts and enters the OS, obtain the first hardware parameter information of the server through the OS, save the first hardware parameter information to the first data table and store the first hardware parameter information The information is sent to the BMC;

通过所述OS获取同步状态参数信息,并将所述同步状态参数信息发送至所述BMC;所述同步状态参数用于指示打开同步状态或关闭同步状态;Acquire synchronization state parameter information through the OS, and send the synchronization state parameter information to the BMC; the synchronization state parameter is used to indicate that the synchronization state is turned on or off;

在所述服务器运行的过程中,及在所述同步状态参数指示打开同步状态的情况下,通过所述OS获取第二硬件参数信息,并将所述第二硬件参数信息保存至第二数据表;During the operation of the server, and in the case that the synchronization state parameter indicates that the synchronization state is turned on, obtain second hardware parameter information through the OS, and save the second hardware parameter information to a second data table ;

通过所述OS将所述第一数据表中的第一硬件参数信息和所述第二数据表中的第二硬件参数信息进行一一比对;comparing the first hardware parameter information in the first data table with the second hardware parameter information in the second data table through the OS;

若比对结果不同,则通过所述OS将所述第二数据表中的第二硬件参数信息发送至所述BMC,并向所述BMC发送同步命令,以使所述BMC更新当前硬件参数信息。If the comparison results are different, the OS sends the second hardware parameter information in the second data table to the BMC, and sends a synchronization command to the BMC, so that the BMC updates the current hardware parameter information .

可选地,所述服务器包括计时器,所述在所述服务器运行的过程中,及在所述同步状态参数指示打开同步状态的情况下,通过所述OS获取第二硬件参数信息,并将所述第二硬件参数信息保存至第二数据表,包括:Optionally, the server includes a timer, and when the server is running, and when the synchronization state parameter indicates that the synchronization state is enabled, the second hardware parameter information is obtained through the OS, and the The second hardware parameter information is saved to the second data table, including:

根据预设更新时间,通过所述OS启动所述计时器,并在所述计时器的计时时间达到所述预设更新时间时,通过所述OS获取所述第二硬件参数信息,并将所述第二硬件参数信息保存至第二数据表。Start the timer through the OS according to a preset update time, and when the counting time of the timer reaches the preset update time, obtain the second hardware parameter information through the OS, and store the second hardware parameter information The second hardware parameter information is saved to the second data table.

可选地,还包括:Optionally, also include:

在所述同步状态参数指示打开同步状态的情况下,通过所述OS设置硬件参数信息的更新时间。In the case that the synchronization state parameter indicates that the synchronization state is enabled, the update time of the hardware parameter information is set by the OS.

可选地,还包括:Optionally, also include:

若所述同步状态参数指示关闭同步状态,则通过所述OS向所述BMC发送同步状态关闭的消息。If the synchronization status parameter indicates that the synchronization status is disabled, the OS sends a message that the synchronization status is disabled to the BMC.

可选地,所述第一硬件参数信息包括第一硬件连接状态信息、第一硬件运行状态信息;所述第二硬件参数信息包括第二硬件连接状态信息、第二硬件运行状态信息。Optionally, the first hardware parameter information includes first hardware connection status information and first hardware running status information; the second hardware parameter information includes second hardware connection status information and second hardware running status information.

本发明实施例还公开了另一种信息的更新方法,应用于基板管理控制器BMC,所述BMC与服务器通信连接,所述服务器运行有操作系统OS,所述方法包括:The embodiment of the present invention also discloses another method for updating information, which is applied to a baseboard management controller (BMC). The BMC is connected to a server through communication. The server runs an operating system OS. The method includes:

接收在所述服务器启动,进入所述OS后,所述OS发送的第一硬件参数信息;receiving the first hardware parameter information sent by the OS after the server starts and enters the OS;

接收所述OS发送的同步状态参数信息;所述同步状态参数用于指示打开同步状态或关闭同步状态;receiving the synchronization state parameter information sent by the OS; the synchronization state parameter is used to indicate that the synchronization state is turned on or the synchronization state is turned off;

接收所述OS在所述服务器运行的过程中,及在所述同步状态参数指示打开同步状态的情况下,发送的第二硬件参数信息和同步命令;receiving the second hardware parameter information and the synchronization command sent by the OS during the operation of the server, and when the synchronization state parameter indicates that the synchronization state is enabled;

根据所述第二硬件参数信息和所述同步命令,更新当前硬件参数信息。The current hardware parameter information is updated according to the second hardware parameter information and the synchronization command.

可选地,还包括:Optionally, also include:

接收所述OS发送的同步状态关闭的的消息,并停止接收所述OS发送的同步命令和所述第二硬件参数信息。receiving the message that the synchronization status is off sent by the OS, and stopping receiving the synchronization command and the second hardware parameter information sent by the OS.

本发明实施例还公开了一种信息的更新装置,应用于服务器,所述服务器运行有操作系统OS,所述服务器与基板管理控制器BMC通信连接,所述装置包括:The embodiment of the present invention also discloses an information updating device, which is applied to a server. The server runs an operating system OS, and the server is connected to a baseboard management controller BMC through communication. The device includes:

第一获取模块,用于在所述服务器启动,进入所述OS后,通过所述OS获取所述服务器的第一硬件参数信息,并将所述第一硬件参数信息保存至第一数据表以及将所述第一硬件参数信息发送至所述BMC;The first obtaining module is configured to obtain the first hardware parameter information of the server through the OS after the server starts and enters the OS, and save the first hardware parameter information to the first data table and sending the first hardware parameter information to the BMC;

第二获取模块,用于通过所述OS获取同步状态参数信息,并将所述同步状态参数信息发送至所述BMC;所述同步状态参数用于指示打开同步状态或关闭同步状态;The second acquisition module is used to obtain synchronization state parameter information through the OS, and send the synchronization state parameter information to the BMC; the synchronization state parameter is used to indicate that the synchronization state is turned on or the synchronization state is turned off;

第三获取模块,用于在所述服务器运行的过程中,及在所述同步状态参数指示打开同步状态的情况下,通过所述OS获取第二硬件参数信息,并将所述第二硬件参数信息保存至第二数据表;The third acquisition module is configured to acquire second hardware parameter information through the OS during the running process of the server and when the synchronization state parameter indicates that the synchronization state is enabled, and store the second hardware parameter information The information is saved to the second data table;

比对模块,用于通过所述OS将所述第一数据表中的第一硬件参数信息和所述第二数据表中的第二硬件参数信息进行一一比对;A comparison module, configured to compare the first hardware parameter information in the first data table with the second hardware parameter information in the second data table through the OS;

第一发送模块,用于若比对结果不同,则通过所述OS将所述第二数据表中的第二硬件参数信息发送至所述BMC,并向所述BMC发送同步命令,以使所述BMC更新当前硬件参数信息。The first sending module is used to send the second hardware parameter information in the second data table to the BMC through the OS if the comparison results are different, and send a synchronization command to the BMC, so that all The BMC updates the current hardware parameter information.

可选地,所述服务器包括计时器,所述第三获取模块,包括:Optionally, the server includes a timer, and the third acquiring module includes:

获取子模块,用于根据预设更新时间,通过所述OS启动所述计时器,并在所述计时器的计时时间达到所述预设更新时间时,通过所述OS获取所述第二硬件参数信息,并将所述第二硬件参数信息保存至第二数据表。an acquisition submodule, configured to start the timer through the OS according to a preset update time, and acquire the second hardware through the OS when the time counted by the timer reaches the preset update time parameter information, and save the second hardware parameter information to a second data table.

可选地,还包括:Optionally, also include:

设置模块,用于在所述同步状态参数指示打开同步状态的情况下,通过所述OS设置硬件参数信息的更新时间。A setting module, configured to set an update time of hardware parameter information through the OS when the synchronization status parameter indicates that the synchronization status is enabled.

可选地,还包括:Optionally, also include:

第二发送模块,用于若所述同步状态参数指示关闭同步状态,则通过所述OS向所述BMC发送同步状态关闭的消息。The second sending module is configured to send a message that the synchronization state is off to the BMC through the OS if the synchronization state parameter indicates that the synchronization state is off.

可选地,所述第一硬件参数信息包括第一硬件连接状态信息、第一硬件运行状态信息;所述第二硬件参数信息包括第二硬件连接状态信息、第二硬件运行状态信息。Optionally, the first hardware parameter information includes first hardware connection status information and first hardware running status information; the second hardware parameter information includes second hardware connection status information and second hardware running status information.

本发明实施例还公开了另一种信息的更新装置,应用于基板管理控制器BMC,所述BMC与服务器通信连接,所述服务器运行有操作系统OS,所述装置包括:The embodiment of the present invention also discloses another device for updating information, which is applied to a baseboard management controller (BMC), and the BMC is connected to a server through communication. The server runs an operating system OS, and the device includes:

第一接收模块,用于接收在所述服务器启动,进入所述OS后,所述OS发送的第一硬件参数信息;The first receiving module is configured to receive the first hardware parameter information sent by the OS after the server starts and enters the OS;

第二接收模块,用于接收所述OS发送的同步状态参数信息;所述同步状态参数用于指示打开同步状态或关闭同步状态;The second receiving module is configured to receive the synchronization state parameter information sent by the OS; the synchronization state parameter is used to indicate that the synchronization state is turned on or the synchronization state is turned off;

第三接收模块,用于接收所述OS在所述服务器运行的过程中,及在所述同步状态参数指示打开同步状态的情况下,发送的第二硬件参数信息和同步命令;The third receiving module is used to receive the second hardware parameter information and the synchronization command sent by the OS during the operation of the server and when the synchronization state parameter indicates that the synchronization state is enabled;

更新模块,用于根据所述第二硬件参数信息和所述同步命令,更新当前硬件参数信息。An updating module, configured to update current hardware parameter information according to the second hardware parameter information and the synchronization command.

可选地,还包括:Optionally, also include:

第四接收模块,用于接收所述OS发送的同步状态关闭的的消息,并停止接收所述OS发送的同步命令和所述第二硬件参数信息。The fourth receiving module is configured to receive a message that the synchronization status is off sent by the OS, and stop receiving the synchronization command and the second hardware parameter information sent by the OS.

本发明实施例还公开了一种电子设备,包括:处理器、存储器及存储在所述存储器上并能够在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如上述的信息的更新方法的步骤。The embodiment of the present invention also discloses an electronic device, including: a processor, a memory, and a computer program stored on the memory and capable of running on the processor. When the computer program is executed by the processor, the The steps of the method for updating information as described above.

本发明实施例还公开了一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如上述的信息的更新方法的步骤。The embodiment of the present invention also discloses a computer-readable storage medium, which is characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above information updating method are realized .

本发明实施例包括以下优点:Embodiments of the present invention include the following advantages:

在本发明实施例中,在服务器启动,进入OS后,通过OS获取服务器的第一硬件参数信息,并将第一硬件参数信息保存至第一数据表以及将第一硬件参数信息发送至BMC;通过OS获取同步状态参数信息,并将同步状态参数信息发送至BMC;同步状态参数用于指示打开同步状态或关闭同步状态;在服务器运行的过程中,及在同步状态参数指示打开同步状态的情况下,通过OS获取第二硬件参数信息,并将第二硬件参数信息保存至第二数据表;通过OS将第一数据表中的第一硬件参数信息和第二数据表中的第二硬件参数信息进行一一比对;若比对结果不同,则通过OS将第二数据表中的第二硬件参数信息发送至BMC,并向BMC发送同步命令,以使BMC更新当前硬件参数信息。可以使用户及时发现服务器中各硬件出现的问题,从而避免更严重的问题发生,提高用户使用体验。In the embodiment of the present invention, after the server starts and enters the OS, obtain the first hardware parameter information of the server through the OS, save the first hardware parameter information to the first data table and send the first hardware parameter information to the BMC; Obtain the synchronization status parameter information through the OS, and send the synchronization status parameter information to the BMC; the synchronization status parameter is used to indicate the synchronization status is turned on or off; during the running of the server, and when the synchronization status parameter indicates the synchronization status is turned on Next, obtain the second hardware parameter information through the OS, and save the second hardware parameter information to the second data table; use the OS to save the first hardware parameter information in the first data table and the second hardware parameter information in the second data table The information is compared one by one; if the comparison results are different, the second hardware parameter information in the second data table is sent to the BMC through the OS, and a synchronization command is sent to the BMC, so that the BMC updates the current hardware parameter information. It can enable the user to discover the problems of each hardware in the server in time, so as to avoid more serious problems and improve the user experience.

附图说明Description of drawings

图1是本发明实施例提供的一种信息的更新方法的步骤流程图;FIG. 1 is a flow chart of the steps of an information updating method provided by an embodiment of the present invention;

图2是本发明实施例提供的一种OS端信息更新的流程图;Fig. 2 is a flow chart of updating information on an OS side provided by an embodiment of the present invention;

图3是本发明实施例提供的另一种信息的更新方法的步骤流程图;FIG. 3 is a flow chart of steps of another method for updating information provided by an embodiment of the present invention;

图4是本发明实施例提供的一种BMC端信息更新的流程图;Fig. 4 is a kind of flow chart of BMC end information update provided by the embodiment of the present invention;

图5是本发明实施例提供的一种信息的更新装置的结构框图;Fig. 5 is a structural block diagram of an information updating device provided by an embodiment of the present invention;

图6是本发明实施例提供的另一种信息的更新装置的结构框图;FIG. 6 is a structural block diagram of another information update device provided by an embodiment of the present invention;

图7是本发明实施例提供的一种电子设备:Figure 7 is an electronic device provided by an embodiment of the present invention:

图8是本发明实施例提供的一种计算机可读存储介质。Fig. 8 is a computer-readable storage medium provided by an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

目前,用户通过BMC看到的服务器硬件信息,是开机过程中BIOS通过IPMI命令发送给BMC的,只是记录开机过程中的硬件信息,进入OS之后,信息将不再更新,从而导致OS下发生异常时,BMC也无法更新硬件信息,从而用户无法感知到服务器硬件信息的变化。At present, the server hardware information that the user sees through the BMC is sent by the BIOS to the BMC through the IPMI command during the boot process. It only records the hardware information during the boot process. After entering the OS, the information will no longer be updated, resulting in abnormalities under the OS. At this time, the BMC cannot update the hardware information, so the user cannot perceive the change of the server hardware information.

以内存为例,内存在开机过程可能是正常的,但是在使用过程中,是有概率出现各种问题的,例如高温导致的频率下降、内存容量减少、内存接触不良、掉卡等,当出现这些问题的时候,BMC无法获取内存信息的变更,也就无法使客户及时获取内存实时信息的变化,从而引起更严重的故障。Taking the memory as an example, the memory may be normal during the startup process, but various problems may occur during the use process, such as frequency drop caused by high temperature, memory capacity reduction, poor memory contact, card loss, etc. When these problems occur, the BMC cannot obtain the changes of the memory information, and it is impossible for the customer to obtain the changes of the real-time information of the memory in time, thus causing more serious failures.

本发明实施例的核心构思之一在于,增加OS同步服务器硬件参数信息至BMC的同步开关,在服务器运行的过程中,及在该同步开关打开的情况下,可以将获取的服务器硬件参数信息同步至BMC,使BMC更新当前硬件参数信息,从而可以使用户及时发现服务器中各硬件出现的问题,从而避免更严重的问题发生,提高用户使用体验。One of the core ideas of the embodiment of the present invention is to add the synchronization switch of the OS synchronization server hardware parameter information to the BMC. During the operation of the server, and when the synchronization switch is turned on, the acquired server hardware parameter information can be synchronized. To the BMC, the BMC updates the current hardware parameter information, so that the user can timely discover the problems of each hardware in the server, thereby avoiding more serious problems and improving the user experience.

参照图1,示出了本发明实施例提供的一种信息的更新方法的步骤流程图,应用于服务器,所述服务器运行有操作系统OS,所述服务器与基板管理控制器BMC通信连接,所述方法具体可以包括如下步骤:Referring to FIG. 1 , it shows a flow chart of the steps of a method for updating information provided by an embodiment of the present invention, which is applied to a server, the server runs an operating system OS, and the server is connected to a baseboard management controller BMC for communication. Described method specifically can comprise the steps:

步骤101,在所述服务器启动,进入所述OS后,通过所述OS获取所述服务器的第一硬件参数信息,并将所述第一硬件参数信息保存至第一数据表以及将所述第一硬件参数信息发送至所述BMC。Step 101, after the server starts and enters the OS, obtain the first hardware parameter information of the server through the OS, save the first hardware parameter information to a first data table and save the first hardware parameter information to the first data table A piece of hardware parameter information is sent to the BMC.

在本发明实施例中,服务器与基板管理控制器BMC通信连接,服务器中运行有操作系统OS,OS可以通过dmidecode(桌面管理接口解码器)命令获取服务器各硬件的参数信息,使用dmidecode命令可以查询BIOS、系统、主板、处理器、内存、缓存等等的信息。In the embodiment of the present invention, the server communicates with the baseboard management controller BMC, and the operating system OS runs in the server. The OS can obtain the parameter information of each hardware of the server through the dmidecode (desktop management interface decoder) command, and the dmidecode command can be used to query Information about BIOS, system, motherboard, processor, memory, cache, etc.

BMC可以用于监控服务器中硬件参数信息,例如,通过监控服务器的温度、电压、风扇、电源等等,并做相应的调节工作,以保证服务器处于健康的状态;同时,BMC还可以记录各种硬件的信息和日志记录,用于提示用户和后续问题的定位。BMC can be used to monitor the hardware parameter information in the server, for example, by monitoring the temperature, voltage, fan, power supply, etc. of the server, and make corresponding adjustments to ensure that the server is in a healthy state; Hardware information and log records are used to prompt users and locate subsequent problems.

作为一种示例,在服务器启动,进入所述OS后,操作系统可以向服务器中的硬件设备发送获取硬件信息的命令,以获取服务器中的硬件设备的参数信息,并将获取的服务器中的硬件设备的参数信息保存至第一数据表。As an example, after the server starts and enters the OS, the operating system can send a command to obtain hardware information to the hardware device in the server to obtain the parameter information of the hardware device in the server, and the acquired hardware in the server The parameter information of the equipment is saved to the first data table.

作为一种示例,硬件参数信息可以为硬件位置、是否在位、最大频率、当前速率、物理容量、可用容量、Rank(秩)数量等信息。As an example, the hardware parameter information may be information such as hardware location, presence or absence, maximum frequency, current rate, physical capacity, available capacity, and Rank (rank) quantity.

以内存为例进行说明。例如,在服务器启动,进入OS后,OS可以通过dmidecode命令,获取内存位置、是否在位、最大频率、当前速率、物理容量、可用容量、Rank数量等等内存的原始信息,并将内存的原始信息保存到表A,并将内存的原始信息发送至BMC,从而BMC获得服务器启动时的内存的原始参数信息。Take memory as an example. For example, after the server starts and enters the OS, the OS can use the dmidecode command to obtain the original information of the memory location, whether it is in place, the maximum frequency, the current speed, the physical capacity, the available capacity, the number of ranks, etc., and convert the original information of the memory to The information is saved to Table A, and the original information of the memory is sent to the BMC, so that the BMC obtains the original parameter information of the memory when the server starts.

步骤102,通过所述OS获取同步状态参数信息,并将所述同步状态参数信息发送至所述BMC;所述同步状态参数用于指示打开同步状态或关闭同步状态。Step 102, obtain synchronization state parameter information through the OS, and send the synchronization state parameter information to the BMC; the synchronization state parameter is used to indicate whether to enable or disable the synchronization state.

作为一种示例,操作系统可以增设同步状态参数,同步状态参数可以用于指示打开同步状态或关闭同步状态。例如,可以设置同步状态参数为1时表示同步状态打开,设置同步状态参数为0时表示同步状态关闭。As an example, the operating system may add a synchronization state parameter, and the synchronization state parameter may be used to indicate that the synchronization state is on or off. For example, when the synchronization status parameter is set to 1, it indicates that the synchronization status is on, and when the synchronization status parameter is set to 0, it indicates that the synchronization status is off.

作为一种示例,可以通过OS获取同步状态参数信息,并将同步状态参数信息发送至BMC,以通知BMC同步状态。例如,若OS获取的同步状态参数指示打开同步状态,可以将同步状态打开的消息发送至BMC;若OS获取的同步状态参数指示关闭同步状态,可以将同步状态关闭的消息发送至BMC。As an example, the synchronization status parameter information may be acquired through the OS, and the synchronization status parameter information may be sent to the BMC to notify the BMC of the synchronization status. For example, if the synchronization status parameter obtained by the OS indicates that the synchronization status is enabled, a message that the synchronization status is enabled may be sent to the BMC; if the synchronization status parameter obtained by the OS indicates that the synchronization status is disabled, a message that the synchronization status is disabled may be sent to the BMC.

需要说明的是,同步状态参数相当于OS同步内存信息至BMC的开关。当同步状态参数指示打开同步状态时即相当于开关打开,OS可以将内存信息同步至BMC;当同步状态参数指示关闭同步状态时即相当于开关关闭,OS可以停止将内存信息同步至BMC。It should be noted that the synchronization status parameter is equivalent to a switch for the OS to synchronize memory information to the BMC. When the synchronization state parameter indicates that the synchronization state is turned on, it means that the switch is turned on, and the OS can synchronize the memory information to the BMC; when the synchronization state parameter indicates that the synchronization state is turned off, it means that the switch is turned off, and the OS can stop synchronizing the memory information to the BMC.

步骤103,在所述服务器运行的过程中,及在所述同步状态参数指示打开同步状态的情况下,通过所述OS获取第二硬件参数信息,并将所述第二硬件参数信息保存至第二数据表。Step 103, during the operation of the server, and when the synchronization state parameter indicates that the synchronization state is enabled, obtain second hardware parameter information through the OS, and save the second hardware parameter information to the first Two data sheets.

作为一种示例,在服务器运行的过程中,及在同步状态参数指示打开同步状态的情况下,可以通过OS获取第二硬件参数信息,并将第二硬件参数信息保存至第二数据表。As an example, during the running of the server, and when the synchronization state parameter indicates that the synchronization state is enabled, the second hardware parameter information may be acquired through the OS, and the second hardware parameter information may be saved in the second data table.

例如,在服务器运行的过程中,当同步状态参数指示打开同步状态时,OS可以通过dmidecode命令,获取内存位置、是否在位、最大频率、当前速率、物理容量、可用容量、Rank数量等等内存当前运行过程中的信息,并将内存当前运行过程中的信息保存到表B。For example, when the server is running, when the synchronization status parameter indicates that the synchronization status is enabled, the OS can use the dmidecode command to obtain the memory location, whether it is in place, the maximum frequency, the current speed, the physical capacity, the available capacity, the number of ranks, etc. Information in the current running process, and save the information in the current running process of the memory to table B.

在本发明的一种实施例中,在所述同步状态参数指示打开同步状态的情况下,通过所述OS设置硬件参数信息的更新时间。In an embodiment of the present invention, when the synchronization status parameter indicates that the synchronization status is enabled, the update time of the hardware parameter information is set by the OS.

作为一种示例,OS可以确认同步状态参数是否指示打开同步状态,在同步状态打开的情况下,可以设置硬件参数信息的更新时间。As an example, the OS may confirm whether the synchronization state parameter indicates that the synchronization state is turned on, and if the synchronization state is turned on, an update time of the hardware parameter information may be set.

例如,OS可以设置同步状态参数为1,打开同步状态。在打开同步状态的情况下,设置内存参数信息的更新时间间隔为1s,则OS可以每隔1s获取一次内存参数信息。For example, the OS can set the synchronization state parameter to 1 to enable the synchronization state. When the synchronization state is enabled and the update interval of the memory parameter information is set to 1s, the OS can obtain the memory parameter information every 1s.

在本发明的一种实施例中,所述服务器包括计时器,所述在所述服务器运行的过程中,及在所述同步状态参数指示打开同步状态的情况下,通过所述OS获取第二硬件参数信息,并将所述第二硬件参数信息保存至第二数据表,包括:根据预设更新时间,通过所述OS启动所述计时器,并在所述计时器的计时时间达到所述预设更新时间时,通过所述OS获取所述第二硬件参数信息,并将所述第二硬件参数信息保存至第二数据表。In an embodiment of the present invention, the server includes a timer, and during the running of the server, and when the synchronization state parameter indicates that the synchronization state is enabled, the OS obtains the second hardware parameter information, and saving the second hardware parameter information to a second data table, including: starting the timer through the OS according to a preset update time, and when the timing time of the timer reaches the When the update time is preset, the OS obtains the second hardware parameter information, and saves the second hardware parameter information in a second data table.

在本发明实施例中,在预设时间间隔内,操作系统可以获取服务器中的硬件设备的参数信息,并将获取的服务器中的硬件设备的参数信息保存至第二数据表。In the embodiment of the present invention, within a preset time interval, the operating system may obtain parameter information of the hardware device in the server, and save the obtained parameter information of the hardware device in the server to the second data table.

作为一种示例,OS可以根据预设更新时间,启动计时器,并在计时器的计时时间达到预设更新时间时,获取第二硬件参数信息,并将第二硬件参数信息保存至第二数据表。As an example, the OS may start a timer according to the preset update time, and when the timing time of the timer reaches the preset update time, obtain the second hardware parameter information, and save the second hardware parameter information in the second data surface.

例如,OS可以启动计时器,并在计时器的计时时间达到预设更新时间时,通过dmidecode命令,获取内存位置、是否在位、最大频率、当前速率、物理容量、可用容量、Rank数量等等内存当前运行过程中的信息,并将内存当前运行过程中的信息保存到表B。For example, the OS can start a timer, and when the timing of the timer reaches the preset update time, the dmidecode command can be used to obtain the memory location, whether it is in place, the maximum frequency, the current rate, the physical capacity, the available capacity, the number of Ranks, etc. The information in the current running process of the memory, and save the information in the current running process of the memory to table B.

作为一种示例,操作系统可以启动定时器,并向BMC发送ipmi(IntelligentPlatform Management Interface,智能平台管理接口)命令,以通知BMC同步状态已经打开。As an example, the operating system may start a timer and send an ipmi (IntelligentPlatform Management Interface, Intelligent Platform Management Interface) command to the BMC to notify the BMC that the synchronization state has been enabled.

在本发明的一种实施例中,若所述同步状态参数指示关闭同步状态,则通过所述OS向所述BMC发送同步状态关闭的消息。In an embodiment of the present invention, if the synchronization status parameter indicates that the synchronization status is disabled, the OS sends a message that the synchronization status is disabled to the BMC.

作为一种示例,若同步状态参数指示关闭同步状态,则OS可以向BMC发送ipmi命令以通知BMC同步状态关闭。As an example, if the synchronization status parameter indicates that the synchronization status is disabled, the OS may send an ipmi command to the BMC to notify the BMC that the synchronization status is disabled.

步骤104,通过所述OS将所述第一数据表中的第一硬件参数信息和所述第二数据表中的第二硬件参数信息进行一一比对。In step 104, the OS compares the first hardware parameter information in the first data table with the second hardware parameter information in the second data table one by one.

作为一种示例,OS可以将第一数据表中的第一硬件参数信息和第二数据表中的第二硬件参数信息进行一一比对。As an example, the OS may compare the first hardware parameter information in the first data table with the second hardware parameter information in the second data table one by one.

在本发明的一种实施例中,所述第一硬件参数信息包括第一硬件连接状态信息、第一硬件运行状态信息;所述第二硬件参数信息包括第二硬件连接状态信息、第二硬件运行状态信息。In an embodiment of the present invention, the first hardware parameter information includes the first hardware connection status information, the first hardware running status information; the second hardware parameter information includes the second hardware connection status information, the second hardware Running status information.

作为一种示例,第一硬件参数信息可以包括第一硬件连接状态信息、第一硬件运行状态信息;第二硬件参数信息可以包括第二硬件连接状态信息、第二硬件运行状态信息。As an example, the first hardware parameter information may include first hardware connection status information and first hardware running status information; the second hardware parameter information may include second hardware connection status information and second hardware running status information.

作为一种示例,OS可以将第一数据表中的第一硬件连接状态信息、第一硬件运行状态信息与第二数据表中的第二硬件连接状态信息、第二硬件运行状态信息分别进行一一比对。As an example, the OS may compare the first hardware connection state information and the first hardware running state information in the first data table with the second hardware connection state information and the second hardware running state information in the second data table respectively. A comparison.

例如,可以将表A中内存位置、是否在位、最大频率、当前速率、物理容量、可用容量、Rank数量等内存的原始信息与表B中内存位置、是否在位、最大频率、当前速率、物理容量、可用容量、Rank数量等内存当前运行过程中的信息分别进行一一对比分析。For example, the original information of the memory such as the memory position in Table A, presence or absence, maximum frequency, current rate, physical capacity, available capacity, and Rank quantity can be combined with the memory position in Table B, presence or absence, maximum frequency, current rate, The physical capacity, usable capacity, Rank quantity and other information during the current operation of the memory are compared and analyzed one by one.

步骤105,若比对结果不同,则通过所述OS将所述第二数据表中的第二硬件参数信息发送至所述BMC,并向所述BMC发送同步命令,以使所述BMC更新当前硬件参数信息。Step 105, if the comparison results are different, the OS sends the second hardware parameter information in the second data table to the BMC, and sends a synchronization command to the BMC, so that the BMC updates the current Hardware parameter information.

作为一种示例,若比对结果不同,说明服务器在运行过程中,硬件发生变化,则可以通过OS将第二数据表中的第二硬件参数信息发送至BMC,并向BMC发送同步命令,以使BMC更新当前硬件参数信息。As an example, if the comparison results are different, it means that the hardware changes during the running of the server, then the second hardware parameter information in the second data table can be sent to the BMC through the OS, and a synchronization command can be sent to the BMC to Make BMC update the current hardware parameter information.

例如,若表A和表B的比对结果不同,则OS可以通过ipmi命令将表B中的内存信息同步至BMC,并向BMC发送同步命令,以通知BMC更新当前硬件参数信息。For example, if the comparison results of Table A and Table B are different, the OS can synchronize the memory information in Table B to the BMC through the ipmi command, and send a synchronization command to the BMC to notify the BMC to update the current hardware parameter information.

如图2所示为本发明实施例提供的一种OS端信息更新的流程图,具体包括以下步骤:As shown in Figure 2, it is a flowchart of an OS-side information update provided by an embodiment of the present invention, which specifically includes the following steps:

S200,开始;S200, start;

S201,进入OS;S201, enter the OS;

S202,dmidecode命令获取内存原始信息到表A;S202, the dmidecode command obtains the original memory information to table A;

S203,新增同步状态参数;S203, adding a synchronization state parameter;

S204,同步状态参数是否指示打开同步状态;S204, whether the synchronization state parameter indicates to enable the synchronization state;

S205,若是,则设置更新内存信息的时间间隔;S205, if so, setting the time interval for updating the memory information;

S206,启动定时器,并发送ipmi命令通知BMC同步状态已打开;S206, start the timer, and send an ipmi command to notify the BMC that the synchronization state has been opened;

S207,定时获取内存信息,保存至表B,并将表A、表B信息对比;S207, regularly acquire memory information, save it in Table B, and compare the information in Table A and Table B;

S208,判断比对结果是否相同;S208, judging whether the comparison results are the same;

S209,若不同,将表B中的内存信息同步至BMC,并通知BMC更新内存信息;S209, if different, synchronize the memory information in Table B to the BMC, and notify the BMC to update the memory information;

S210,判断定时器是否关闭,若未关闭,则返回步骤S207;若关闭,则进行下一步;S210, judging whether the timer is closed, if not closed, then return to step S207; if closed, proceed to the next step;

S211,结束。S211, end.

在本发明实施例中,在服务器启动,进入OS后,通过OS获取服务器的第一硬件参数信息,并将第一硬件参数信息保存至第一数据表以及将第一硬件参数信息发送至BMC;通过OS获取同步状态参数信息,并将同步状态参数信息发送至BMC;同步状态参数用于指示打开同步状态或关闭同步状态;在服务器运行的过程中,及在同步状态参数指示打开同步状态的情况下,通过OS获取第二硬件参数信息,并将第二硬件参数信息保存至第二数据表;通过OS将第一数据表中的第一硬件参数信息和第二数据表中的第二硬件参数信息进行一一比对;若比对结果不同,则通过OS将第二数据表中的第二硬件参数信息发送至BMC,并向BMC发送同步命令,以使BMC更新当前硬件参数信息。可以使用户及时发现服务器中各硬件出现的问题,从而避免更严重的问题发生,提高用户使用体验。In the embodiment of the present invention, after the server starts and enters the OS, obtain the first hardware parameter information of the server through the OS, save the first hardware parameter information to the first data table and send the first hardware parameter information to the BMC; Obtain the synchronization status parameter information through the OS, and send the synchronization status parameter information to the BMC; the synchronization status parameter is used to indicate the synchronization status is turned on or off; during the running of the server, and when the synchronization status parameter indicates the synchronization status is turned on Next, obtain the second hardware parameter information through the OS, and save the second hardware parameter information to the second data table; use the OS to save the first hardware parameter information in the first data table and the second hardware parameter information in the second data table The information is compared one by one; if the comparison results are different, the second hardware parameter information in the second data table is sent to the BMC through the OS, and a synchronization command is sent to the BMC, so that the BMC updates the current hardware parameter information. It can enable the user to discover the problems of each hardware in the server in time, so as to avoid more serious problems and improve the user experience.

参照图3,示出了本发明实施例提供的另一种信息的更新方法的步骤流程图,应用于基板管理控制器BMC,所述BMC与服务器通信连接,所述服务器运行有操作系统OS,所述方法具体可以包括如下步骤:Referring to FIG. 3 , it shows a flow chart of steps for another method for updating information provided by an embodiment of the present invention, which is applied to a baseboard management controller (BMC), the BMC is connected to a server in communication, and the server runs an operating system OS. The method may specifically include the following steps:

步骤301,接收在所述服务器启动,进入所述OS后,所述OS发送的第一硬件参数信息。Step 301 , receiving first hardware parameter information sent by the OS after the server starts and enters the OS.

作为一种示例,BMC可以接收在服务器启动,进入OS后,OS发送的第一硬件参数信息。As an example, the BMC may receive the first hardware parameter information sent by the OS after the server starts and enters the OS.

作为一种示例,第一硬件参数信息可以包括第一硬件连接状态信息、第一硬件运行状态信息。As an example, the first hardware parameter information may include first hardware connection status information and first hardware running status information.

例如,在服务器启动,进入OS后,OS可以通过dmidecode命令,获取内存位置、是否在位、最大频率、当前速率、物理容量、可用容量、Rank数量等等内存的原始信息,并将内存的原始信息保存到表A,并将内存的原始信息发送至BMC,从而BMC获得服务器启动时的内存的原始参数信息。For example, after the server starts and enters the OS, the OS can use the dmidecode command to obtain the original information of the memory location, whether it is in place, the maximum frequency, the current speed, the physical capacity, the available capacity, the number of ranks, etc., and convert the original information of the memory to The information is saved to Table A, and the original information of the memory is sent to the BMC, so that the BMC obtains the original parameter information of the memory when the server starts.

步骤302,接收所述OS发送的同步状态参数信息;所述同步状态参数用于指示打开同步状态或关闭同步状态。Step 302, receiving synchronization state parameter information sent by the OS; the synchronization state parameter is used to indicate whether to enable or disable the synchronization state.

作为一种示例,BMC可以接收OS发送的同步状态参数信息,其中,同步状态参数可以用于指示打开同步状态或关闭同步状态。例如,同步状态参数为1可以表示同步状态打开,同步状态参数为0可以表示同步状态关闭。As an example, the BMC may receive synchronization state parameter information sent by the OS, where the synchronization state parameter may be used to indicate that the synchronization state is turned on or off. For example, a synchronization status parameter of 1 may indicate that the synchronization status is on, and a synchronization status parameter of 0 may indicate that the synchronization status is off.

作为一种示例,BMC可以根据同步状态参数信息,确定同步状态是否打开。As an example, the BMC may determine whether the synchronization state is enabled according to the synchronization state parameter information.

需要说明的是,同步状态参数相当于OS同步内存信息至BMC的开关。当同步状态参数指示打开同步状态时即相当于开关打开,OS可以将内存信息同步至BMC;当同步状态参数指示关闭同步状态时即相当于开关关闭,OS可以停止将内存信息同步至BMC。It should be noted that the synchronization status parameter is equivalent to a switch for the OS to synchronize memory information to the BMC. When the synchronization state parameter indicates that the synchronization state is turned on, it means that the switch is turned on, and the OS can synchronize the memory information to the BMC; when the synchronization state parameter indicates that the synchronization state is turned off, it means that the switch is turned off, and the OS can stop synchronizing the memory information to the BMC.

步骤303,接收所述OS在所述服务器运行的过程中,及在所述同步状态参数指示打开同步状态的情况下,发送的第二硬件参数信息和同步命令。Step 303, receiving second hardware parameter information and a synchronization command sent by the OS during the running of the server and when the synchronization state parameter indicates that the synchronization state is enabled.

作为一种示例,BMC可以实时接收OS在服务器运行的过程中,及在同步状态参数指示打开同步状态的情况下,发送的第二硬件参数信息和同步命令。As an example, the BMC may receive in real time the second hardware parameter information and the synchronization command sent by the OS during the running of the server and when the synchronization state parameter indicates that the synchronization state is enabled.

作为一种示例,第二硬件参数信息可以包括第二硬件连接状态信息、第二硬件运行状态信息;同步命令可以用于通知BMC更新硬件信息。As an example, the second hardware parameter information may include second hardware connection status information and second hardware running status information; the synchronization command may be used to notify the BMC to update hardware information.

例如,BMC可以实时接收OS在服务器运行的过程中,及在同步状态参数指示打开同步状态的情况下,发送的内存位置、是否在位、最大频率、当前速率、物理容量、可用容量、Rank数量等内存当前运行过程中的信息,以及接收通知BMC更新当前硬件参数信息的同步命令。For example, the BMC can receive in real time the memory location, presence or absence, maximum frequency, current speed, physical capacity, available capacity, and number of ranks sent by the OS during the running of the server and when the synchronization state parameter indicates that the synchronization state is turned on. Wait for the information in the current running process of the memory, and receive the synchronization command that notifies the BMC to update the current hardware parameter information.

步骤304,根据所述第二硬件参数信息和所述同步命令,更新当前硬件参数信息。Step 304: Update current hardware parameter information according to the second hardware parameter information and the synchronization command.

作为一种示例,BMC可以根据第二硬件参数信息和同步命令,更新当前硬件参数信息。例如,根据内存位置、是否在位、最大频率、当前速率、物理容量、可用容量、Rank数量等内存当前运行过程中的信息以及同步命令,更新当前内存参数信息。As an example, the BMC may update the current hardware parameter information according to the second hardware parameter information and the synchronization command. For example, update the current memory parameter information according to the information in the current running process of the memory such as the memory location, whether it is in place, the maximum frequency, the current speed, the physical capacity, the available capacity, the number of ranks, etc., and the synchronization command.

在本发明的一种实施例中,接收所述OS发送的同步状态关闭的的消息,并停止接收所述OS发送的同步命令和所述第二硬件参数信息。In an embodiment of the present invention, receiving a message that the synchronization state is off sent by the OS, and stopping receiving the synchronization command and the second hardware parameter information sent by the OS.

作为一种示例,当同步状态信息指示关闭同步状态时,BMC可以接收OS发送的同步状态关闭的的消息,并停止接收OS发送的同步命令和第二硬件参数信息。As an example, when the synchronization state information indicates that the synchronization state is turned off, the BMC may receive a message that the synchronization state is turned off sent by the OS, and stop receiving the synchronization command and the second hardware parameter information sent by the OS.

如图4所示为本发明实施例提供的一种BMC端信息更新的流程图,具体包括以下步骤:As shown in Figure 4, it is a flowchart of a kind of BMC terminal information update provided by the embodiment of the present invention, which specifically includes the following steps:

S400,开始;S400, start;

S401,接收OS发送的ipmi命令;S401, receiving an ipmi command sent by the OS;

S402,根据ipmi命令,确定同步状态参数是否指示打开同步状态;S402, according to the ipmi command, determine whether the synchronization state parameter indicates to open the synchronization state;

S403,若是,则实时接收OS发送的同步内存更改信息;若否,流程结束;S403, if yes, receive the synchronous memory change information sent by the OS in real time; if not, the process ends;

S404,更新BMC维护的内存信息并显示到BMC的网页上;S404, updating the memory information maintained by the BMC and displaying it on the web page of the BMC;

S405,结束。S405, end.

需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明实施例所必须的。It should be noted that, for the method embodiment, for the sake of simple description, it is expressed as a series of action combinations, but those skilled in the art should know that the embodiment of the present invention is not limited by the described action sequence, because According to the embodiment of the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

参照图5,示出了本发明实施例提供的一种信息的更新装置的结构框图,应用于服务器,所述服务器运行有操作系统OS,所述服务器与基板管理控制器BMC通信连接,具体可以包括如下模块:Referring to FIG. 5 , it shows a structural block diagram of an information updating device provided by an embodiment of the present invention, which is applied to a server, the server runs an operating system OS, and the server is connected to a baseboard management controller BMC in communication. Including the following modules:

第一获取模块501,用于在所述服务器启动,进入所述OS后,通过所述OS获取所述服务器的第一硬件参数信息,并将所述第一硬件参数信息保存至第一数据表以及将所述第一硬件参数信息发送至所述BMC;The first obtaining module 501 is configured to obtain the first hardware parameter information of the server through the OS after the server starts and enters the OS, and save the first hardware parameter information to a first data table and sending the first hardware parameter information to the BMC;

第二获取模块502,用于通过所述OS获取同步状态参数信息,并将所述同步状态参数信息发送至所述BMC;所述同步状态参数用于指示打开同步状态或关闭同步状态;The second acquisition module 502 is configured to acquire synchronization state parameter information through the OS, and send the synchronization state parameter information to the BMC; the synchronization state parameter is used to indicate that the synchronization state is turned on or off;

第三获取模块503,用于在所述服务器运行的过程中,及在所述同步状态参数指示打开同步状态的情况下,通过所述OS获取第二硬件参数信息,并将所述第二硬件参数信息保存至第二数据表;The third obtaining module 503 is configured to obtain second hardware parameter information through the OS during the running process of the server and when the synchronization state parameter indicates that the synchronization state is enabled, and store the second hardware parameter information The parameter information is saved to the second data table;

比对模块504,用于通过所述OS将所述第一数据表中的第一硬件参数信息和所述第二数据表中的第二硬件参数信息进行一一比对;A comparison module 504, configured to compare the first hardware parameter information in the first data table with the second hardware parameter information in the second data table through the OS;

第一发送模块505,用于若比对结果不同,则通过所述OS将所述第二数据表中的第二硬件参数信息发送至所述BMC,并向所述BMC发送同步命令,以使所述BMC更新当前硬件参数信息。The first sending module 505 is configured to send the second hardware parameter information in the second data table to the BMC through the OS if the comparison results are different, and send a synchronization command to the BMC, so that The BMC updates current hardware parameter information.

在一种可选的实施例中,所述服务器包括计时器,所述第三获取模块503,包括:In an optional embodiment, the server includes a timer, and the third obtaining module 503 includes:

获取子模块,用于根据预设更新时间,通过所述OS启动所述计时器,并在所述计时器的计时时间达到所述预设更新时间时,通过所述OS获取所述第二硬件参数信息,并将所述第二硬件参数信息保存至第二数据表。an acquisition submodule, configured to start the timer through the OS according to a preset update time, and acquire the second hardware through the OS when the time counted by the timer reaches the preset update time parameter information, and save the second hardware parameter information to a second data table.

在一种可选的实施例中,还包括:In an optional embodiment, it also includes:

设置模块,用于在所述同步状态参数指示打开同步状态的情况下,通过所述OS设置硬件参数信息的更新时间。A setting module, configured to set an update time of hardware parameter information through the OS when the synchronization status parameter indicates that the synchronization status is enabled.

在一种可选的实施例中,还包括:In an optional embodiment, it also includes:

第二发送模块,用于若所述同步状态参数指示关闭同步状态,则通过所述OS向所述BMC发送同步状态关闭的消息。The second sending module is configured to send a message that the synchronization state is off to the BMC through the OS if the synchronization state parameter indicates that the synchronization state is off.

在一种可选的实施例中,所述第一硬件参数信息包括第一硬件连接状态信息、第一硬件运行状态信息;所述第二硬件参数信息包括第二硬件连接状态信息、第二硬件运行状态信息。In an optional embodiment, the first hardware parameter information includes first hardware connection status information, first hardware running status information; the second hardware parameter information includes second hardware connection status information, second hardware Running status information.

参照图6,示出了本发明实施例提供的另一种信息的更新装置的结构框图,应用于基板管理控制器BMC,所述BMC与服务器通信连接,所述服务器运行有操作系统OS,具体可以包括如下模块:Referring to FIG. 6 , it shows a structural block diagram of another information update device provided by an embodiment of the present invention, which is applied to a baseboard management controller (BMC), and the BMC is connected to a server through communication, and the server runs an operating system OS, specifically Can include the following modules:

第一接收模块601,用于接收在所述服务器启动,进入所述OS后,所述OS发送的第一硬件参数信息;The first receiving module 601 is configured to receive the first hardware parameter information sent by the OS after the server starts and enters the OS;

第二接收模块602,用于接收所述OS发送的同步状态参数信息;所述同步状态参数用于指示打开同步状态或关闭同步状态;The second receiving module 602 is configured to receive the synchronization state parameter information sent by the OS; the synchronization state parameter is used to indicate that the synchronization state is turned on or off;

第三接收模块603,用于接收所述OS在所述服务器运行的过程中,及在所述同步状态参数指示打开同步状态的情况下,发送的第二硬件参数信息和同步命令;The third receiving module 603 is configured to receive the second hardware parameter information and the synchronization command sent by the OS during the operation of the server and when the synchronization state parameter indicates that the synchronization state is enabled;

更新模块604,用于根据所述第二硬件参数信息和所述同步命令,更新当前硬件参数信息。An updating module 604, configured to update current hardware parameter information according to the second hardware parameter information and the synchronization command.

在一种可选的实施例中,还包括:In an optional embodiment, it also includes:

第四接收模块,用于接收所述OS发送的同步状态关闭的的消息,并停止接收所述OS发送的同步命令和所述第二硬件参数信息。The fourth receiving module is configured to receive a message that the synchronization status is off sent by the OS, and stop receiving the synchronization command and the second hardware parameter information sent by the OS.

在本发明实施例中,在服务器启动,进入OS后,通过OS获取服务器的第一硬件参数信息,并将第一硬件参数信息保存至第一数据表以及将第一硬件参数信息发送至BMC;通过OS获取同步状态参数信息,并将同步状态参数信息发送至BMC;同步状态参数用于指示打开同步状态或关闭同步状态;在服务器运行的过程中,及在同步状态参数指示打开同步状态的情况下,通过OS获取第二硬件参数信息,并将第二硬件参数信息保存至第二数据表;通过OS将第一数据表中的第一硬件参数信息和第二数据表中的第二硬件参数信息进行一一比对;若比对结果不同,则通过OS将第二数据表中的第二硬件参数信息发送至BMC,并向BMC发送同步命令,以使BMC更新当前硬件参数信息。可以使用户及时发现服务器中各硬件出现的问题,从而避免更严重的问题发生,提高用户使用体验。In the embodiment of the present invention, after the server starts and enters the OS, obtain the first hardware parameter information of the server through the OS, save the first hardware parameter information to the first data table and send the first hardware parameter information to the BMC; Obtain the synchronization status parameter information through the OS, and send the synchronization status parameter information to the BMC; the synchronization status parameter is used to indicate the synchronization status is turned on or off; during the running of the server, and when the synchronization status parameter indicates the synchronization status is turned on Next, obtain the second hardware parameter information through the OS, and save the second hardware parameter information to the second data table; use the OS to save the first hardware parameter information in the first data table and the second hardware parameter information in the second data table The information is compared one by one; if the comparison results are different, the second hardware parameter information in the second data table is sent to the BMC through the OS, and a synchronization command is sent to the BMC, so that the BMC updates the current hardware parameter information. It can enable the user to discover the problems of each hardware in the server in time, so as to avoid more serious problems and improve the user experience.

对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.

参照图7,示出了本发明实施例还提供了一种电子设备70,包括:Referring to FIG. 7, it shows that the embodiment of the present invention also provides an electronic device 70, including:

包括处理器701、存储器702及存储在所述存储器上并能够在所述处理器上运行的计算机程序7021,该计算机程序被处理器执行时实现上述信息的更新方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。It includes a processor 701, a memory 702, and a computer program 7021 stored on the memory and capable of running on the processor. When the computer program is executed by the processor, it realizes the various processes of the above information updating method embodiments, and can To achieve the same technical effect, in order to avoid repetition, no more details are given here.

参照图8,示出了本发明实施例还提供了一种计算机可读存储介质80,计算机可读存储介质上存储计算机程序801,计算机程序被处理器执行时实现上述信息的更新方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Referring to FIG. 8 , it shows that the embodiment of the present invention also provides a computer-readable storage medium 80, on which a computer program 801 is stored, and when the computer program is executed by a processor, the embodiment of the method for updating the above-mentioned information is realized. Each process can achieve the same technical effect, so in order to avoid repetition, it will not be repeated here.

本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。Each embodiment in this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to each other.

本领域内的技术人员应明白,本发明实施例的实施例可提供为方法、装置、或计算机程序产品。因此,本发明实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, devices, or computer program products. Accordingly, embodiments of the invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of the invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本发明实施例是参照根据本发明实施例的方法、终端设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理终端设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理终端设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。Embodiments of the present invention are described with reference to flowcharts and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor or processor of other programmable data processing terminal equipment to produce a machine such that instructions executed by the computer or processor of other programmable data processing terminal equipment Produce means for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理终端设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the The instruction means implements the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理终端设备上,使得在计算机或其他可编程终端设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程终端设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded into a computer or other programmable data processing terminal equipment, so that a series of operational steps are performed on the computer or other programmable terminal equipment to produce computer-implemented processing, thereby The instructions executed above provide steps for implementing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

尽管已描述了本发明实施例的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明实施例范围的所有变更和修改。Having described preferred embodiments of embodiments of the present invention, additional changes and modifications to these embodiments can be made by those skilled in the art once the basic inventive concept is appreciated. Therefore, the appended claims are intended to be interpreted to cover the preferred embodiment and all changes and modifications which fall within the scope of the embodiments of the present invention.

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

以上对本发明所提供的一种信息的更新方法、一种信息的更新装置、一种电子设备和一种计算机可读存储介质,进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The information update method, information update device, electronic equipment and computer-readable storage medium provided by the present invention have been described above in detail. In this paper, specific examples are used to explain the principles and principles of the present invention. The embodiment has been set forth, and the description of the above examples is only used to help understand the method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, both in the specific embodiment and the scope of application There will be changes, and in summary, the contents of this specification should not be construed as limiting the present invention.

Claims (11)

1.一种信息的更新方法,其特征在于,应用于服务器,所述服务器运行有操作系统OS,所述服务器与基板管理控制器BMC通信连接,所述方法包括:1. A method for updating information, characterized in that it is applied to a server, and the server runs an operating system OS, and the server communicates with a baseboard management controller BMC, and the method includes: 在所述服务器启动,进入所述OS后,通过所述OS获取所述服务器的第一硬件参数信息,并将所述第一硬件参数信息保存至第一数据表以及将所述第一硬件参数信息发送至所述BMC;After the server starts and enters the OS, obtain the first hardware parameter information of the server through the OS, save the first hardware parameter information to the first data table and store the first hardware parameter information The information is sent to the BMC; 通过所述OS获取同步状态参数信息,并将所述同步状态参数信息发送至所述BMC;所述同步状态参数用于指示打开同步状态或关闭同步状态;Acquire synchronization state parameter information through the OS, and send the synchronization state parameter information to the BMC; the synchronization state parameter is used to indicate that the synchronization state is turned on or off; 在所述服务器运行的过程中,及在所述同步状态参数指示打开同步状态的情况下,通过所述OS获取第二硬件参数信息,并将所述第二硬件参数信息保存至第二数据表;During the operation of the server, and in the case that the synchronization state parameter indicates that the synchronization state is turned on, obtain second hardware parameter information through the OS, and save the second hardware parameter information to a second data table ; 通过所述OS将所述第一数据表中的第一硬件参数信息和所述第二数据表中的第二硬件参数信息进行一一比对;comparing the first hardware parameter information in the first data table with the second hardware parameter information in the second data table through the OS; 若比对结果不同,则通过所述OS将所述第二数据表中的第二硬件参数信息发送至所述BMC,并向所述BMC发送同步命令,以使所述BMC更新当前硬件参数信息。If the comparison results are different, the OS sends the second hardware parameter information in the second data table to the BMC, and sends a synchronization command to the BMC, so that the BMC updates the current hardware parameter information . 2.根据权利要求1所述的方法,其特征在于,所述服务器包括计时器,所述在所述服务器运行的过程中,及在所述同步状态参数指示打开同步状态的情况下,通过所述OS获取第二硬件参数信息,并将所述第二硬件参数信息保存至第二数据表,包括:2. The method according to claim 1, wherein the server includes a timer, and during the operation of the server, and when the synchronization state parameter indicates that the synchronization state is turned on, through the The OS acquires second hardware parameter information, and saves the second hardware parameter information to a second data table, including: 根据预设更新时间,通过所述OS启动所述计时器,并在所述计时器的计时时间达到所述预设更新时间时,通过所述OS获取所述第二硬件参数信息,并将所述第二硬件参数信息保存至第二数据表。Start the timer through the OS according to a preset update time, and when the counting time of the timer reaches the preset update time, obtain the second hardware parameter information through the OS, and store the second hardware parameter information The second hardware parameter information is saved to the second data table. 3.根据权利要求2所述的方法,其特征在于,还包括:3. The method according to claim 2, further comprising: 在所述同步状态参数指示打开同步状态的情况下,通过所述OS设置硬件参数信息的更新时间。In the case that the synchronization state parameter indicates that the synchronization state is enabled, the update time of the hardware parameter information is set by the OS. 4.根据权利要求1所述的方法,其特征在于,还包括:4. The method according to claim 1, further comprising: 若所述同步状态参数指示关闭同步状态,则通过所述OS向所述BMC发送同步状态关闭的消息。If the synchronization status parameter indicates that the synchronization status is disabled, the OS sends a message that the synchronization status is disabled to the BMC. 5.根据权利要求1所述的方法,其特征在于,所述第一硬件参数信息包括第一硬件连接状态信息、第一硬件运行状态信息;所述第二硬件参数信息包括第二硬件连接状态信息、第二硬件运行状态信息。5. The method according to claim 1, wherein the first hardware parameter information includes the first hardware connection status information and the first hardware running status information; the second hardware parameter information includes the second hardware connection status information, second hardware running status information. 6.一种信息的更新方法,其特征在于,应用于基板管理控制器BMC,所述BMC与服务器通信连接,所述服务器运行有操作系统OS,所述方法包括:6. A method for updating information, characterized in that it is applied to a baseboard management controller BMC, and the BMC is connected to a server in communication, and the server runs an operating system OS, and the method includes: 接收在所述服务器启动,进入所述OS后,所述OS发送的第一硬件参数信息;receiving the first hardware parameter information sent by the OS after the server starts and enters the OS; 接收所述OS发送的同步状态参数信息;所述同步状态参数用于指示打开同步状态或关闭同步状态;receiving the synchronization state parameter information sent by the OS; the synchronization state parameter is used to indicate that the synchronization state is turned on or the synchronization state is turned off; 接收所述OS在所述服务器运行的过程中,及在所述同步状态参数指示打开同步状态的情况下,发送的第二硬件参数信息和同步命令;receiving the second hardware parameter information and the synchronization command sent by the OS during the operation of the server, and when the synchronization state parameter indicates that the synchronization state is enabled; 根据所述第二硬件参数信息和所述同步命令,更新当前硬件参数信息。The current hardware parameter information is updated according to the second hardware parameter information and the synchronization command. 7.根据权利要求6所述的方法,其特征在于,还包括:7. The method according to claim 6, further comprising: 接收所述OS发送的同步状态关闭的的消息,并停止接收所述OS发送的同步命令和所述第二硬件参数信息。receiving the message that the synchronization status is off sent by the OS, and stopping receiving the synchronization command and the second hardware parameter information sent by the OS. 8.一种信息的更新装置,其特征在于,应用于服务器,所述服务器运行有操作系统OS,所述服务器与基板管理控制器BMC通信连接,所述装置包括:8. A device for updating information, characterized in that it is applied to a server, the server runs an operating system OS, and the server communicates with a baseboard management controller BMC, and the device includes: 第一获取模块,用于在所述服务器启动,进入所述OS后,通过所述OS获取所述服务器的第一硬件参数信息,并将所述第一硬件参数信息保存至第一数据表以及将所述第一硬件参数信息发送至所述BMC;The first obtaining module is configured to obtain the first hardware parameter information of the server through the OS after the server starts and enters the OS, and save the first hardware parameter information to the first data table and sending the first hardware parameter information to the BMC; 第二获取模块,用于通过所述OS获取同步状态参数信息,并将所述同步状态参数信息发送至所述BMC;所述同步状态参数用于指示打开同步状态或关闭同步状态;The second acquisition module is used to obtain synchronization state parameter information through the OS, and send the synchronization state parameter information to the BMC; the synchronization state parameter is used to indicate that the synchronization state is turned on or the synchronization state is turned off; 第三获取模块,用于在所述服务器运行的过程中,及在所述同步状态参数指示打开同步状态的情况下,通过所述OS获取第二硬件参数信息,并将所述第二硬件参数信息保存至第二数据表;The third acquisition module is configured to acquire second hardware parameter information through the OS during the running process of the server and when the synchronization state parameter indicates that the synchronization state is enabled, and store the second hardware parameter information The information is saved to the second data table; 比对模块,用于通过所述OS将所述第一数据表中的第一硬件参数信息和所述第二数据表中的第二硬件参数信息进行一一比对;A comparison module, configured to compare the first hardware parameter information in the first data table with the second hardware parameter information in the second data table through the OS; 第一发送模块,用于若比对结果不同,则通过所述OS将所述第二数据表中的第二硬件参数信息发送至所述BMC,并向所述BMC发送同步命令,以使所述BMC更新当前硬件参数信息。The first sending module is used to send the second hardware parameter information in the second data table to the BMC through the OS if the comparison results are different, and send a synchronization command to the BMC, so that all The BMC updates the current hardware parameter information. 9.一种信息的更新装置,其特征在于,应用于基板管理控制器BMC,所述BMC与服务器通信连接,所述服务器运行有操作系统OS,所述装置包括:9. An information update device, characterized in that it is applied to a baseboard management controller BMC, the BMC is connected to a server in communication, and the server runs an operating system OS, and the device includes: 第一接收模块,用于接收在所述服务器启动,进入所述OS后,所述OS发送的第一硬件参数信息;The first receiving module is configured to receive the first hardware parameter information sent by the OS after the server starts and enters the OS; 第二接收模块,用于接收所述OS发送的同步状态参数信息;所述同步状态参数用于指示打开同步状态或关闭同步状态;The second receiving module is configured to receive the synchronization state parameter information sent by the OS; the synchronization state parameter is used to indicate that the synchronization state is turned on or the synchronization state is turned off; 第三接收模块,用于接收所述OS在所述服务器运行的过程中,及在所述同步状态参数指示打开同步状态的情况下,发送的第二硬件参数信息和同步命令;The third receiving module is used to receive the second hardware parameter information and the synchronization command sent by the OS during the operation of the server and when the synchronization state parameter indicates that the synchronization state is enabled; 更新模块,用于根据所述第二硬件参数信息和所述同步命令,更新当前硬件参数信息。An updating module, configured to update current hardware parameter information according to the second hardware parameter information and the synchronization command. 10.一种电子设备,其特征在于,包括:处理器、存储器及存储在所述存储器上并能够在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1-5或6-7中任一项所述的信息的更新方法的步骤。10. An electronic device, characterized in that it comprises: a processor, a memory, and a computer program stored on the memory and capable of running on the processor, when the computer program is executed by the processor, the following The steps of the method for updating information according to any one of claims 1-5 or 6-7. 11.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1-5或6-7中任一项所述的信息的更新方法的步骤。11. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, any one of claims 1-5 or 6-7 is implemented. Steps in the method for updating the information.
CN202310084923.9A 2023-02-08 2023-02-08 An information updating method, device, electronic equipment and storage medium Pending CN116301968A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310084923.9A CN116301968A (en) 2023-02-08 2023-02-08 An information updating method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310084923.9A CN116301968A (en) 2023-02-08 2023-02-08 An information updating method, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116301968A true CN116301968A (en) 2023-06-23

Family

ID=86796885

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310084923.9A Pending CN116301968A (en) 2023-02-08 2023-02-08 An information updating method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116301968A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110134447A (en) * 2019-04-24 2019-08-16 深圳市国鑫恒宇科技有限公司 The system and method for BMC immediate updating hard disk information based on operating system
CN111124803A (en) * 2019-11-22 2020-05-08 苏州浪潮智能科技有限公司 A kind of control method, device and computer readable storage medium of indicator light state
CN114003089A (en) * 2021-09-29 2022-02-01 浪潮电子信息产业股份有限公司 Method, system and device for synchronizing BMC (baseboard management controller) and operating system time
CN114064133A (en) * 2021-11-02 2022-02-18 联想(北京)有限公司 Hardware information processing method and device and storage system
CN114116031A (en) * 2021-11-22 2022-03-01 曙光信息产业股份有限公司 Method and device for synchronizing option parameters, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110134447A (en) * 2019-04-24 2019-08-16 深圳市国鑫恒宇科技有限公司 The system and method for BMC immediate updating hard disk information based on operating system
CN111124803A (en) * 2019-11-22 2020-05-08 苏州浪潮智能科技有限公司 A kind of control method, device and computer readable storage medium of indicator light state
CN114003089A (en) * 2021-09-29 2022-02-01 浪潮电子信息产业股份有限公司 Method, system and device for synchronizing BMC (baseboard management controller) and operating system time
CN114064133A (en) * 2021-11-02 2022-02-18 联想(北京)有限公司 Hardware information processing method and device and storage system
CN114116031A (en) * 2021-11-22 2022-03-01 曙光信息产业股份有限公司 Method and device for synchronizing option parameters, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110134648A (en) Log processing method, device, equipment, system, and computer-readable storage medium
CN106960060B (en) Database cluster management method and device
US9628631B2 (en) Conference terminal control system, conference terminal control device, and conference terminal control method
CN107666493B (en) Database configuration method and equipment thereof
CN112181942A (en) Time series database system and data processing method and device
US20190324663A1 (en) Identifying an availability of a system
CN114189429B (en) Monitoring system, method, device and medium for server cluster faults
WO2015135370A1 (en) Data update method and system
CN114238019A (en) A kind of hard disk display method, device, equipment and medium
CN112307013A (en) Method, apparatus and computer program product for managing application systems
CN115509978A (en) Method, device, equipment and storage medium for determining physical position of external plug-in equipment
WO2013075501A1 (en) Method and device for hot-plugging a node
CN110362435A (en) PCIE fault location method, device, device and medium for Purley platform server
CN114490196A (en) Database switching method, system, device and medium
WO2020155591A1 (en) Method and device for real time synchronization of bios and bmc power-off policy, terminal and storage medium
CN116301968A (en) An information updating method, device, electronic equipment and storage medium
US8819481B2 (en) Managing storage providers in a clustered appliance environment
CN119576070A (en) Clock synchronization method, device, server, storage medium and program product
CN117395263B (en) Data synchronization method, device, equipment and storage medium
CN116132289B (en) Information configuration method, device, equipment and medium
CN103207789B (en) Application server constant value dynamic updating method and system
CN113590033B (en) An information synchronization method and device for a hyper-converged system
CN115756855A (en) Cluster switching method, device, terminal and storage medium
CN108712505A (en) Method of data synchronization, device, equipment, system and storage medium
TWI881478B (en) System power synchronization control method

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
CB02 Change of applicant information
CB02 Change of applicant information

Country or region after: China

Address after: 215000 Building 9, No.1 guanpu Road, Guoxiang street, Wuzhong Economic Development Zone, Suzhou City, Jiangsu Province

Applicant after: Suzhou Yuannao Intelligent Technology Co.,Ltd.

Address before: 215000 Building 9, No.1 guanpu Road, Guoxiang street, Wuzhong Economic Development Zone, Suzhou City, Jiangsu Province

Applicant before: SUZHOU LANGCHAO INTELLIGENT TECHNOLOGY Co.,Ltd.

Country or region before: China