[go: up one dir, main page]

CN106886441A - A kind of server system and FLASH collocation methods - Google Patents

A kind of server system and FLASH collocation methods Download PDF

Info

Publication number
CN106886441A
CN106886441A CN201710112527.7A CN201710112527A CN106886441A CN 106886441 A CN106886441 A CN 106886441A CN 201710112527 A CN201710112527 A CN 201710112527A CN 106886441 A CN106886441 A CN 106886441A
Authority
CN
China
Prior art keywords
flash
pch
code
bmc
selector
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
CN201710112527.7A
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710112527.7A priority Critical patent/CN106886441A/en
Publication of CN106886441A publication Critical patent/CN106886441A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

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

Abstract

本发明公开了一种服务器系统,包括PCH、BMC,两个FLASH和多路选择装置;BMC,用于控制多路选择装置使正常情况下,PCH与第一FLASH导通;若检测到PCH的代码获取失败,使自身与第一FLASH导通,对其进行远程烧录;若烧录失败,使PCH与第二FLASH导通,若代码获取失败,使自身与第二FLASH之间导通,并对其进行远程烧录;PCH与第一FLASH导通时,获取第一FLASH内的代码进行操作;在与第二FLASH导通时,获取第二FLASH内的代码进行操作;若成功获取第二FLASH内的代码,将代码发送至第一FLASH内进行数据恢复。本发明能够降低服务器不能工作的风险,可靠性高,并减少更换次数,降低用户损失;本发明还公开了一种FLASH配置方法。

The invention discloses a server system, which includes PCH, BMC, two FLASHs and a multi-channel selection device; the BMC is used to control the multi-channel selection device so that under normal conditions, the PCH is connected to the first FLASH; If the code acquisition fails, connect itself to the first FLASH and perform remote programming; if the programming fails, connect the PCH to the second FLASH; if the code acquisition fails, make the connection between itself and the second FLASH, And carry out remote programming; when the PCH is connected to the first FLASH, obtain the code in the first FLASH to operate; when it is connected to the second FLASH, obtain the code in the second FLASH to operate; The code in the second FLASH is sent to the first FLASH for data recovery. The invention can reduce the risk that the server cannot work, has high reliability, reduces replacement times, and reduces user losses; the invention also discloses a FLASH configuration method.

Description

一种服务器系统及FLASH配置方法A server system and FLASH configuration method

技术领域technical field

本发明涉及服务器配置技术领域,特别是涉及一种服务器系统。本发明还涉及一种用于服务器系统的FLASH配置方法。The invention relates to the technical field of server configuration, in particular to a server system. The invention also relates to a FLASH configuration method used in the server system.

背景技术Background technique

在服务器系统中,PCH(Platform Controller Hub)为平台管理控制中心,负责BIOS(Basic Input Output System,基本输入输出系统)开机、扩展对外I/O等功能,在PCH控制BIOS系统开机时,需要从PCH配置的FLASH中获取相应的代码,目前的PCH通常配置一个FLASH,一旦FLASH出现问题时,BMC(Baseboard Management Controller,基板管理控制器)会对FLASH进行远程烧录,若烧录失败,则FLASH只能进行更换,给用户造成较大的损失,且降低了服务器系统的可靠性。In the server system, PCH (Platform Controller Hub) is the platform management control center, which is responsible for BIOS (Basic Input Output System, basic input and output system) startup, expansion of external I/O and other functions. When PCH controls the startup of BIOS system, it needs to start from The corresponding code is obtained from the FLASH configured by the PCH. The current PCH is usually configured with a FLASH. Once there is a problem with the FLASH, the BMC (Baseboard Management Controller, Baseboard Management Controller) will perform remote programming of the FLASH. If the programming fails, the FLASH It can only be replaced, which causes great loss to the user and reduces the reliability of the server system.

因此,如何提供一种能够减少FLASH更换次数且系统可靠性高的服务器系统及用于服务器系统的FLASH配置方法是本领域技术人员目前需要解决的问题。Therefore, how to provide a server system capable of reducing the number of FLASH replacements and having high system reliability and a FLASH configuration method for the server system is currently a problem to be solved by those skilled in the art.

发明内容Contents of the invention

本发明的目的是提供一种服务器系统,通过设置冗余FLASH,降低由于一个FLASH出现问题导致的服务器不能工作的风险,提高系统的可靠性,并依据两个FLASH之间的数据恢复,减少更换次数,降低用户损失;本发明的另一目的是提供一种用于服务器系统的FLASH配置方法。The purpose of the present invention is to provide a server system, by setting redundant FLASH, reduce the risk of the server not working due to a problem in one FLASH, improve the reliability of the system, and reduce replacement according to data recovery between two FLASH times, reducing user loss; another object of the present invention is to provide a FLASH configuration method for a server system.

为解决上述技术问题,本发明提供了一种服务器系统,包括PCH平台管理控制中心、BMC基板管理控制器,两个FLASH和多路选择装置;所述多路选择装置分别与所述PCH、所述BMC和两个所述FLASH连接;For solving the above-mentioned technical problems, the present invention provides a kind of server system, comprises PCH platform management control center, BMC substrate management controller, two FLASH and multi-channel selection device; The BMC and the two FLASH connections;

所述BMC,用于正常情况下,控制所述多路选择装置使所述PCH与所述第一FLASH导通;若检测到所述PCH的代码获取失败,则通过控制所述多路选择装置使自身与所述第一FLASH之间导通,并对所述第一FLASH进行远程烧录;若烧录失败,通过控制所述多路选择装置使所述PCH与所述第二FLASH导通,若所述BMC检测到所述PCH获取所述第二FLASH的代码失败,则通过控制所述多路选择装置使自身与所述第二FLASH之间导通,并对所述第二FLASH进行远程烧录;The BMC is used to control the multiplexing device to conduct the PCH and the first FLASH under normal circumstances; if it is detected that the code acquisition of the PCH fails, then by controlling the multiplexing device Make conduction between itself and the first FLASH, and perform remote programming on the first FLASH; if the programming fails, conduct the PCH and the second FLASH by controlling the multiplexing device , if the BMC detects that the PCH fails to obtain the code of the second FLASH, it controls the multiplexing device to conduct between itself and the second FLASH, and conducts the second FLASH Remote programming;

所述PCH,用于在与所述第一FLASH导通时,获取所述第一FLASH内的代码进行相应的程序操作;在与所述第二FLASH导通时,获取所述第二FLASH内的代码进行相应的程序操作;若成功获取所述第二FLASH内的代码,将获取的代码发送至所述第一FLASH内,供所述第一FLASH进行数据恢复。The PCH is used to obtain the code in the first FLASH to perform corresponding program operation when it is connected to the first FLASH; to obtain the code in the second FLASH when it is connected to the second FLASH. the corresponding program operation; if the code in the second FLASH is successfully obtained, the obtained code is sent to the first FLASH for data recovery by the first FLASH.

优选地,所述多路选择装置具体包括两个多路选择器;第一选择器分别连接所述PCH、第一FLASH;第二选择器分别连接所述PCH、所述BMC和第二FLASH;Preferably, the multiplexing device specifically includes two multiplexers; the first selector is respectively connected to the PCH and the first FLASH; the second selector is respectively connected to the PCH, the BMC and the second FLASH;

所述BMC具体用于:The BMC is specifically used for:

正常情况下,控制所述第一选择器使所述PCH与所述第一FLASH导通;若检测到所述PCH的代码获取失败,则通过控制所述第一选择器使自身与所述第一FLASH之间导通,并对所述第一FLASH进行远程烧录;若烧录失败,通过控制所述第二选择器使所述PCH与所述第二FLASH导通,若所述BMC检测到所述PCH获取所述第二FLASH的代码失败,则通过控制所述第二选择器使自身与所述第二FLASH之间导通,并对所述第二FLASH进行远程烧录。Under normal circumstances, control the first selector to make the PCH and the first FLASH conduct; if it is detected that the code acquisition of the PCH fails, control the first selector to make itself and the first Conducting between one FLASH and performing remote programming on the first FLASH; if the programming fails, the PCH is connected to the second FLASH by controlling the second selector, and if the BMC detects When the PCH fails to acquire the code of the second FLASH, it controls the second selector to conduct between itself and the second FLASH, and performs remote programming on the second FLASH.

优选地,所述第一选择器与所述第二选择器均为多路复用器。Preferably, both the first selector and the second selector are multiplexers.

为解决上述技术问题,本发明还提供了一种用于服务器系统的FLASH配置方法,所述服务器系统包括PCH平台管理控制中心、BMC基板管理控制器、两个FLASH和多路选择装置;所述多路选择装置分别与所述PCH、所述BMC和两个所述FLASH连接;所述方法包括:In order to solve the above-mentioned technical problems, the present invention also provides a kind of FLASH configuration method that is used for server system, and described server system comprises PCH platform management and control center, BMC substrate management controller, two FLASH and multi-channel selection device; The demultiplexing device is respectively connected with the PCH, the BMC and the two FLASHs; the method includes:

正常情况下,所述多路选择装置控制所述PCH与所述第一FLASH导通,所述PCH获取所述第一FLASH内的代码进行相应的程序操作;Under normal circumstances, the multiplexing device controls the PCH to be connected to the first FLASH, and the PCH obtains the codes in the first FLASH to perform corresponding program operations;

若所述BMC检测到所述PCH的代码获取失败,则通过控制所述多路选择装置使自身与所述第一FLASH之间导通,并对所述第一FLASH进行远程烧录;If the BMC detects that the code acquisition of the PCH fails, it will conduct between itself and the first FLASH by controlling the multiplexing device, and perform remote programming on the first FLASH;

若烧录失败,所述BMC通过控制所述多路选择装置使所述PCH与所述第二FLASH导通,所述PCH获取所述第二FLASH内的代码进行相应的程序操作;If burning fails, the BMC makes the PCH and the second FLASH conductive by controlling the multiplexer, and the PCH obtains the code in the second FLASH to perform corresponding program operations;

若所述BMC检测到所述PCH获取所述第二FLASH内的代码失败,则通过控制所述多路选择装置使自身与所述第二FLASH之间导通,并对所述第二FLASH进行远程烧录;若所述PCH的代码获取成功,所述PCH将获取的代码发送至所述第一FLASH内,供所述第一FLASH进行数据恢复。If the BMC detects that the PCH fails to obtain the code in the second FLASH, it controls the multiplexing device to conduct between itself and the second FLASH, and performs a process on the second FLASH. Remote programming; if the code of the PCH is obtained successfully, the PCH sends the obtained code to the first FLASH for data recovery by the first FLASH.

优选地,所述多路选择装置具体包括两个多路选择器;第一选择器分别连接所述PCH、第一FLASH;第二选择器分别连接所述PCH、所述BMC和第二FLASH;所述方法具体包括:Preferably, the multiplexing device specifically includes two multiplexers; the first selector is respectively connected to the PCH and the first FLASH; the second selector is respectively connected to the PCH, the BMC and the second FLASH; Described method specifically comprises:

正常情况下,所述第一选择器控制所述PCH与所述第一FLASH导通,所述PCH获取所述第一FLASH内的代码进行相应的程序操作;Under normal circumstances, the first selector controls the conduction between the PCH and the first FLASH, and the PCH acquires codes in the first FLASH to perform corresponding program operations;

若所述BMC检测到所述PCH的代码获取失败,则通过控制所述第一选择器使自身与所述第一FLASH之间导通,并对所述第一FLASH进行远程烧录;If the BMC detects that the code acquisition of the PCH fails, it controls the first selector to conduct between itself and the first FLASH, and remotely burns the first FLASH;

若烧录失败,所述BMC通过控制所述第二选择器使所述PCH与所述第二FLASH导通,所述PCH获取所述第二FLASH内的代码进行相应的程序操作;If burning fails, the BMC controls the second selector to conduct the PCH and the second FLASH, and the PCH obtains the codes in the second FLASH to perform corresponding program operations;

若所述BMC检测到所述PCH获取所述第二FLASH内的代码失败,则通过控制所述第一选择器使自身与所述第二FLASH之间导通,并对所述第二FLASH进行远程烧录;若所述PCH的代码获取成功,所述PCH将获取的代码发送至所述第一FLASH内,供所述第一FLASH进行数据恢复。If the BMC detects that the PCH fails to obtain the code in the second FLASH, it controls the first selector to conduct between itself and the second FLASH, and conducts the second FLASH Remote programming; if the code of the PCH is obtained successfully, the PCH sends the obtained code to the first FLASH for data recovery by the first FLASH.

优选地,所述PCH获取所述第一FLASH内的代码进行的程序操作具体为启动BIOS。Preferably, the program operation performed by the PCH to obtain the codes in the first FLASH is specifically to start the BIOS.

本发明提供了一种服务器系统,包括PCH、BMC、两个FLASH以及多路选择装置,正常情况下,PCH与第一FLASH导通,若第一FLASH出现问题,则控制BMC与第一FLASH导通进行远程烧录,若烧录失败,则将PCH与第二FLASH导通,重复上述步骤,一旦PCH成功获取代码,则将代码发送至第一FLASH,供第一FLASH进行数据恢复。可见,本发明通过设置冗余FLASH,能够降低由于一个FLASH出现问题导致的服务器不能工作的风险,提高了系统的可靠性;并且通过将第二FLASH的代码发送至第一FLASH进行数据恢复,能够减少第一FLASH的更换次数,降低用户损失。本发明还提供了一种用于服务器系统的FLASH配置方法,在此不再赘述。The present invention provides a server system, including PCH, BMC, two FLASH and multi-channel selection device, under normal circumstances, PCH and the first FLASH conduction, if there is a problem with the first FLASH, then control the BMC and the first FLASH conduction If the programming fails, connect the PCH to the second FLASH and repeat the above steps. Once the PCH successfully obtains the code, send the code to the first FLASH for data recovery by the first FLASH. It can be seen that, by setting redundant FLASH, the present invention can reduce the risk that the server cannot work due to a problem in one FLASH, and improve the reliability of the system; and by sending the code of the second FLASH to the first FLASH for data recovery, it can Reduce the replacement times of the first FLASH and reduce user losses. The present invention also provides a FLASH configuration method for the server system, which will not be repeated here.

附图说明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为本发明提供的一种服务器系统的结构示意图;Fig. 1 is a schematic structural diagram of a server system provided by the present invention;

图2为本发明提供的一种用于服务器系统的FLASH配置方法的过程的流程图。FIG. 2 is a flowchart of a process of a FLASH configuration method for a server system provided by the present invention.

具体实施方式detailed description

本发明的核心是提供一种服务器系统,通过设置冗余FLASH,降低由于一个FLASH出现问题导致的服务器不能工作的风险,提高系统的可靠性,并依据两个FLASH之间的数据恢复,减少更换次数,降低用户损失;本发明的另一核心是提供一种用于服务器系统的FLASH配置方法。The core of the present invention is to provide a server system. By setting redundant FLASH, the risk of the server not working due to a problem in one FLASH is reduced, the reliability of the system is improved, and the data recovery between two FLASHs is used to reduce replacement. times, reducing user losses; another core of the present invention is to provide a FLASH configuration method for server systems.

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。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.

本发明提供了一种服务器系统,包括PCH平台管理控制中心、BMC基板管理控制器,两个FLASH和多路选择装置;多路选择装置分别与PCH、BMC和两个FLASH连接;The invention provides a server system, comprising a PCH platform management control center, a BMC substrate management controller, two FLASHs and a multi-channel selection device; the multi-channel selection device is respectively connected to the PCH, the BMC and the two FLASHs;

BMC,用于正常情况下,控制多路选择装置使PCH与第一FLASH导通;若检测到PCH的代码获取失败,则通过控制多路选择装置使自身与第一FLASH之间导通,并对第一FLASH进行远程烧录;若烧录失败,通过控制多路选择装置使PCH与第二FLASH导通,若BMC检测到PCH获取第二FLASH的代码失败,则通过控制多路选择装置使自身与第二FLASH之间导通,并对第二FLASH进行远程烧录;BMC is used to control the multiplexing device to conduct the PCH and the first FLASH under normal circumstances; if it is detected that the code acquisition of the PCH fails, it will conduct between itself and the first FLASH by controlling the multiplexing device, and Carry out remote programming of the first FLASH; if the programming fails, the PCH and the second FLASH are turned on by controlling the multiplexing device. Conduction between itself and the second FLASH, and remote programming of the second FLASH;

PCH,用于在与第一FLASH导通时,获取第一FLASH内的代码进行相应的程序操作;在与第二FLASH导通时,获取第二FLASH内的代码进行相应的程序操作;若成功获取第二FLASH内的代码,将获取的代码发送至第一FLASH内,供第一FLASH进行数据恢复。PCH, used to obtain the code in the first FLASH to perform corresponding program operation when conducting with the first FLASH; when conducting with the second FLASH, obtain the code in the second FLASH to perform corresponding program operation; if successful The code in the second FLASH is obtained, and the obtained code is sent to the first FLASH for data recovery by the first FLASH.

其中,PCH获取第一FLASH内的代码进行的程序操作具体为启动BIOS。当然,这里的操作也可以是其他PCH需要获取FLASH内的代码才可以进行操作,操作的具体内容本发明不作限定。Wherein, the program operation performed by the PCH to acquire the codes in the first FLASH is specifically to start the BIOS. Certainly, the operation here may also be that other PCHs need to acquire the codes in the FLASH to perform the operation, and the specific content of the operation is not limited in the present invention.

可以理解的是,当第一FLASH没有损坏的情况下,通过将第二FLASH内的代码发送至第一FLASH内,即可进行数据恢复,从而降低用户的成本损失以及返厂维修的时间,It can be understood that when the first FLASH is not damaged, data recovery can be performed by sending the code in the second FLASH to the first FLASH, thereby reducing the cost loss of the user and the time for returning to the factory for maintenance.

在一种具体实施例中,多路选择装置具体包括两个多路选择器;第一选择器分别连接PCH、第一FLASH;第二选择器分别连接PCH、BMC和第二FLASH;In a specific embodiment, the multiplexing device specifically includes two multiplexers; the first selector is respectively connected to the PCH and the first FLASH; the second selector is respectively connected to the PCH, the BMC and the second FLASH;

BMC具体用于:BMC is specifically used for:

正常情况下,控制第一选择器使PCH与第一FLASH导通;若检测到PCH的代码获取失败,则通过控制第一选择器使自身与第一FLASH之间导通,并对第一FLASH进行远程烧录;若烧录失败,通过控制第二选择器使PCH与第二FLASH导通,若BMC检测到PCH获取第二FLASH的代码失败,则通过控制第二选择器使自身与第二FLASH之间导通,并对第二FLASH进行远程烧录。Under normal circumstances, control the first selector to make the PCH and the first FLASH conduct; if it is detected that the code acquisition of the PCH fails, the first selector is controlled to conduct between itself and the first FLASH, and the first FLASH Carry out remote programming; if the programming fails, the PCH and the second FLASH are turned on by controlling the second selector. The FLASH is turned on, and the second FLASH is remotely programmed.

具体的,PCH与BMC与第一选择器连接时采用的自身的CS0引脚,即选通信号为自身的CS0信号(CS为片选信号);PCH与BMC与第二选择器连接时采用的自身的CS1引脚,即选通信号为自身的CS1信号;BMC通过两路GPIO(General Purpose Input Output,通用输入/输出)分别控制第一选择器和第二选择器的选通权。Specifically, the CS0 pin adopted when PCH and BMC are connected with the first selector, that is, the strobe signal is its own CS0 signal (CS is a chip select signal); the PCH and BMC are connected with the second selector Its own CS1 pin, that is, the strobe signal is its own CS1 signal; the BMC controls the strobe rights of the first selector and the second selector respectively through two GPIOs (General Purpose Input Output, general purpose input/output).

其中,第一选择器与第二选择器均为多路复用器MUX,当然,这里的选择器可以采用其他器件,本发明对此不作具体限定。参见图1所示,图1为本发明提供的一种服务器系统的结构示意图。其中,PCH_SPI_CS0为PCH的CS0引脚通过SPI(Serial PeripheralInterface,串行外设接口)连接MUX1,PCH_SPI_CS1为PCH的CS1引脚通过SPI连接MUX2;BMC_SPI_CS0为BMC的CS0引脚通过SPI连接MUX1,BMC_SPI_CS1为BMC的CS1引脚通过SPI连接MUX2,MUX1_SEL为BMC输出控制MUX1的选通权的引脚,MUX2_SEL为BMC输出控制MUX2的选通权的引脚;SPI_1为MUX1通过SPI连接第一FLASH的接口总线,SPI_2为MUX2通过SPI连接第一FLASH的接口总线。Wherein, both the first selector and the second selector are multiplexers MUX, of course, other devices may be used for the selector here, which is not specifically limited in the present invention. Referring to FIG. 1 , FIG. 1 is a schematic structural diagram of a server system provided by the present invention. Among them, PCH_SPI_CS0 is the CS0 pin of PCH connected to MUX1 through SPI (Serial Peripheral Interface, Serial Peripheral Interface), PCH_SPI_CS1 is the CS1 pin of PCH connected to MUX2 through SPI; BMC_SPI_CS0 is the CS0 pin of BMC connected to MUX1 through SPI, BMC_SPI_CS1 is The CS1 pin of BMC is connected to MUX2 through SPI, MUX1_SEL is the pin for BMC output to control the strobe right of MUX1, MUX2_SEL is the pin for BMC output to control the strobe right of MUX2; SPI_1 is the interface bus for MUX1 to connect to the first FLASH through SPI , SPI_2 is the interface bus through which MUX2 connects to the first FLASH through SPI.

另外,多路选择装置也可由一个选择器构成,具体如何实现本发明不作限定。In addition, the multiplexing device may also be composed of a selector, and how to implement the present invention is not limited.

本发明提供了一种服务器系统,包括PCH、BMC、两个FLASH以及多路选择装置,正常情况下,PCH与第一FLASH导通,若第一FLASH出现问题,则控制BMC与第一FLASH导通进行远程烧录,若烧录失败,则将PCH与第二FLASH导通,重复上述步骤,一旦PCH成功获取代码,则将代码发送至第一FLASH,供第一FLASH进行数据恢复。可见,本发明通过设置冗余FLASH,能够避免由于一个FLASH出现问题导致的不能开机的问题,降低了FLASH故障时服务器不能工作的风险,提高了系统的可靠性;并且通过将第二FLASH的代码发送至第一FLASH进行数据恢复,能够减少第一FLASH的更换次数,降低用户损失。The present invention provides a server system, including PCH, BMC, two FLASH and multi-channel selection device, under normal circumstances, PCH and the first FLASH conduction, if there is a problem with the first FLASH, then control the BMC and the first FLASH conduction If the programming fails, connect the PCH to the second FLASH and repeat the above steps. Once the PCH successfully obtains the code, send the code to the first FLASH for data recovery by the first FLASH. It can be seen that, by setting redundant FLASH, the present invention can avoid the problem of not being able to boot due to a problem in one FLASH, reduces the risk that the server cannot work when the FLASH fails, and improves the reliability of the system; Sending to the first FLASH for data recovery can reduce the number of replacements of the first FLASH and reduce user losses.

本发明还提供了一种用于服务器系统的FLASH配置方法,服务器系统包括PCH平台管理控制中心、BMC基板管理控制器、两个FLASH和多路选择装置;多路选择装置分别与PCH、BMC和两个FLASH连接;参见图2所示,图2为本发明提供的一种用于服务器系统的FLASH配置方法的过程的流程图。该方法包括:The present invention also provides a kind of FLASH configuration method that is used for server system, and server system comprises PCH platform management and control center, BMC substrate management controller, two FLASH and multi-channel selection device; Multi-channel selection device is connected with PCH, BMC and Two FLASH connections; see FIG. 2, which is a flow chart of the process of a FLASH configuration method for a server system provided by the present invention. The method includes:

步骤s101:正常情况下,多路选择装置控制PCH与第一FLASH导通,PCH获取第一FLASH内的代码进行相应的程序操作;Step s101: Under normal circumstances, the multiplexing device controls the conduction between the PCH and the first FLASH, and the PCH obtains the code in the first FLASH to perform corresponding program operations;

步骤s102:若BMC检测到PCH的代码获取失败,则通过控制多路选择装置使自身与第一FLASH之间导通,并对第一FLASH进行远程烧录;Step s102: If the BMC detects that the code acquisition of the PCH fails, it controls the multiplexer to conduct between itself and the first FLASH, and remotely burns the first FLASH;

步骤s103:若烧录失败,BMC通过控制多路选择装置使PCH与第二FLASH导通,PCH获取第二FLASH内的代码进行相应的程序操作;Step s103: If the programming fails, the BMC controls the multiplexing device to conduct the PCH and the second FLASH, and the PCH obtains the code in the second FLASH to perform corresponding program operations;

步骤s104:若BMC检测到PCH获取第二FLASH内的代码失败,则通过控制多路选择装置使自身与第二FLASH之间导通,并对第二FLASH进行远程烧录;若PCH的代码获取成功,PCH将获取的代码发送至第一FLASH内,供第一FLASH进行数据恢复。Step s104: If the BMC detects that the PCH fails to obtain the code in the second FLASH, it will conduct between itself and the second FLASH by controlling the multiplexing device, and perform remote programming on the second FLASH; if the code of the PCH is obtained If successful, the PCH sends the obtained code to the first FLASH for data recovery by the first FLASH.

作为优选地,多路选择装置具体包括两个多路选择器;第一选择器分别连接PCH、第一FLASH;第二选择器分别连接PCH、BMC和第二FLASH;方法具体包括:As preferably, the multiplexing device specifically includes two multiplexers; the first selector is connected to the PCH and the first FLASH respectively; the second selector is connected to the PCH, the BMC and the second FLASH respectively; the method specifically includes:

正常情况下,第一选择器控制PCH与第一FLASH导通,PCH获取第一FLASH内的代码进行相应的程序操作;Under normal circumstances, the first selector controls the conduction between the PCH and the first FLASH, and the PCH obtains the code in the first FLASH to perform corresponding program operations;

若BMC检测到PCH的代码获取失败,则通过控制第一选择器使自身与第一FLASH之间导通,并对第一FLASH进行远程烧录;If the BMC detects that the code acquisition of the PCH fails, it will conduct between itself and the first FLASH by controlling the first selector, and perform remote programming on the first FLASH;

若烧录失败,BMC通过控制第二选择器使PCH与第二FLASH导通,PCH获取第二FLASH内的代码进行相应的程序操作;If the programming fails, the BMC controls the second selector to make the PCH and the second FLASH conduct, and the PCH obtains the code in the second FLASH to perform the corresponding program operation;

若BMC检测到PCH获取第二FLASH内的代码失败,则通过控制第一选择器使自身与第二FLASH之间导通,并对第二FLASH进行远程烧录;若PCH的代码获取成功,PCH将获取的代码发送至第一FLASH内,供第一FLASH进行数据恢复。If the BMC detects that the PCH fails to obtain the code in the second FLASH, it controls the first selector to conduct between itself and the second FLASH, and remotely burns the second FLASH; if the code of the PCH is successfully obtained, the PCH The acquired code is sent to the first FLASH for data recovery by the first FLASH.

其中,PCH获取第一FLASH内的代码进行的程序操作具体为启动BIOS。Wherein, the program operation performed by the PCH to acquire the codes in the first FLASH is specifically to start the BIOS.

本发明提供了一种用于服务器系统的FLASH配置方法,包括PCH、BMC、两个FLASH以及多路选择装置,正常情况下,PCH与第一FLASH导通,若第一FLASH出现问题,则控制BMC与第一FLASH导通进行远程烧录,若烧录失败,则将PCH与第二FLASH导通,重复上述步骤,一旦PCH成功获取代码,则将代码发送至第一FLASH,供第一FLASH进行数据恢复。可见,本发明通过设置冗余FLASH,能够避免由于一个FLASH出现问题导致的不能开机的问题,提高了系统的可靠性;并且通过将第二FLASH的代码发送至第一FLASH进行数据恢复,能够减少第一FLASH的更换次数,降低用户损失。The invention provides a FLASH configuration method for a server system, including PCH, BMC, two FLASHs and a multi-channel selection device. Under normal circumstances, the PCH is connected to the first FLASH, and if a problem occurs in the first FLASH, the control The BMC is connected to the first FLASH for remote programming. If the programming fails, the PCH is connected to the second FLASH, and the above steps are repeated. Once the PCH successfully obtains the code, the code is sent to the first FLASH for the first FLASH. Perform data recovery. It can be seen that the present invention can avoid the problem of not being able to boot due to a problem in one FLASH by setting redundant FLASH, and improves the reliability of the system; and by sending the code of the second FLASH to the first FLASH for data recovery, it can reduce The number of replacements of the first FLASH reduces user losses.

本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。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. As for the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and for the related information, please refer to the description of the method part.

还需要说明的是,在本说明书中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should also be noted that in this specification, relative terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that these entities or operations There is no such actual relationship or order between the operations. 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 apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or device. 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 apparatus comprising said element.

对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其他实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention will not be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (6)

1.一种服务器系统,其特征在于,包括PCH平台管理控制中心、BMC基板管理控制器,两个FLASH和多路选择装置;所述多路选择装置分别与所述PCH、所述BMC和两个所述FLASH连接;1. a kind of server system, it is characterized in that, comprises PCH platform management control center, BMC substrate management controller, two FLASH and multiplexer; Described multiplexer is respectively with described PCH, described BMC and two A described FLASH connection; 所述BMC,用于正常情况下,控制所述多路选择装置使所述PCH与所述第一FLASH导通;若检测到所述PCH的代码获取失败,则通过控制所述多路选择装置使自身与所述第一FLASH之间导通,并对所述第一FLASH进行远程烧录;若烧录失败,通过控制所述多路选择装置使所述PCH与所述第二FLASH导通,若所述BMC检测到所述PCH获取所述第二FLASH的代码失败,则通过控制所述多路选择装置使自身与所述第二FLASH之间导通,并对所述第二FLASH进行远程烧录;The BMC is used to control the multiplexing device to conduct the PCH and the first FLASH under normal circumstances; if it is detected that the code acquisition of the PCH fails, then by controlling the multiplexing device Make conduction between itself and the first FLASH, and perform remote programming on the first FLASH; if the programming fails, conduct the PCH and the second FLASH by controlling the multiplexing device , if the BMC detects that the PCH fails to obtain the code of the second FLASH, it controls the multiplexing device to conduct between itself and the second FLASH, and conducts the second FLASH Remote programming; 所述PCH,用于在与所述第一FLASH导通时,获取所述第一FLASH内的代码进行相应的程序操作;在与所述第二FLASH导通时,获取所述第二FLASH内的代码进行相应的程序操作;若成功获取所述第二FLASH内的代码,将获取的代码发送至所述第一FLASH内,供所述第一FLASH进行数据恢复。The PCH is used to obtain the code in the first FLASH to perform corresponding program operation when it is connected to the first FLASH; to obtain the code in the second FLASH when it is connected to the second FLASH. the corresponding program operation; if the code in the second FLASH is successfully obtained, the obtained code is sent to the first FLASH for data recovery by the first FLASH. 2.根据权利要求1所述的系统,其特征在于,所述多路选择装置具体包括两个多路选择器;第一选择器分别连接所述PCH、第一FLASH;第二选择器分别连接所述PCH、所述BMC和第二FLASH;2. The system according to claim 1, wherein the multiplexer specifically comprises two multiplexers; the first selector is connected to the PCH and the first FLASH respectively; the second selector is connected to The PCH, the BMC and the second FLASH; 所述BMC具体用于:The BMC is specifically used for: 正常情况下,控制所述第一选择器使所述PCH与所述第一FLASH导通;若检测到所述PCH的代码获取失败,则通过控制所述第一选择器使自身与所述第一FLASH之间导通,并对所述第一FLASH进行远程烧录;若烧录失败,通过控制所述第二选择器使所述PCH与所述第二FLASH导通,若所述BMC检测到所述PCH获取所述第二FLASH的代码失败,则通过控制所述第二选择器使自身与所述第二FLASH之间导通,并对所述第二FLASH进行远程烧录。Under normal circumstances, control the first selector to make the PCH and the first FLASH conduct; if it is detected that the code acquisition of the PCH fails, control the first selector to make itself and the first Conducting between one FLASH and performing remote programming on the first FLASH; if the programming fails, the PCH is connected to the second FLASH by controlling the second selector, and if the BMC detects When the PCH fails to acquire the code of the second FLASH, it controls the second selector to conduct between itself and the second FLASH, and performs remote programming on the second FLASH. 3.根据权利要求2所述的系统,其特征在于,所述第一选择器与所述第二选择器均为多路复用器。3. The system according to claim 2, wherein the first selector and the second selector are multiplexers. 4.一种用于服务器系统的FLASH配置方法,其特征在于,所述服务器系统包括PCH平台管理控制中心、BMC基板管理控制器、两个FLASH和多路选择装置;所述多路选择装置分别与所述PCH、所述BMC和两个所述FLASH连接;所述方法包括:4. a kind of FLASH configuration method for server system, it is characterized in that, described server system comprises PCH platform management control center, BMC substrate management controller, two FLASH and multi-channel selection device; Described multi-channel selection device respectively Connect with the PCH, the BMC and the two FLASHs; the method includes: 正常情况下,所述多路选择装置控制所述PCH与所述第一FLASH导通,所述PCH获取所述第一FLASH内的代码进行相应的程序操作;Under normal circumstances, the multiplexing device controls the PCH to be connected to the first FLASH, and the PCH obtains the codes in the first FLASH to perform corresponding program operations; 若所述BMC检测到所述PCH的代码获取失败,则通过控制所述多路选择装置使自身与所述第一FLASH之间导通,并对所述第一FLASH进行远程烧录;If the BMC detects that the code acquisition of the PCH fails, it will conduct between itself and the first FLASH by controlling the multiplexing device, and perform remote programming on the first FLASH; 若烧录失败,所述BMC通过控制所述多路选择装置使所述PCH与所述第二FLASH导通,所述PCH获取所述第二FLASH内的代码进行相应的程序操作;If burning fails, the BMC makes the PCH and the second FLASH conductive by controlling the multiplexer, and the PCH obtains the code in the second FLASH to perform corresponding program operations; 若所述BMC检测到所述PCH获取所述第二FLASH内的代码失败,则通过控制所述多路选择装置使自身与所述第二FLASH之间导通,并对所述第二FLASH进行远程烧录;若所述PCH的代码获取成功,所述PCH将获取的代码发送至所述第一FLASH内,供所述第一FLASH进行数据恢复。If the BMC detects that the PCH fails to obtain the code in the second FLASH, it controls the multiplexing device to conduct between itself and the second FLASH, and performs a process on the second FLASH. Remote programming; if the code of the PCH is obtained successfully, the PCH sends the obtained code to the first FLASH for data recovery by the first FLASH. 5.根据权利要求4所述的方法,其特征在于,所述多路选择装置具体包括两个多路选择器;第一选择器分别连接所述PCH、第一FLASH;第二选择器分别连接所述PCH、所述BMC和第二FLASH;所述方法具体包括:5. The method according to claim 4, wherein the multiplexing device specifically comprises two multiplexers; the first selector is connected to the PCH and the first FLASH respectively; the second selector is connected to The PCH, the BMC and the second FLASH; the method specifically includes: 正常情况下,所述第一选择器控制所述PCH与所述第一FLASH导通,所述PCH获取所述第一FLASH内的代码进行相应的程序操作;Under normal circumstances, the first selector controls the conduction between the PCH and the first FLASH, and the PCH acquires codes in the first FLASH to perform corresponding program operations; 若所述BMC检测到所述PCH的代码获取失败,则通过控制所述第一选择器使自身与所述第一FLASH之间导通,并对所述第一FLASH进行远程烧录;If the BMC detects that the code acquisition of the PCH fails, it controls the first selector to conduct between itself and the first FLASH, and remotely burns the first FLASH; 若烧录失败,所述BMC通过控制所述第二选择器使所述PCH与所述第二FLASH导通,所述PCH获取所述第二FLASH内的代码进行相应的程序操作;If burning fails, the BMC controls the second selector to conduct the PCH and the second FLASH, and the PCH obtains the codes in the second FLASH to perform corresponding program operations; 若所述BMC检测到所述PCH获取所述第二FLASH内的代码失败,则通过控制所述第一选择器使自身与所述第二FLASH之间导通,并对所述第二FLASH进行远程烧录;若所述PCH的代码获取成功,所述PCH将获取的代码发送至所述第一FLASH内,供所述第一FLASH进行数据恢复。If the BMC detects that the PCH fails to obtain the code in the second FLASH, it controls the first selector to conduct between itself and the second FLASH, and conducts the second FLASH Remote programming; if the code of the PCH is obtained successfully, the PCH sends the obtained code to the first FLASH for data recovery by the first FLASH. 6.根据权利要求4或5所述的方法,其特征在于,所述PCH获取所述第一FLASH内的代码进行的程序操作具体为启动BIOS。6. The method according to claim 4 or 5, wherein the program operation performed by the PCH to obtain the codes in the first FLASH is specifically to start the BIOS.
CN201710112527.7A 2017-02-28 2017-02-28 A kind of server system and FLASH collocation methods Pending CN106886441A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710112527.7A CN106886441A (en) 2017-02-28 2017-02-28 A kind of server system and FLASH collocation methods

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710112527.7A CN106886441A (en) 2017-02-28 2017-02-28 A kind of server system and FLASH collocation methods

Publications (1)

Publication Number Publication Date
CN106886441A true CN106886441A (en) 2017-06-23

Family

ID=59179027

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710112527.7A Pending CN106886441A (en) 2017-02-28 2017-02-28 A kind of server system and FLASH collocation methods

Country Status (1)

Country Link
CN (1) CN106886441A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107621998A (en) * 2017-09-29 2018-01-23 郑州云海信息技术有限公司 A storage system-based high-availability FLASH system and its method
CN108491299A (en) * 2018-04-03 2018-09-04 郑州云海信息技术有限公司 A kind of signal detection board and the mainboard for signal detection
CN109670319A (en) * 2018-12-25 2019-04-23 广东浪潮大数据研究有限公司 A kind of server flash method for managing security and its system
CN109885530A (en) * 2019-02-27 2019-06-14 苏州浪潮智能科技有限公司 A kind of the operation management framework and server of server
CN113127044A (en) * 2021-04-13 2021-07-16 山东英信计算机技术有限公司 BMC upgrading method and device and related components

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101499044A (en) * 2008-02-03 2009-08-05 英业达股份有限公司 Computer system with double basic input and output systems and operation method thereof
CN102419719A (en) * 2010-09-27 2012-04-18 鸿富锦精密工业(深圳)有限公司 Computer system and method for starting same
CN102455945A (en) * 2010-10-27 2012-05-16 鸿富锦精密工业(深圳)有限公司 Baseboard management controller recovery system and method of use thereof
CN102841634A (en) * 2011-06-24 2012-12-26 环达电脑(上海)有限公司 Server mainboard
CN102955724A (en) * 2011-08-25 2013-03-06 鸿富锦精密工业(深圳)有限公司 BIOS (basic input output system) test fixture and method using same for BIOS test
CN105700970A (en) * 2014-11-25 2016-06-22 英业达科技有限公司 Server system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101499044A (en) * 2008-02-03 2009-08-05 英业达股份有限公司 Computer system with double basic input and output systems and operation method thereof
CN102419719A (en) * 2010-09-27 2012-04-18 鸿富锦精密工业(深圳)有限公司 Computer system and method for starting same
CN102455945A (en) * 2010-10-27 2012-05-16 鸿富锦精密工业(深圳)有限公司 Baseboard management controller recovery system and method of use thereof
CN102841634A (en) * 2011-06-24 2012-12-26 环达电脑(上海)有限公司 Server mainboard
CN102955724A (en) * 2011-08-25 2013-03-06 鸿富锦精密工业(深圳)有限公司 BIOS (basic input output system) test fixture and method using same for BIOS test
CN105700970A (en) * 2014-11-25 2016-06-22 英业达科技有限公司 Server system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107621998A (en) * 2017-09-29 2018-01-23 郑州云海信息技术有限公司 A storage system-based high-availability FLASH system and its method
CN108491299A (en) * 2018-04-03 2018-09-04 郑州云海信息技术有限公司 A kind of signal detection board and the mainboard for signal detection
CN109670319A (en) * 2018-12-25 2019-04-23 广东浪潮大数据研究有限公司 A kind of server flash method for managing security and its system
CN109670319B (en) * 2018-12-25 2022-04-15 广东浪潮大数据研究有限公司 Server flash safety management method and system thereof
CN109885530A (en) * 2019-02-27 2019-06-14 苏州浪潮智能科技有限公司 A kind of the operation management framework and server of server
CN113127044A (en) * 2021-04-13 2021-07-16 山东英信计算机技术有限公司 BMC upgrading method and device and related components

Similar Documents

Publication Publication Date Title
CN106886441A (en) A kind of server system and FLASH collocation methods
TWI633487B (en) Method and computer system for automatically recovering the bios image file
US9569226B2 (en) Baseboard management controller and method of loading firmware
CN102419719A (en) Computer system and method for starting same
CN112328440B (en) Hard disk physical position determining method and device
CN102339242A (en) Computer system data recovery device
CN103748569A (en) System and methods for driverless operation of USB device
CN107844330A (en) A kind of method and system of enhancing ARM startup of server code reliabilities
TWI778811B (en) Method for upgrade, computer system and remote upgrade equipment
TW201416879A (en) Cloud system and the boot up and deployment method for the cloud system
WO2016033941A1 (en) Boot on-line upgrading apparatus and method
CN103634388B (en) Controller is restarted in treatment storage server method and relevant device and communication system
CN110497362A (en) Electronic tools and methods for replicating multiple settings from one mechanical tool to another
CN117289963A (en) Method and equipment for online updating target area of server platform service firmware
CN104951348B (en) A kind of interruptable recovery upgrade method and device
TWI528287B (en) Server system
CN101799778A (en) Computer device with automatic reset and automatic reset method
CN101211268A (en) System and method for starting mainboard by loading starting program through different interfaces
CN108108314B (en) Exchanger system
JP6749072B2 (en) Storage management device and storage management program
CN109684153B (en) Server with double firmware storage spaces and firmware updating method thereof
TW201629757A (en) Control module of server node and firmware updating method for the control module
JP6435842B2 (en) Storage control device and storage control program
CN119025172B (en) A power supply data acquisition method, system, readable storage medium and program product
CN109088740B (en) Relay network system and network connection 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170623