Firmware version control method and device, computer equipment and storage medium

By creating a firmware version library and generating a firmware list, the problem of inconsistent firmware version management and frequent updates is solved, automatic management and efficient update of firmware versions are realized, and production efficiency is improved.

CN118708232APending Publication Date: 2024-09-27INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410860612.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

The existing firmware version management method is difficult to distinguish between different firmware versions, updates frequently and affects production, and lacks a unified management method, resulting in scattered sources of order firmware and inconvenient updates.

Method used

By creating a firmware version library, naming the firmware version according to preset naming rules, matching the product with the firmware version library, generating a firmware list, determining the firmware version set for the target order, and automatically updating and refreshing instructions to achieve unified firmware version management.

Benefits of technology

It achieves unified management and automatic updates of different types of firmware versions, improves firmware version management and control capabilities and import execution efficiency, and reduces the impact on production.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118708232A
    Figure CN118708232A
Patent Text Reader

Abstract

The invention relates to a firmware version control method and device, computer equipment and a storage medium. The method comprises the steps that each product is matched with a pre-created firmware version library, a first firmware list of each product is created according to a matching result, and the first firmware list of each product comprises all adaptive firmware versions matched with the product; in response to online of the target order, determining a target product; determining a target firmware version set matched with the target order based on the first firmware list of the target product, and creating a first refreshing list of the target order according to the target firmware version set; and executing the first refreshing list to complete firmware import and refreshing of the target order. By adopting the method, the firmware version library is matched with the products, the first firmware list of each type of product is created and maintained, and the first refreshing list is generated and executed in combination with the order demand, so that unified management of the product firmware versions is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of firmware management technology, and in particular to a firmware version management method, apparatus, computer equipment and storage medium. Background Art

[0002] As the hub of the data center, the server carries critical computing and data management tasks. With the iteration of technology, firmware upgrades have become an important way to improve server performance and ensure data security. They can implant innovative algorithms, optimize codes, and achieve faster processing and greater data throughput.

[0003] However, with the development of product diversification and the improvement of users' pursuit of high performance, the demand for firmware customization is growing. There are many defects in the existing firmware version management methods: 1) There are many types of order firmware, and it is difficult for the production line to distinguish the differences between the firmware versions. Some firmware versions are general versions and need to be upgraded with the general version. Some order firmware versions are customer-customized versions and can only be upgraded after customer verification. The firmware version replacement relationship is unclear; 2) Firmware updates are frequent. Due to the different maturity of firmware development platforms, the update frequency will also vary to solve bugs. Some domestic platforms update the firmware version once a month, which has a great impact on production scheduling; 3) Every time the firmware version is updated, it is necessary to manually check the impact on the order to determine which orders need to update the refresh instructions and maintain them, and it is impossible to achieve automatic upgrade of the instructions; 4) The sources of order firmware are relatively scattered, including customer needs, customized instructions, ECN releases, etc. There is no unified firmware version management method for the product.

[0004] Therefore, how to provide a firmware version control method that can unify the release path is an urgent problem to be solved. Summary of the invention

[0005] Based on this, it is necessary to provide a firmware version control method, device, computer equipment and storage medium that can uniformly release and manage different types of firmware versions in order to address the above technical problems.

[0006] In one aspect, a firmware version control method is provided, the method comprising:

[0007] Match each product with a pre-created firmware version library, and create a first firmware list for each product according to the matching result, wherein the first firmware list of the product includes all compatible firmware versions matching the product;

[0008] In response to the target order being online, confirming the target product according to the target order;

[0009] Determine a target firmware version set matching the target order based on the first firmware list of the target product, and create a first refresh list of the target order according to the target firmware version set;

[0010] Execute the first refresh list to complete the firmware import and refresh of the target order.

[0011] In one embodiment, the process further includes: before matching each product with a pre-created firmware version library, the process further includes:

[0012] Creating a firmware version and naming the firmware version according to a preset naming rule;

[0013] Release the firmware version through an engineering change notification and record the firmware version information, wherein the firmware version information includes the firmware name, firmware type, applicable product range and version information;

[0014] The firmware version library is created based on the firmware version information.

[0015] In one embodiment, matching each product with a pre-created firmware version library and creating a first firmware list for each product according to the matching result includes:

[0016] Matching the product with the applicable product range of each firmware version in the firmware version library;

[0017] Obtaining all compatible firmware versions and firmware version information matching the product from the firmware version library;

[0018] The adapted firmware versions are classified and sorted based on the firmware version information to create a first firmware list for the product.

[0019] In one embodiment, the method further comprises:

[0020] Creating a firmware code for the product, and establishing an association relationship between the firmware code and a first firmware list of the product;

[0021] In response to the release of a new firmware version, determining whether the product matches the applicable product range of the new firmware version;

[0022] If so, the first firmware list of the product is updated according to the new firmware version and the firmware code of the product.

[0023] In one embodiment, determining a target firmware version set matching the target order based on the first firmware list of the target product, and creating a first refresh list of the target order according to the target firmware version set includes:

[0024] According to the first firmware list of the target product, confirm all adapted firmware versions matching the target product, wherein the firmware versions have different firmware types respectively;

[0025] According to the order information of the target order, obtaining a target firmware version corresponding to each firmware type from the first firmware list of the target product;

[0026] A first refresh list of the target order is created according to the target firmware versions corresponding to the firmware types.

[0027] In one embodiment, obtaining the target firmware version corresponding to each firmware type from the first firmware list of the target product according to the order information of the target order includes:

[0028] Matching the order information with the firmware version corresponding to the target firmware type in the first firmware list, and determining whether there is a customer customized firmware version matching the order information in the first firmware list;

[0029] If it exists, the customer customized firmware version is used as the target firmware version corresponding to the target firmware type;

[0030] If not, obtaining the universal firmware version corresponding to the target firmware type, and checking whether the universal firmware version is unique;

[0031] If it is not unique, the firmware version information of the general firmware version is obtained, and the latest firmware version in the general firmware version is confirmed according to the firmware version information, and the latest firmware version is used as the target firmware version corresponding to the target firmware type.

[0032] In one embodiment, the method further comprises:

[0033] In response to the first product in the target order being launched, confirming a first firmware list and a first refresh list of the first product;

[0034] In response to the Nth product in the target order being launched, confirming a second firmware list for the Nth product, where N is a positive integer greater than or equal to 2;

[0035] Compare the second firmware list with the first firmware list to obtain a first comparison result;

[0036] If the first comparison result is consistent, the first refresh list is executed to complete the order;

[0037] If the first comparison result is inconsistent, determining a target firmware version set matching the Nth product according to the second firmware list, and generating a second refresh list;

[0038] comparing the second refresh list with the first refresh list to obtain a second comparison result;

[0039] If the second comparison result is consistent, updating the first firmware list to the second firmware list, and executing the first refresh list to complete the target order;

[0040] If the second comparison result is inconsistent, determining whether the second refresh list needs to be updated according to the second comparison result to obtain a determination result;

[0041] If the judgment result is yes, the first firmware list and the first refresh list are updated to the second firmware list and the second refresh list, and the second refresh list is executed to complete the target order.

[0042] On the other hand, a firmware version control device is provided, the device comprising:

[0043] A first creation module, used to match each product with a pre-created firmware version library, and create a first firmware list for each product according to the matching result, wherein the first firmware list of the product includes all compatible firmware versions matching the product;

[0044] A confirmation module, configured to respond to a target order being placed online and confirm a target product according to the target order;

[0045] A second creation module is used to determine a target firmware version set matching the target order based on the first firmware list of the target product, and create a first refresh list of the target order according to the target firmware version set;

[0046] An execution module is used to execute the first refresh list to complete the firmware import and refresh of the target order.

[0047] In another aspect, a computer device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the following steps are implemented:

[0048] Match each product with a pre-created firmware version library, and create a first firmware list for each product according to the matching result, wherein the first firmware list of the product includes all compatible firmware versions matching the product;

[0049] In response to the target order being online, confirming the target product according to the target order;

[0050] Determine a target firmware version set matching the target order based on the first firmware list of the target product, and create a first refresh list of the target order according to the target firmware version set;

[0051] Execute the first refresh list to complete the firmware import and refresh of the target order.

[0052] In another aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0053] Match each product with a pre-created firmware version library, and create a first firmware list for each product according to the matching result, wherein the first firmware list of the product includes all compatible firmware versions matching the product;

[0054] In response to the target order being online, confirming the target product according to the target order;

[0055] Determine a target firmware version set matching the target order based on the first firmware list of the target product, and create a first refresh list of the target order according to the target firmware version set;

[0056] Execute the first refresh list to complete the firmware import and refresh of the target order.

[0057] The above-mentioned firmware version management method, device, computer equipment and storage medium send firmware versions of different sources and types to the firmware version library through a unified release path, thereby realizing unified management of firmware version creation, release, version update and application. Furthermore, by matching the firmware version library with the product, creating and maintaining the first firmware list for each product, and generating and executing the first refresh list in combination with order requirements, unified management of product firmware versions is realized, and the firmware version management capability and import execution efficiency are improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] Figure 1 A schematic diagram of a firmware version control method in one embodiment;

[0059] Figure 2 A schematic diagram of a process for creating a firmware version library in one embodiment;

[0060] Figure 3 A schematic diagram of a flow chart of a step of updating a first firmware list in an embodiment;

[0061] Figure 4 A flowchart of order execution steps in one embodiment;

[0062] Figure 5It is a structural block diagram of a firmware version control device in an embodiment;

[0063] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0064] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0065] Server firmware is a basic software program that runs on server hardware. Each server product needs to be refreshed with a firmware version that matches the hardware before it leaves the factory to maintain the normal functioning of the server product. With the continuous update and iteration of hardware products, the firmware version also needs to be continuously updated to maintain the performance improvement of the product. Secondly, the project side will continue to develop new firmware codes at various stages of the project based on solving various known bugs and adapting to customer needs. These firmware version updates include but are not limited to BIOS, BMC, CPLD and other firmware types. After these development and update content are tested, the code is merged for engineering to generate a new firmware version.

[0066] In one embodiment, Figure 1-4 As shown, a firmware version control method is provided, comprising the following steps:

[0067] Step S1, matching each product with a pre-created firmware version library respectively, and creating a first firmware list for each product according to the matching result, wherein the first firmware list of the product includes all firmware versions matching the product.

[0068] In an optional embodiment, before matching each product with a pre-created firmware version library, it also includes: creating a firmware version and naming the firmware version according to a preset naming rule; publishing the firmware version through an engineering change notification, and recording firmware version information, the firmware version information including firmware name, firmware type, applicable product range and version information; creating the firmware version library based on the firmware version information.

[0069] Exemplarily, the naming rule and format of the current firmware version is AAAA.BB.CC.DD.XXXXX.date, as shown in Table 1. Among them, AAAA represents the firmware type, such as BIOS, BMC, CPLD, etc.; BB represents the release type, which is represented by numbers, for example, 01 represents the R&D test version, 02 represents the offline burning version of the board factory, and 03 represents the mass production order shipping version, etc.; CC.DD represents the firmware version information, CC represents the major version of the firmware, and DD represents the minor version of the firmware, both of which are represented by numbers in ascending order. Each iteration of the firmware version is developed on the basis of the previous firmware version. When updating to solve the inherent bugs of the version, only the minor version is upgraded, and the major version remains unchanged. If the firmware version is updated due to new requirements or new functions, the major version needs to be upgraded. When the major version is upgraded, the minor version is reset to 01; XXXXX represents the version type, which is named with English words or abbreviations, such as standard represents the general version. When there is no customer-specified requirement in the order, the firmware version in this range is refreshed by default. Others such as aa\bb\cc represent the corresponding customer-customized firmware versions. If the order customer information contains a customized customer code, the customer-customized firmware version is refreshed first; date represents the generation date of the firmware version, which is expressed in the format of year.month.day.

[0070] Table 1

[0071]

[0072] Before each firmware version is put into use, it needs to be reviewed and released through the engineering change process. After the ECN (Engineering Change Note) is released, the firmware version information of different models and types will be centrally managed and recorded in the PLM system (Product Lifecycle Management). The ECN firmware version library is aggregated to form a data source for recording, calling, and querying firmware version information as a general knowledge base, so as to achieve unified management of firmware change records. Among them, the firmware version information in the firmware version library includes ECN number, applicable product range, version information, release date, linked firmware refresh file, import method, etc.

[0073] In the above firmware version control method, by defining the naming rules of the firmware version, the management rules of the firmware version can be formulated to manage and update the release scope, applicable product scope, substitution relationship, etc. of the firmware version. By recording the unified release path of firmware versions of different sources and types to the firmware version library, a carrier for storing all firmware version information can be obtained. The first release and update of the firmware version can be retrieved and queried in the firmware version library, and opening the firmware version library interface can also provide relevant channels for downstream systems to obtain the latest firmware version.

[0074] For server products, a model may have more than a dozen types of firmware. Some firmware versions are updated frequently, and they may be divided into customized versions and general versions due to external or internal reasons. Each firmware type may face upgrade and update scenarios during the order execution process. If they are all deployed and maintained in the import mode of direct notification by ECN, the production line needs to connect to a large number of ECN inputs, which is not only inefficient, but also affects the production of orders. Therefore, in this embodiment, a firmware list for each model product is established, and the firmware import and implementation rules are uniformly managed by the firmware list. Orders are only executed according to the firmware list during production.

[0075] In an optional implementation, matching each product with a pre-created firmware version library, and creating a first firmware list for each product based on the matching results, includes: matching the product with the applicable product range of each firmware version in the firmware version library; obtaining all firmware versions and firmware version information that match the product from the firmware version library; and classifying and sorting the firmware versions based on the firmware version information to create a first firmware list for the product.

[0076] Specifically, when creating a firmware version, define the applicable product range. After the range is clarified, retrieve all firmware version information that is adapted to the product from the firmware version library. Then, sort and categorize the obtained firmware version information according to the rules such as firmware type, release type, and version information, and write it into the firmware list to form the initial version data. When the firmware list of the target product is released, record the system release time as the firmware list version information. When a new firmware version is released later, the firmware list is updated synchronously and generates new version information, and the import method of the engineering change notification is recorded as the import method of this firmware version.

[0077] In the above firmware version control method, by maintaining a firmware list for each product, all firmware types used by the product model that need to be imported and refreshed online are maintained in the firmware list, and the recording, transmission, calling and updating of firmware versions are uniformly managed, so that the firmware version information of the product can be queried quickly and accurately, reducing the impact of ECN on order production.

[0078] In an optional embodiment, the method further includes: creating a firmware code for the product, and establishing an association between the firmware code and a first firmware list of the product; in response to the release of a new firmware version, determining whether the product matches the applicable product range of the new firmware version; if so, updating the first firmware list of the product according to the new firmware version and the firmware code of the product.

[0079] Specifically, a firmware code is created in the PLM system as a carrier for the first firmware list. The firmware code is added to the bill of materials as a virtual component to complete the data transfer of the first firmware list from the PLM system to the order system. The first firmware list is published to the ERP and MES systems along with the bill of materials, so that each order can read the first firmware list information of the product model in a timely manner during the execution phase.

[0080] For example, taking the NFxxx product as an example, first apply for the firmware code A0*01 for NFxxx, create a firmware list under the firmware code, the initial version number is A01, and the firmware list has the history, BIOS, BMC, cpld and other related interfaces attached, where the history page records the firmware list change record information, and the BIOS, BMC, and cpld pages record the firmware version information of the corresponding firmware type, which is updated with the firmware version library. When the first version of the firmware list is created, it is released with the firmware code. After the release, the firmware code is added to the NFxxx product BOM material list and circulated with the order. When a new firmware version needs to be released, the publisher initiates ECN and selects the scope of application of the firmware version. When the scope of application of the firmware version is selected as NFxxx, the system automatically identifies A0*01 as the affected object of this change, triggering the A0*01 version update. After the firmware is released, the firmware list records this firmware version information in the list and performs a firmware version upgrade.

[0081] In the above firmware version control method, by opening up the data interface between the firmware version library and the firmware list, the firmware list can read and update data with the firmware version library in real time. When a new firmware version is released and updated, the update content can obtain the firmware version update information in time through the data chain of firmware version release process - firmware version library - firmware list - order execution system.

[0082] Step S2, in response to the target order being online, confirming the target product according to the target order.

[0083] Specifically, when an order goes online, the production order execution system first imports order information and BOM (Bill of Material) information, where the order information includes customer information and order requirements, such as the required product model and the corresponding firmware type and version information.

[0084] Step S3: determining a target firmware version set matching the target order based on the first firmware list of the target product, and creating a first refresh list of the target order according to the target firmware version set.

[0085] It should be noted that during the order execution process, in addition to assembling the hardware part of the product according to the process requirements, it is also necessary to refresh the latest firmware version to meet the performance requirements of the product. The various firmware versions of current products come from many sources. Some are pre-burned into the board chip when the board is produced, some are general refresh instructions deployed and executed after the engineering change notice is issued, and there are customized refresh instructions deployed with the order flow. The first firmware list created by matching the firmware version library is equivalent to a complete product firmware package, which contains firmware versions that are suitable for all orders, so it needs to be further adapted to the order requirements to form a refresh list.

[0086] The adaptation process mainly includes the following two scenarios. One is that when the firmware version in the first firmware list has not changed during the execution of an order, the first refresh list obtained by the first parsing will be used as the refresh content of the target order and executed until the end of the order. If the firmware version changes during the execution of the order, the first firmware list will be updated and the refresh list will be re-parsed according to the updated content.

[0087] In an optional embodiment, determining a target firmware version set matching the target order based on the first firmware list of the target product, and creating a first refresh list of the target order based on the target firmware version set, includes: confirming all adapted firmware versions matching the target product based on the first firmware list of the target product, wherein the adapted firmware versions have different firmware types; obtaining a target firmware version corresponding to each firmware type from the first firmware list of the target product based on order information of the target order; and creating a first refresh list of the target order based on the target firmware versions corresponding to each firmware type.

[0088] Specifically, the first firmware list information of the target product is extracted through firmware coding, and the production order execution system parses the first firmware list according to customer, order, and product requirements, extracts the firmware matching solution that best meets the order requirements, and generates a first refresh list for the target product.

[0089] In an optional embodiment, the target firmware version corresponding to each firmware type is obtained from the first firmware list of the target product based on the order information of the target order, including: matching the order information with the firmware version corresponding to the target firmware type in the first firmware list, and determining whether there is a customer-customized firmware version matching the order information in the first firmware list; if so, using the customer-customized firmware version as the target firmware version corresponding to the target firmware type; if not, obtaining a general firmware version of the target firmware type, and checking whether the general firmware version is unique; if not, obtaining firmware version information of the general firmware version, and confirming the latest firmware version in the general firmware version based on the firmware version information, and using the latest firmware version as the target firmware version corresponding to the target firmware type.

[0090] For example, taking the BIOS firmware type as an example, by reading the first firmware list, all BIOS versions applicable to the target product are obtained, and the firmware version names include BIOS.BB.CC.DD.XXXXX.date1-10. Read the customer information in the order information, such as AL, and match it with the version type XXXXX field in the firmware version name. If there is an AL version in the firmware version of the BIOS, then keep the version; if not, keep the standard version data. At this time, check whether the data row is unique. If not, further check the version information CC.DD field in the firmware version name. First, sort the CC field by numerical value, retain the maximum value and check whether the data row is unique. If not, continue to sort and select the DD field by numerical value, and retain the firmware version with the largest value as the latest firmware version corresponding to the BIOS. Similarly, perform firmware version screening of firmware types such as BMC, CPLD, and FRU until the unique firmware version corresponding to all firmware types is determined to form the first refresh list of the target order. Perform the refresh of the target order according to the first refresh list, and record the information of the first firmware order and the first refresh list into the system.

[0091] It should be understood that the method of confirming the target firmware version is not limited to screening by version type and version information, but can also be flexibly adjusted according to other specific rules or customer needs. For example, the compatibility report of the firmware version, stability indicators, or the presence or absence of specific functions can be considered to further screen the most suitable firmware version. In some cases, it may be necessary to conduct a comprehensive evaluation based on the expected application scenarios of the product, the repair records of known problems, or the needs of performance optimization to determine the final target firmware version.

[0092] Specifically, the priority of each adapted firmware version in the first firmware list may be determined according to a preset strategy, and the target firmware version may be determined from all adapted firmware versions according to the priority, wherein the preset strategy includes at least one of version information, compatibility information, or stability information of the firmware version;

[0093] Obtaining a first score corresponding to the version information, a second score corresponding to the compatibility information, and a third score corresponding to the stability information;

[0094] Determine the priority of each adapted firmware version according to the order of the first scores;

[0095] Or, determining the priority of each adapted firmware version according to the order of the second scores;

[0096] Or, determining the priority of each adapted firmware version according to the order of the third scores;

[0097] Alternatively, a total priority value is determined according to a weighted sum of the first score, the second score, and the third score, and the priority of each firmware version is determined according to the order of the total priority value.

[0098] In the above firmware version control method, the naming rules and release rules of the firmware version are combined with orders and customer needs to automatically identify and determine the firmware version that best meets the order requirements, thereby guiding the production system to automatically execute firmware version refresh.

[0099] Step S4, executing the first refresh list to complete the firmware import and refresh of the target order.

[0100] In an optional implementation, in response to the first target product in the target order being launched, the first firmware list and the first refresh list of the first target product are confirmed; in response to the Nth target product in the target order being launched, the second firmware list of the Nth target product is confirmed, where N is a positive integer greater than or equal to 2; the second firmware list is compared with the first firmware list to obtain a first comparison result; if the first comparison result is consistent, the first refresh list is executed to complete the order; if the first comparison result is inconsistent, the target firmware version set matching the Nth target product is determined according to the second firmware order, and a second refresh list is generated; the second refresh list is compared with the first refresh list to obtain a second comparison result; if the second comparison result is consistent, the first firmware list is updated to the second firmware list, and the first refresh list is executed to complete the target order; if the second comparison result is inconsistent, whether the second refresh list needs to be updated is determined according to the second comparison result to obtain a judgment result; if the judgment result is yes, the first firmware list and the first refresh list are updated to the second firmware list and the second refresh list, and the second refresh list is executed to complete the target order.

[0101] In order to ensure the consistency and accuracy of the target order execution, when each product goes online, the system will automatically verify whether the current firmware list and the first firmware list of the first product are consistent. If they are consistent, the order will continue to be executed according to the original first refresh list; if they are inconsistent, it will be deemed that there is a firmware version update. At this time, the system will regenerate the second refresh list according to the above solution steps, and compare it with the first refresh list to see if there are any differences. If there are differences, it is necessary to determine whether it needs to be updated to the second refresh list based on the differences, and perform the corresponding firmware refresh to ensure the uniformity and latest firmware versions of the products in the order. If the online order does not need to be processed, the order will be completed by default according to the first refresh list. If the online order needs to be refreshed, refer to the import method of the change, update the first firmware list and the first refresh list of the order to the second firmware list and the second refresh list, and perform the refresh until the order is completed.

[0102] In the above firmware version control method, for online orders, the system has dynamic adaptability and can adjust the refresh strategy in real time according to the order status. If the customer agrees or needs to refresh to the latest version of the firmware, the system can instantly update the refresh list of the order and perform the refresh operation, thereby ensuring that the firmware version update can be responded to quickly even during the order execution process, thereby improving production continuity and efficiency and minimizing the impact on production progress.

[0103] It should be understood that although Figure 1-4The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1-4 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0104] In one embodiment, Figure 5 As shown, a firmware version control device is provided, including: a first creation module, a confirmation module, a second creation module and an execution module, wherein:

[0105] A first creation module, used to match each product with a pre-created firmware version library, and create a first firmware list for each product according to the matching result, wherein the first firmware list of the product includes all compatible firmware versions matching the product;

[0106] A confirmation module, configured to respond to a target order being placed online and confirm a target product according to the target order;

[0107] A second creation module is used to determine a target firmware version set matching the target order based on the first firmware list of the target product, and create a first refresh list of the target order according to the target firmware version set;

[0108] An execution module is used to execute the first refresh list to complete the firmware import and refresh of the target order.

[0109] In one embodiment, the first creation module is also used to create a firmware version and name the firmware version according to a preset naming rule; publish the firmware version through an engineering change notification and record firmware version information, the firmware version information including firmware name, firmware type, applicable product range and version information; create the firmware version library based on the firmware version information.

[0110] In one embodiment, the first creation module is also used to match the product with the applicable product range of each firmware version in the firmware version library; obtain all adapted firmware versions and their firmware version information matching the product from the firmware version library; classify and sort the adapted firmware versions based on the firmware version information, and create a first firmware list for the product.

[0111] In one embodiment, the first creation module is further used to create a firmware code for the product and establish an association between the firmware code and a first firmware list of the product; in response to the release of a new firmware version, determine whether the product matches the applicable product range of the new firmware version; if so, update the first firmware list of the product according to the new firmware version and the firmware code of the product.

[0112] In one embodiment, the second creation module is further used to confirm all compatible firmware versions matching the target product according to the first firmware list of the target product, wherein the firmware versions have different firmware types respectively; obtain the target firmware version corresponding to each firmware type from the first firmware list of the target product according to the order information of the target order; and create the first refresh list of the target order according to the target firmware version corresponding to each firmware type.

[0113] In one embodiment, the second creation module is also used to match the order information with the firmware version corresponding to the target firmware type in the first firmware list, and determine whether there is a customer-customized firmware version matching the order information in the first firmware list; if so, the customer-customized firmware version is used as the target firmware version corresponding to the target firmware type; if not, the general firmware version corresponding to the target firmware type is obtained, and it is checked whether the general firmware version is unique; if not, the firmware version information of the general firmware version is obtained, and the latest firmware version in the general firmware version is confirmed according to the firmware version information, and the latest firmware version is used as the target firmware version corresponding to the target firmware type.

[0114] In one embodiment, the execution module is further used for confirming the first firmware list and the first refresh list of the first product in response to the first product in the target order being launched; confirming the second firmware list of the Nth product in response to the Nth product in the target order being launched, where N is a positive integer greater than or equal to 2; comparing the second firmware list with the first firmware list to obtain a first comparison result; if the first comparison result is consistent, executing the first refresh list to complete the order; if the first comparison result is inconsistent, determining the target firmware version set matching the Nth product according to the second firmware list to generate a second refresh list; comparing the second refresh list with the first refresh list to obtain a second comparison result; if the second comparison result is consistent, updating the first firmware list to the second firmware list, executing the first refresh list, and completing the target order; if the second comparison result is inconsistent, judging whether the second refresh list needs to be updated according to the second comparison result to obtain a judgment result; if the judgment result is yes, updating the first firmware list and the first refresh list to the second firmware list and the second refresh list, and executing the second refresh list to complete the target order.

[0115] For the specific definition of the firmware version control device, please refer to the definition of the firmware version control method above, which will not be repeated here. Each module in the above-mentioned firmware version control device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0116] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 6 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store firmware version information data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a firmware version control method is implemented.

[0117] Those skilled in the art will understand that Figure 6The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0118] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:

[0119] Match each product with a pre-created firmware version library, and create a first firmware list for each product according to the matching result, wherein the first firmware list of the product includes all compatible firmware versions matching the product;

[0120] In response to the target order being online, confirming the target product according to the target order;

[0121] Determine a target firmware version set matching the target order based on the first firmware list of the target product, and create a first refresh list of the target order according to the target firmware version set;

[0122] Execute the first refresh list to complete the firmware import and refresh of the target order.

[0123] In one embodiment, when the processor executes the computer program, the following steps are also implemented: creating a firmware version and naming the firmware version according to a preset naming rule; publishing the firmware version through an engineering change notification and recording firmware version information, wherein the firmware version information includes the firmware name, firmware type, applicable product range and version information; and creating the firmware version library based on the firmware version information.

[0124] In one embodiment, when the processor executes the computer program, the following steps are also implemented: matching the product with the applicable product range of each firmware version in the firmware version library; obtaining all adapted firmware versions and their firmware version information that match the product from the firmware version library; classifying and sorting the adapted firmware versions based on the firmware version information to create a first firmware list for the product.

[0125] In one embodiment, when the processor executes the computer program, the following steps are also implemented: creating a firmware code for the product, and establishing an association between the firmware code and a first firmware list of the product; in response to the release of a new firmware version, determining whether the product matches the applicable product range of the new firmware version; if so, updating the first firmware list of the product according to the new firmware version and the firmware code of the product.

[0126] In one embodiment, when the processor executes the computer program, the following steps are also implemented: according to the first firmware list of the target product, all adapted firmware versions matching the target product are confirmed, wherein the firmware versions have different firmware types respectively; according to the order information of the target order, the target firmware version corresponding to each firmware type is obtained from the first firmware list of the target product; and the first refresh list of the target order is created according to the target firmware version corresponding to each firmware type.

[0127] In one embodiment, when the processor executes the computer program, the following steps are also implemented: matching the order information with the firmware version corresponding to the target firmware type in the first firmware list, and determining whether there is a customer-customized firmware version matching the order information in the first firmware list; if so, using the customer-customized firmware version as the target firmware version corresponding to the target firmware type; if not, obtaining the general firmware version corresponding to the target firmware type, and checking whether the general firmware version is unique; if not, obtaining the firmware version information of the general firmware version, and confirming the latest firmware version in the general firmware version based on the firmware version information, and using the latest firmware version as the target firmware version corresponding to the target firmware type.

[0128] In one embodiment, when the processor executes the computer program, the following steps are further implemented: in response to the first product in the target order being launched, confirming the first firmware list and the first refresh list of the first product; in response to the Nth product in the target order being launched, confirming the second firmware list of the Nth product, where N is a positive integer greater than or equal to 2; comparing the second firmware list with the first firmware list to obtain a first comparison result; if the first comparison result is consistent, executing the first refresh list to complete the order; if the first comparison result is inconsistent, determining the target firmware version set matching the Nth product according to the second firmware list, and generating a second refresh list; comparing the second refresh list with the first refresh list to obtain a second comparison result; if the second comparison result is consistent, updating the first firmware list to the second firmware list, and executing the first refresh list to complete the target order; if the second comparison result is inconsistent, judging whether the second refresh list needs to be updated according to the second comparison result to obtain a judgment result; if the judgment result is yes, updating the first firmware list and the first refresh list to the second firmware list and the second refresh list, and executing the second refresh list to complete the target order.

[0129] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0130] Match each product with a pre-created firmware version library, and create a first firmware list for each product according to the matching result, wherein the first firmware list of the product includes all compatible firmware versions matching the product;

[0131] In response to the target order being online, confirming the target product according to the target order;

[0132] Determine a target firmware version set matching the target order based on the first firmware list of the target product, and create a first refresh list of the target order according to the target firmware version set;

[0133] Execute the first refresh list to complete the firmware import and refresh of the target order.

[0134] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: creating a firmware version and naming the firmware version according to a preset naming rule; publishing the firmware version through an engineering change notification and recording firmware version information, wherein the firmware version information includes the firmware name, firmware type, applicable product range and version information; and creating the firmware version library based on the firmware version information.

[0135] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: matching the product with the applicable product range of each firmware version in the firmware version library; obtaining all adapted firmware versions and their firmware version information that match the product from the firmware version library; classifying and sorting the adapted firmware versions based on the firmware version information, and creating a first firmware list for the product.

[0136] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: creating a firmware code for the product, and establishing an association between the firmware code and a first firmware list of the product; in response to the release of a new firmware version, determining whether the product matches the applicable product range of the new firmware version; if so, updating the first firmware list of the product according to the new firmware version and the firmware code of the product.

[0137] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: according to the first firmware list of the target product, all compatible firmware versions matching the target product are confirmed, wherein the firmware versions have different firmware types respectively; according to the order information of the target order, the target firmware version corresponding to each firmware type is obtained from the first firmware list of the target product; and the first refresh list of the target order is created according to the target firmware version corresponding to each firmware type.

[0138] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: matching the order information with the firmware version corresponding to the target firmware type in the first firmware list, and determining whether there is a customer-customized firmware version matching the order information in the first firmware list; if so, using the customer-customized firmware version as the target firmware version corresponding to the target firmware type; if not, obtaining the general firmware version corresponding to the target firmware type, and checking whether the general firmware version is unique; if not, obtaining the firmware version information of the general firmware version, and confirming the latest firmware version in the general firmware version based on the firmware version information, and using the latest firmware version as the target firmware version corresponding to the target firmware type.

[0139] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: in response to the first product in the target order being launched, confirming the first firmware list and the first refresh list of the first product; in response to the Nth product in the target order being launched, confirming the second firmware list of the Nth product, where N is a positive integer greater than or equal to 2; comparing the second firmware list with the first firmware list to obtain a first comparison result; if the first comparison result is consistent, executing the first refresh list to complete the order; if the first comparison result is inconsistent, determining the target firmware version set matching the Nth product according to the second firmware list, and generating a second refresh list; comparing the second refresh list with the first refresh list to obtain a second comparison result; if the second comparison result is consistent, updating the first firmware list to the second firmware list, and executing the first refresh list to complete the target order; if the second comparison result is inconsistent, judging whether the second refresh list needs to be updated according to the second comparison result to obtain a judgment result; if the judgment result is yes, updating the first firmware list and the first refresh list to the second firmware list and the second refresh list, and executing the second refresh list to complete the target order.

[0140] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0141] Match each product with a pre-created firmware version library, and create a first firmware list for each product according to the matching result, wherein the first firmware list of the product includes all compatible firmware versions matching the product;

[0142] In response to the target order being online, confirming the target product according to the target order;

[0143] Determine a target firmware version set matching the target order based on the first firmware list of the target product, and create a first refresh list of the target order according to the target firmware version set;

[0144] Execute the first refresh list to complete the firmware import and refresh of the target order.

[0145] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: creating a firmware version and naming the firmware version according to a preset naming rule; publishing the firmware version through an engineering change notification and recording firmware version information, wherein the firmware version information includes the firmware name, firmware type, applicable product range and version information; and creating the firmware version library based on the firmware version information.

[0146] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: matching the product with the applicable product range of each firmware version in the firmware version library; obtaining all adapted firmware versions and their firmware version information that match the product from the firmware version library; classifying and sorting the adapted firmware versions based on the firmware version information, and creating a first firmware list for the product.

[0147] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: creating a firmware code for the product, and establishing an association between the firmware code and a first firmware list of the product; in response to the release of a new firmware version, determining whether the product matches the applicable product range of the new firmware version; if so, updating the first firmware list of the product according to the new firmware version and the firmware code of the product.

[0148] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: according to the first firmware list of the target product, all compatible firmware versions matching the target product are confirmed, wherein the firmware versions have different firmware types respectively; according to the order information of the target order, the target firmware version corresponding to each firmware type is obtained from the first firmware list of the target product; and the first refresh list of the target order is created according to the target firmware version corresponding to each firmware type.

[0149] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: matching the order information with the firmware version corresponding to the target firmware type in the first firmware list, and determining whether there is a customer-customized firmware version matching the order information in the first firmware list; if so, using the customer-customized firmware version as the target firmware version corresponding to the target firmware type; if not, obtaining the general firmware version corresponding to the target firmware type, and checking whether the general firmware version is unique; if not, obtaining the firmware version information of the general firmware version, and confirming the latest firmware version in the general firmware version based on the firmware version information, and using the latest firmware version as the target firmware version corresponding to the target firmware type.

[0150] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: in response to the first product in the target order being launched, confirming the first firmware list and the first refresh list of the first product; in response to the Nth product in the target order being launched, confirming the second firmware list of the Nth product, where N is a positive integer greater than or equal to 2; comparing the second firmware list with the first firmware list to obtain a first comparison result; if the first comparison result is consistent, executing the first refresh list to complete the order; if the first comparison result is inconsistent, determining the target firmware version set matching the Nth product according to the second firmware list, and generating a second refresh list; comparing the second refresh list with the first refresh list to obtain a second comparison result; if the second comparison result is consistent, updating the first firmware list to the second firmware list, and executing the first refresh list to complete the target order; if the second comparison result is inconsistent, judging whether the second refresh list needs to be updated according to the second comparison result to obtain a judgment result; if the judgment result is yes, updating the first firmware list and the first refresh list to the second firmware list and the second refresh list, and executing the second refresh list to complete the target order.

[0151] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0152] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0153] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A firmware version control method, characterized in that: include: Match each product with a pre-created firmware version library, and create a first firmware list for each product according to the matching result, wherein the first firmware list of the product includes all compatible firmware versions matching the product; In response to the target order being online, confirming the target product according to the target order; Determine a target firmware version set matching the target order based on the first firmware list of the target product, and create a first refresh list of the target order according to the target firmware version set; Execute the first refresh list to complete the firmware import and refresh of the target order.

2. The firmware version control method according to claim 1, characterized in that: Before matching each product with the pre-created firmware version library, the process further includes: Creating a firmware version and naming the firmware version according to a preset naming rule; Release the firmware version through an engineering change notification and record the firmware version information, wherein the firmware version information includes the firmware name, firmware type, applicable product range and version information; The firmware version library is created based on the firmware version information.

3. The firmware version control method according to claim 1, characterized in that: The step of matching each product with a pre-created firmware version library and creating a first firmware list for each product according to the matching result includes: Matching the product with the applicable product range of each firmware version in the firmware version library; All the adapted firmware versions and their firmware version information matching the product are obtained from the firmware version library; the adapted firmware versions are classified and sorted based on the firmware version information to create a first firmware list for the product.

4. The firmware version control method according to any one of claims 1 to 3, characterized in that: The method further comprises: Creating a firmware code for the product, and establishing an association relationship between the firmware code and a first firmware list of the product; In response to the release of a new firmware version, it is determined whether the product matches the applicable product range of the new firmware version; if so, the first firmware list of the product is updated according to the new firmware version and the firmware code of the product.

5. The firmware version control method according to claim 1, characterized in that: The step of determining a target firmware version set matching the target order based on the first firmware list of the target product, and creating a first refresh list of the target order according to the target firmware version set, comprises: According to the first firmware list of the target product, confirm all adapted firmware versions matching the target product, wherein the firmware versions have different firmware types respectively; According to the order information of the target order, obtaining a target firmware version corresponding to each firmware type from the first firmware list of the target product; A first refresh list of the target order is created according to the target firmware versions corresponding to the firmware types.

6. The firmware version control method according to claim 5, characterized in that: The step of acquiring, according to the order information of the target order, a target firmware version corresponding to each firmware type from the first firmware list of the target product includes: Matching the order information with the firmware version corresponding to the target firmware type in the first firmware list, and determining whether there is a customer customized firmware version matching the order information in the first firmware list; If it exists, the customer customized firmware version is used as the target firmware version corresponding to the target firmware type; If not, obtaining the universal firmware version corresponding to the target firmware type, and checking whether the universal firmware version is unique; If it is not unique, the firmware version information of the general firmware version is obtained, and the latest firmware version in the general firmware version is confirmed according to the firmware version information, and the latest firmware version is used as the target firmware version corresponding to the target firmware type.

7. The firmware version control method according to claim 1, characterized in that: The method further comprises: In response to the first product in the target order being launched, confirming a first firmware list and a first refresh list of the first product; In response to the Nth product in the target order being launched, confirming a second firmware list for the Nth product, where N is a positive integer greater than or equal to 2; Compare the second firmware list with the first firmware list to obtain a first comparison result; If the first comparison result is consistent, the first refresh list is executed to complete the order; If the first comparison result is inconsistent, determining a target firmware version set matching the Nth product according to the second firmware list, and generating a second refresh list; comparing the second refresh list with the first refresh list to obtain a second comparison result; If the second comparison result is consistent, updating the first firmware list to the second firmware list, and executing the first refresh list to complete the target order; If the second comparison result is inconsistent, determining whether the second refresh list needs to be updated according to the second comparison result to obtain a determination result; If the judgment result is yes, the first firmware list and the first refresh list are updated to the second firmware list and the second refresh list, and the second refresh list is executed to complete the target order.

8. A firmware version control device, characterized in that: The device comprises: A first creation module, used to match each product with a pre-created firmware version library, and create a first firmware list for each product according to the matching result, wherein the first firmware list of the product includes all compatible firmware versions matching the product; A confirmation module, configured to respond to a target order being placed online and confirm a target product according to the target order; A second creation module is used to determine a target firmware version set that matches the target order based on the first firmware list of the target product, and create a first refresh list for the target order according to the target firmware version set; an execution module is used to execute the first refresh list to complete the firmware import and refresh of the target order.

9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.