CN108399075A - A kind of method and system of update management engine - Google Patents

A kind of method and system of update management engine Download PDF

Info

Publication number
CN108399075A
CN108399075A CN201810166507.2A CN201810166507A CN108399075A CN 108399075 A CN108399075 A CN 108399075A CN 201810166507 A CN201810166507 A CN 201810166507A CN 108399075 A CN108399075 A CN 108399075A
Authority
CN
China
Prior art keywords
flag bit
management engine
update
down state
available mode
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
CN201810166507.2A
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 CN201810166507.2A priority Critical patent/CN108399075A/en
Publication of CN108399075A publication Critical patent/CN108399075A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • 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/4401Bootstrapping
    • G06F9/4403Processor initialisation

Abstract

This application discloses it is a kind of update management engine method, the method includes:It receives update file and sets the flag bit of management engine to available mode;When entering BIOS process of self-test, it sets the flag bit to down state;Judge whether the flag bit by the available mode is converted to down state;It operates if so, executing Global reset and the update file is utilized to update the management engine.This method can upgrade management engine on the basis of reducing maintenance cost.Disclosed herein as well is a kind of system of update management engine, a kind of computer readable storage medium and a kind of servers for realizing update management engine, have the above advantageous effect.

Description

A kind of method and system of update management engine
Technical field
The present invention relates to server room maintenance area, more particularly to a kind of method, system, one kind of update management engine Computer readable storage medium and a kind of server for realizing update management engine.
Background technology
With the rapid development of computer technology and integrated circuit technique, the construction of all kinds of server rooms is also continuing Increase, the management and maintenance of computer room become more and more important.In the maintenance process of server room, server FW (Firmware, Firmware) upgrading be inevitable.FW includes BMC (Baseboard Management Controller, substrate management control Device), BIOS (Basic Input Output System, basic input output system), ME (Management Engine, pipe Manage engine) etc..ME is mainly used for managing the cooperation and communication between PCH and other firmwares, and system is allowed to reach highest and most harmonious Effectiveness.ME can generally be packaged with BIOS program and be placed in the same flash chip, generally also with BIOS FW together into Row upgrading.
In the prior art, it is that progress AC power-off (AC dump) is needed to ensure that new ME comes into force after upgrading ME.But in machine In room maintenance process, when carrying out high-volume refreshing BIOS+ME firmwares in OS (Operating System, operating system), all It is that remote batch refreshes, maintenance difficulties can be increased by carrying out AC power operations.
Therefore, how to carry out upgrading to management engine on the basis of reducing maintenance cost is that those skilled in the art are current The technical issues that need to address.
Invention content
The purpose of the application is to provide a kind of method, system, a kind of computer readable storage medium updating management engine And a kind of server for realizing update management engine, it can reduce and management engine be upgraded on the basis of maintenance cost.
In order to solve the above technical problems, the application provides a kind of method of update management engine, this method includes:
It receives update file and sets the flag bit of management engine to available mode;
When entering BIOS process of self-test, it sets the flag bit to down state;
Judge whether the flag bit by the available mode is converted to down state;
It operates if so, executing Global reset and the update file is utilized to update the management engine.
Optionally, described to set the flag bit of management engine to available mode and include:
Update file is received, and sets the Integrated wired LAN of the management engine to Enable.
Optionally, when entering BIOS process of self-test, setting the flag bit to down state includes:
When entering the BIOS process of self-test, it sets the Integrated wired LAN to Disable.
Optionally, the execution Global reset, which operates, includes:
It is 1 by the CF9Global Reset set in Extended Test Mode Register 3, executes described complete Office resets operation.
Optionally, further include:
The update file for setting the flag bit to the down state is stored into flash chip.
Present invention also provides a kind of system of update management engine, which includes:
Flag bit setup module, for receiving update file and setting the flag bit of management engine to available mode;
Flag bit handover module, for when entering BIOS process of self-test, setting the flag bit to down state;
Judgment module, for judging whether the flag bit by the available mode is converted to down state;
Update module is complete for when the flag bit is converted to the down state by the available mode, executing Office, which resets, to be operated and updates the management engine using the update file.
Optionally, the flag bit setup module is specially to receive update file, and by the management engine Integrated wired LAN are set as the module of Enable.
Optionally, the flag bit handover module specially sets Integrated wired LAN to Disable, and Execute the module of Global reset operation.
Present invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, the computer The step of program realizes above-mentioned update management engine method when executing executes.
It is described to deposit present invention also provides a kind of server for realizing update management engine, including memory and processor Computer program is stored in reservoir, the processor realizes above-mentioned update pipe when calling the computer program in the memory The step of method for managing engine executes.
The present invention provides a kind of method of update management engine, this method includes:It receives update file and draws management The flag bit held up is set as available mode;When entering BIOS process of self-test, it sets the flag bit to down state;Sentence Whether the flag bit that breaks by the available mode is converted to down state;It operates and utilizes if so, executing Global reset The update file updates the management engine.
The present invention decides whether to execute the overall situation by the way that flag bit is arranged in management engine according to the situation of change of flag bit Reset operation.Global reset operation is to ensure that updated management engine comes into force be subjected to operation, and in the prior art Ensured by AC power-off practical function that updated management engine comes into force be exactly play the role of Global reset similarly, but It is the maintenance difficulties that AC power-off can increase server room.Ensure that updated management is drawn by carrying out Global reset in the present invention The maintenance difficulties of server room will not be increased by holding up the method to come into force, and easy to operate easy realization can reduce the base of maintenance cost Management engine is upgraded on plinth.The application additionally provides a kind of update system of management engine simultaneously, a kind of computer can Storage medium and a kind of server for realizing update management engine are read, there is above-mentioned advantageous effect, details are not described herein.
Description of the drawings
In order to illustrate more clearly of the embodiment of the present application, attached drawing needed in the embodiment will be done simply below It introduces, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present application, for ordinary skill people For member, without creative efforts, other drawings may also be obtained based on these drawings.
A kind of flow chart of the method for update management engine that Fig. 1 is provided by the embodiment of the present application;
A kind of structural schematic diagram of the system for update management engine that Fig. 2 is provided by the embodiment of the present application.
Specific implementation mode
To keep the purpose, technical scheme and advantage of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, technical solutions in the embodiments of the present application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art The every other embodiment obtained without making creative work, shall fall in the protection scope of this application.
Refer to Fig. 1 below, a kind of flow of the method for update management engine that Fig. 1 is provided by the embodiment of the present application Figure.
Specific steps may include:
S101:It receives update file and sets the flag bit of management engine to available mode;
Wherein, there is stronger versatility by the method for the update management engine being previously mentioned in this present embodiment, therefore should Method can be applied to Linux OS update management engines, can also be applied to BMC and update management engine, the skill of certain this field Art personnel, which will also be appreciated that, is applied to the method that management engine is updated in the present embodiment in other systems update management engine, this Place is without specifically limiting.
The purpose of this step is to set the flag bit in management engine to available mode, it is to be appreciated that this implementation The flag bit in management engine in example can select the word for not influencing the present embodiment relevant operation arbitrarily there are many selection Section is set as corresponding flag bit.Certainly, this step is the operation that acquiescence has existed determining flag bit, in the present embodiment The flag bit mentioned in all steps is same flag bit.Certainly, the update file default received in this step is about more The associated documents of new management engine, system can utilize the update file to realize the update to management engine.
S102:When entering BIOS process of self-test, it sets the flag bit to down state;
Wherein, self-test is also referred to as power-on self-test (POST, Power On Self Test), is a kind of computer system connection electricity A kind of operation when source includes the test to devices such as CPU, system board, base memory, exented memory, system ROM BIOS, Such as find that mistake is prompted or alerted to operator.
It, can be with the state of switching mark position when entering BIOS self-tests.It is understood that flag bit in the present embodiment Generally available mode and down state, the state that flag bit is arranged herein refers to no matter what the original state of flag bit is All flag bit is set to down state, such as flag bit was available mode originally, when entering BIOS self-tests by flag bit It is set as down state;Such as flag bit was down state originally again, when entering BIOS self-tests, then flag bit was remained unchanged For down state.Method as one preferred can set the flag bit to the update text of the down state Part is stored into flash chip.
Certainly, there is the operation judged whether into BIOS process of self-test in this step acquiescence, such as can be by according to pre- If whether cycle detection BIOS process of self-test starts or detects whether that there are the relevant instruction of BIOS process of self-test, certain abilities The technical staff in domain can according to this programme be for and applicable cases select scheme appropriate, herein without specifically limiting It is fixed.
S103:Judge whether the flag bit by the available mode is converted to down state;If so, into S104;If it is not, then terminating flow.
Wherein, whether the purpose for being converted to down state by available mode is actually this step detection flag bit, Judge whether received update file and carried out BIOS process of self-test, if performing aforesaid operations, illustrates to need to pipe It manages engine and executes update operation.If the flag bit is not converted to down state by available mode, flow can be terminated, Until the flag bit is not converted to down state by available mode and enters back into S104.
It is understood that the judgement operation in S103 can be carried out according to some predetermined period, such as every one Minute judges whether flag bit by the available mode is converted to down state, if otherwise carrying out one again after one minute Secondary judgement.Certainly, the judgement period mentioned above is configured according to the condition of practical application by those skilled in the art, Herein without specifically limiting.
S104:Global reset is executed to operate and the update file is utilized to update the management engine.
Wherein, Global reset operation is executed in this step can achieve the effect that AC is powered off, and ensure newer management engine It comes into force.But since Global reset operation will not cause the maintenance issues that power-off is brought, greatly reduce maintenance difficulties.
The present embodiment decides whether to execute complete by the way that flag bit is arranged in management engine according to the situation of change of flag bit Office resets operation.Global reset operation is to ensure that updated management engine comes into force be subjected to operation, and the prior art In ensure that the practical function that updated management engine comes into force is exactly to play the role of Global reset similarly by AC power-off, But AC power-off can increase the maintenance difficulties of server room.Ensure updated pipe by carrying out Global reset in the present embodiment The method that reason engine comes into force will not increase the maintenance difficulties of server room, and easy to operate easy realization can reduce maintenance cost On the basis of management engine is upgraded.
Illustrate the above process below by the embodiment in a practical application:
Step 1:Update file is received, and sets the Integrated wired LAN of the management engine to Enable。
Step 2:When entering BIOS process of self-test, it sets the Integrated wired LAN to Disable, it will CF9Global Reset set in Extended Test Mode Register 3 is 1, executes the Global reset operation.
Step 3:The management engine is updated using the update file.
Refer to Fig. 2, a kind of structural representation of the system for update management engine that Fig. 2 is provided by the embodiment of the present application Figure;
The system may include:
Flag bit setup module 100, for receiving update file and setting the flag bit of management engine to available mode;
Flag bit handover module 200, for when entering BIOS process of self-test, setting the flag bit to unavailable shape State;
Judgment module 300, for judging whether the flag bit by the available mode is converted to down state;
Update module 400, for when the flag bit is converted to the down state by the available mode, executing Global reset operates and the update file is utilized to update the management engine.
Further, the flag bit setup module is specially to receive update file, and by the management engine Integrated wired LAN are set as the module of Enable.
Further, the flag bit handover module is specially to set Integrated wired LAN to Disable, And execute the module of Global reset operation.
Since the embodiment of components of system as directed is corresponded with the embodiment of method part, the embodiment of components of system as directed is asked Referring to the description of the embodiment of method part, wouldn't repeat here.
Present invention also provides a kind of computer readable storage mediums, have computer program thereon, the computer program It is performed and the step of above-described embodiment is provided may be implemented.The storage medium may include:USB flash disk, read-only is deposited mobile hard disk Reservoir (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or The various media that can store program code such as CD.
Present invention also provides a kind of servers for realizing update management engine, may include memory and processor, institute It states and has computer program in memory, when the processor calls the computer program in the memory, may be implemented State the step of embodiment is provided.Certainly the described server for realizing update management engine can also include various network interfaces, The components such as power supply.
Each embodiment is described by the way of progressive in specification, the highlights of each of the examples are with other realities Apply the difference of example, just to refer each other for identical similar portion between each embodiment.For system disclosed in embodiment Speech, since it is corresponded to the methods disclosed in the examples, so description is fairly simple, related place is referring to method part illustration .It should be pointed out that for those skilled in the art, under the premise of not departing from the application principle, also Can to the application, some improvement and modification can also be carried out, these improvement and modification also fall into the application scope of the claims It is interior.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only that A little elements, but also include other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.Under the situation not limited more, the element limited by sentence "including a ..." is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.

Claims (10)

1. a kind of method of update management engine, which is characterized in that including:
It receives update file and sets the flag bit of management engine to available mode;
When entering BIOS process of self-test, it sets the flag bit to down state;
Judge whether the flag bit by the available mode is converted to down state;
It operates if so, executing Global reset and the update file is utilized to update the management engine.
2. method according to claim 1, which is characterized in that described to set the flag bit of management engine to available mode packet It includes:
Update file is received, and sets the Integrated wired LAN of the management engine to Enable.
3. method according to claim 2, which is characterized in that when entering BIOS process of self-test, the flag bit is arranged Include for down state:
When entering the BIOS process of self-test, it sets the Integrated wired LAN to Disable.
4. method according to claim 3, which is characterized in that the execution Global reset, which operates, includes:
It is 1 by the CF9 Global Reset set in Extended Test Mode Register 3, executes described global multiple Bit manipulation.
5. method according to claim 1, which is characterized in that further include:
The update file for setting the flag bit to the down state is stored into flash chip.
6. a kind of system of update management engine, which is characterized in that including:
Flag bit setup module, for receiving update file and setting the flag bit of management engine to available mode;
Flag bit handover module, for when entering BIOS process of self-test, setting the flag bit to down state;
Judgment module, for judging whether the flag bit by the available mode is converted to down state;
Update module, it is global multiple for when the flag bit is converted to the down state by the available mode, executing Bit manipulation simultaneously updates the management engine using the update file.
7. system according to claim 6, which is characterized in that the flag bit setup module is specially to receive update file, And set the Integrated wired LAN of the management engine to the module of Enable.
8. system according to claim 6, which is characterized in that the flag bit handover module is specially by Integrated Wired LAN are set as Disable, and execute the module of Global reset operation.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program is held The step of being executed such as any one of claim 1 to 5 the method is realized when row.
10. a kind of server for realizing update management engine, which is characterized in that including memory and processor, the memory In be stored with computer program, the processor realizes such as claim 1 to 5 when calling the computer program in the memory The step of any one the method executes.
CN201810166507.2A 2018-02-28 2018-02-28 A kind of method and system of update management engine Pending CN108399075A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810166507.2A CN108399075A (en) 2018-02-28 2018-02-28 A kind of method and system of update management engine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810166507.2A CN108399075A (en) 2018-02-28 2018-02-28 A kind of method and system of update management engine

Publications (1)

Publication Number Publication Date
CN108399075A true CN108399075A (en) 2018-08-14

Family

ID=63096759

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810166507.2A Pending CN108399075A (en) 2018-02-28 2018-02-28 A kind of method and system of update management engine

Country Status (1)

Country Link
CN (1) CN108399075A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116775084A (en) * 2023-08-23 2023-09-19 荣耀终端有限公司 System upgrading method and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050177633A1 (en) * 2002-12-02 2005-08-11 Plunkett Richard T. Timeslot arbitration scheme
CN1936840A (en) * 2005-09-23 2007-03-28 联想(北京)有限公司 Computer system not relying on operation system renewing software data and method
CN103309693A (en) * 2012-03-14 2013-09-18 鸿富锦精密工业(深圳)有限公司 Complex programmable logic device updating method and system
CN103885795A (en) * 2012-12-21 2014-06-25 艾默生网络能源-嵌入式计算有限公司 Upgrading and crisis recovery for starting memory bank selection, BIOS, Intel-based platform
US20140229930A1 (en) * 2011-07-02 2014-08-14 Itamar Shroni Component update using management engine
CN104899055A (en) * 2015-05-06 2015-09-09 深圳市国鑫恒宇科技有限公司 BIOS control based ME updating system and updating method thereof
CN205540692U (en) * 2016-01-28 2016-08-31 深圳智锐通科技有限公司 Case of exempting from to start shooting updates intel management engine firmware circuit
CN107205055A (en) * 2017-08-01 2017-09-26 海信集团有限公司 Terminal staging method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050177633A1 (en) * 2002-12-02 2005-08-11 Plunkett Richard T. Timeslot arbitration scheme
CN1936840A (en) * 2005-09-23 2007-03-28 联想(北京)有限公司 Computer system not relying on operation system renewing software data and method
US20140229930A1 (en) * 2011-07-02 2014-08-14 Itamar Shroni Component update using management engine
CN103309693A (en) * 2012-03-14 2013-09-18 鸿富锦精密工业(深圳)有限公司 Complex programmable logic device updating method and system
CN103885795A (en) * 2012-12-21 2014-06-25 艾默生网络能源-嵌入式计算有限公司 Upgrading and crisis recovery for starting memory bank selection, BIOS, Intel-based platform
CN104899055A (en) * 2015-05-06 2015-09-09 深圳市国鑫恒宇科技有限公司 BIOS control based ME updating system and updating method thereof
CN205540692U (en) * 2016-01-28 2016-08-31 深圳智锐通科技有限公司 Case of exempting from to start shooting updates intel management engine firmware circuit
CN107205055A (en) * 2017-08-01 2017-09-26 海信集团有限公司 Terminal staging method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
CASSIENJ: ""Reset Control"", 《HTTPS://BLOG.CSDN.NET/CASSIENJ/ARTICLE/DETAILS/46892589#:~:TEXT=GLOBAL RESET》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116775084A (en) * 2023-08-23 2023-09-19 荣耀终端有限公司 System upgrading method and electronic equipment
CN116775084B (en) * 2023-08-23 2023-11-24 荣耀终端有限公司 System upgrading method and electronic equipment

Similar Documents

Publication Publication Date Title
US8001368B2 (en) Hot-pluggable information processing device and setting method
US9110843B2 (en) Rack and method thereof for simultaneously updating basic input output systems
US9207929B2 (en) Integrated system and firmware update method
JP5609335B2 (en) Server management program, server management apparatus, and server management method
US20180314511A1 (en) Automated intra-system persistent memory updates
JP2007172591A (en) Method and arrangement to dynamically modify the number of active processors in multi-node system
WO2017185954A1 (en) Method, host, and system for implementing usb device management
CN109857466B (en) BIOS configuration method, device, server and computer readable storage medium
CN110231949A (en) Method for upgrading system, device, electronic equipment and storage medium
WO2013131347A1 (en) System and method for loading program for multiple touch screens
CN105591778A (en) Method and system for updating configuration file in distributed system
CN102693144A (en) Method for upgrading capacitive screen firmware used for Android mobile terminal
US20230229423A1 (en) Pushing a firmware update patch to a computing device via an out-of-band path
US10387306B2 (en) Systems and methods for prognosticating likelihood of successful save operation in persistent memory
CN111008106B (en) Server monitoring management method and device, electronic equipment and storage medium
JP6092905B2 (en) Method and electronic apparatus for operating a plurality of operating systems
US8086834B2 (en) System and method for populating a dedicated system service repository for an information handling system
CN105045627A (en) Method for realizing online update of network card configuration file by server
CN108399075A (en) A kind of method and system of update management engine
CN114153477A (en) Method, device, system, equipment and medium for upgrading firmware of PCIE (peripheral component interface express) driver card
EP2835737A1 (en) Data terminal running mode switching method, device, and data terminal
CN109669727A (en) A kind of configuration method of server, system and associated component
WO2016131294A1 (en) Version upgrade processing method and device
CN105354066A (en) OTA (over the air) downloading method, device and intelligent terminal
CN108509221A (en) A kind of take-effective method and validation system of ME

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