CN115421751A - Server order firmware version management and control method, device, terminal and medium - Google Patents

Server order firmware version management and control method, device, terminal and medium Download PDF

Info

Publication number
CN115421751A
CN115421751A CN202211046884.5A CN202211046884A CN115421751A CN 115421751 A CN115421751 A CN 115421751A CN 202211046884 A CN202211046884 A CN 202211046884A CN 115421751 A CN115421751 A CN 115421751A
Authority
CN
China
Prior art keywords
order
firmware
time
test
list
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
CN202211046884.5A
Other languages
Chinese (zh)
Inventor
张增建
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202211046884.5A priority Critical patent/CN115421751A/en
Publication of CN115421751A publication Critical patent/CN115421751A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2284Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by power-on test, e.g. power-on self test [POST]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to the field of management and control of server order firmware versions, and particularly discloses a method, a device, a terminal and a medium for managing and controlling server order firmware versions, wherein when a test is started after a complete machine is powered on, order placing time, latest firmware issuing time and order test starting time are obtained; judging whether the order placing time is later than the latest firmware placing time or not; if yes, the order is judged to be a new order; otherwise, judging whether the order test starting time is later than the latest firmware issuing time; if yes, the order is judged to be a new order; otherwise, the order is a tail order; if the order is a new order, using the latest firmware to carry out firmware refreshing management and control in the whole machine test; and if the firmware is the tail list, calling the old firmware in the whole machine test to carry out firmware refreshing control. According to the method and the system, the controlled firmware to be refreshed is intelligently identified in the complete machine power-on test through the timestamp information, the intelligent switching of the upgrade and import of the complete machine factory firmware is realized, manual single-by-single processing is not needed, the manpower is reduced, and the leakage risk is reduced.

Description

Server order firmware version management and control method, device, terminal and medium
Technical Field
The invention relates to the field of server order firmware version management and control, in particular to a server order firmware version management and control method, device, terminal and medium.
Background
Server whole machine manufacturers all have some self-developed firmware, in order to add new functions, solve some bugs or do some optimizations, often will appear the firmware version when irregular releases, will also make corresponding upgrading in the factory batch manufacturing link. Typically, a factory will perform two strategies, i.e., an old order or an order already under test is produced using old firmware before upgrading, and a newly placed order is produced using newly released firmware.
When an order is produced in a factory, the firmware is often updated and refreshed according to certain requirements, and the consistency with the order is kept, wherein the firmware mainly comprises version firmware such as a BIOS (basic input output System), a BMC (baseboard management controller), a network card, a RAID (redundant array of independent disk) card, an HBA (high-performance bus) card, an HCA (hybrid control interface) card and a GPU (graphic processing unit). The firmware version is often specified, which relates to management and control of the firmware version, factory orders also need to import the firmware version, the production time of different orders is different, and even if the same order has different production rhythms of a plurality of monomers, the problem of how to switch the firmware is caused.
When the firmware version is switched, currently, all the in-process orders of the factory need to be searched, and then the old version is maintained one by one. The mode needs manual searching and single maintenance, the labor investment is high, the energy consumption is high, the loss is caused, the first pass rate of a factory is reduced, and the risk potential is brought. For some firmware which cannot be refreshed mutually, if maintenance is lost, versions cannot be switched, and the problem that materials are wasted due to the fact that mainboards or parts are replaced is solved.
Disclosure of Invention
In order to solve the problems, the invention provides a server order firmware version control method, a server order firmware version control device, a server order firmware version control terminal and a server order firmware version control medium.
In a first aspect, a technical solution of the present invention provides a method for managing and controlling a firmware version of a server order, including the following steps:
when the test is started after the whole machine is powered on, acquiring order placing time, latest firmware issuing time and earliest order test starting time;
judging whether the order placing time is later than the latest firmware placing time or not;
if yes, judging the order as a new order;
otherwise, judging whether the earliest test starting time of the order is later than the latest firmware issuing time;
if yes, judging the order as a new order; otherwise, the order is a tail order;
if the order is a new order, using the latest firmware to carry out firmware refreshing management and control in the test; and if the firmware is the tail list, calling the old firmware in the test to carry out firmware refreshing management and control.
Further, the method specifically comprises the following steps:
when an order is placed, maintaining an order number and order placing time in a first list;
when the whole machine starts to test after being electrified, the first list is inquired, and the order placing time is read from the first list according to the order number.
Further, the method specifically comprises the following steps:
when the firmware is issued, maintaining the firmware version number, the corresponding firmware file and the firmware issuing time in a second list;
and when the test is started after the whole machine is powered on, inquiring the second list and reading the latest firmware issuing time.
Further, the method specifically comprises the following steps:
when an order is placed, maintaining an order number, a whole machine serial number and a test starting time initial value to a third list;
when the whole machine starts to test, maintaining the actual test starting time to a third list; wherein, the actual test starting time of the first test covers the initial value of the test starting time;
when the test is started after the whole machine is powered on, inquiring the third list, and acquiring the earliest test starting time of an order according to the order number; if only the initial value of the test starting time exists in the third list, the initial value of the test starting time is the earliest test starting time; the test start time initial value is by default later than the latest firmware delivery time.
Further, the method specifically comprises the following steps:
when firmware refreshing is carried out in the test process, recording firmware refreshing time and firmware refreshing rules into a log; the firmware refreshing rule comprises a firmware version number, a corresponding firmware file and firmware issuing time;
and when the order is judged to be the tail order, acquiring a first firmware refreshing rule from the log to perform firmware refreshing management and control.
In a second aspect, the present invention provides a device for managing and controlling firmware versions of server orders, including,
a time information acquisition module: when the whole machine starts to test after being electrified, acquiring order placing time, latest firmware issuing time and earliest order test starting time;
an order type determination module: judging whether the order placing time is later than the latest firmware placing time or not, if so, judging the order to be a new order, otherwise, judging whether the earliest test starting time of the order is later than the latest firmware placing time or not, if so, judging the order to be a new order, otherwise, judging the order to be a tail order;
the firmware management and control module: if the order is a new order, performing firmware refreshing management and control by using the latest firmware in the test; and if the firmware is the tail list, calling the old firmware in the test to carry out firmware refreshing management and control.
Further, the device also comprises a control device,
a first list maintenance module: when an order is placed, maintaining an order number and order placing time in a first list;
a second list maintenance module: when the firmware is issued, maintaining the firmware version number, the corresponding firmware file and the firmware issuing time in a second list;
a third list maintenance module: when an order is placed, maintaining an order number, a whole machine serial number and a test starting time initial value to a third list; when the whole machine starts to test, maintaining the actual test starting time to a third list; the actual test starting time of the first test covers the initial value of the test starting time;
when the whole machine starts to test after being electrified, the time information acquisition module inquires the first list and reads order placing time from the first list according to the order number; inquiring the second list, and reading the latest firmware issuing time; inquiring a third list, and acquiring the earliest test starting time of the order according to the order number; if only the test starting time initial value exists in the third list, the test starting time initial value is the earliest test starting time; the test start time initial value is by default later than the latest firmware delivery time.
Further, the device also comprises a control device,
a log recording module: when firmware refreshing is carried out in the test process, recording firmware refreshing time and firmware refreshing rules into a log; the firmware refreshing rule comprises a firmware version number, a corresponding firmware file and firmware issuing time;
and when the order is judged to be the tail order, the firmware control module acquires a first firmware refresh rule from the log to perform firmware refresh control.
In a third aspect, a technical solution of the present invention provides a terminal, including:
the memory is used for storing a server order firmware version management and control program;
and the processor is used for implementing the steps of the server order firmware version control method according to any one of the above items when executing the server order firmware version control program.
In a fourth aspect, an aspect of the present invention provides a computer-readable storage medium, where a server order firmware version management and control program is stored on the computer-readable storage medium, and when executed by a processor, the server order firmware version management and control program implements the steps of the server order firmware version management and control method according to any one of the above.
Compared with the prior art, the server order firmware version control method, the server order firmware version control device, the server order firmware version control terminal and the server order firmware version control medium have the following beneficial effects: and judging whether the order is a new order or a tail order according to the order placing time, the latest firmware placing time and the order testing starting time, and then selecting corresponding firmware according to the order type to carry out firmware refreshing management and control. According to the invention, the managed and controlled firmware to be refreshed is intelligently identified in the power-on test of the whole machine through the timestamp information, so that the intelligent switching of the upgrade and import of the whole machine factory firmware is realized, manual single-by-single processing is not needed, the manpower is reduced, the efficiency is improved, and the leakage risk is reduced.
Drawings
In order to clearly illustrate the embodiments or technical solutions of the present application, the drawings used in the embodiments or technical solutions of the present application will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart illustrating a method for managing and controlling a firmware version of a server order according to an embodiment of the present invention.
Fig. 2 is a flowchart illustrating a method for managing and controlling a firmware version of a server order according to an embodiment of the present invention.
Fig. 3 is a flowchart illustrating a method for managing a firmware version of a server order according to an embodiment of the present invention.
Fig. 4 is a block diagram illustrating a structure of a server order firmware version management and control apparatus according to an embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the disclosure, the following detailed description will be given with reference to the accompanying drawings. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a flowchart illustrating a method for managing a firmware version of a server order according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps.
S1, when the whole machine starts to test after being electrified, obtaining order placing time, latest firmware issuing time and order testing starting time.
And S2, judging whether the order placing time is later than the latest firmware placing time.
And S3, if yes, judging the order as a new order.
And S4, otherwise, judging whether the order test starting time is later than the latest firmware issuing time.
S5, if yes, judging the order as a new order; otherwise, the order is a trailer.
S6, if the order is a new order, firmware refreshing management and control are carried out by using the latest firmware in the whole machine test; and if the firmware is the tail list, calling the old firmware in the whole machine test to carry out firmware refreshing control.
When the whole machine starts to be tested after being electrified, before formal testing starts, relevant timestamp information including order placing time, latest firmware issuing time and earliest test starting time of an order is obtained first and is used for judging whether the order is a new order or a tail order. If the order is a new order, the firmware refreshing management and control are carried out by using the current latest firmware, and if the order is a tail order, the firmware refreshing management and control are carried out by using the corresponding old firmware.
Whether the order is a new order or a tail order is judged according to the latest firmware issuing time as a reference, after the latest firmware is issued, the order which is newly issued or the order which is issued before but not started to be tested is the new order, and the order which is started to be tested is the tail order. Therefore, the order placing time is compared with the latest firmware issuing time, and if the order placing time is later than the latest firmware issuing time, the order is a new order. If the order placing time is earlier than the latest firmware issuing time, judging whether the order starts to be tested before the latest firmware issuing, if the earliest starting test time of the order is later than the latest firmware issuing time, the order is a new order, and if the earliest starting test time of the order is earlier than the latest firmware issuing time, the order is a tail order.
It should be noted that, if the whole machine is tested for the first time, the obtained earliest test start time of the order is a set initial value, if the order placing time of the order is earlier than the latest firmware placing time, it needs to be determined whether the earliest test start time of the order is later than the latest firmware placing time, and if the obtained earliest test start time of the order is an initial value, the earliest test start time of the order is defaulted to be later than the latest firmware placing time.
According to the method for managing and controlling the firmware version of the server order, whether the order is a new order or a tail order is judged according to the order placing time, the latest firmware placing time and the order testing starting time, and then corresponding firmware is selected according to the order type to carry out firmware refreshing management and control. According to the method and the device, the controlled firmware to be refreshed is intelligently identified in the complete machine power-on test through the timestamp information, the intelligent switching of the upgrade and import of the complete machine factory firmware is realized, manual single-by-single processing is not needed, the manpower is reduced, the efficiency is improved, and the leakage risk is reduced.
Fig. 2 is a flowchart illustrating a method for managing a firmware version of a server order according to an embodiment of the present invention, as shown in fig. 2, the method includes the following steps.
S1, when an order is placed, the order number and the order placing time are maintained in a first list.
S2, when an order is placed, maintaining an order number, a complete machine serial number and an initial value of a test starting time to a third list; meanwhile, when the whole machine starts to test, the actual test starting time is maintained to the third list.
It should be noted that the actual test start time of the first test covers the initial value of the test start time, the actual test time of the later test does not cover the previous actual test time, and the third list stores the actual test start times of all tests.
In addition, the initial value of the test start time is later than the latest firmware issuing time by default. If the order type is judged in the morning and evening after the initial value of the test starting time is called later than the latest firmware issuing time, the initial value of the default test starting time is later than the latest firmware issuing time, and the order is a new order.
And S3, when the firmware is issued, maintaining the firmware version number, the corresponding firmware file and the firmware issuing time in a second list.
S4, when the test is started after the whole machine is powered on, inquiring the first list, and reading order placing time from the first list according to the order number; inquiring the second list, and reading the latest firmware issuing time; and querying a third list to obtain the earliest test starting time of the order according to the order number.
It should be noted that, if only the initial test start time value exists in the third list, the initial test start time value is the earliest test start time, and the initial test start time value is defaulted to be later than the latest firmware issuing time.
And S5, judging whether the order placing time is later than the latest firmware placing time.
And S6, if yes, judging the order as a new order.
And S6, otherwise, judging whether the earliest test starting time of the order is later than the latest firmware issuing time.
S7, if yes, judging the order as a new order; otherwise, the order is a trailer.
And S8, starting testing, and if the order is a new order, using the latest firmware to carry out firmware refreshing management and control in the testing process.
And S9, if the firmware updating order is the tail order, acquiring a first firmware updating rule from the log to perform firmware updating control.
It should be noted that, when firmware is refreshed in the testing process, the firmware refreshing time and the firmware refreshing rule are recorded in the log; the firmware refreshing rule comprises a firmware version number, a corresponding firmware file and firmware issuing time. When the order is a tail order, the old firmware needs to be called in the test for firmware refreshing management and control, and correspondingly, the old firmware is obtained in the log.
According to the method for managing and controlling the firmware version of the server order, whether the order is a new order or a tail order is judged according to the order placing time, the latest firmware issuing time and the order testing starting time, and then corresponding firmware is selected according to the order type to conduct firmware refreshing management and control. According to the invention, the managed and controlled firmware to be refreshed is intelligently identified in the power-on test of the whole machine through the timestamp information, so that the intelligent switching of the upgrade and import of the whole machine factory firmware is realized, manual single-by-single processing is not needed, the manpower is reduced, the efficiency is improved, and the leakage risk is reduced.
To further understand the present invention, an embodiment is provided below to further explain the present invention, fig. 3 is a schematic flow chart of the method of the embodiment, and as shown in fig. 3, the embodiment mainly includes the following steps.
1) Recording the order placing time of the order L1 into the LIST when the order is placed.
2) Assuming that the version of the BIOS firmware currently being executed by the factory is 1.0, default is maintained in the database: 1.0 file1 RULE time1 (where 1.0 is the version number, file1 is the corresponding firmware file of 1.0, RULE time1 is the issuing timestamp of version 1.0), records in the database RULE table.
3) When the whole machine starts to test, recording the order number, the serial number and the test starting time into a database TESTLOG table, and obtaining L1 SNA start time (wherein L1 is the order number, SNA is the serial number of the whole machine A, and the test starting time of the start time).
4) When the firmware is refreshed in the whole machine testing process, the refreshing time stamp and the refreshing rule are recorded into the log. And the order is stored in an order catalog of a server and named as BIOS _ SNA.log/BIOS _ SNB.log/BIOS _ SNC.log … …, wherein the SNA SNB SNC represents the serial number of the whole machine, and the information stored in the log is testtime which is default 1.0 file1 rule time1.
5) The BIOS 2.0 with the new version is issued and needs to be imported into the factory. The new version is maintained as the default rule default and with the timestamp noted in the database, default 2.0 file2 rule time2 is maintained in the database (where 2.0 is the version number, file2 is the corresponding firmware file of 2.0, and rule time2 is the delivery timestamp of version 2.0).
6) And the complete machine of the new power-on test automatically carries out tail single logic judgment and calls a corresponding refreshing rule.
a) And querying a database list table, and finding out order placing time orderime according to the order number L1.
b) And querying a database table RULE, and finding that the firmware issuing time is ruletime2.
c) And querying a database table TESTLOG, and querying the earliest starttime according to the order number to be used as the order test starting time starttime1.
d) The order time orderime for the order is compared to the firmware issue time ruletime2.
d1 If ordertime is larger than rule time2, then the order is judged as a new order, and 2.0 is directly used for refresh control.
d2 ) if orderitime is less than or equal to ruletime2, the order test start time starttime1 is compared with the time allotted 2.
d2_ 1) if the starttime1 is greater than the ruletime2, judging the order as a new order, and directly using 2.0 for refresh control.
d2_ 2) if the starttime1 is less than or equal to the ruletime2, judging the log as a tail sheet, capturing firmware refreshing rules from the log, searching the first refreshing rule in the BIOS _ SN
grep -h "default" /L1/ -r --include BIOS_SN*.log|sort -r|head -n1。
The above embodiment of the method for managing and controlling the firmware version of the server order is described in detail, and based on the method for managing and controlling the firmware version of the server order described in the above embodiment, the embodiment of the present invention further provides a device for managing and controlling the firmware version of the server order corresponding to the method.
Fig. 4 is a schematic block diagram of a structure of a server order firmware version management and control apparatus according to an embodiment of the present invention, as shown in fig. 4, the apparatus includes: a first list maintenance module 101, a second list maintenance module 102, a third list maintenance module 103, a time information acquisition module 104, an order type determination module 105, and a firmware management and control module 106.
The first list maintenance module 101: when an order is placed, the order number and the order placement time are maintained in the first list.
The second list maintenance module 102: and when the firmware is issued, maintaining the firmware version number, the corresponding firmware file and the firmware issuing time in a second list.
The third list maintenance module 103: when an order is placed, maintaining an order number, a whole machine serial number and a test starting time initial value to a third list; when the whole machine starts to test, maintaining the actual test starting time to a third list; wherein, the actual test starting time of the first test covers the initial value of the test starting time.
The time information acquisition module 104: when the whole machine starts to test after being electrified, the order placing time, the latest firmware issuing time and the earliest test starting time of the order are obtained.
Order type determination module 105: and judging whether the order placing time is later than the latest firmware placing time or not, if so, judging the order to be a new order, otherwise, judging whether the earliest test starting time of the order is later than the latest firmware placing time or not, if so, judging the order to be a new order, and otherwise, judging the order to be a tail order.
The firmware management module 106: if the order is a new order, performing firmware refreshing management and control by using the latest firmware in the test; if the firmware is the tail order, calling the old firmware in the test to carry out firmware refreshing management and control.
When the test is started after the whole machine is powered on, the time information acquisition module 103 inquires the first list and reads order placing time from the first list according to the order number; inquiring the second list, and reading the latest firmware issuing time; inquiring a third list, and acquiring the earliest test starting time of the order according to the order number; if only the initial value of the test starting time exists in the third list, the initial value of the test starting time is the earliest test starting time; the initial value of the test start time is defaulted to be later than the latest firmware issuing time.
The server order firmware version management and control device of this embodiment is used to implement the foregoing server order firmware version management and control method, so that the specific implementation of this device can be seen in the foregoing section of the embodiment of the server order firmware version management and control method, and therefore, the specific implementation of this device may refer to the description of the corresponding section embodiments, and will not be described herein again.
In addition, since the server order firmware version management and control device of this embodiment is used to implement the aforementioned server order firmware version management and control method, the role thereof corresponds to that of the aforementioned method, and is not described herein again.
Fig. 5 is a schematic structural diagram of a terminal device 500 according to an embodiment of the present invention, including: a processor 510, a memory 520, and a communication unit 530. The processor 510 is configured to implement the server order firmware version management program stored in the memory 520, and implement the following steps:
s1, when the whole machine starts to test after being electrified, obtaining order placing time, latest firmware issuing time and order testing starting time.
And S2, judging whether the order placing time is later than the latest firmware placing time.
And S3, if yes, judging the order as a new order.
And S4, otherwise, judging whether the order test starting time is later than the latest firmware issuing time.
S5, if yes, judging the order as a new order; otherwise, the order is a trailer.
S6, if the order is a new order, firmware refreshing management and control are carried out by using the latest firmware in the whole machine test; if the firmware is the tail order, calling the old firmware in the whole machine test to carry out firmware refreshing control.
The method judges whether the order is a new order or a tail order according to the order placing time, the latest firmware placing time and the order testing starting time, and then selects corresponding firmware according to the order type to carry out firmware refreshing management and control. According to the invention, the managed and controlled firmware to be refreshed is intelligently identified in the power-on test of the whole machine through the timestamp information, so that the intelligent switching of the upgrade and import of the whole machine factory firmware is realized, manual single-by-single processing is not needed, the manpower is reduced, the efficiency is improved, and the leakage risk is reduced.
The terminal apparatus 500 includes a processor 510, a memory 520, and a communication unit 530. The components communicate via one or more buses, and those skilled in the art will appreciate that the architecture of the servers shown in the figures is not intended to be limiting, and may be a bus architecture, a star architecture, a combination of more or less components than those shown, or a different arrangement of components.
The memory 520 may be used for storing instructions executed by the processor 510, and the memory 520 may be implemented by any type of volatile or non-volatile storage terminal or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The executable instructions in memory 520, when executed by processor 510, enable terminal 500 to perform some or all of the steps in the method embodiments described below.
The processor 510 is a control center of the storage terminal, connects various parts of the entire electronic terminal using various interfaces and lines, and performs various functions of the electronic terminal and/or processes data by operating or executing software programs and/or modules stored in the memory 520 and calling data stored in the memory. The processor may be formed by an Integrated Circuit (IC), for example, a single packaged IC, or a plurality of packaged ICs with the same or different functions. For example, processor 510 may include only a Central Processing Unit (CPU). In the embodiment of the present invention, the CPU may be a single operation core, or may include multiple operation cores.
A communication unit 530 for establishing a communication channel so that the storage terminal can communicate with other terminals. And receiving user data sent by other terminals or sending the user data to other terminals.
The present invention also provides a computer storage medium, wherein the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
The computer storage medium stores a server order firmware version management program that when executed by the processor performs the steps of:
s1, when the whole machine starts to test after being electrified, obtaining order placing time, latest firmware placing time and order testing starting time.
And S2, judging whether the order placing time is later than the latest firmware placing time.
And S3, if yes, judging the order as a new order.
And S4, otherwise, judging whether the order test starting time is later than the latest firmware issuing time.
S5, if yes, judging the order as a new order; otherwise, the order is a trailer.
S6, if the order is a new order, firmware refreshing management and control are carried out by using the latest firmware in the whole machine test; and if the firmware is the tail list, calling the old firmware in the whole machine test to carry out firmware refreshing control.
The method judges whether the order is a new order or a tail order according to the order placing time, the latest firmware placing time and the order testing starting time, and then selects corresponding firmware according to the order type to carry out firmware refreshing management and control. According to the invention, the managed and controlled firmware to be refreshed is intelligently identified in the power-on test of the whole machine through the timestamp information, so that the intelligent switching of the upgrade and import of the whole machine factory firmware is realized, manual single-by-single processing is not needed, the manpower is reduced, the efficiency is improved, and the leakage risk is reduced.
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied in the form of a software product, where the computer software product is stored in a storage medium, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like, and the storage medium can store program codes, and includes instructions for enabling a computer terminal (which may be a personal computer, a server, or a second terminal, a network terminal, and the like) to perform all or part of the steps of the method in the embodiments of the present invention.
In the several embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The above disclosure is only for the preferred embodiments of the present invention, but the present invention is not limited thereto, and any non-inventive changes that can be made by those skilled in the art and several modifications and amendments made without departing from the principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. A management and control method for a firmware version of a server order is characterized by comprising the following steps:
when the test is started after the whole machine is powered on, acquiring order placing time, latest firmware issuing time and earliest order test starting time;
judging whether the order placing time is later than the latest firmware placing time or not;
if yes, judging the order as a new order;
otherwise, judging whether the earliest test starting time of the order is later than the latest firmware issuing time;
if yes, judging the order as a new order; otherwise, the order is a tail order;
if the order is a new order, performing firmware refreshing management and control by using the latest firmware in the test; and if the firmware is the tail list, calling the old firmware in the test to carry out firmware refreshing management and control.
2. The method for managing and controlling firmware versions of server orders according to claim 1, specifically comprising the following steps:
when an order is placed, maintaining an order number and order placing time in a first list;
when the whole machine starts to test after being electrified, the first list is inquired, and the order placing time is read from the first list according to the order number.
3. The method for managing and controlling the firmware version of the server order according to claim 2, specifically comprising the following steps:
when the firmware is issued, maintaining the firmware version number, the corresponding firmware file and the firmware issuing time in a second list;
and when the test is started after the whole machine is powered on, inquiring the second list and reading the latest firmware issuing time.
4. The method for managing and controlling the firmware version of the server order according to claim 3, specifically comprising the following steps:
when an order is placed, maintaining an order number, a complete machine serial number and a test starting time initial value to a third list;
when the whole machine starts to test, maintaining the actual test starting time to a third list; wherein, the actual test starting time of the first test covers the initial value of the test starting time;
when the test is started after the whole machine is powered on, inquiring the third list, and acquiring the earliest test starting time of an order according to the order number; if only the test starting time initial value exists in the third list, the test starting time initial value is the earliest test starting time; the test start time initial value is by default later than the latest firmware delivery time.
5. The method for managing and controlling the firmware version of the server order according to claim 4, specifically comprising the following steps:
when firmware refreshing is carried out in the test process, recording firmware refreshing time and firmware refreshing rules into a log; the firmware refreshing rule comprises a firmware version number, a corresponding firmware file and firmware issuing time;
and when the order is judged to be the tail order, acquiring a first firmware refreshing rule from the log to perform firmware refreshing management and control.
6. A management and control device for firmware version of server order comprises,
a time information acquisition module: when the whole machine starts to test after being electrified, acquiring order placing time, latest firmware issuing time and earliest order test starting time;
an order type determination module: judging whether the order placing time is later than the latest firmware placing time or not, if so, judging the order to be a new order, otherwise, judging whether the earliest test starting time of the order is later than the latest firmware placing time or not, if so, judging the order to be a new order, otherwise, judging the order to be a tail order;
the firmware management and control module: if the order is a new order, performing firmware refreshing management and control by using the latest firmware in the test; and if the firmware is the tail list, calling the old firmware in the test to carry out firmware refreshing management and control.
7. The server order firmware version management and control apparatus according to claim 6, further comprising,
a first list maintenance module: when an order is placed, maintaining an order number and order placing time in a first list;
a second list maintenance module: when the firmware is issued, maintaining the firmware version number, the corresponding firmware file and the firmware issuing time in a second list;
a third list maintenance module: when an order is placed, maintaining an order number, a whole machine serial number and a test starting time initial value to a third list; when the whole machine starts to test, maintaining the actual test starting time to a third list; wherein, the actual test starting time of the first test covers the initial value of the test starting time;
when the test is started after the whole machine is powered on, the time information acquisition module inquires the first list and reads order placing time from the first list according to the order number; inquiring the second list, and reading the latest firmware issuing time; inquiring a third list, and acquiring the earliest test starting time of the order according to the order number; if only the test starting time initial value exists in the third list, the test starting time initial value is the earliest test starting time; the test start time initial value is by default later than the latest firmware delivery time.
8. The server order firmware version management and control apparatus according to claim 7, further comprising,
a log recording module: when firmware refreshing is carried out in the test process, recording firmware refreshing time and firmware refreshing rules into a log; the firmware refreshing rule comprises a firmware version number, a corresponding firmware file and firmware issuing time;
and when the order is judged to be the tail order, the firmware control module acquires a first firmware refresh rule from the log to perform firmware refresh control.
9. A terminal, comprising:
the memory is used for storing a server order firmware version management and control program;
a processor for implementing the steps of the server order firmware version management method according to any one of claims 1 to 5 when executing the server order firmware version management program.
10. A computer-readable storage medium, wherein the computer-readable storage medium has stored thereon a server order firmware version management program, which when executed by a processor implements the steps of the server order firmware version management method according to any one of claims 1 to 5.
CN202211046884.5A 2022-08-30 2022-08-30 Server order firmware version management and control method, device, terminal and medium Pending CN115421751A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211046884.5A CN115421751A (en) 2022-08-30 2022-08-30 Server order firmware version management and control method, device, terminal and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211046884.5A CN115421751A (en) 2022-08-30 2022-08-30 Server order firmware version management and control method, device, terminal and medium

Publications (1)

Publication Number Publication Date
CN115421751A true CN115421751A (en) 2022-12-02

Family

ID=84199934

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211046884.5A Pending CN115421751A (en) 2022-08-30 2022-08-30 Server order firmware version management and control method, device, terminal and medium

Country Status (1)

Country Link
CN (1) CN115421751A (en)

Similar Documents

Publication Publication Date Title
CN109445690B (en) RAID card performance optimization method, device, terminal and storage medium
CN112306993A (en) Data reading method, device and equipment based on Redis and readable storage medium
CN115129249A (en) SAS link topology identification management method, system, terminal and storage medium
CN112003730A (en) Method, system, terminal and storage medium for rapid cluster deployment
CN112214384A (en) Hard disk serial number management method, system, terminal and storage medium
CN115421751A (en) Server order firmware version management and control method, device, terminal and medium
CN111984287A (en) Equipment upgrading method and system
CN109117406B (en) PCIE hot plug test method, device, terminal and storage medium
CN115421750A (en) Method, device, terminal and storage medium for noninductive upgrading of server firmware
CN109614279B (en) Industrial personal computer self-checking system and control method thereof and related equipment
CN111949617A (en) Aggregate file object header management method, system, terminal and storage medium
CN110703988A (en) Storage pool creating method, system, terminal and storage medium for distributed storage
CN112231218B (en) Method, system, terminal and storage medium for automatically updating test diagnosis script
CN112486556B (en) Method, system, terminal and storage medium for server to be compatible with BMC
CN115372803B (en) Motherboard test system, method, device and storage medium
CN113656081B (en) Method, device and computer equipment for synchronizing configuration information of baseboard management controller
CN111949278B (en) Method, system, terminal and storage medium for automatically installing MCS system
CN109471764B (en) Method, device, terminal and storage medium for quickly reading system information
CN118093006A (en) Data processing method, device, equipment, storage medium and system
CN117724660A (en) Data processing method, device and system and nonvolatile storage medium
CN111966415A (en) Method for modifying starting item based on EEPROM
CN115686668A (en) Method, system and device for setting management parameters of Expander card and storage medium
CN115391122A (en) Component replacement detection method, device, terminal and medium based on FRU information
CN115118605A (en) Server slot bandwidth allocation method, device, terminal and storage medium
CN113821237A (en) Server whole environment firmware upgrading method, system, terminal and storage medium

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