CN109976789A - The data-updating method and electronic equipment of a kind of electronic equipment - Google Patents

The data-updating method and electronic equipment of a kind of electronic equipment Download PDF

Info

Publication number
CN109976789A
CN109976789A CN201910248793.1A CN201910248793A CN109976789A CN 109976789 A CN109976789 A CN 109976789A CN 201910248793 A CN201910248793 A CN 201910248793A CN 109976789 A CN109976789 A CN 109976789A
Authority
CN
China
Prior art keywords
system configuration
configuration data
equipment
electronic equipment
data
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
CN201910248793.1A
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201910248793.1A priority Critical patent/CN109976789A/en
Publication of CN109976789A publication Critical patent/CN109976789A/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

Abstract

The invention discloses the data-updating method of a kind of electronic equipment and electronic equipments, this method comprises: obtaining the first system configuration data of the first object equipment in electronic equipment, and the first system configuration data are stored in default storage equipment;After the first object equipment is replaced with the second target device, and detects more new command, the first system configuration data of storage is read from default storage equipment;Data are carried out to the second target device in electronic equipment based on the first system configuration data and update operation, the first system configuration data is applied on the second target device, complete the setting to the configuration parameter of the second target device.This method quickly can carry out data configuration to the electronic equipment for having replaced the target devices such as mainboard, without manually participating in, and user is avoided to be updated operation based on the original system configuration data of the second target device after replacement again, replacement efficiency is improved, error rate of the system configuration data in configuration process is reduced.

Description

The data-updating method and electronic equipment of a kind of electronic equipment
Technical field
The present invention relates to field of electronic devices such as computer, servers, in particular to the data of a kind of electronic equipment update Method and electronic equipment.
Background technique
Important electronic component, such as substrate are installed on the target devices such as the mainboard of the electronic equipments such as computer, server Management Controller (BMC), basic input output system (BIOS) and other elements etc., these electronic components have corresponding system System configuration data, such as operates in the executable code on baseboard management controller and basic input output system, and user is directed to base The setting data and the product information of the electronic equipment etc. of board management controller and basic input output system.But if The mainboard of electronic equipment breaks down, and when needing to replace it, then needs still to match the system configuration data of former mainboard It sets on mainboard in the updated.And currently, maintenance personal after replacing mainboard, adjust its BIOS/BMC configuration data When, the configuration data of version used in manual refreshing to failure mainboard is needed, complex steps are easy to omit error, and originally Some configuration datas (user setup data of such as BIOS/BMC) are not easy to obtain from user, thus to the recovery after replacement mainboard Matching work creates great difficulties.
Summary of the invention
The data-updating method and electronic equipment for being designed to provide a kind of electronic equipment of the embodiment of the present invention, this method Data configuration quickly can be carried out to the electronic equipment for having replaced the target devices such as mainboard, and reduced in configuration process Error rate.
In order to solve the above-mentioned technical problem, the embodiment of the present invention adopts the technical scheme that a kind of electronic equipment Data-updating method, comprising:
The first system configuration data of the first object equipment in the electronic equipment is obtained, and the first system is matched Data are set to be stored in default storage equipment;
When the first object equipment is replaced with the second target device, and detect what second target device issued After more new command, the first system configuration data of storage is read from the default storage equipment;
Data are carried out to the second target device in the electronic equipment based on the first system configuration data and update behaviour Make, the first system configuration data is applied on second target device, completes to second target device The setting of configuration parameter.
Preferably, the default storage equipment is connect with the first object device configuration of the electronic equipment, it is described The first system configuration data of the first object equipment in the electronic equipment is obtained, and the first system configuration data is deposited It stores up and includes: in default storage equipment
In the operational process of the electronic equipment, by the first substrate Management Controller of the electronic equipment and according to Default copy rule, the system configuration information is copied in the default storage equipment;Alternatively,
After receiving the first order, believed by the system configuration that the first substrate Management Controller will acquire Breath is imported into the default storage equipment.
Preferably, the method also includes: the default storage equipment is disconnected with the first object equipment, And the second target device of itself and the electronic equipment be can configure into connection;
Correspondingly, it is described detect more new command after, read described the first of storage from the default storage equipment System configuration data includes:
After detecting the more new command that second target device is generated according to user's operation, set by the electronics Standby the second substrate Management Controller reads the first system configuration data from the default storage equipment, for the The configuration of two target devices is set.
Preferably, it is described based on the first system configuration data to the second target device in the electronic equipment Carrying out data update operation includes:
The system configuration data used based on the first system configuration data second target device is updated, With the version pair that the version updating for the system configuration data for using second target device is with the first system configuration data The version answered;
Alternatively,
According to the user setup data in the first system configuration data, second target device is updated.
Preferably, the first system configuration data includes at least following one: the first substrate of the electronic equipment First configuration data of Management Controller, is used the second configuration data of the first basic input output system of the electronic equipment Data and product information is arranged in family.
Preferably, it is described based on the first system configuration data to the second target device in the electronic equipment Data update operation is carried out to specifically include:
The second substrate management control based on first configuration data and the user setup data, to the electronic equipment Device processed carries out data and updates operation;
Data are carried out to second target device based on product information and update operation;
Start the electronic equipment, in the power-on self-test process of the second basic input output system of the electronic equipment In, it is based on the second configuration data and the user setup data, data update is carried out to second basic input output system Operation.
The embodiment of the invention also provides a kind of electronic equipment, comprising:
First control module is configured to obtain the first system configuration number of the first object equipment in the electronic equipment According to, and the first system configuration data is stored in default storage equipment;
Second control module is configured to when the second target that the first object equipment is replaced with to the electronic equipment Equipment, and after detecting more new command, the first system configuration data of storage is read from the default storage equipment;Base Data are carried out to the second target device in the electronic equipment in the first system configuration data and update operation, it will be described The first system configuration data is applied on second target device, completes setting to the configuration parameter of second target device It is fixed.
Preferably, the default storage equipment is connect with the first object device configuration of the electronic equipment, described One control module is further configured to:
In the operational process of the electronic equipment, by the first substrate Management Controller of the electronic equipment and according to Default copy rule, the system configuration information is copied in the default storage equipment;Alternatively,
After receiving the first order, believed by the system configuration that the first substrate Management Controller will acquire Breath is imported into the default storage equipment.
Preferably, second control module is further configured to: when detect second target device according to Family operation and after the more new command that generates, by the second substrate Management Controller of the electronic equipment, from first mesh Marking device disconnects and with the default storage equipment of the second target device of electronic equipment configuration connection, reads The first system configuration data, for the configuration setting to the second target device.
Preferably, second control module is further configured to:
The system configuration data used based on the first system configuration data second target device is updated, With the version phase that the version updating for the system configuration data for using second target device is with the first system configuration data Same version;
Alternatively,
According to the user setup data in the first system configuration data, second target device is updated.
This method quickly can carry out data configuration to the electronic equipment for having replaced the target devices such as mainboard, without artificial It participates in, and avoids user and operation is updated based on the original system configuration data of the second target device after replacement again, Replacement efficiency is improved, error rate of the system configuration data in configuration process is reduced.
Detailed description of the invention
Fig. 1 is the flow chart of the data-updating method of the embodiment of the present invention;
Fig. 2 is the flow chart of step S3 in Fig. 1 of the embodiment of the present invention;
Fig. 3 is the structural schematic diagram of the electronic equipment of the embodiment of the present invention.
Specific embodiment
Various schemes and feature of the invention are described herein with reference to attached drawing.
It should be understood that various modifications can be made to the embodiment invented herein.Therefore, description above should not regard To limit, and only as the example of embodiment.Those skilled in the art will expect within the scope and spirit of this invention Other modifications.
The attached drawing being included in the description and forms part of the description shows the embodiment of the present invention, and with it is upper What face provided is used to explain the present invention substantially description and the detailed description given below to embodiment of the invention together Principle.
It is of the invention by the description of the preferred form with reference to the accompanying drawings to the embodiment for being given as non-limiting example These and other characteristic will become apparent.
Although being also understood that invention has been described referring to some specific examples, those skilled in the art Member realizes many other equivalents of the invention in which can determine, they have feature as claimed in claim and therefore all In the protection scope defined by whereby.
When read in conjunction with the accompanying drawings, in view of following detailed description, above and other aspect of the invention, feature and advantage will become It is more readily apparent.
Specific embodiments of the present invention are described hereinafter with reference to attached drawing;It will be appreciated, however, that the embodiment invented is only Various ways implementation can be used in example of the invention.Known and/or duplicate function and structure and be not described in detail to avoid Unnecessary or extra details makes the present invention smudgy.Therefore, the specific structural and functionality invented herein is thin Section is not intended to restrictions, but as just the basis of claim and representative basis be used to instructing those skilled in the art with Substantially any appropriate detailed construction diversely uses the present invention.
This specification can be used phrase " in one embodiment ", " in another embodiment ", " in another embodiment In " or " in other embodiments ", it can be referred to one or more of identical or different embodiment according to the present invention.
Fig. 1 is the flow chart of the data-updating method of the embodiment of the present invention, and in conjunction with Fig. 1, the embodiment of the invention provides one The data-updating method of kind electronic equipment, electronic equipment can be the equipment such as computer, server, and this method can set electronics The standby component including in electronic equipment carries out data update, method includes the following steps:
S1, obtains the first system configuration data of the first object equipment in electronic equipment, and the first system is configured number It is preset in storage equipment according to being stored in.First object equipment can be mounted in the equipment in electronic equipment, can be replaced For with its type or the same or similar other equipment of effect, as first object equipment can for the mainboard of electronic equipment or other Component, first object equipment may alternatively be the second target device in the present embodiment, such as in first object device fails After need to be replaced with the second target device.First object equipment is corresponding with the first system configuration data, by call this One system configuration data can be such that first object equipment works normally, and the first system configuration data may include first object equipment In multiple components configuration data, such as first object equipment be electronic equipment the first mainboard when, the first system configure number According to may include multiple firmwares in the first mainboard configuration data (including before factory configuration data and user for each The self-defining data etc. of a firmware), thus by calling the first system configuration data normal use firmware.To the of acquisition One system configuration data can store it in default storage equipment, and default storage equipment can be to be connected with first object equipment The storage equipment connect is also possible to the storage equipment being mounted in first object equipment.
S2 is set after first object equipment is replaced with the second target device, and detects more new command from default storage The standby middle the first system configuration data for reading storage.Second target device is that user finally needs to be used and can substitute first The equipment of target device, but its original system configuration data may be more old, in replacement process, on the one hand, can be with The second target device is installed after first object equipment is disassembled from electronic equipment again, will such as break down first is main Plate is disassembled from the electronic equipments such as server, and the second new mainboard is then mounted on the electronic equipments such as the server again On, to complete to replace;On the other hand, can when first object equipment is not disassembled from electronic equipment (or even also Can be when in use) just the second target device is also mounted on electronic equipment, then the switching of currently used equipment is carried out, thus Complete replacement.More new command can be issued by user's operation, can also be preset and be issued after meeting sending condition, example Operation button on such as user's operation electronic equipment carries out wire jumper operation mode to electronic equipment in advance and issues update referring to It enables.Electronic equipment can detect the more new command on startup or in use process, detect the update in electronic equipment Default storage equipment can be called after instruction, and reads the first system configuration data from default storage equipment, then to use The first system configuration data.
S3 carries out data to the second target device in electronic equipment based on the first system configuration data and updates operation, with The first system configuration data is applied on the second target device, the setting to the configuration parameter of the second target device is completed.Tool For body, data are carried out to the second target device based on the first system configuration data and update operation, it can be by the second target device In original system configuration data (may be more old, if version is low, without information-setting by user etc.) be updated to the first system Configuration data, due to the first system configuration data can normal use, the software and hardware for adapting to electronic equipment is (including solid Part), therefore the first system configuration data can be applied on the second target device, enable the normal work of the second target device Make, and all parts on the second target device can be completed to the configuration of data, keeps the second target device and the first mesh The consistency of the system configuration data of marking device, it is user-friendly.
For example, first object equipment is the first mainboard to break down, and need to replace with first object equipment Second target device (new the second mainboard), after the completion of replacement, can the first system configuration data based on the first mainboard to the Two mainboards carry out data and update operation, by system configuration data original in the second mainboard (factory that can be default is arranged) It is updated to the first system configuration data, the configuration data so as to the BIOS/BMC to the second mainboard is updated, and such as will The version of the configuration data of BIOS/BMC is updated, or is updated to information-setting by user, and complying with user makes With needs, to complete the setting to the configuration parameter of the second target device.This method is simple and easy to do, participates in without artificial, It avoids user from being based on the original system configuration data of the second target device again and is updated operation, save the time, improve more Change efficiency.
In one embodiment of the application, the first object device configuration for presetting storage equipment and electronic equipment is connected, The first system configuration data for obtaining the first object equipment in electronic equipment, and the first system configuration data is stored Include: in default storage equipment
In the operational process of electronic equipment, by the first substrate Management Controller of electronic equipment and according to default duplication Rule copies to system configuration information in default storage equipment;Alternatively,
After receiving the first order, it is imported by the system configuration information that first substrate Management Controller will acquire In default storage equipment.
Specifically, presetting storage equipment can be a plurality of types of storage equipment, such as eMMC or USB flash disk equipment, should Default storage equipment is connect with first object device configuration, to can carry out data communication with first object equipment.Certainly pre- If storage equipment can be fixedly connected in first object equipment, it can also be connected to first object in the form of pluggable and set It is standby upper.During the first system configuration data is stored in default storage equipment, on the one hand, can be in the fortune of electronic equipment Duplication operation is carried out during row, is believed the system configuration of first object equipment by the first substrate Management Controller of electronic equipment Breath copies in default storage equipment, and replicates according to default copy rule, such as carries out duplication operation with prefixed time interval, from And remain and be stored with new or newer system configuration information in default storage equipment, will not due to there are other failures and Leading to the phenomenon that cannot be copied to system configuration information in default storage equipment, (such as first substrate Management Controller occurs suddenly Failure and cannot complete duplication operation).On the other hand, the first system configuration data is being stored in default storage equipment, may be used also To be operated by issuing the first order to complete above-mentioned storage, such as the operation of relevant application program is either used by user Family issues first order to the operation of related key, and which can be operated according to their needs by user, increase and deposit The flexibility of operation is stored up, for example, user will replace the first mainboard of server in first time, it is main to be changed to second Plate, then user can operate electronic equipment and issue the first order, after electronic equipment receives the first order, pass through the first base The system configuration information that board management controller will acquire is imported into default storage equipment, then again by user to default storage Equipment carries out subsequent operation.
In one embodiment of the application, data-updating method further include: set default storage equipment with first object It is standby to disconnect, and the second target device of itself and electronic equipment be can configure into connection;
Correspondingly, it is described detect more new command after, the first system configuration of storage is read from default storage equipment Data include:
After detecting the more new command that the second target device is generated according to user's operation, pass through the second of electronic equipment Baseboard management controller reads the first system configuration data, for the configuration to the second target device from default storage equipment Setting.
Default storage equipment can be after storing the first system configuration data, and user can be actively by default storage equipment It is disconnected with first object equipment, including the plug by user or in software view and first object equipment (such as first Mainboard) disconnect, such as when default storage equipment is eMMC or USB flash disk, user can from the first mainboard by the eMMC or Person's USB flash disk is extracted, then is inserted it on the second mainboard, and then realizes the configurable company of default storage equipment and the second target device It connects, default storage equipment is allowed to carry out data interaction with the second target device.User can operate electronic equipment and issue more New command, after detecting the more new command, the second substrate Management Controller on the second target device (such as the second mainboard) from The first system configuration data is read in default storage equipment (such as above-mentioned eMMC or USB flash disk), and then is matched using the first system Data are set to set the configuration of the second target device (such as the second mainboard).Turning for system configuration data is carried out using which It moves, the default storage equipment can be reused, and do not need to increase too big cost, just can complete the first system configuration The transfer of data and the update operation of target device.
In one embodiment of the application, it is described based on the first system configuration data to the second mesh in electronic equipment Marking device carries out data update operation
The system configuration data used based on the first system configuration data the second target device is updated, by second The version updating for the system configuration data that target device uses is version corresponding with the version of the first system configuration data;
Alternatively,
According to the user setup data in the first system configuration data, the second target device is updated.
For in conjunction with specific embodiments, first object equipment is the first mainboard, when the second target device is the second mainboard, the The equipment that one mainboard is using always before being replaced for user, therefore the first system configuration data on the first mainboard may be User has already passed through the configuration data for repeatedly updating operation or modification operation and being formed, and in contrast version is higher (may be Current latest edition), which is suitable for the equipment such as BMC and BIOS on the first mainboard, meets user's needs.By After one mainboard is changed to the second mainboard, the original system configuration data of the second mainboard may be more old data, such as factory The lower configuration data of version being arranged before factory, therefore can be original by the second mainboard based on the first system configuration data The version updating of system configuration data is version corresponding with the version of the first system configuration data, so that being changed to second After mainboard, the version of the system configuration data used is also current newest or newer version.
In addition, include user setup data in the first system configuration data, be user according to the actual needs of oneself come Carry out the data of customized setting to the first system configuration data, it, will also be according to the user setup data, in the present embodiment Two mainboards are updated, so that the user setup data can also be used after completing the replacement of mainboard, without again to second Mainboard carries out user setting, further saves the time of replacement mainboard, user-friendly while improving replacement efficiency.
Preferably, the first system configuration data includes at least following one: the first substrate management control of electronic equipment The first configuration data, the second configuration data, the user setting of the first basic input output system (BIOS) of electronic equipment of device Data and product information.The configuration data of first BMC of specially the first mainboard, the configuration data of the BIOS of the first mainboard, the The user setup data and product ID of one mainboard produce the product informations such as number.Certain the first system configuration data can Specifically it is arranged or modifies is needed according to user.
In conjunction with above-described embodiment furthermore, it is understood that as shown in Fig. 2, described set electronics based on the first system configuration data The second target device in standby carries out data update operation and specifically includes:
S31 is based on the first configuration data and user setup data, carries out to the second substrate Management Controller of electronic equipment Data update operation;
S32 carries out data to the second target device based on product information and updates operation;
S33 starts electronic equipment, during the power-on self-test of the second basic input output system of electronic equipment, base In the second configuration data and user setup data, data are carried out to the second basic input output system and update operation.
For a specific embodiment, it is primarily based on the first configuration data and user setup data, SPI can be passed through Interface carries out data to the ROM of the second substrate Management Controller (BMC) and updates operation, to realize to the second substrate Management Controller Carry out data update.Then can be used the second substrate Management Controller (BMC), and based on product information in electronic equipment with The relevant equipment of product information carries out data and updates operation, and subsequent the second substrate Management Controller can star electronic equipment, and Operating right is given to the second basic input output system (BIOS), the second basic input output system electric process of self-test on it In, the second configuration data of the first basic input output system based on user setup data and the first mainboard is basic to second Input-output system carries out data and updates operation, data in the ROM as updated the second basic input output system.If certainly also Needing to be updated the other equipment in the second target device operation can also carry out therewith, and last electronic equipment is updating It can star and enter in operating system after.
Fig. 3 is the structural schematic diagram of the electronic equipment of the embodiment of the present invention, and in conjunction with Fig. 3, the present embodiment additionally provides one kind Electronic equipment, electronic equipment can be the equipment such as computer, server, and electronic equipment can be to itself or to the portion in it Part carries out data update, which includes:
First control module is configured to obtain the first system configuration data of the first object equipment in electronic equipment, And the first system configuration data is stored in default storage equipment.First object equipment can be mounted in electronic equipment Equipment, can be replaced by with its type or the same or similar other equipment of effect, such as first object equipment to be electricity The mainboard or other component of sub- equipment, first object equipment may alternatively be the second target device in the present embodiment, such as After one target device breaks down, need to be replaced with the second target device.First object equipment is corresponding with the first system and matches Data are set, by calling the first system configuration data that first object equipment can be made to work normally, the first system configuration data It may include the configuration data of multiple components in first object equipment, such as first object equipment is the first master of electronic equipment When plate, the first system configuration data may include the configuration data of multiple firmwares in the first mainboard (including the configuration before factory Data and user are directed to the self-defining data etc. of each firmware), thus by calling the first system configuration data normally to make With the firmware.First control module can store it in default storage equipment the first system configuration data of acquisition, in advance If storage equipment can be the storage equipment connecting with first object equipment, it is also possible to be mounted on depositing in first object equipment Store up equipment.
Second control module is configured to when the second target device that first object equipment is replaced with to electronic equipment, and After detecting more new command, the first system configuration data of storage is read from default storage equipment;It is configured based on the first system Data carry out data to the second target device in electronic equipment and update operation, and the first system configuration data is applied to second On target device, the setting to the configuration parameter of the second target device is completed.
Second target device is that user finally needs equipment that is to be used and can substituting first object equipment, but it is former Some system configuration datas may be more old, in replacement process, on the one hand, can be by first object equipment from electronic equipment On disassemble after install the second target device again, such as the first mainboard that will be broken down is torn open from server electronic equipment It unloads down, then the second new mainboard is mounted on the electronic equipments such as the server again, to complete to replace;On the other hand, Can when first object equipment is not disassembled from electronic equipment (or even can also be when in use) just by the second target Equipment is also mounted on electronic equipment, then carries out the switching of currently used equipment, to complete to replace.More new command can by with Family operates and issues, can also preset and issue after meeting sending condition, such as the behaviour on user's operation electronic equipment Make button or more new command is issued to modes such as electronic equipment progress wire jumper operations in advance.Second control module can be in electronics The more new command is detected when equipment starts or in use process, it can be with after the second control module detects the more new command Default storage equipment is called, and reads the first system configuration data from default storage equipment, then to use the first system Configuration data.
Second control module can carry out data to the second target device based on the first system configuration data and update operation, with By system configuration data original in the second target device (may be more old, if version is low, without information-setting by user etc.) Be updated to the first system configuration data, due to the first system configuration data can normal use, adapt to the software of electronic equipment With hardware (including firmware), therefore the first system configuration data can be applied on the second target device, so that the second target Equipment can work normally, and all parts on the second target device can be completed to the configuration of data, set the second target The standby consistency kept with the system configuration data of first object equipment, it is user-friendly.
For example, first object equipment is the first mainboard to break down, and need to replace with first object equipment Second target device (the second new mainboard), after the completion of replacement, the second control module can be based on the first system of the first mainboard Configuration data carries out data to the second mainboard and updates operation, and system configuration data original in the second mainboard (can be silent Recognize factory setting) be updated to the first system configuration data, so as to the BIOS/BMC to the second mainboard configuration data into Row updates, and is such as updated the version of the configuration data of BIOS/BMC, or be updated to information-setting by user, makes it Meet user and use needs, to complete the setting to the configuration parameter of the second target device.This of electronic equipment is easy to operate It is easy, it is participated in without artificial, avoids user from being based on the original system configuration data of the second target device again and be updated operation, The time is saved, replacement efficiency is improved.
In one embodiment of the application, if storage equipment and the first object device configuration of electronic equipment connect, the One control module is further configured to:
In the operational process of electronic equipment, by the first substrate Management Controller of electronic equipment and according to default duplication Rule copies to system configuration information in default storage equipment;Alternatively,
After receiving the first order, it is imported by the system configuration information that first substrate Management Controller will acquire In default storage equipment.
Specifically, presetting storage equipment can be a plurality of types of storage equipment, such as eMMC or USB flash disk equipment, should Default storage equipment is connect with first object device configuration, to can carry out data communication with first object equipment.Certainly pre- If storage equipment can be fixedly connected in first object equipment, it can also be connected to first object in the form of pluggable and set It is standby upper.First control module is during being stored in default storage equipment for the first system configuration data, on the one hand, the first control Molding block can carry out duplication operation in the operational process of electronic equipment, pass through the first substrate Management Controller of electronic equipment The system configuration information of first object equipment is copied in default storage equipment, and is replicated according to default copy rule, such as with Prefixed time interval carries out duplication operation, is stored with new or newer system configuration to remain in default storage equipment Information will not lead to the phenomenon that cannot be copied to system configuration information in default storage equipment due to there are other failures (such as first substrate Management Controller breaks down suddenly and cannot complete duplication operation).On the other hand, match by the first system It sets data and is stored in default storage equipment, can also be operated by issuing the first order to complete above-mentioned storage, such as pass through user First order is issued to the operation of related key to the operation either user of relevant application program, which can be by User operates according to their needs, increases the flexibility of storage operation, for example, user is at the first time will be to the of server One mainboard is replaced, and the second mainboard is changed to, and then user can operate electronic equipment and issue the first order, when the first control After module receives the first order, default deposit is imported by the system configuration information that first substrate Management Controller will acquire It stores up in equipment, subsequent operation then is carried out to default storage equipment by user again.
In one embodiment of the application, the second control module is further configured to: when detecting second target After the more new command that equipment is generated according to user's operation, by the second substrate Management Controller of the electronic equipment, from The first object equipment disconnects and the default storage with the configuration connection of the second target device of the electronic equipment In equipment, the first system configuration data is read, for the configuration setting to the second target device.
Default storage equipment can be after storing the first system configuration data, and user can be actively by default storage equipment It is disconnected with first object equipment, including the plug by user or in software view and first object equipment (such as first Mainboard) disconnect, such as when default storage equipment is eMMC or USB flash disk, user can from the first mainboard by the eMMC or Person's USB flash disk is extracted, then is inserted it on the second mainboard, and then realizes the configurable company of default storage equipment and the second target device It connects, default storage equipment is allowed to carry out data interaction with the second target device.User can operate electronic equipment and issue more New command passes through second on the second target device (such as the second mainboard) after the second control module detects the more new command Baseboard management controller reads the first system configuration data from default storage equipment (such as above-mentioned eMMC or USB flash disk), in turn The configuration of the second target device (such as the second mainboard) is set using the first system configuration data.Second control module benefit The transfer of system configuration data is carried out with which, can reuse the default storage equipment, and does not need to increase too big Cost, just can complete the first system configuration data transfer and target device update operation.
In one embodiment of the application, the second control module is further configured to: being based on the first system configuration data The system configuration data used the second target device is updated, the system configuration data that the second target device is used Version updating is version identical with the version of the first system configuration data;Alternatively, according to the use in the first system configuration data Data are arranged in family, are updated to the second target device.
For in conjunction with specific embodiments, first object equipment is the first mainboard, when the second target device is the second mainboard, the The equipment that one mainboard is using always before being replaced for user, therefore the first system configuration data on the first mainboard may be User has already passed through the configuration data for repeatedly updating operation or modification operation and being formed, and in contrast version is higher (may be Current latest edition), which is suitable for the equipment such as BMC and BIOS on the first mainboard, meets user's needs.By After one mainboard is changed to the second mainboard, the original system configuration data of the second mainboard may be more old data, such as factory The lower configuration data of version being arranged before factory, therefore the second control module can be based on the first system configuration data by the The version updating of the original system configuration data of two mainboards is version corresponding with the version of the first system configuration data, to make After the second mainboard must be changed to, the version of the system configuration data used is also current newest or newer version.
In addition, include user setup data in the first system configuration data, be user according to the actual needs of oneself come Carry out the data of customized setting to the first system configuration data, in the present embodiment, the second control module will also be according to the user Data are set, the second mainboard is updated, so that the user setup data can also be used after completing the replacement of mainboard, and nothing User setting need to be carried out to the second mainboard again, further save the time of replacement mainboard, it is user-friendly to mention simultaneously High replacement efficiency.
Preferably, the first system configuration data includes at least following one: the first substrate management control of electronic equipment The first configuration data, the second configuration data, the user setting of the first basic input output system (BIOS) of electronic equipment of device Data and product information.The configuration data of first BMC of specially the first mainboard, the configuration data of the BIOS of the first mainboard, the The user setup data and product ID of one mainboard produce the product informations such as number.Certain the first system configuration data can Specifically it is arranged or modifies is needed according to user.
In conjunction with above-described embodiment furthermore, it is understood that the second control module concrete configuration are as follows:
Based on the first configuration data and user setup data, data are carried out to the second substrate Management Controller of electronic equipment Update operation;
Data are carried out to the second target device based on product information and update operation;
Start electronic equipment, during the power-on self-test of the second basic input output system of electronic equipment, based on the Two configuration datas and user setup data carry out data to the second basic input output system and update operation.
For a specific embodiment, the second control module first is based on the first configuration data and user setting number According to can carry out data to the ROM of the second substrate Management Controller (BMC) by SPI interface and update operation, to realize to second Baseboard management controller carries out data update.Then the second control module can be used the second substrate Management Controller (BMC), and Data are carried out to equipment relevant to product information in electronic equipment based on product information and update operation, subsequent the second substrate management Controller can star electronic equipment, and operating right is given to the second basic input output system (BIOS), the second control mould Block can be during the second basic input output system power-on self-test, the first base based on user setup data and the first mainboard Second configuration data of this input-output system carries out data to the second basic input output system and updates operation, such as updates the Data in the ROM of two basic input output systems.If also needing to carry out more the other equipment in the second target device certainly New operation can also carry out therewith, and last electronic equipment can star after the completion of update and enter in operating system.
Above embodiments are only exemplary embodiment of the present invention, are not used in the limitation present invention, protection scope of the present invention It is defined by the claims.Those skilled in the art can within the spirit and scope of the present invention make respectively the present invention Kind modification or equivalent replacement, this modification or equivalent replacement also should be regarded as being within the scope of the present invention.

Claims (10)

1. the data-updating method of a kind of electronic equipment, comprising:
The first system configuration data of the first object equipment in the electronic equipment is obtained, and the first system is configured into number It is preset in storage equipment according to being stored in;
After the first object equipment is replaced with the second target device, and detects more new command, from the default storage The first system configuration data of storage is read in equipment;
Data are carried out to the second target device in the electronic equipment based on the first system configuration data and update operation, with The first system configuration data is applied on second target device, the configuration to second target device is completed and joins Several settings.
2. according to the method described in claim 1, the default storage equipment and the first object equipment of the electronic equipment are matched Set connection, the first system configuration data of the first object equipment in the acquisition electronic equipment, and by described first System configuration data is stored in default storage equipment
In the operational process of the electronic equipment, by the first substrate Management Controller of the electronic equipment and according to default Copy rule copies to the system configuration information in the default storage equipment;Alternatively,
After receiving the first order, led by the system configuration information that the first substrate Management Controller will acquire Enter into the default storage equipment.
3. according to the method described in claim 2, the method also includes: by the default storage equipment and the first object Equipment disconnects, and the second target device of itself and the electronic equipment can configure connection;
Correspondingly, it is described detect more new command after, the first system of storage is read from the default storage equipment Configuration data includes:
After detecting the more new command that second target device is generated according to user's operation, pass through the electronic equipment The second substrate Management Controller reads the first system configuration data from the default storage equipment, for the second mesh The configuration of marking device is set.
4. according to the method described in claim 1, it is described based on the first system configuration data in the electronic equipment The second target device carry out data update operation include:
The system configuration data used based on the first system configuration data second target device is updated, will The version updating for the system configuration data that second target device uses is corresponding with the version of the first system configuration data Version;
Alternatively,
According to the user setup data in the first system configuration data, second target device is updated.
5. according to the method described in claim 1, the first system configuration data includes at least following one: the electronics is set The second of first configuration data of standby first substrate Management Controller, the first basic input output system of the electronic equipment Configuration data, user setup data and product information.
6. according to the method described in claim 5, it is described based on the first system configuration data in the electronic equipment The second target device carry out data update operation specifically include:
Based on first configuration data and the user setup data, to the second substrate Management Controller of the electronic equipment It carries out data and updates operation;
Data are carried out to second target device based on product information and update operation;
Start the electronic equipment, during the power-on self-test of the second basic input output system of the electronic equipment, base In the second configuration data and the user setup data, data are carried out to second basic input output system and update operation.
7. a kind of electronic equipment, comprising:
First control module is configured to obtain the first system configuration data of the first object equipment in the electronic equipment, And the first system configuration data is stored in default storage equipment;
Second control module is configured to that the second target that the first object equipment replaces with the electronic equipment ought be set It is standby, and after detecting more new command, the first system configuration data of storage is read from the default storage equipment;It is based on The first system configuration data carries out data to the second target device in the electronic equipment and updates operation, by described the One system configuration data is applied on second target device, completes setting to the configuration parameter of second target device It is fixed.
8. electronic equipment according to claim 7, the default storage equipment and the first object of the electronic equipment are set Standby configuration connection, first control module are further configured to:
In the operational process of the electronic equipment, by the first substrate Management Controller of the electronic equipment and according to default Copy rule copies to the system configuration information in the default storage equipment;Alternatively,
After receiving the first order, led by the system configuration information that the first substrate Management Controller will acquire Enter into the default storage equipment.
9. electronic equipment according to claim 7, second control module is further configured to: when detecting described After the more new command that two target devices are generated according to user's operation, controlled by the second substrate management of the electronic equipment Device, from disconnected with the first object equipment and with the second target device of the electronic equipment configuration connection it is described pre- If storing in equipment, the first system configuration data is read, for the configuration setting to the second target device.
10. electronic equipment according to claim 1, second control module is further configured to:
The system configuration data used based on the first system configuration data second target device is updated, will The version updating for the system configuration data that second target device uses is identical with the version of the first system configuration data Version;
Alternatively,
According to the user setup data in the first system configuration data, second target device is updated.
CN201910248793.1A 2019-03-29 2019-03-29 The data-updating method and electronic equipment of a kind of electronic equipment Pending CN109976789A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910248793.1A CN109976789A (en) 2019-03-29 2019-03-29 The data-updating method and electronic equipment of a kind of electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910248793.1A CN109976789A (en) 2019-03-29 2019-03-29 The data-updating method and electronic equipment of a kind of electronic equipment

Publications (1)

Publication Number Publication Date
CN109976789A true CN109976789A (en) 2019-07-05

Family

ID=67081584

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910248793.1A Pending CN109976789A (en) 2019-03-29 2019-03-29 The data-updating method and electronic equipment of a kind of electronic equipment

Country Status (1)

Country Link
CN (1) CN109976789A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101960417A (en) * 2008-03-05 2011-01-26 罗斯蒙德公司 Configuration of field devices on a network
US20140317612A1 (en) * 2013-04-17 2014-10-23 American Megatrends, Inc. Method of fail safe flashing management device and application of the same
CN105912361A (en) * 2016-04-07 2016-08-31 浪潮电子信息产业股份有限公司 Method, device and system for updating configuration information of hardware device
CN106293499A (en) * 2015-06-12 2017-01-04 联想(北京)有限公司 A kind of file acquisition method and baseboard management controller, basic input output system
CN107980119A (en) * 2016-12-30 2018-05-01 华为技术有限公司 A kind of server management method and server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101960417A (en) * 2008-03-05 2011-01-26 罗斯蒙德公司 Configuration of field devices on a network
US20140317612A1 (en) * 2013-04-17 2014-10-23 American Megatrends, Inc. Method of fail safe flashing management device and application of the same
CN106293499A (en) * 2015-06-12 2017-01-04 联想(北京)有限公司 A kind of file acquisition method and baseboard management controller, basic input output system
CN105912361A (en) * 2016-04-07 2016-08-31 浪潮电子信息产业股份有限公司 Method, device and system for updating configuration information of hardware device
CN107980119A (en) * 2016-12-30 2018-05-01 华为技术有限公司 A kind of server management method and server

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
文雨: "《BIOS与注册表教程》", 31 March 2004 *

Similar Documents

Publication Publication Date Title
JP5623593B2 (en) Rack and method for simultaneously updating a basic input / output system
US8904074B2 (en) Method and apparatus for distributing configuration files in a distributed control system
EP2456257B1 (en) Method and system for upgrading wireless data card
JP5564956B2 (en) Information processing apparatus and firmware update method for information processing apparatus
US10915311B2 (en) Automated firmware update management on huge big-data clusters
CN103748569A (en) System and methods for driverless operation of USB device
CN103513993A (en) Firmware updating system and method
CN103488498A (en) Computer booting method and computer
CN102141921A (en) Method for upgrading system of terminal equipment and terminal equipment
CN101478422B (en) Self negotiation method and system for software version
CN103761131A (en) Multi-board-card automatic updating method and system based on internal storage sharing
CN101119188B (en) Single board updating method for implementing uninterruptive service
CN109976789A (en) The data-updating method and electronic equipment of a kind of electronic equipment
EP1818825A2 (en) Information processing device, method and program for controlling information processing device
US9207928B2 (en) Computer-readable medium, apparatus, and methods of automatic capability installation
JP5293141B2 (en) Redundant system
CN100362760C (en) Duplication of distributed configuration database system
CN102053847A (en) Server and updating method thereof
CN115098324A (en) Hard disk maintenance method, device, equipment and storage medium
US20020199044A1 (en) Method and apparatus for loading a mirror image software copy across circuit cards
CN110719236B (en) Single board, back board type exchanger and method for connecting power supply
CN111399869A (en) Method for controlling software upgrading of direct-writing exposure machine, control unit and exposure machine
CN109976833A (en) Firmware loading method, electronic equipment and the server for storing firmware configuration data
JP2020123145A (en) Information processor, method and program
JP6554801B2 (en) Redundant communication device and control method thereof

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