Software online upgrading method and device of intelligent equipment, equipment, medium and product
By storing the software upgrades and upgrade control strategies corresponding to the smart device category in the Internet of Things cloud platform to store the cache area of the data collection gateway, it has realized the online upgrade of efficient, intelligent, and orderly intelligent equipment software. Software upgrade management difficulties.
Patent Information
- Application Number
- CN202411448359.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-17
- Publication Date
- 2025-01-28
- Estimated Expiration
- 2044-10-17
AI Technical Summary
In the IoT cloud platform, how to efficiently, intelligently and orderly complete the online software upgrade of smart devices under the data acquisition gateway, especially when the gateway has multiple types of smart devices under the gateway.
The software upgraded packaging of the software upgrades and upgrade control strategies corresponding to the smart device category through the cloud platform stores the software upgrade package cache area from the software collection gateway. The data collection gateway upgrade online according to the cache upgrade package and strategy. The upgrade control strategy includes an upgraded package effective logo, upgrade device model information, upgrade software size, version, MD5 encoding, allowable upgrade period, etc.
The efficient, intelligent, and orderly intelligent equipment software is upgraded online, reducing the dependence on external networks, saving data flow and bandwidth, and improving the degree of upgrade efficiency and intelligence.
Smart Images

Figure CN119376763A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of smart devices, and in particular to a method, device, equipment, medium and product for online software upgrade of smart devices. Background Art
[0002] As the data source of the IoT cloud platform, the data acquisition gateway is responsible for data collection, aggregation, filtering and processing of various smart devices on site, as well as forwarding commands issued by the cloud platform and other data service functions. It is one of the important data sub-nodes of the IoT cloud platform.
[0003] In the actual application process, the data acquisition gateway is in charge of various types of intelligent devices. With the continuous deepening of the application, software defects and functional logic adjustments of the intelligent devices under the gateway often occur. How to efficiently, intelligently and orderly complete the online software upgrade of the intelligent devices under the gateway is a problem that needs to be faced and solved. Summary of the invention
[0004] The purpose of this application is to provide a method, device, equipment, medium and product for online software upgrade of smart devices, which can efficiently, intelligently and orderly complete the online software upgrade of smart devices under the control of the gateway.
[0005] To achieve the above objectives, this application provides the following solutions:
[0006] In a first aspect, the present application provides a method for online software upgrade of a smart device, comprising:
[0007] For any smart device category, the cloud platform stores the software upgrade package and upgrade control strategy corresponding to the smart device category in the software upgrade package cache area corresponding to the smart device category in the data acquisition gateway; the data acquisition gateway includes multiple software upgrade package cache areas, and the software upgrade package cache areas correspond to the smart device categories one by one; the software upgrade package corresponding to the smart device category includes the upgrade packages of each software to be upgraded in all the smart devices to be upgraded corresponding to the smart device category;
[0008] The data acquisition gateway uses the software upgrade package corresponding to the smart device category according to the upgrade control strategy corresponding to the smart device category to perform online upgrade on each software to be upgraded in all the smart devices to be upgraded corresponding to the smart device category.
[0009] Optionally, the upgrade control strategy includes: an upgrade package validity flag, upgrade device model information, upgrade software size, upgrade software version, upgrade software MD5 code, allowed upgrade period and device upgrade completion flag of each smart device to be upgraded; the upgrade device model information corresponding to the smart device category includes the models of all smart devices to be upgraded corresponding to the smart device category; the upgrade software size corresponding to the smart device category includes the bytes occupied by the upgrade package of each software to be upgraded in all smart devices to be upgraded corresponding to the smart device category; the upgrade software version corresponding to the smart device category includes the current version number of each software to be upgraded in all smart devices to be upgraded; the upgrade software MD5 code corresponding to the smart device category includes the MD5 code of each software to be upgraded in all smart devices to be upgraded.
[0010] Optionally, the data acquisition gateway uses the software upgrade package corresponding to the smart device category according to the upgrade control strategy corresponding to the smart device category to perform online upgrade of each software to be upgraded in all the smart devices to be upgraded corresponding to the smart device category, specifically including:
[0011] The data acquisition gateway determines whether the upgrade package validity flag in the upgrade control policy corresponding to the smart device category is valid;
[0012] If yes, the data collection gateway performs the upgrade steps;
[0013] If not, the data acquisition gateway sets the upgrade package validity flag in the upgrade control policy corresponding to the smart device category to valid, and then performs the upgrade step;
[0014] The upgrade steps are:
[0015] According to the upgrade software size, upgrade software version, upgrade software MD5 code, allowed upgrade period and upgrade device model information in the upgrade control policy corresponding to the smart device category, the software upgrade package corresponding to the smart device category is used to upgrade the software to be upgraded in each smart device to be upgraded corresponding to the smart device category, and the device upgrade completion flag of the smart device to be upgraded after the upgrade is completed in the upgrade control policy corresponding to the smart device category is set to completion;
[0016] When all the smart devices to be upgraded corresponding to the smart device category have completed upgrading, the upgrade package valid flag in the upgrade control policy corresponding to the smart device category is cleared.
[0017] Optionally, the data acquisition gateway includes 10 software upgrade package cache areas.
[0018] Optionally, the software upgrade package cache area includes an upgrade control information section and a software upgrade package section; the upgrade control information section is used to store the upgrade control policy; and the software upgrade package section is used to store the software upgrade package.
[0019] Optionally, according to the upgrade software size, upgrade software version, upgrade software MD5 code, allowed upgrade period and upgrade device model information in the upgrade control policy corresponding to the smart device category, the software upgrade package corresponding to the smart device category is used to upgrade each software to be upgraded in each smart device to be upgraded corresponding to the smart device category, specifically including:
[0020] If the upgrade software version in the upgrade control policy corresponding to the smart device category is not a preset version, the upgrade software MD5 code and the upgrade package of each software to be upgraded in the target device corresponding to the smart device category are sent to the target device corresponding to the smart device category according to the size of the upgrade software; the target device is the smart device to be upgraded corresponding to the upgrade device model information;
[0021] The target device corresponding to the smart device category upgrades the software to be upgraded in the target device corresponding to the smart device category using the upgrade package of each software to be upgraded in the target device corresponding to the smart device category within the allowed upgrade period in the upgrade control policy corresponding to the smart device category.
[0022] In a second aspect, the present application provides a software online upgrade device for a smart device, comprising:
[0023] A storage module is used for the cloud platform to store the software upgrade packages and upgrade control strategies corresponding to each smart device category in the software upgrade package cache area corresponding to the smart device category in the data acquisition gateway; the data acquisition gateway includes multiple software upgrade package cache areas, and the software upgrade package cache areas correspond to the smart device categories one by one; the software upgrade packages corresponding to the smart device categories include upgrade packages of each software to be upgraded in all smart devices to be upgraded corresponding to the smart device category;
[0024] The upgrade module is used for the data acquisition gateway to perform online upgrade of each software to be upgraded in all the smart devices to be upgraded corresponding to the smart device category according to the upgrade control strategy corresponding to the smart device category and using the software upgrade package corresponding to the smart device category.
[0025] In a third aspect, the present application provides a computer device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the online software upgrade method for the smart device described in any one of the above.
[0026] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for online software upgrade of any of the above-mentioned smart devices.
[0027] In a fifth aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the online software upgrade method for a smart device described in any one of the above.
[0028] According to the specific embodiments provided in this application, this application discloses the following technical effects:
[0029] The present application provides a method, apparatus, device, medium and product for online software upgrade of smart devices. The cloud platform stores the software upgrade packages and upgrade control policies corresponding to each smart device category in the software upgrade package cache area corresponding to the smart device category in the data acquisition gateway. The data acquisition gateway is then directly upgraded according to the cached software upgrade packages and upgrade control policies, thereby reducing dependence on external networks. Moreover, the cloud platform does not need to start the software to be upgraded for each smart device to be upgraded one by one, but only needs to set the software upgrade packages and upgrade control policies to the data acquisition gateway, thereby achieving efficient upgrades, and upgrading according to the upgrade control policies is more intelligent and orderly. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0031] Figure 1 A flowchart of a method for online software upgrade of a smart device provided in one embodiment of the present application;
[0032] Figure 2 A structural diagram of a data acquisition gateway provided in one embodiment of the present application;
[0033] Figure 3 A schematic diagram of the structure of a computer device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0034] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0035] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0036] In an exemplary embodiment, Figure 1 As shown, a method for online software upgrade of a smart device is provided, comprising the following steps:
[0037] Step 201, for any smart device category, the cloud platform stores the software upgrade package (i.e., the software code to be upgraded) and the upgrade control strategy corresponding to the smart device category in the data acquisition gateway. The data acquisition gateway includes multiple software upgrade package caches, and the software upgrade package caches correspond to the smart device category one by one. The software upgrade package corresponding to the smart device category includes the upgrade package of each software to be upgraded in all the smart devices to be upgraded corresponding to the smart device category. This process can adopt the breakpoint resume method, that is, to obtain the software upgrade package from the cloud platform intermittently, and then use the high reliability of the intranet to complete the upgrade in one go, reducing the requirements for network performance.
[0038] Step 202 : The data collection gateway uses the software upgrade package corresponding to the smart device category to perform online upgrade of each software to be upgraded in all the smart devices to be upgraded corresponding to the smart device category according to the upgrade control strategy corresponding to the smart device category.
[0039] In another exemplary embodiment of the present application, the upgrade control strategy includes: an upgrade package validity flag, upgrade device model information (referring to the model of the device to be upgraded, which is mainly a descriptive information, marking what kind of model is ready to be upgraded, and the device to be upgraded is found based on this during the upgrade), upgrade software size (the size of the upgrade software package, based on the size to determine how many bytes to transfer to the device to be upgraded), upgrade software version (used to check the current software version of the device to be upgraded, if it is already the latest version or the version matches, there is no need to perform the upgrade), upgrade software MD5 code (after the device to be upgraded receives the upgrade package, it calculates the MD5 code of the upgrade package, and then checks it according to the received MD5 code, and a consistent result indicates that the upgrade package is correct), allowed upgrade period (self-set, can be set to after get off work or any time period when the device is idle) and device upgrade completion flag of each smart device to be upgraded. The upgrade device model information corresponding to the smart device category includes the models of all smart devices to be upgraded corresponding to the smart device category; the upgrade software size corresponding to the smart device category includes the bytes occupied by the upgrade package of each software to be upgraded in all smart devices to be upgraded corresponding to the smart device category; the upgrade software version corresponding to the smart device category includes the current version number of each software to be upgraded in all smart devices to be upgraded; the upgrade software MD5 code corresponding to the smart device category includes the MD5 code of each software to be upgraded in all smart devices to be upgraded.
[0040] In another exemplary embodiment of the present application, the data acquisition gateway uses the software upgrade package corresponding to the smart device category according to the upgrade control strategy corresponding to the smart device category to perform online upgrade of each software to be upgraded in all smart devices to be upgraded corresponding to the smart device category, specifically including:
[0041] The data acquisition gateway determines whether the upgrade package validity flag in the upgrade control policy corresponding to the smart device category is valid.
[0042] If yes, the data acquisition gateway performs the upgrade steps.
[0043] If not, the data acquisition gateway sets the upgrade package validity flag in the upgrade control policy corresponding to the smart device category to valid, and then performs the upgrade steps.
[0044] The upgrade steps are:
[0045] According to the upgrade software size, upgrade software version, upgrade software MD5 code, allowed upgrade period and upgrade device model information in the upgrade control policy corresponding to the smart device category, the software upgrade package corresponding to the smart device category is used to upgrade each software to be upgraded in each smart device to be upgraded corresponding to the smart device category, and the device upgrade completion flag of the smart device to be upgraded after the upgrade is completed in the upgrade control policy corresponding to the smart device category is set to completion.
[0046] When all the smart devices to be upgraded corresponding to the smart device category have completed upgrading, the upgrade package valid flag in the upgrade control policy corresponding to the smart device category is cleared.
[0047] In another exemplary embodiment of the present application, the data acquisition gateway is equipped with a large-capacity storage flash memory chip, and the storage area of the storage flash memory chip is pre-divided into 10 software upgrade package cache areas.
[0048] In another exemplary embodiment of the present application, Figure 2 As shown, the software upgrade package cache area includes: an upgrade control information section and a software upgrade package section; the upgrade control information section is used to store the upgrade control policy; the software upgrade package section is used to store the software upgrade package.
[0049] In another exemplary embodiment of the present application, according to the upgrade software size, upgrade software version, upgrade software MD5 code, allowed upgrade period and upgrade device model information in the upgrade control policy corresponding to the smart device category, the software upgrade package corresponding to the smart device category is used to upgrade each software to be upgraded in each smart device to be upgraded corresponding to the smart device category, specifically including:
[0050] If the upgrade software version in the upgrade control policy corresponding to the smart device category is not the preset version, the upgrade software MD5 code and the upgrade package of each software to be upgraded in the target device corresponding to the smart device category are sent to the target device corresponding to the smart device category according to the size of the upgrade software; the target device is the smart device to be upgraded corresponding to the upgrade device model information.
[0051] The target device corresponding to the smart device category upgrades the software to be upgraded in the target device corresponding to the smart device category using the upgrade package of each software to be upgraded in the target device corresponding to the smart device category within the allowed upgrade period in the upgrade control policy corresponding to the smart device category.
[0052] The entire upgrade process provided by the embodiment of the present application is as follows: the cloud platform first downloads the software upgrade package to the software upgrade package section, downloads the upgrade control strategy to the upgrade control information section, and then sets the upgrade package valid flag to valid. After the data acquisition gateway determines that the upgrade package valid flag is valid, it upgrades the corresponding connected devices one by one according to the allowed upgrade period configuration and the upgrade device model information. After the upgrade of one device is completed, the upgrade completion flag of the corresponding device is set. After all upgrades are completed, the upgrade package valid flag is cleared to complete this round of upgrades.
[0053] This application has the following beneficial effects:
[0054] 1. The cloud platform does not need to start the upgraded software of each smart device one by one. It only needs to set the software upgrade package and upgrade control strategy to the data acquisition gateway. The data acquisition gateway can complete the online upgrade of all access devices according to the upgrade control strategy, saving time and achieving efficient upgrade. The gateway obtains and stores the upgrade package, and then upgrades the smart device online, which can realize internal one-to-many upgrade management and save data traffic and bandwidth occupancy for external communications. The stability and speed of the internal network are superior to those of the external network, which can realize cache upgrade, reduce the impact and dependence on the external network, and ensure efficient upgrade.
[0055] 2. By storing the software upgrade packages and upgrade control strategies corresponding to each smart device category in the software upgrade package cache area corresponding to the smart device category in the data acquisition gateway, subsequent upgrades can be performed directly from the cache area, saving data traffic between the data acquisition gateway and the cloud platform.
[0056] 3. Set the upgrade period to after get off work, based on the working characteristics of the device to be upgraded. For example, during working hours, the gateway downloads and prepares the upgrade package, and after get off work, the devices to be upgraded are upgraded online one by one without affecting the normal operation of the devices to be upgraded. At the same time, it can reduce the difficulty of server upgrade management, and the upgrade can be started at any convenient time. The specific upgrade is implemented by the data acquisition gateway according to the specific situation on site, ensuring intelligent upgrade.
[0057] 4. The upgrade package obtained from the server can be cached sporadically according to the network conditions. When ready, the online upgrade can be started at any time. The online upgrade can be performed when the data acquisition gateway is idle according to the upgrade control strategy, which reduces the dependence on the network. It can be upgraded first and then according to the configuration measurement to ensure orderly upgrade.
[0058] Based on the same inventive concept, the embodiment of the present application also provides a software online upgrade device for smart devices for implementing the software online upgrade method for smart devices involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of the software online upgrade device for one or more smart devices provided below can refer to the limitations of the software online upgrade method for smart devices above, and will not be repeated here.
[0059] In an exemplary embodiment, a software online upgrade device for a smart device is provided, comprising:
[0060] The storage module is used for storing, for any smart device category, the software upgrade package and upgrade control strategy corresponding to the smart device category in the data acquisition gateway in the data acquisition gateway; the data acquisition gateway includes multiple software upgrade package cache areas, and the software upgrade package cache areas correspond to the smart device categories one by one; the software upgrade package corresponding to the smart device category includes the upgrade packages of each software to be upgraded in all the smart devices to be upgraded corresponding to the smart device category.
[0061] The upgrade module is used for the data acquisition gateway to perform online upgrade of each software to be upgraded in all the smart devices to be upgraded corresponding to the smart device category according to the upgrade control strategy corresponding to the smart device category and using the software upgrade package corresponding to the smart device category.
[0062] In an exemplary embodiment, a computer device is provided. The computer device may be a server or a terminal. The internal structure diagram thereof may be as follows: Figure 3 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. 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 online software upgrade data of intelligent devices. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication 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 method for online software upgrade of an intelligent device is implemented.
[0063] Those skilled in the art will understand that Figure 3The 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. In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the above-mentioned method embodiments when executing the computer program.
[0064] In an exemplary embodiment, a computer-readable storage medium is provided, storing a computer program, and when the computer program is executed by a processor, the above-mentioned method embodiments are implemented.
[0065] In an exemplary embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the above-mentioned method embodiments are implemented.
[0066] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0067] Those of ordinary skill 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 the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM may be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0068] The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. The non-relational database may include a distributed database based on blockchain, etc., but is not limited thereto. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but is not limited thereto.
[0069] 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.
[0070] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. At the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.
Claims
1. A method for online software upgrade of a smart device, characterized in that: The software online upgrade method of the smart device includes: For any smart device category, the cloud platform stores the software upgrade package and upgrade control strategy corresponding to the smart device category in the software upgrade package cache area corresponding to the smart device category in the data acquisition gateway; the data acquisition gateway includes multiple software upgrade package cache areas, and the software upgrade package cache areas correspond to the smart device categories one by one; the software upgrade package corresponding to the smart device category includes the upgrade packages of each software to be upgraded in all the smart devices to be upgraded corresponding to the smart device category; The data acquisition gateway uses the software upgrade package corresponding to the smart device category according to the upgrade control strategy corresponding to the smart device category to perform online upgrade on each software to be upgraded in all the smart devices to be upgraded corresponding to the smart device category.
2. The method for online software upgrade of a smart device according to claim 1, characterized in that: The upgrade control strategy includes: an upgrade package validity flag, upgrade device model information, upgrade software size, upgrade software version, upgrade software MD5 code, allowed upgrade period and device upgrade completion flag of each smart device to be upgraded; the upgrade device model information corresponding to the smart device category includes the models of all smart devices to be upgraded corresponding to the smart device category; the upgrade software size corresponding to the smart device category includes the bytes occupied by the upgrade package of each software to be upgraded in all smart devices to be upgraded corresponding to the smart device category; the upgrade software version corresponding to the smart device category includes the current version number of each software to be upgraded in all smart devices to be upgraded; the upgrade software MD5 code corresponding to the smart device category includes the MD5 code of each software to be upgraded in all smart devices to be upgraded.
3. The method for online software upgrade of a smart device according to claim 2, characterized in that: The data acquisition gateway uses the software upgrade package corresponding to the smart device category according to the upgrade control strategy corresponding to the smart device category to perform online upgrade on each software to be upgraded in all the smart devices to be upgraded corresponding to the smart device category, specifically including: The data acquisition gateway determines whether the upgrade package validity flag in the upgrade control policy corresponding to the smart device category is valid; If yes, the data collection gateway performs the upgrade steps; If not, the data acquisition gateway sets the upgrade package validity flag in the upgrade control policy corresponding to the smart device category to valid, and then performs the upgrade step; The upgrade steps are: According to the upgrade software size, upgrade software version, upgrade software MD5 code, allowed upgrade period and upgrade device model information in the upgrade control policy corresponding to the smart device category, the software upgrade package corresponding to the smart device category is used to upgrade the software to be upgraded in each smart device to be upgraded corresponding to the smart device category, and the device upgrade completion flag of the smart device to be upgraded after the upgrade is completed in the upgrade control policy corresponding to the smart device category is set to completion; When all the smart devices to be upgraded corresponding to the smart device category have completed upgrading, the upgrade package valid flag in the upgrade control policy corresponding to the smart device category is cleared.
4. The method for online software upgrade of a smart device according to claim 1, characterized in that: The data acquisition gateway includes 10 software upgrade package buffers.
5. The method for online software upgrade of a smart device according to claim 1, characterized in that: The software upgrade package cache area includes an upgrade control information section and a software upgrade package section; the upgrade control information section is used to store upgrade control policies; and the software upgrade package section is used to store software upgrade packages.
6. The method for online software upgrade of a smart device according to claim 3, characterized in that: According to the upgrade software size, upgrade software version, upgrade software MD5 code, allowed upgrade period and upgrade device model information in the upgrade control policy corresponding to the smart device category, the software upgrade package corresponding to the smart device category is used to upgrade each software to be upgraded in each smart device to be upgraded corresponding to the smart device category, specifically including: If the upgrade software version in the upgrade control policy corresponding to the smart device category is not a preset version, the upgrade software MD5 code and the upgrade package of each software to be upgraded in the target device corresponding to the smart device category are sent to the target device corresponding to the smart device category according to the size of the upgrade software; the target device is the smart device to be upgraded corresponding to the upgrade device model information; The target device corresponding to the smart device category upgrades the software to be upgraded in the target device corresponding to the smart device category using the upgrade package of each software to be upgraded in the target device corresponding to the smart device category within the allowed upgrade period in the upgrade control policy corresponding to the smart device category.
7. A software online upgrade device for a smart device, characterized in that: The software online upgrade device comprises: A storage module is used for storing, for any smart device category, the software upgrade package and upgrade control strategy corresponding to the smart device category in the data acquisition gateway in the software upgrade package cache area corresponding to the smart device category; the data acquisition gateway includes multiple software upgrade package cache areas, and the software upgrade package cache areas correspond to the smart device categories one by one; the software upgrade package corresponding to the smart device category includes the upgrade package of each software to be upgraded in all the smart devices to be upgraded corresponding to the smart device category; The upgrade module is used for the data acquisition gateway to perform online upgrade of each software to be upgraded in all the smart devices to be upgraded corresponding to the smart device category according to the upgrade control strategy corresponding to the smart device category and using the software upgrade package corresponding to the smart device category.
8. A computer device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method for online software upgrade of an intelligent device according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for online software upgrade of a smart device according to any one of claims 1 to 6 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method for online software upgrade of a smart device according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Software upgrading control method and system, server and intelligent terminal equipment
CN112328274A
Internet of Things cloud platform remote terminal upgrading system and method
CN114416135A
Equipment shadow-based equipment gray scale upgrading method and device, equipment and medium
CN118337624A