CN117931239A - Processing method and electronic equipment - Google Patents

Processing method and electronic equipment Download PDF

Info

Publication number
CN117931239A
CN117931239A CN202410108217.8A CN202410108217A CN117931239A CN 117931239 A CN117931239 A CN 117931239A CN 202410108217 A CN202410108217 A CN 202410108217A CN 117931239 A CN117931239 A CN 117931239A
Authority
CN
China
Prior art keywords
firmware
hardware module
information
electronic equipment
processing method
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
CN202410108217.8A
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 CN202410108217.8A priority Critical patent/CN117931239A/en
Publication of CN117931239A publication Critical patent/CN117931239A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The application discloses a processing method and electronic equipment, wherein the processing method comprises the following steps: determining whether the second firmware and the first firmware are in the same version or not based on firmware information of the second firmware in a second hardware module installed on the electronic equipment and firmware information of the first firmware stored in a corresponding storage position of the electronic equipment in advance; the first firmware is firmware of a first hardware module, and the installation position of the second hardware module is a hardware position reserved by removing the first hardware module from the electronic device; and if the second firmware and the first firmware are different versions, acquiring the first firmware from the storage position, and updating the second firmware in the second hardware module into the first firmware.

Description

Processing method and electronic equipment
Technical Field
The application belongs to the technical field of computers, and particularly relates to a processing method and electronic equipment.
Background
Under the test scene of the electronic equipment such as a server or the use scene of a user, the situation that the hardware module of the equipment needs to be replaced is often encountered, for example, a fault card (such as a network card/Host Bus Adapter (HBA) card generating a fault) is replaced, however, the firmware of the replaced new hardware module is often different from the version of the firmware in the replaced hardware module, so that the user needs to update the firmware of the new hardware module by inquiring and downloading the firmware of the corresponding version in the replaced hardware module, the replacement efficiency of the hardware module such as the fault card is low, the operation is complex, and the user experience is influenced.
Disclosure of Invention
Therefore, the application discloses the following technical scheme:
A method of processing, comprising:
Determining whether the second firmware and the first firmware are in the same version or not based on firmware information of the second firmware in a second hardware module installed on the electronic equipment and firmware information of the first firmware stored in a corresponding storage position of the electronic equipment in advance; the first firmware is firmware of a first hardware module, and the installation position of the second hardware module is a hardware position reserved by removing the first hardware module from the electronic device;
And if the second firmware and the first firmware are different versions, acquiring the first firmware from the storage position, and updating the second firmware in the second hardware module into the first firmware.
Optionally, before determining whether the second firmware and the first firmware are the same version, the processing method further includes:
Detecting whether a hardware module installed on the hardware position changes, and triggering a step of determining whether the second firmware and the first firmware are of the same version aiming at the first hardware module and the second hardware module installed on the hardware position before and after the change if the hardware module installed on the hardware position changes.
Optionally, the determining whether the second firmware and the first firmware are in the same version based on the firmware information of the second firmware in the second hardware module installed on the electronic device and the firmware information of the first firmware stored in the corresponding storage location of the electronic device in advance includes:
Determining a second version of the second firmware based on firmware information of the second firmware;
determining a first version of the first firmware based on firmware information of the first firmware stored at the corresponding storage location;
it is determined whether the second version is the same as the first version.
Optionally, the determining whether the second firmware and the first firmware are the same version includes:
and in a startup self-checking stage of the electronic equipment, determining whether the second firmware and the first firmware are in the same version.
Optionally, if the second firmware and the first firmware are different versions, before the first firmware is obtained from the storage location and the second firmware in the second hardware module is updated to the first firmware, the processing method further includes:
outputting first prompt information to prompt the electronic equipment to indicate the firmware to be adopted;
And triggering to obtain the first firmware from the storage location in response to detecting first indication information indicating adoption of the first firmware, and updating second firmware in the second hardware module to the first firmware.
Optionally, the outputting the first prompt information includes:
In a starting-up self-checking stage of the electronic equipment, outputting the first prompt information through a BIOS self-checking interface of the electronic equipment or through a BMC page of the electronic equipment;
The updating the second firmware in the second hardware module to the first firmware includes:
And updating the second firmware in the second hardware module into the first firmware through a BIOS interface or a BMC interface of the electronic equipment.
Optionally, after updating the second firmware in the second hardware module to the first firmware, the processing method further includes:
Restarting the electronic device to validate the first firmware in the second hardware module and enter an operating system of the electronic device.
Optionally, the processing method further includes:
and responding to the detection of second indication information indicating adoption of the second firmware, completing start-up self-checking of the electronic equipment, and entering an operating system of the electronic equipment.
Optionally, before determining whether the second firmware and the first firmware are the same version, the processing method further includes:
After updating the first firmware of the first hardware module installed on the electronic equipment, outputting second prompt information to prompt whether to store the firmware information of the updated first firmware or not;
and in response to detecting third indication information indicating to store the firmware information of the updated first firmware, storing the firmware information of the updated first firmware to the corresponding storage position.
An electronic device, comprising:
a memory for storing at least one set of computer instructions;
A processor for implementing a processing method as claimed in any one of the preceding claims by executing the set of instructions stored in the memory.
As can be seen from the above scheme, the present application discloses a processing method and an electronic device, wherein the processing method includes: determining whether the second firmware and the first firmware are in the same version or not based on firmware information of the second firmware in a second hardware module installed on the electronic equipment and firmware information of the first firmware stored in a corresponding storage position of the electronic equipment in advance; the first firmware is firmware of a first hardware module, and the installation position of the second hardware module is a hardware position reserved by removing the first hardware module from the electronic device; and if the second firmware and the first firmware are different versions, acquiring the first firmware from the storage position, and updating the second firmware in the second hardware module into the first firmware.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the related art, the drawings that are required to be used in the embodiments or the related technical descriptions will be briefly described, and it is apparent that the drawings in the following description are only embodiments of the present application, and other drawings may be obtained according to the provided drawings without inventive effort for those skilled in the art.
FIG. 1 is a schematic flow chart of a treatment method provided by the application;
FIG. 2 is a schematic flow chart of another method of treatment provided by the present application;
FIG. 3 is a schematic flow chart of a further processing method according to the present application;
FIG. 4 is a schematic flow chart of a further processing method according to the present application;
fig. 5 is a component configuration diagram of an electronic device provided by the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The embodiment of the application provides a processing method and electronic equipment, which are used for improving the replacement efficiency of a hardware module in the electronic equipment and simplifying the replacement operation of a user. The processing method provided by the embodiment of the application can be applied to electronic equipment, namely the electronic equipment provided by the embodiment of the application, and the electronic equipment can be particularly but not limited to electronic equipment such as a personal computer or a server.
Referring to fig. 1, a schematic flow chart of a processing method according to an embodiment of the present application is provided, where the processing method at least includes:
Step 101, determining whether the second firmware and the first firmware are in the same version or not based on firmware information of the second firmware in a second hardware module installed on the electronic device and firmware information of the first firmware stored in a corresponding storage position of the electronic device in advance; the first firmware is firmware of a first hardware module, and the installation position of the second hardware module is a hardware position set aside by removing the first hardware module from the electronic device.
The first hardware module and the second hardware module are respectively hardware modules written with firmware, and the first hardware module and the second hardware module are the same hardware module, and can be but not limited to the same hardware module with firmware such as a network card or HBA (Host Bus Adapter) card, and the first hardware module and the second hardware module have a replaceable/replaceable relationship, and can be used for replacing/replacing the first hardware module in the electronic device.
When there is a need to replace a first hardware module in an electronic device with a second hardware module, replacing the first hardware module in the electronic device with the second hardware module may be accomplished by removing the first hardware module from the hardware location (mounting location) where it is located in the electronic device, and mounting the second electronic device to that location. For example, assuming that the first hardware module is a failed network card (a network card with a failure), and the second hardware module is a non-failed network card, the failed network card can be removed from a network card slot of an electronic device such as a personal computer or a server, and the non-failed network card is inserted into the network card slot, so that the replacement of the failed network card is realized, and the electronic device can be ensured to operate normally.
In the embodiment of the application, the firmware information of the first firmware of the first hardware module is stored in the corresponding storage position of the electronic equipment in advance. The corresponding storage location of the electronic device may be a corresponding storage location provided by a storage medium (such as a magnetic disk) of the electronic device itself, or may be a corresponding storage location provided by an external device of the electronic device, which is not limited and may depend on actual requirements. The external device of the electronic device may be a storage medium or other electronic devices with storage medium connected by a wired/wireless connection method, for example, a mobile hard disk or a notebook computer connected by a wired/wireless connection method.
The firmware information of the first firmware stored in the corresponding storage location of the electronic device may include, but is not limited to, firmware program (computer program code) of the first firmware, and information such as version number and/or release date of the first firmware.
Optionally, in the boot self-test stage of the electronic device, for example, in a BIOS POST (BIOS self-test) stage, the embodiment of the present application determines whether the second firmware of the second hardware module is the same version as the first firmware of the first hardware module by removing the first hardware module from the corresponding hardware position of the electronic device and installing the second hardware module in the hardware position. BIOS is Basic Input Output System abbreviations and Chinese names are basic input output system.
The second version of the second firmware may be determined based on the firmware information of the second firmware, the first version of the first firmware may be determined based on the firmware information of the first firmware stored in the corresponding storage location, and whether the second version is the same as the first version may be determined, if so, the second firmware of the second hardware module and the first firmware of the first hardware module are the same version, otherwise, the second firmware of the second hardware module and the first firmware of the first hardware module are different versions.
The firmware information of the second firmware may include, but is not limited to, a firmware program (computer program code) of the second firmware, and information such as a version number and/or release date of the second firmware.
In determining the version of the first firmware/second firmware based on the firmware information of the first firmware/second firmware, in an alternative embodiment, the version number of the first firmware/second firmware may be directly read, and the version of the first firmware/second firmware may be determined according to the corresponding version number. However, in other embodiments, the version of the first firmware/second firmware may be identified based on the release date of the first firmware/second firmware, the firmware program, or the like, and if the version number is not included in the firmware information of the first firmware/second firmware, the version of the first firmware/second firmware may be identified based on the release date included.
Step 102, if the second firmware and the first firmware are different versions, the first firmware is obtained from the corresponding storage location of the electronic device, and the second firmware in the second hardware module is updated to the first firmware.
If it is determined that the second firmware in the second hardware module and the first firmware in the first hardware module are different versions, the first firmware can be read from a storage position where the first firmware is located, specifically, a firmware program of the first firmware can be read, the second firmware in the second hardware module is updated based on the read data, and finally, the firmware in the second hardware module is updated to be the first firmware.
It is easy to understand that if it is determined that the second firmware in the second hardware module is the same version as the first firmware in the first hardware module, it is not necessary to perform a firmware update process for the second firmware in the second hardware module.
In a test scenario or a user use scenario, related personnel such as a tester or a user generally update firmware in a hardware module of an electronic device to a latest version or a version which is favored/used by the user based on actual requirements, when the hardware module in the electronic device is replaced due to the phenomena of faults, damages and the like of the hardware module, the problem that the replaced firmware of the new hardware module is different from the version of the firmware in the replaced hardware module often occurs, so that related personnel such as the tester or the user needs to update the firmware of the new hardware module by inquiring and downloading the firmware of the corresponding version in the replaced hardware module, so that the firmware of the latest version or the firmware of the favored/used version of the user is obtained in the new hardware module.
According to the processing method provided by the embodiment of the application, the firmware information of the first firmware of the first hardware module is stored in the corresponding storage position of the electronic device in advance, and the firmware in the new hardware module is still the firmware in the latest version or the firmware in the preferred/customary version of the user aiming at the second hardware module installed on the electronic device after the first hardware module is replaced, so that the problem that a tester or a user and other related personnel need to manually update the firmware of the new hardware module because the firmware version of the new hardware module is different from that of the replaced hardware module is solved, the replacement efficiency of the hardware module in the electronic device is improved, the operation of the user is simplified, and the user experience is improved.
In an alternative embodiment, referring to the flowchart of the processing method shown in fig. 2, the processing method provided by the present application may further include, before step 101, the following processing:
Step 201, detecting whether a hardware module installed on the hardware position changes, and if so, triggering a step of determining whether the second firmware and the first firmware are of the same version according to the first hardware module and the second hardware module installed on the hardware position before and after the change.
Specifically, but not limited to, detecting whether the unique identifier of the hardware module installed at the hardware location changes, if the unique identifier of the installed hardware module changes, determining that the hardware module installed at the hardware location changes, otherwise, if the unique identifier does not change, then the hardware module installed at the hardware location does not change.
For example, whether the serial number of the network card installed on the network card slot changes is detected, if the serial number of the network card installed on the network card slot changes, the network card installed on the network card slot is determined to change, otherwise, if the serial number does not change, the network card installed on the network card slot does not change.
Under the condition that the change of the hardware module installed on the hardware position is detected, the step 101 and the subsequent processing steps are triggered, so that when the second firmware in the second hardware module and the first firmware in the first hardware module are in different versions, the firmware in the second hardware module is automatically updated to the first firmware in the first hardware module, manual replacement of a user is avoided, user operation is simplified, and meanwhile replacement efficiency of the hardware module is improved.
Otherwise, if the hardware module installed on the hardware position is detected to be unchanged, the step 101 and subsequent processing steps thereof are not triggered, so that unnecessary invalid processing caused by executing the step 101 in each power-on self-checking stage of the electronic equipment under the condition that the hardware module is not changed is avoided, the processing workload of the electronic equipment is reduced, and the equipment power consumption is saved.
In an alternative embodiment, referring to the flowchart of the processing method shown in fig. 3, for the case that the second firmware and the first firmware are different versions, the processing method provided by the present application may further include the following processing before the first firmware is obtained from the storage location and the second firmware in the second hardware module is updated to the first firmware:
Step 301, outputting first prompt information to prompt the electronic device to indicate the firmware to be adopted; and triggering to obtain the first firmware from the storage location in response to detecting first indication information indicating adoption of the first firmware, and updating second firmware in the second hardware module to the first firmware.
The first prompt information is used for prompting related personnel such as testers or users to indicate the firmware to be adopted to the electronic equipment. An alternative prompting mode corresponding to the first prompting information is to output two operable controls respectively referring to the first firmware of the first hardware module and the second firmware of the second hardware module, remind a user and other related personnel to select, for example, output a first button referring to the old network card firmware and a second button referring to the new network card firmware, remind the user and other related personnel to select the two buttons, and the related personnel can select the required firmware through button operation (such as clicking the buttons).
Another alternative prompting manner is to output question information for asking whether to update the second firmware in the second hardware module to the first firmware, and display corresponding selectable controls, for example, display two buttons respectively displaying yes and no, or display two buttons respectively displaying replacement and not replacing, etc., so that a user and related personnel can instruct whether to update the second firmware in the second hardware module to the first firmware through button operation (such as clicking on the button), thereby implementing the purpose of indicating to the electronic device that the firmware to be adopted is required, for example, if yes or replacement is selected, the purpose of indicating to the electronic device that the second firmware in the second hardware module needs to be updated to the first firmware is required, and if no or not replaced, the purpose of indicating to the electronic device that the second firmware in the second hardware module does not need to be updated to the first firmware is required, and accordingly the purpose of indicating to the electronic device that the second firmware needs to be adopted is required.
The above only provides the optional prompting manner of the first prompting information by way of example, in practical application, the prompting manner of the first prompting information may be diversified, and is not limited to the foregoing prompting manner provided in this embodiment, so long as the prompting function of prompting related personnel such as a tester or a user to indicate the firmware to be adopted to the electronic device can be played.
Optionally, in implementation, the first prompt information may be specifically output through a BIOS self-checking interface of the electronic device or through a BMC (BaseboardManagement Controller ) page of the electronic device in a power-on self-checking stage of the electronic device. The BIOS self-checking interface is a startup self-checking interface of a local display of the electronic equipment such as a server, the BMC page is a remote call page of the electronic equipment, in implementation, the BIOS self-checking interface can be used for displaying first prompt information on the local display of the electronic equipment, so that a tester or related personnel such as a user can update the second firmware in the second hardware module through local operation, or the remote BMC page can be used for displaying the first prompt information, and correspondingly, the tester or related personnel such as the user can update the second firmware in the second hardware module through remote call and related operation, and in practical application, an adaptive implementation mode can be selected as required.
In the embodiment of outputting the first prompt information through the BIOS self-checking interface of the electronic device, if the first indication information indicating that the first firmware is adopted is detected, the electronic device may update the firmware through the BIOS interface, that is, update the second firmware in the second hardware module to the first firmware through the BIOS interface. In the embodiment of outputting the first prompt information through the BMC page of the electronic device, the electronic device may update the firmware through the BMC interface, that is, update the second firmware in the second hardware module to the first firmware through the BMC interface.
In this embodiment, when the first instruction information indicating that the first firmware is adopted is detected, the step of acquiring the first firmware from the storage location (the storage location of the first firmware) and updating the second firmware in the second hardware module to the first firmware is triggered, so that the second firmware in the second hardware module is automatically updated to the first firmware in the first hardware module, thereby avoiding manual update of a user, simplifying user operation, and improving replacement efficiency of the hardware module.
Optionally, after updating the second firmware in the second hardware module to the first firmware, the electronic device may be restarted, and by restarting the electronic device, the first firmware in the second hardware module is validated and enters an operating system of the electronic device.
And under the condition that the second instruction information indicating to adopt the second firmware is detected, the second firmware in the second hardware module is not required to be updated, and under the condition, the unexecuted part in the starting self-checking flow of the electronic equipment can be continuously executed to complete the starting self-checking of the electronic equipment and enter the operating system of the electronic equipment.
Compared with the previous embodiments, the embodiment can provide the independent selection function of the firmware to be adopted for the testers or the related personnel such as the users, the related personnel can indicate the firmware to be adopted to the electronic equipment according to the need under the prompt of the first prompt information, the electronic equipment can avoid the situation that the related personnel such as the users actually need to adopt the second firmware (for example, the first firmware is assumed to be a certain non-latest version network card firmware used by the users, the second firmware is the latest version network card firmware, and certain users possibly want to experience the latest version network card firmware), and the second firmware in the second hardware module is updated by utilizing the first firmware, so that the user requirements are further met, and the user experience is improved.
In an alternative embodiment, referring to the flowchart of the processing method shown in fig. 4, the processing method provided by the present application may further include, before step 101, the following processing:
step 401, after updating the first firmware of the first hardware module installed on the electronic device, outputting a second prompt message to prompt to indicate to the electronic device whether to store the firmware information of the updated first firmware;
Step 402, in response to detecting third indication information indicating to store the firmware information of the updated first firmware, storing the firmware information of the updated first firmware in the corresponding storage location of the electronic device.
In this embodiment, when the first firmware of the first hardware module installed on the electronic device is updated based on reasons such as firmware upgrade, and the first firmware update is completed, the second prompt message is output. The second prompt information is used for prompting related personnel such as testers or users to indicate whether firmware information of the updated first firmware is stored or not. For example, question information for asking whether to store the firmware information of the updated first firmware is output, and corresponding selectable controls are output, such as two buttons respectively displaying "yes", "no", or two buttons respectively displaying "store", "not store", etc., and a user or the like may indicate whether to store the firmware information of the updated first firmware by a button operation (e.g., clicking a button).
And if third indication information indicating to store the updated firmware information of the first firmware is detected, storing the updated firmware information of the first firmware to the corresponding storage position. Otherwise, if the indication information indicating that the updated firmware information of the first firmware is not stored is detected, the updated firmware information of the first firmware is not stored in the corresponding storage position, and if the firmware information of the first firmware which is not updated is already stored in the storage position, the existing storage information is maintained.
Optionally, in the embodiment of the present application, a storage space with a predetermined size is provided in a BMC EMMC (embedded multimedia controller), and a storage location corresponding to the storage space is used as a storage location for storing firmware information of the first firmware. When third indication information indicating to store the updated firmware information of the first firmware is detected, the updated firmware information of the first firmware may be specifically updated to the storage space of the BMC EMMC to be stored, where the stored firmware information includes, but is not limited to, information such as a firmware program, a version number, and a release time of the updated first firmware. Subsequently, when the first hardware module is replaced with the second hardware module (for example, the first hardware module is replaced with the second hardware module due to a fault), the first firmware stored in the memory space of the BMC EMMC may be used to update the second firmware of the second hardware module as required.
The embodiment further provides an autonomous selection function of whether to store the firmware information of the updated first firmware under the condition that the first firmware update occurs for related personnel such as testers or users, so that the device functions are further enriched, and the user experience is improved.
The embodiment of the application also discloses an electronic device, and the composition structure of the electronic device, as shown in fig. 5, at least comprises:
a memory 10 for storing a set of computer instructions;
The set of computer instructions may be implemented in the form of a computer program.
A processor 20 for implementing a processing method as disclosed in any of the method embodiments above by executing a set of computer instructions.
The processor 20 may be a central processing unit (Central Processing Unit, CPU), application-specific integrated circuit (ASIC), digital Signal Processor (DSP), application-specific integrated circuit (ASIC), field-programmable gate array (FPGA), or other programmable logic device, etc.
Optionally, the electronic device may further include a display device and/or a display interface, which may be externally connected to the display device.
Optionally, the electronic device may further include a camera assembly, and/or an external camera assembly may be connected thereto.
In addition, the electronic device may include communication interfaces, communication buses, and the like. The memory, processor and communication interface communicate with each other via a communication bus.
The communication interface is used for communication between the electronic device and other devices. The communication bus may be a peripheral component interconnect standard (PERIPHERAL COMPONENT INTERCONNECT, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, etc., and may be classified as an address bus, a data bus, a control bus, etc.
It should be noted that, in the present specification, each embodiment is described in a progressive manner, and each embodiment is mainly described as different from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
For convenience of description, the above system or apparatus is described as being functionally divided into various modules or units, respectively. Of course, the functions of each element may be implemented in the same piece or pieces of software and/or hardware when implementing the present application.
From the above description of embodiments, it will be apparent to those skilled in the art that the present application may be implemented in software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present application may be embodied essentially or inventive contributing portions thereof in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the embodiments or portions of the embodiments of the present application.
Finally, it is further noted that relational terms such as first, second, third, fourth, and the like are used herein to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application, which are intended to be comprehended within the scope of the present application.

Claims (10)

1. A method of processing, comprising:
Determining whether the second firmware and the first firmware are in the same version or not based on firmware information of the second firmware in a second hardware module installed on the electronic equipment and firmware information of the first firmware stored in a corresponding storage position of the electronic equipment in advance; the first firmware is firmware of a first hardware module, and the installation position of the second hardware module is a hardware position reserved by removing the first hardware module from the electronic device;
And if the second firmware and the first firmware are different versions, acquiring the first firmware from the storage position, and updating the second firmware in the second hardware module into the first firmware.
2. The processing method of claim 1, further comprising, prior to determining whether the second firmware is of the same version as the first firmware:
Detecting whether a hardware module installed on the hardware position changes, and triggering a step of determining whether the second firmware and the first firmware are of the same version aiming at the first hardware module and the second hardware module installed on the hardware position before and after the change if the hardware module installed on the hardware position changes.
3. The processing method according to claim 1, wherein the determining whether the second firmware and the first firmware are the same version based on firmware information of the second firmware in a second hardware module installed on the electronic device and firmware information of the first firmware stored in advance in a corresponding storage location of the electronic device includes:
Determining a second version of the second firmware based on firmware information of the second firmware;
determining a first version of the first firmware based on firmware information of the first firmware stored at the corresponding storage location;
it is determined whether the second version is the same as the first version.
4. The processing method of claim 1, the determining whether the second firmware is the same version as the first firmware, comprising:
and in a startup self-checking stage of the electronic equipment, determining whether the second firmware and the first firmware are in the same version.
5. The processing method of claim 1, further comprising, if the second firmware is a different version than the first firmware, before obtaining the first firmware from the storage location, updating the second firmware in the second hardware module to the first firmware:
outputting first prompt information to prompt the electronic equipment to indicate the firmware to be adopted;
And triggering to obtain the first firmware from the storage location in response to detecting first indication information indicating adoption of the first firmware, and updating second firmware in the second hardware module to the first firmware.
6. The processing method according to claim 5, wherein the outputting the first hint information includes:
In a starting-up self-checking stage of the electronic equipment, outputting the first prompt information through a BIOS self-checking interface of the electronic equipment or through a BMC page of the electronic equipment;
The updating the second firmware in the second hardware module to the first firmware includes:
And updating the second firmware in the second hardware module into the first firmware through a BIOS interface or a BMC interface of the electronic equipment.
7. The processing method according to any one of claims 4 to 6, further comprising, after updating the second firmware in the second hardware module to the first firmware:
Restarting the electronic device to validate the first firmware in the second hardware module and enter an operating system of the electronic device.
8. The processing method of claim 6, further comprising:
and responding to the detection of second indication information indicating adoption of the second firmware, completing start-up self-checking of the electronic equipment, and entering an operating system of the electronic equipment.
9. The processing method of claim 1, further comprising, prior to determining whether the second firmware is of the same version as the first firmware:
After updating the first firmware of the first hardware module installed on the electronic equipment, outputting second prompt information to prompt whether to store the firmware information of the updated first firmware or not;
and in response to detecting third indication information indicating to store the firmware information of the updated first firmware, storing the firmware information of the updated first firmware to the corresponding storage position.
10. An electronic device, comprising:
a memory for storing at least one set of computer instructions;
A processor for implementing the processing method according to any of claims 1-9 by executing said set of instructions stored in said memory.
CN202410108217.8A 2024-01-25 2024-01-25 Processing method and electronic equipment Pending CN117931239A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410108217.8A CN117931239A (en) 2024-01-25 2024-01-25 Processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410108217.8A CN117931239A (en) 2024-01-25 2024-01-25 Processing method and electronic equipment

Publications (1)

Publication Number Publication Date
CN117931239A true CN117931239A (en) 2024-04-26

Family

ID=90752119

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410108217.8A Pending CN117931239A (en) 2024-01-25 2024-01-25 Processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN117931239A (en)

Similar Documents

Publication Publication Date Title
TWI382346B (en) Computer system with dual bios protection mechanism and control method of the same
US8930931B2 (en) Information processing apparatus using updated firmware and system setting method
US9298470B2 (en) Method and apparatus for selecting bios program for a processor
CN109976816B (en) Computer system configuration method and server
CN110908702A (en) Version switching method, version switching device, computer equipment and storage medium
US20060031716A1 (en) Method of providing a real time solution to error occurred when computer is turned on
CN108121560A (en) Difference bag upgrade method, device, terminal and computer readable storage medium
JP2014130562A (en) Electronic device capable of updating basic input/output system and update method
CN113672263B (en) Firmware parameter updating control method and device and electronic equipment
CN111176897A (en) Closed BIOS self-repairing method, system, terminal and storage medium
CN113064745B (en) Method, device and medium for reporting error information
CN113010215B (en) Method, device and equipment for quickly restarting operating system and readable medium
CN116932010B (en) System firmware upgrading method, device and server
CN113867807A (en) Method, device, equipment and storage medium for shortening power-on time of server
CN111885420B (en) Standby protection method and device, smart television and readable storage medium
CN1856772A (en) System and method to filter processors by health during early firmware for split recovery architecture
US7543168B1 (en) Specifying an operating system level to use after reboot
CN117130672A (en) Server start flow control method, system, terminal and storage medium
CN117931239A (en) Processing method and electronic equipment
CN115176232A (en) Firmware corruption recovery
CN115129345A (en) Firmware upgrading method, device, equipment and storage medium
CN114237722A (en) System starting method, device, equipment and engineering vehicle
CN114579388A (en) Vehicle-mounted system state monitoring method and system, storage medium and electronic equipment
CN112083964B (en) Method for deploying an operating system
JP2001331342A (en) Method for displaying information processor error and recording medium with error display program recorded thereon

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