Upgrade management method and system for equipment software

By obtaining device hardware configuration and software version information, using the matching algorithm to select the adapted target software version from the database and perform simulation operation, the compatibility problem in device software upgrade is solved, and the upgrade success rate and device stability are improved.

CN120335832APending Publication Date: 2025-07-18ZHEJIANG HUAYUN INFORMATION TECH CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510382918.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-28
Publication Date
2025-07-18

Smart Images

  • Figure CN120335832A_ABST
    Figure CN120335832A_ABST
Patent Text Reader

Abstract

The invention discloses an equipment software upgrading management method and system, and the method comprises the steps: employing a preset matching algorithm based on the obtained hardware configuration information of to-be-upgraded equipment, and the target software type and the current software version grade of the to-be-upgraded equipment determined according to the current software version information; matching an adaptive target software version from a pre-constructed software version database, wherein a matching algorithm is designed to perform matching processing according to a software and hardware compatibility standard, a software version grade standard and a software stability standard in sequence; issuing the software upgrading package of the target software version to the to-be-upgraded equipment, and controlling the to-be-upgraded equipment to execute software upgrading operation based on the software upgrading package; and obtaining upgrading result information of the to-be-upgraded equipment, and updating the current software version information according to the upgrading result information. According to the method provided by the invention, the most suitable upgrade version can be found for each device in the massive software version database, and the upgrade success rate is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of device management, and particularly to a method and system for upgrading and managing device software. Background Art

[0002] With the development of device intelligence, device software plays an important role in the stable, efficient, and safe operation of devices. Therefore, not only the normal operation of device software needs to be ensured, but it is also necessary to upgrade it in a timely manner according to software version updates and user requirements. However, due to the wide variety of device types and different hardware devices, it is difficult to find the most suitable upgrade version for each device among a large number of software versions. Traditional device software upgrade methods often ignore the individual differences of devices, easily cause compatibility problems, and reduce the upgrade success rate.

[0003] Therefore, it can be seen that how to improve the software upgrade success rate has become a technical problem that needs to be urgently solved by those skilled in the art. Summary of the Invention

[0004] The present invention provides a method and system for upgrading and managing device software to solve the technical problem of how to improve the software upgrade success rate, and achieve the effect of quickly matching a suitable software upgrade version and improving the software upgrade success rate.

[0005] In a first aspect, the present invention provides a method for upgrading and managing device software, the method comprising: obtaining the hardware configuration information and the current software version information of the device to be upgraded, and determining the target software category and the current software version level of the device to be upgraded according to the current software version information;

[0006] Based on the target software category, the current software version level, and the hardware configuration information, using a preset matching algorithm, matching an adapted target software version from a pre-constructed software version database, the matching algorithm being designed to perform matching processing in sequence according to the software and hardware compatibility standard, the software version level standard, and the software stability level standard;

[0007] Sending the software upgrade package of the target software version to the device to be upgraded, and controlling the device to be upgraded to perform a software upgrade operation based on the software upgrade package;

[0008] Obtaining the upgrade result information of the device to be upgraded, and updating the current software version information according to the upgrade result information.

[0009] Preferably, before controlling the device to be upgraded to perform a software upgrade operation based on the software upgrade package, the method further comprises;

[0010] Building a simulation model on the device to be upgraded based on the hardware configuration information;

[0011] Import the software upgrade package into the simulation model for simulation operation and output the simulation results;

[0012] Based on the simulation results, control the device to be upgraded to perform a software upgrade operation based on the software upgrade package.

[0013] Preferably, after updating the current software version information, the method further includes:

[0014] Obtain the software operation data of each device to be upgraded to generate a software operation log, and evaluate each software according to the software operation log to generate the software stability level;

[0015] Send the software operation log and the software stability level to the device operation and maintenance personnel, device manufacturers, software development engineers, and the cloud.

[0016] Preferably, the step of matching the target software version adapted from the pre-constructed software version database based on the target software category, the current software version level, and the hardware configuration information includes:

[0017] Based on the target software category and the current software version level, select a first list of adapted software versions higher than the current software version level from the software version database;

[0018] Obtain the adapted hardware information of the software versions in the first list of adapted software versions from the software version database;

[0019] Use a regular expression matching algorithm to perform software and hardware compatibility matching between the hardware configuration information and each piece of adapted hardware information to obtain a compatibility evaluation result;

[0020] According to the compatibility evaluation result, select a second list of adapted software versions from the first list of adapted software versions whose compatibility evaluation result is greater than or equal to a preset compatibility threshold;

[0021] Select the software version with the highest version level and / or the highest stability level from the second list of adapted software versions as the target software version.

[0022] Preferably, the method further includes:

[0023] If the upgrade result information indicates a failed upgrade, generate an upgrade trouble ticket and send the upgrade trouble ticket to the device operation and maintenance personnel;

[0024] Calculate the upgrade success rate according to the upgrade result information. If the upgrade success rate does not reach the preset threshold, optimize the matching algorithm.

[0025] In a second aspect, the present invention further provides an upgrade management system for device software, which implements the upgrade management method for device software described above. The system includes: an information collection and processing unit, a target software version matching unit, a software upgrade unit, and an information update unit;

[0026] The information collection and processing unit is used to obtain the hardware configuration information and the current software version information of the device to be upgraded, and determine the target software category and the current software version level of the device to be upgraded according to the current software version information;

[0027] The target software version matching unit is used to, based on the target software category, the current software version level, and the hardware configuration information, adopt a preset matching algorithm to match an adapted target software version from a pre-constructed software version database. The matching algorithm is designed to perform matching processing successively according to the software and hardware compatibility standard, the software version level standard, and the software stability level standard;

[0028] The software upgrade unit is used to send the software upgrade package of the target software version to the device to be upgraded, and control the device to be upgraded to perform software upgrade operations based on the software upgrade package;

[0029] The information update unit is used to obtain the upgrade result information of the device to be upgraded, and update the current software version information according to the upgrade result information.

[0030] Preferably, the system further includes a simulation unit;

[0031] The simulation unit is used to build a simulation model on the device to be upgraded based on the hardware configuration information; import the software upgrade package into the simulation model for simulation operation and output simulation results; and control the device to be upgraded to perform software upgrade operations based on the software upgrade package based on the simulation results.

[0032] Preferably, the system further includes a stability level evaluation unit and a communication unit;

[0033] The stability level evaluation unit is used to obtain the software operation data of each device to be upgraded to generate a software operation log, and evaluate each software according to the software operation log to generate the software stability level;

[0034] The communication unit is used to send the software operation log and the software stability level to device operation and maintenance personnel, device manufacturers, software development engineers, and the cloud.

[0035] Preferably, the target software version matching unit is further configured to select a first list of compatible software versions higher than the current software version level from the software version database based on the target software category and the current software version level; obtain the compatible hardware information of the software versions in the first list of compatible software versions from the software version database; use a regular expression matching algorithm to perform software and hardware compatibility matching between the hardware configuration information and each piece of compatible hardware information to obtain a compatibility evaluation result; according to the compatibility evaluation result, select a second list of compatible software versions from the first list of compatible software versions whose compatibility evaluation result is greater than or equal to a preset compatibility threshold; and select the software version with the highest version level or / and the highest stability level from the second list of compatible software versions as the target software version.

[0036] Preferably, the system further includes an upgrade result information analysis unit;

[0037] The upgrade result information analysis unit is configured to generate an upgrade failure work order if the upgrade result information indicates an upgrade failure and send the upgrade failure work order to the device operation and maintenance personnel; calculate the upgrade success rate according to the upgrade result information, and optimize the matching algorithm if the upgrade success rate does not reach a preset threshold.

[0038] The present invention provides a method and system for upgrading and managing device software. Compared with the prior art, the beneficial effects of the embodiments of the present invention are at least one of the following:

[0039] (1) During the software matching process, software and hardware compatibility, software version level, and software stability level are matched to select the optimal software version, improving the success rate of the upgrade.

[0040] (2) It can find the most suitable upgrade version for each device in a vast software version database. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 is a schematic diagram of the steps of a method for upgrading and managing device software provided by a preferred embodiment of the present invention;

[0042] Figure 2 is a schematic diagram of the structure of a system for upgrading and managing device software provided by a preferred embodiment of the present invention. DETAILED DESCRIPTION

[0043] The embodiments of the present invention will be specifically described below in conjunction with the accompanying drawings. The given embodiments are only for illustrative purposes and should not be construed as limiting the present invention. The accompanying drawings are only for reference and illustration and do not constitute a limitation on the scope of patent protection of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the scope of protection of the present invention. In the description of the present invention, the terms "first", "second", "third", etc. are only used for descriptive purposes and cannot be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, features defined with "first", "second", "third", etc. may explicitly or implicitly include one or more of such features. In the description of the present invention, unless otherwise specified, the meaning of "a plurality" is two or more.

[0044] In the description of the present invention, it should be noted that unless otherwise clearly defined and limited, the terms "installed", "connected", "connected" should be understood in a broad sense. For example, it may be a fixed connection, a detachable connection, or an integral connection; it may be a mechanical connection or an electrical connection; it may be directly connected or indirectly connected through an intermediate medium, and it may be the communication inside two elements. The terms "vertical", "horizontal", "left", "right", "up", "down" and similar expressions used herein are only for illustrative purposes and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus cannot be construed as a limitation on the present invention. The term "and / or" used herein includes any and all combinations of one or more of the related listed items. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0045] In the description of the present invention, it should be noted that unless otherwise defined, all technical and scientific terms used in the present invention have the same meaning as commonly understood by those of ordinary skill in the technical field to which the present invention belongs. The terms used in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0046] Please refer to Figure 1 , in an embodiment of the present invention, an upgrade management method for device software is provided, and the method includes:

[0047] S1. Obtain the hardware configuration information and the current software version information of the device to be upgraded, and determine the target software category and the current software version level of the device to be upgraded according to the current software version information;

[0048] S2. Based on the target software category, the current software version level, and the hardware configuration information, use a preset matching algorithm to match an adapted target software version from a pre-constructed software version database. The matching algorithm is designed to perform matching processing in sequence according to the software-hardware compatibility standard, the software version level standard, and the software stability level standard;

[0049] S3. Send the software upgrade package of the target software version to the device to be upgraded, and control the device to be upgraded to perform a software upgrade operation based on the software upgrade package;

[0050] S4. Obtain the upgrade result information of the device to be upgraded, and update the current software version information according to the upgrade result information.

[0051] In the device software upgrade management method provided by the preferred embodiment of the present invention, obtain the hardware configuration information and the current software version information of the device to be upgraded. The hardware configuration information includes the type of the hardware device, the device manufacturer, the bidding batch, and the hardware version. Compare the current software version information with a pre-constructed software version database to extract the target software category and the current software version level of the device to be upgraded. Specifically, according to the current software version information, relevant information of the current software version can be obtained, including the current software category, the current software version level, and the release time. According to the software category of the current software version, search for an adapted software category from the software version database, and use the adapted software category as the target software category of the device to be upgraded.

[0052] In the preferred embodiment of the present invention, the software version database includes software category, software version level, software stability level, and adapted hardware information. The adapted hardware information includes the type of the hardware device, the device manufacturer, the bidding batch, and the hardware version that are adapted to the software.

[0053] The software version database is stored in the storage unit of the hardware device and the cloud database to facilitate the comparison and management of software versions. Device operation and maintenance personnel can upload, download, and view the software version database materials through the APP of the intelligent terminal.

[0054] Furthermore, based on the target software category, the current software version level, and the hardware configuration information, use a preset matching algorithm to match an adapted target software version from the software version database. Specifically, access the software version database, obtain all software versions of the target software category, and select software versions higher than the current software version level from all software versions, and use them as the first list of adapted software versions.

[0055] Obtain the hardware adaptation information of the software versions in the first adapted software version list. Adopt the regular expression matching algorithm to perform software and hardware compatibility matching between the hardware configuration information and the hardware adaptation information of the software versions in the first adapted software version list, and obtain the compatibility evaluation result. According to the compatibility evaluation result, select the second adapted software version list from the first adapted software version list whose compatibility evaluation result is greater than or equal to the preset compatibility threshold. Only when the device type, device manufacturer, tender batch, and hardware version of the hardware configuration information of the device to be upgraded are exactly the same as those of the hardware adaptation information of the software versions in the first adapted software version list can the second adapted software version list that exactly matches the hardware configuration information of the device to be upgraded be obtained.

[0056] The first adapted software version list may include one or more adapted software versions, or may not include any adapted software version. If there is no adapted software version in the first adapted software version list, it indicates that there is currently no software version suitable for the device to be upgraded, and thus no upgrade is required. If the first adapted software version list includes one or more adapted software versions, the regular expression matching algorithm is used to evaluate the software and hardware compatibility between the adapted hardware information of each software version in the first adapted software version list and the hardware configuration information, and obtain the compatibility evaluation result. Determine whether the compatibility evaluation result of each software version is greater than or equal to the preset compatibility threshold. If so, it indicates that the software version is compatible with the device to be upgraded; if not, it indicates that the software version is not compatible with the device to be upgraded and cannot be used for the upgrade of the device to be upgraded. The second adapted software version list is composed of software versions whose compatibility evaluation results are greater than or equal to the preset compatibility threshold.

[0057] The second adapted software version list may include one or more adapted software versions, or may not include any adapted software version. If there is no adapted software in the second adapted software version list, it indicates that there is currently no software version suitable for the device to be upgraded, and thus no upgrade is required. If the second adapted software version list includes one or more adapted software versions, select the software version with the highest version level or / and the highest stability level from the second adapted software version list as the target software version.

[0058] Obtain the software upgrade package of the target software version and its verification information, and download it to the local server or distribute it to the device to be upgraded. Ensure the integrity and accuracy of the downloaded software upgrade package by verifying the software upgrade package, and avoid upgrade failures caused by download errors. Generate a matching upgrade task list according to the device type and the target software version, including the device unique identifier, the current software version, the target software version, and the upgrade operation steps, etc., for guiding the subsequent upgrade operations, and persistently store the task list for future query.

[0059] Specifically, according to the communication protocol of the device, the information of the target software version is encapsulated into an upgrade instruction in a corresponding data format. The encapsulated upgrade instruction is sent to the device to be upgraded through a communication network. After receiving the upgrade instruction, the device to be upgraded parses out the information of the target software version and downloads the corresponding software upgrade package from the upgrade management system.

[0060] After the device to be upgraded obtains the software upgrade package, before controlling the device to be upgraded to perform a software upgrade operation based on the software upgrade package, a simulation of the target software version is carried out. Specifically, a simulation model is built on the device to be upgraded based on the hardware configuration information, the software upgrade package of the target software version is imported into the simulation model for simulation operation and the simulation result is output. If the simulation result is a failure, it indicates that the software upgrade package of the target software version does not match the hardware configuration information of the device to be upgraded, and then it is necessary to reselect the target software version or return an upgrade failure message. If the simulation result is a success, it indicates that the software upgrade package of the target software version matches the hardware configuration information of the device to be upgraded, and the device to be upgraded can be further controlled to perform a software upgrade operation based on the software upgrade package.

[0061] In a preferred embodiment of the present application, controlling the device to be upgraded to perform a software upgrade operation based on the software upgrade package, specifically, according to the current operating state of the device, it is judged whether the upgrade condition is met. If it is met, the upgrade mode is entered; otherwise, an upgrade failure message is returned. After the device enters the upgrade mode, the software of the device is upgraded according to the upgrade file, and the upgrade process is recorded in real time. After the upgrade operation is completed, the device automatically restarts, loads and runs the upgraded software, and at the same time feeds back the upgrade result information. According to the fed-back upgrade result information, the current software version information in the device file is updated, and the upgrade process log is analyzed to generate an upgrade report, completing the entire upgrade process.

[0062] After the software upgrade is completed, ensuring the reliability of the upgraded software and avoiding unexpected system failures for the device are the keys to ensuring the security of the device. Therefore, in a preferred embodiment of the present invention, after updating the current software version information, the software operation data of all devices to be upgraded is obtained to generate a software operation log. The software operation log records the data of the software of all devices to be upgraded during the operation process. Each software is evaluated according to the software operation log, and the focus of the evaluation is the stability of the software operation, and a software stability level is generated. The frequency of software evaluation is set, and the software stability level is evaluated and updated regularly to ensure the stability of the target software version obtained by the device to be upgraded during the upgrade process.

[0063] In a preferred embodiment of the present application, the software operation logs and software stability levels are sent to device operation and maintenance personnel, device manufacturers, and software development engineers to facilitate software upgrade and optimization by device operation and maintenance personnel, device manufacturers, and software development engineers. The software operation logs and software stability levels can also be sent to the cloud for data sharing and data analysis.

[0064] If the upgrade result information indicates an upgrade failure, an upgrade failure work order is generated, which includes the reason for the upgrade failure, and the upgrade failure work order is sent to the device operation and maintenance personnel to notify them to perform fault repair. After all devices to be upgraded are upgraded, the upgrade results of all devices to be upgraded are counted, the upgrade success rate is calculated, and an upgrade result report is generated, which contains the upgrade details of each device. If the upgrade success rate does not reach the expected target, the reasons for the failure of the devices to be upgraded that failed the upgrade are analyzed, and corresponding measures are taken, such as optimizing the matching algorithm, etc.

[0065] In a preferred embodiment of the present application, if the upgrade success rate does not reach the expected target, the reasons for the failure of the devices to be upgraded that failed the upgrade are analyzed, and corresponding measures are taken, such as optimizing the matching algorithm, etc. Specifically, the upgrade result information is collected, the upgrade success rate is calculated. If the upgrade success rate does not reach the preset threshold, the information set of the reasons for the upgrade failure of the devices to be upgraded is collected, the occurrence times of each failure reason in the information set of the reasons for the upgrade failure are obtained, and the corresponding relationship between the upgrade failure reasons and the occurrence times is obtained. If the occurrence times of an upgrade failure reason are greater than the preset number threshold, then it is determined that this failure reason is a key failure reason, the hardware configuration information of the device associated with this key failure reason is extracted, the extracted hardware configuration information is compared with the software version information of the failed upgrade, and based on the obtained comparison result, a machine learning method is used to adjust the parameters of the regular expression matching algorithm to obtain an optimized regular expression matching algorithm.

[0066] In a preferred embodiment of the present invention, the hardware configuration information and the current software version information of the device to be upgraded are obtained. According to the current software version information, the target software category and the current software version level of the device to be upgraded are determined. Based on the target software category, the current software version level, and the hardware configuration information, a preset matching algorithm is used to match an adapted target software version from a pre-constructed software version database. The matching algorithm is designed to perform matching processing in sequence according to the hardware and software compatibility standard, the software version level standard, and the software stability level standard. The software upgrade package of the target software version is sent to the device to be upgraded, and the device to be upgraded is controlled to perform a software upgrade operation based on the software upgrade package. The upgrade result information of the device to be upgraded is obtained, and according to the upgrade result information, the current software version information is updated. The device software upgrade management method provided by this application can find the most suitable upgrade version for each device in a massive software version database. During the software matching process, the software compatibility, the software version level, and the software stability level are matched to match the optimal software version and improve the success rate of the upgrade.

[0067] Correspondingly, as Figure 2 shown, based on a device software upgrade management method, an embodiment of the present invention further provides a device software upgrade management system for implementing the device software upgrade management method disclosed in the embodiment of the present invention, including: an information acquisition and processing unit, a target software version matching unit, a software upgrade unit, and an information update unit;

[0068] The information acquisition and processing unit 1 is used to obtain the hardware configuration information and the current software version information of the device to be upgraded, and determine the target software category and the current software version level of the device to be upgraded according to the current software version information.

[0069] The target software version matching unit 2 is used to, based on the target software category, the current software version level, and the hardware configuration information, adopt a preset matching algorithm to match an adapted target software version from a pre-constructed software version database. The matching algorithm is designed to perform matching processing in sequence according to the hardware and software compatibility standard, the software version level standard, and the software stability level standard.

[0070] The software upgrade unit 3 is used to send the software upgrade package of the target software version to the device to be upgraded, and control the device to be upgraded to perform a software upgrade operation based on the software upgrade package.

[0071] The information update unit 4 is used to obtain the upgrade result information of the device to be upgraded, and update the current software version information according to the upgrade result information.

[0072] The system further includes a simulation unit, which is configured to build a simulation model on the device to be upgraded based on the hardware configuration information; import the software upgrade package into the simulation model for simulation operation and output simulation results; and based on the simulation results, control the device to be upgraded to perform a software upgrade operation based on the software upgrade package.

[0073] The system further includes a stability level evaluation unit and a communication unit;

[0074] The stability level evaluation unit is configured to obtain the software operation data of each device to be upgraded to generate a software operation log, and evaluate each software according to the software operation log to generate the software stability level;

[0075] The communication unit is configured to send the software operation log and the software stability level to device operation and maintenance personnel, device manufacturers, software development engineers, and the cloud.

[0076] The target software version matching unit is further configured to, based on the target software category and the current software version level, select a first list of adapted software versions higher than the current software version level from the software version database; obtain the adapted hardware information of the software versions in the first list of adapted software versions from the software version database; use a regular expression matching algorithm to perform software and hardware compatibility matching between the hardware configuration information and each piece of adapted hardware information to obtain a compatibility evaluation result; according to the compatibility evaluation result, select a second list of adapted software versions from the first list of adapted software versions whose compatibility evaluation result is greater than or equal to a preset compatibility threshold; and select the software version with the highest version level and / or the highest stability level from the second list of adapted software versions as the target software version.

[0077] The system further includes an upgrade result information analysis unit;

[0078] The upgrade result information analysis unit is configured to, if the upgrade result information indicates a failed upgrade, generate an upgrade failure work order and send the upgrade failure work order to the device operation and maintenance personnel; calculate the upgrade success rate according to the upgrade result information, and if the upgrade success rate does not reach a preset threshold, optimize the matching algorithm.

[0079] For the specific limitations of an upgrade management system for device software, reference can be made to the above limitations of an upgrade management method for device software, which will not be elaborated here. Those of ordinary skill in the art can realize that, for each module and step described in combination with the disclosed embodiments of the present invention, they can be implemented by hardware, software, or a combination of both. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.

[0080] An upgrade management method and system for device software provided in this embodiment are used to solve the technical problem of how to improve the success rate of software upgrades. The upgrade management method for device software of this application includes: obtaining the hardware configuration information and the current software version information of the device to be upgraded, and determining the target software category and the current software version level of the device to be upgraded according to the current software version information; based on the target software category, the current software version level, and the hardware configuration information, using a preset matching algorithm to match the appropriate target software version from the pre-constructed software version database, and the matching algorithm is designed to perform matching processing in sequence according to the software and hardware compatibility standard, the software version level standard, and the software stability standard; sending the software upgrade package of the target software version to the device to be upgraded, and controlling the device to be upgraded to perform a software upgrade operation based on the software upgrade package; obtaining the upgrade result information of the device to be upgraded, and updating the current software version information according to the upgrade result information. The upgrade management method for device software provided by this application can find the most suitable upgrade version for each device in a vast software version database. During the software matching process, it matches the software compatibility, software version level, and software stability level, and matches the optimal software version to improve the success rate of the upgrade.

[0081] Each embodiment in this specification is described in a progressive manner. For the parts that are the same or similar in each embodiment, reference can be made to each other. Each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiment. It should be noted that the technical features of the above embodiments can be combined arbitrarily. For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described. However, as long as the combinations of these technical features do not conflict, they should all be considered to be within the scope described in this specification.

[0082] The above-described embodiments merely represent several preferred embodiments of the present invention. The description is relatively specific and detailed, but it should not be construed as a limitation on the scope of the invention patent. It should be noted that for those of ordinary skill in the art, without departing from the technical principles of the present invention, several improvements and substitutions can be made, and these improvements and substitutions should also be regarded as within the protection scope of the present invention. Therefore, the protection scope of the present invention patent shall be subject to the protection scope of the claims.

Claims

1. A method for upgrading and managing device software, characterized in that The method includes: Obtaining the hardware configuration information and the current software version information of the device to be upgraded, and determining the target software category and the current software version level of the device to be upgraded according to the current software version information; Based on the target software category, the current software version level, and the hardware configuration information, using a preset matching algorithm to match an appropriate target software version from a pre-constructed software version database, and the matching algorithm is designed to perform matching processing according to the software and hardware compatibility standard, the software version level standard, and the software stability level standard in sequence; Sending the software upgrade package of the target software version to the device to be upgraded, and controlling the device to be upgraded to perform a software upgrade operation based on the software upgrade package; Obtaining the upgrade result information of the device to be upgraded, and updating the current software version information according to the upgrade result information.

2. The method for upgrading and managing device software according to claim 1, characterized in that, Before controlling the device to be upgraded to perform a software upgrade operation based on the software upgrade package, the method further includes; Building a simulation model on the device to be upgraded based on the hardware configuration information; Importing the software upgrade package into the simulation model for simulation operation and outputting a simulation result; Based on the simulation result, controlling the device to be upgraded to perform a software upgrade operation based on the software upgrade package.

3. The method for upgrading and managing device software according to claim 1, characterized in that, After updating the current software version information, the method further includes: Obtaining the software operation data of each device to be upgraded to generate a software operation log, and evaluating each software according to the software operation log to generate the software stability level; Sending the software operation log and the software stability level to the device operation and maintenance personnel, the device manufacturer, the software development engineer, and the cloud.

4. The method for upgrading and managing device software according to claim 1, wherein The step of using a preset matching algorithm to match an appropriate target software version from a pre-constructed software version database based on the target software category, the current software version level, and the hardware configuration information includes: Based on the target software category and the current software version level, selecting a first list of adapted software versions higher than the current software version level from the software version database; Obtaining the adapted hardware information of the software versions in the first list of adapted software versions from the software version database; Using a regular expression matching algorithm to perform software and hardware compatibility matching between the hardware configuration information and each piece of adapted hardware information to obtain a compatibility evaluation result; According to the compatibility evaluation result, selecting a second list of adapted software versions from the first list of adapted software versions whose compatibility evaluation result is greater than or equal to a preset compatibility threshold; Selecting the software version with the highest version level and / or the highest stability level from the second list of adapted software versions as the target software version.

5. The method for upgrading and managing device software according to claim 2, characterized in that, The method further includes: If the upgrade result information indicates a failed upgrade, generating an upgrade trouble ticket and sending the upgrade trouble ticket to the device operation and maintenance personnel; Calculating the upgrade success rate according to the upgrade result information, and if the upgrade success rate does not reach a preset threshold, optimizing the matching algorithm.

6. An upgrade management system for device software, which implements the upgrade management method for device software described in any one of claims 1-5, characterized in that, The system includes: an information collection and processing unit, a target software version matching unit, a software upgrade unit, and an information update unit; The information collection and processing unit is configured to obtain the hardware configuration information and the current software version information of the device to be upgraded, and determine the target software category and the current software version level of the device to be upgraded according to the current software version information; The target software version matching unit is configured to, based on the target software category, the current software version level, and the hardware configuration information, use a preset matching algorithm to match an adapted target software version from a pre-constructed software version database. The matching algorithm is designed to perform matching processing in sequence according to the software and hardware compatibility standard, the software version level standard, and the software stability level standard; The software upgrade unit is configured to send the software upgrade package of the target software version to the device to be upgraded, and control the device to be upgraded to perform a software upgrade operation based on the software upgrade package; The information update unit is configured to obtain the upgrade result information of the device to be upgraded, and update the current software version information according to the upgrade result information.

7. The upgrade management system for device software as claimed in claim 6, characterized in that, The system further includes a simulation unit; The simulation unit is configured to build a simulation model on the device to be upgraded based on the hardware configuration information; Import the software upgrade package into the simulation model for simulation operation and output a simulation result; Based on the simulation result, control the device to be upgraded to perform a software upgrade operation based on the software upgrade package.

8. The upgrade management system of the device software as shown in claim 6, characterized in that, The system further includes a stability level evaluation unit and a communication unit; The stability level evaluation unit is configured to obtain the software operation data of each device to be upgraded to generate a software operation log, and evaluate each software according to the software operation log to generate the software stability level; The communication unit is configured to send the software operation log and the software stability level to device operation and maintenance personnel, device manufacturers, software development engineers, and the cloud.

9. The upgrade management system of the device software as shown in claim 6, characterized in that, The target software version matching unit is further configured to, based on the target software category and the current software version level, select a first list of adapted software versions higher than the current software version level from the software version database; obtain the adapted hardware information of the software versions in the first list of adapted software versions from the software version database; use a regular expression matching algorithm to perform software and hardware compatibility matching between the hardware configuration information and each piece of adapted hardware information to obtain a compatibility evaluation result; According to the compatibility evaluation result, select a second list of adapted software versions from the first list of adapted software versions, where the compatibility evaluation result is greater than or equal to a preset compatibility threshold; select the software version with the highest version level and / or the highest stability level from the second list of adapted software versions as the target software version.

10. The upgrade management system for device software as shown in claim 6, characterized in that, The system further includes an upgrade result information analysis unit; The upgrade result information analysis unit is configured to generate an upgrade failure work order and send the upgrade failure work order to the device operation and maintenance personnel if the upgrade result information indicates a failed upgrade; calculate the upgrade success rate based on the upgrade result information, and optimize the matching algorithm if the upgrade success rate does not reach a preset threshold.