CN114721684B - Firmware version upgrading method, version upgrading server and management platform - Google Patents

Firmware version upgrading method, version upgrading server and management platform Download PDF

Info

Publication number
CN114721684B
CN114721684B CN202210380865.XA CN202210380865A CN114721684B CN 114721684 B CN114721684 B CN 114721684B CN 202210380865 A CN202210380865 A CN 202210380865A CN 114721684 B CN114721684 B CN 114721684B
Authority
CN
China
Prior art keywords
upgrade
internet
upgrading
strategy
version
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210380865.XA
Other languages
Chinese (zh)
Other versions
CN114721684A (en
Inventor
王陈昌
蒋维
孙玉刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
China Unicom Internet of Things Corp Ltd
Original Assignee
China United Network Communications Group Co Ltd
China Unicom Internet of Things Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd, China Unicom Internet of Things Corp Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202210380865.XA priority Critical patent/CN114721684B/en
Publication of CN114721684A publication Critical patent/CN114721684A/en
Application granted granted Critical
Publication of CN114721684B publication Critical patent/CN114721684B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

According to the firmware version upgrading method, the version upgrading server and the management platform, the management platform creates at least one upgrading strategy of the Internet of things equipment, calculates the priority value of each upgrading strategy according to the priority value of the upgrading condition in each upgrading strategy, determines the strategy information of the Internet of things equipment according to the priority value of each upgrading strategy, and sends the strategy information to the version upgrading server for storage. The version upgrading server receives a version upgrading request sent by the target internet of things device, then queries a downloading address of firmware to be upgraded of the target internet of things device in the stored strategy information according to the identification of the target internet of things device in the request, and sends the downloading address to the target internet of things device. Namely, the corresponding firmware information downloading address to be upgraded can be obtained through one-time inquiry, and the corresponding downloading address can be returned relatively quickly, so that the version upgrading efficiency is improved.

Description

Firmware version upgrading method, version upgrading server and management platform
Technical Field
The present application relates to the field of communications technologies, and in particular, to a firmware version upgrade method, a version upgrade server and a management platform.
Background
The firmware upgrading of the Internet of things equipment is an important component of the Internet of things communication service, and when the Internet of things equipment has a new function or a bug which needs to be repaired, the Internet of things equipment can be rapidly subjected to firmware upgrading through the firmware upgrading service, and the firmware is an equipment 'driver' installed in the Internet of things equipment.
In the prior art, when a version upgrade server receives a version upgrade request of an internet of things device, hierarchical logic judgment needs to be performed on information in the version upgrade request according to a stored upgrade policy corresponding to the internet of things device, for example, the upgrade policy includes three upgrade conditions of an area, a manufacturer and a model, the three upgrade conditions correspond to three hierarchies, and an order is arranged between the hierarchies, for example, the order is as follows: model, manufacturer and region are judged layer by layer according to the hierarchical order in the judging process. For example, the "model" in the version upgrading request is matched with the "model" in the upgrading strategy, and when the "model" in the version upgrading request is successfully matched with the "model" in the upgrading strategy, the version upgrading server returns a downloading address of the firmware to be upgraded of the internet of things equipment for upgrading the "model" to the internet of things equipment, so that the internet of things equipment downloads firmware information according to the downloading address and carries out version upgrading. Or when the matching of the model in the version upgrading request and the model in the upgrading strategy fails, matching the manufacturer in the version upgrading request with the manufacturer in the upgrading strategy, and when the matching is successful, returning a download address of firmware to be upgraded for upgrading the Internet of things equipment of the manufacturer to the Internet of things equipment, and when the matching is unsuccessful, judging layer by layer in sequence.
The firmware version upgrading method generally needs to carry out logic judgment for 3-5 times, so that the version upgrading server cannot return to the corresponding downloading address faster, and the version upgrading efficiency is low.
Disclosure of Invention
The application provides a firmware version upgrading method, a version upgrading server and a management platform, which are used for solving the problem that the version upgrading efficiency is low because the version upgrading server cannot return to a corresponding download address quickly due to complex logic judgment in the existing firmware version upgrading method.
In a first aspect, the present application provides a firmware version upgrade method, applied to a version upgrade server, including:
receiving policy information of each Internet of things device sent by a management platform, and storing the policy information, wherein the policy information comprises an identifier of the Internet of things device and a download address of firmware to be upgraded;
Receiving a version upgrading request sent by target internet of things equipment, wherein the version upgrading request comprises an identifier of the target internet of things equipment;
Inquiring a download address of firmware to be upgraded of the target internet of things device in the stored strategy information according to the identification of the target internet of things device;
And sending the download address of the firmware to be upgraded of the target Internet of things equipment to the target Internet of things equipment.
Optionally, the receiving the policy information of each internet of things device sent by the management platform and storing the policy information includes:
Receiving a csv file uploaded by the management platform, wherein the file comprises policy information of each Internet of things device;
acquiring a loading instruction sent by the management platform;
And loading the csv file into a memory for storage according to the loading command.
In a second aspect, the present application provides a firmware version upgrade method, applied to a management platform, including:
Creating at least one upgrading strategy of the Internet of things equipment, wherein the upgrading strategy comprises at least one upgrading condition input by an administrator, and each upgrading condition corresponds to a priority value;
calculating the priority value of each upgrade strategy according to the priority value of the upgrade condition in each upgrade strategy;
Determining policy information of the Internet of things equipment according to the priority value of each upgrading policy;
and sending the strategy information to a version upgrading server, wherein the strategy information comprises the identification of the Internet of things equipment and the downloading address of the firmware to be upgraded.
Optionally, the calculating the priority value of each upgrade policy according to the predetermined priority value of the upgrade condition in each upgrade policy includes:
Accumulating the priority values of the upgrading conditions in the upgrading strategy to obtain the priority values of the upgrading strategy, wherein the upgrading conditions comprise at least one of the following: area, vendor, model, version, and device identification.
Optionally, the determining the policy information of the internet of things device according to the priority of each upgrade policy includes:
determining an upgrade strategy with the highest priority value in the plurality of upgrade strategies as a target upgrade strategy;
Assembling a downloading address of the firmware to be upgraded corresponding to an upgrading condition with the highest priority value in a target upgrading strategy with an identifier of the internet of things equipment to form key value type data, wherein the identifier is used as a key, and the value is the downloading address of the firmware to be upgraded;
and taking the data of the key value type as the strategy information of the Internet of things equipment.
Optionally, the sending the policy information to a version upgrade server includes:
Writing the strategy information into a csv file;
Uploading the csv file to the version upgrading server in a File Transfer Protocol (FTP) mode;
And sending a loading instruction to the version upgrading server, wherein the loading instruction is used for remotely controlling the version upgrading server to store the csv file into a memory.
In a third aspect, the present application provides a version upgrade server, comprising:
The processing module is used for receiving the strategy information of each Internet of things device sent by the management platform and storing the strategy information, wherein the strategy information comprises the identification of the Internet of things device and the download address of the firmware to be upgraded;
the system comprises a receiving module, a receiving module and a processing module, wherein the receiving module is used for receiving a version upgrading request sent by target internet of things equipment, and the version upgrading request comprises an identifier of the target internet of things equipment;
the inquiry module is used for inquiring the downloading address of the firmware to be upgraded of the target internet of things equipment in the stored strategy information according to the identification of the target internet of things equipment;
And the sending module is used for sending the download address of the firmware to be upgraded of the target internet of things equipment to the target internet of things equipment.
In a fourth aspect, the present application provides a management platform, comprising:
The system comprises a creation module, a processing module and a processing module, wherein the creation module is used for creating at least one upgrading strategy of a plurality of internet of things devices, the upgrading strategy comprises at least one upgrading condition, and each upgrading condition corresponds to one priority value;
The computing module is used for computing the priority of each upgrade strategy according to the priority of the upgrade condition in each upgrade strategy;
the determining module is used for determining the strategy information of each piece of Internet of things equipment according to the priority of the upgrading strategy of each piece of Internet of things equipment;
The sending module is used for sending the strategy information to the version upgrading server, wherein the strategy information comprises an identifier of the Internet of things equipment and a downloading address of firmware to be upgraded.
In a fifth aspect, the present application provides a version upgrade server, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored in the memory to implement the method as described in the first aspect.
In a sixth aspect, the present application provides a management platform, including: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
The processor executes computer-executable instructions stored by the memory to implement the method as described in the second aspect.
In a seventh aspect, the present application provides a computer readable storage medium having stored therein computer executable instructions which when executed by a processor are adapted to implement a firmware version upgrade method according to the first or second aspects.
In an eighth aspect, the present application provides a computer program product comprising a computer program which, when executed by a processor, implements the method of the first or second aspect.
According to the firmware version upgrading method, the version upgrading server and the management platform, the management platform creates at least one upgrading strategy of the Internet of things equipment, calculates the priority value of each upgrading strategy according to the priority value of the upgrading condition in each upgrading strategy, determines the strategy information of the Internet of things equipment according to the priority value of each upgrading strategy, and sends the strategy information to the version upgrading server for storage. The version upgrading server receives a version upgrading request sent by the target internet of things device, then queries a downloading address of firmware to be upgraded of the target internet of things device in the stored strategy information according to the identification of the target internet of things device in the request, and sends the downloading address to the target internet of things device. Namely, the corresponding download address of the firmware to be upgraded can be obtained through one-time inquiry, and the corresponding download address can be returned relatively quickly, so that the version upgrading efficiency is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
FIG. 1 is an application scenario to which the present application is applicable;
fig. 2 is a flowchart of a firmware version upgrade method according to a first embodiment of the present application;
Fig. 3 is a flowchart of a firmware version upgrade method according to a second embodiment of the present application;
fig. 4 is a signaling flow chart of a firmware version upgrading method according to a third embodiment of the present application;
fig. 5 is a schematic structural diagram of a version upgrade server according to a fourth embodiment of the present application;
fig. 6 is a schematic structural diagram of a management platform according to a fifth embodiment of the present application;
fig. 7 is a schematic structural diagram of a version upgrade server according to a sixth embodiment of the present invention;
fig. 8 is a schematic structural diagram of a management platform according to a seventh embodiment of the present invention.
Specific embodiments of the present application have been shown by way of the above drawings and will be described in more detail below. The drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but rather to illustrate the inventive concepts to those skilled in the art by reference to the specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
In the prior art, when a version upgrade server receives a version upgrade request of an internet of things device, hierarchical logic judgment needs to be performed on information in the version upgrade request according to a stored upgrade policy corresponding to the internet of things device, for example, the upgrade policy includes three upgrade conditions of an area, a manufacturer and a model, the three upgrade conditions correspond to three hierarchies, and an order is arranged between the hierarchies, for example, the order is as follows: model, manufacturer and region are judged layer by layer according to the hierarchical order in the judging process. For example, the "model" in the version upgrading request is matched with the "model" in the upgrading strategy, and when the "model" in the version upgrading request is successfully matched with the "model" in the upgrading strategy, the version upgrading server returns a downloading address of the firmware to be upgraded of the internet of things equipment for upgrading the "model" to the internet of things equipment, so that the internet of things equipment downloads corresponding firmware information according to the downloading address to conduct version upgrading. Or when the matching of the model in the version upgrading request and the model in the upgrading strategy fails, matching the manufacturer in the version upgrading request with the manufacturer in the upgrading strategy, and when the matching is successful, returning a download address of firmware to be upgraded for upgrading the Internet of things equipment of the manufacturer to the Internet of things equipment, and when the matching is unsuccessful, judging layer by layer in sequence.
When the internet of things device corresponds to a plurality of upgrading strategies, the version upgrading server determines the first matched upgrading strategy according to a preset service requirement, wherein the service requirement is a range related to firmware version upgrading, for example, the firmware version of the internet of things device in one area is upgraded, or the firmware version of the internet of things device in one model is upgraded, and the like.
The firmware version upgrading method generally needs to carry out logic judgment for 3-5 times, so that the version upgrading server cannot return to the corresponding downloading address faster, and the version upgrading efficiency is low.
Therefore, the application provides a firmware version upgrading method, which is characterized in that the priority of an upgrading strategy is determined, the upgrading condition with the highest priority value included in the upgrading strategy with the highest priority is used, the downloading address of the corresponding firmware to be upgraded and the identifier of the Internet of things equipment are assembled to form key value type data, and the key value type data are used as the strategy information of the Internet of things equipment. The version upgrading server can directly inquire the downloading address of the firmware to be upgraded according to the identifier of the Internet of things device in the version upgrading request initiated by the Internet of things device, and the Internet of things device can upgrade the firmware version according to the downloading address, namely, the downloading address of the corresponding firmware to be upgraded can be obtained through one-time inquiry, and the corresponding downloading address can be returned relatively quickly, so that the version upgrading efficiency is improved.
The firmware is software embedded in hardware equipment, is a 'driver' stored in the equipment, and an operating system can realize specific machine operation according to standard equipment driving through the firmware.
Referring to fig. 1, fig. 1 is an application scenario to which the present application is applicable, where a version upgrade server 101, a management platform 102, and an internet of things device 103 interact with each other through the internet, where the internet of things device 103 may be an intelligent home appliance, such as an intelligent washing machine, or an intelligent water heater, an intelligent dish washer, or other internet of things devices, which is only an example. The management platform 102 assembles policy information of the internet of things device 103 according to the priority of the upgrade policy of the internet of things device 103, and sends the policy information to the version upgrade server 101.
The internet of things device 103 performs firmware version upgrading at each preset time, a version upgrading request is sent to the version upgrading server 101, the version upgrading server 101 inquires policy information of the internet of things device 103, namely a downloading address of firmware to be upgraded, according to the version upgrading request, and returns the policy information to the internet of things device 103, so that the internet of things device 103 downloads the firmware information to be upgraded according to the policy information, and upgrading of the firmware version is achieved.
It may be understood that the number of version upgrade servers 101, management platforms 102 and internet of things devices 103 may be multiple, which are not shown in the figure.
The following describes the technical scheme of the present application and how the technical scheme of the present application solves the above technical problems in detail with specific embodiments. The following specific embodiments may exist alone or in combination with one another, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Referring to fig. 2, fig. 2 is a flowchart of a firmware version upgrade method according to an embodiment of the present application, where the method may be executed by a management platform, and the method includes the following steps.
S201, creating at least one upgrade strategy of the Internet of things equipment.
The upgrade policy includes at least one upgrade condition input by an administrator, where each upgrade condition corresponds to a priority value, and the upgrade condition is used to represent a range related to firmware version upgrade, for example, if the upgrade condition is "area", the firmware version upgrade is performed on the internet of things equipment in one area, and if the upgrade condition is "model", the firmware version upgrade is performed on the internet of things equipment in one model.
S202, calculating the priority value of each upgrade strategy according to the priority value of the upgrade condition in each upgrade strategy.
The management platform may calculate a priority value of each upgrade policy according to a priority value of an upgrade condition included in each upgrade policy, the upgrade condition including at least one of: the area, manufacturer, model, version and device identification are calculated as follows:
For example, a priority value a n of each upgrade condition is determined, where n is the number of the upgrade condition, a is a real number greater than 1, n is a real number greater than 0, and a 1+a2+…+an-1<an is satisfied, where the preset upgrade condition is: the number of the area, the manufacturer, the model, the version and the equipment identifier is sequentially 1,2, 3,4 and 5, the upgrading strategy A comprises two upgrading conditions of 'area' and 'manufacturer', a=2, if a=2, 2 1+22+…+2n-1<2n is adopted, the priority value of the upgrading condition can be determined to be 2 1 according to the number of the 'area' of the upgrading strategy A, and the priority value of the upgrading condition can be determined to be 2 2 according to the number of the 'manufacturer' of the upgrading strategy A.
After determining the priority value of each upgrade condition, the management platform accumulates the priority values of the upgrade conditions included in the upgrade policy to obtain the priority value of the upgrade policy. Taking the above example as an example, upgrade policy a has a priority value of 2 1+22.
It will be appreciated that the numbering order of the upgrade conditions may be changed according to the traffic demand, such that the priority value of the corresponding upgrade policy is also changed, and thus the priority of the upgrade policy may be changed.
S203, determining policy information of the Internet of things equipment according to the priority values of the upgrading policies.
After determining the priority value of each upgrade policy, the priority of the upgrade policy can be determined, that is, the higher the priority value is, the higher the priority is. The management platform determines the strategy information of the Internet of things equipment according to the priority value of each upgrading strategy, and the strategy information is specifically as follows:
And the management platform determines an upgrade strategy with the highest priority value in the plurality of upgrade strategies as a target upgrade strategy. And then the management platform assembles the download address of the firmware to be upgraded corresponding to the upgrading condition with the highest priority value in the target upgrading strategy with the identifier of the Internet of things equipment to form key value type data, wherein the identifier is a key, the download address of the firmware to be upgraded is a value, the identifier can be an equipment serial number, the key is used as a unique identifier, and the corresponding value can be queried through the identifier.
And the management platform takes the data of the key value type formed after assembly as the strategy information of the Internet of things equipment.
Optionally, the management platform may further assemble the download address of the firmware to be upgraded corresponding to the upgrade condition with the highest priority value in the target upgrade policy with the model of the internet of things device, or assemble the firmware with the vendor of the internet of things device, so that the model of the internet of things device or the vendor of the internet of things device may be used as a unique identifier, and the corresponding value may be queried through the unique identifier. It will be appreciated that by changing the unique identifier at assembly, the download address of the firmware to be upgraded may be queried by the model or vendor.
S204, sending the strategy information to the version upgrading server.
After determining the strategy information of each Internet of things device, the management platform sends the strategy information to the version upgrading server, wherein the strategy information comprises the identification of the Internet of things device and the downloading address of the firmware to be upgraded, and the strategy information is used for inquiring the downloading address of the corresponding firmware to be upgraded according to the identification of the Internet of things device when the version upgrading server receives the version upgrading request sent by the Internet of things device.
Optionally, when the data size is relatively large, in order to improve the performance of data synchronization, the management platform may upload policy information in an asynchronous loading manner, that is, the management platform may write policy information into a csv (common-SEPARATED VALUES, abbreviated as csv) file, then upload the csv file to the version upgrade server in an FTP (FILE TRANSFER Protocol, abbreviated as FTP) manner, and the management platform sends a loading command to the version upgrade server, where the loading command is used to remotely control the version upgrade server to store the csv file in the memory.
In this embodiment, the management platform creates at least one upgrade policy of the internet of things device, calculates the priority value of each upgrade policy according to the priority value of the upgrade condition in each upgrade policy, determines policy information of the internet of things device according to the priority value of each upgrade policy, and sends the policy information to the version upgrade server, so that the version upgrade server can directly query a download address of a corresponding firmware to be upgraded according to a device serial number in a version upgrade request initiated by the internet of things device, the internet of things device can perform firmware version upgrade according to the download address, that is, the download address of the corresponding firmware to be upgraded can be obtained through one query, and the corresponding download address can be returned relatively quickly, so that the version upgrade efficiency is improved.
The version upgrading process of the internet of things device is described in the following through the second embodiment.
Referring to fig. 3, fig. 3 is a flowchart of a firmware version upgrade method according to a second embodiment of the present application, where the method may be executed by a version upgrade server, and the method includes the following steps.
S301, receiving policy information of each Internet of things device sent by a management platform and storing the policy information.
The version upgrading server can receive the strategy information of each piece of internet of things equipment sent by the management platform, the strategy information comprises the identification of the piece of internet of things equipment and the download address of the firmware to be upgraded, and then the strategy information of each piece of internet of things equipment is stored.
Optionally, when the policy information data volume uploaded by the management platform is larger, the version upgrading server may receive the csv file uploaded by the management platform, where the csv file includes policy information of each internet of things device, and then the version upgrading server obtains a loading command sent by the management platform, and loads the csv file into the memory for storage according to the loading command csv file, so that the performance of data synchronization is improved.
S302, receiving a version upgrading request sent by target Internet of things equipment.
Optionally, the version upgrade server may receive a version upgrade request sent by the target internet of things device at intervals of a preset time, where the version upgrade request includes an identifier of the target internet of things device, and the preset time may be, for example, one month, two months, or the like.
S303, inquiring the downloading address of the firmware to be upgraded of the target Internet of things device in the stored strategy information according to the identification of the target Internet of things device.
After receiving the version upgrading request, the version upgrading server can query the downloading address of the firmware to be upgraded of the target internet of things device in the stored strategy information according to the identification of the target internet of things device in the version upgrading request.
S304, the download address of the firmware to be upgraded of the target Internet of things equipment is sent to the target Internet of things equipment.
The version upgrading server inquires and obtains a downloading address of firmware to be upgraded of the target internet of things device in the stored strategy information, and then sends the downloading address to the target internet of things device, so that the target internet of things device can download the firmware information to be upgraded according to the downloading address to achieve firmware version upgrading.
In this embodiment, the version upgrade server receives policy information of each internet of things device sent by the management platform, and stores the policy information. And then after receiving a version upgrading request sent by the target Internet of things device, inquiring a corresponding downloading address of the firmware to be upgraded in stored strategy information according to the identification of the target Internet of things device in the request, and sending the downloading address to the target Internet of things device, wherein the corresponding downloading address of the firmware to be upgraded can be obtained through one inquiry, and the corresponding downloading address can be returned relatively quickly, so that the target Internet of things device can download the firmware information to be upgraded according to the downloading address, thereby realizing firmware version upgrading and improving version upgrading efficiency.
The generation and use of policy information of the internet of things device are described through the first embodiment and the second embodiment, and the interaction of each device is described through the third embodiment.
Referring to fig. 4, fig. 4 is a signaling flow chart of a firmware version upgrading method according to a third embodiment of the present application, and the present embodiment describes in detail an interaction process between devices on the basis of the first embodiment and the second embodiment, and the method according to the present application includes the following steps.
S401, the management platform sends policy information of each Internet of things device to the version upgrading server.
The policy information includes an identifier of the internet of things device and a download address of firmware to be upgraded, and the generation of the policy information may refer to embodiment one.
S402, the version upgrading server stores policy information of each Internet of things device.
S403, the Internet of things device sends a version upgrading request to the version upgrading server.
The version upgrade request includes an identifier of the internet of things device.
S404, the version upgrading server queries and obtains the downloading address of the firmware to be upgraded of the Internet of things equipment in the stored strategy information according to the version upgrading request.
S405, the version upgrading server sends the downloading address of the firmware to be upgraded to the Internet of things equipment.
S406, the Internet of things equipment downloads the firmware information to be upgraded according to the download address of the firmware to be upgraded, and performs firmware version upgrade.
The flow of this embodiment may be used to execute a firmware version upgrade method in the first embodiment or the second embodiment, and the specific implementation manner and technical effects are similar, and are not repeated here
Referring to fig. 5, fig. 5 is a schematic structural diagram of a version upgrade server according to a fourth embodiment of the present application. As shown in fig. 5, the server 50 includes: a processing module 501, a receiving module 502, a querying module 503 and a sending module 504.
The processing module 501 is configured to receive policy information of each internet of things device sent by the management platform, and store the policy information, where the policy information includes an identifier of the internet of things device and a download address of firmware to be upgraded.
The receiving module 502 is configured to receive a version upgrade request sent by a target internet of things device, where the version upgrade request includes an identifier of the target internet of things device.
And the query module 503 is configured to query the stored policy information for a download address of firmware to be upgraded of the target internet of things device according to the identifier of the target internet of things device.
The sending module 504 is configured to send a download address of the firmware to be upgraded of the target internet of things device to the target internet of things device.
Optionally, the processing module 501 is specifically configured to:
And receiving a csv file uploaded by the management platform, wherein the file comprises policy information of each Internet of things device.
And acquiring a loading instruction sent by the management platform.
And loading the csv file into the memory for storage according to the loading command.
The server of the present embodiment may be used to execute a firmware version upgrading method step of the second embodiment, and the specific implementation manner and technical effects are similar, and are not described herein again.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a management platform according to a fifth embodiment of the present application. As shown in fig. 6, the management platform 60 includes: a creation module 601, a calculation module 602, a determination module 603 and a transmission module 604.
The creating module 601 is configured to create at least one upgrade policy of the internet of things device, where the upgrade policy includes at least one upgrade condition input by an administrator, and each upgrade condition corresponds to a priority value.
A calculating module 602, configured to calculate a priority value of each upgrade policy according to the priority value of the upgrade condition in each upgrade policy.
The determining module 603 is configured to determine policy information of the internet of things device according to the priority value of each upgrade policy.
And the sending module 604 is configured to send policy information to the version upgrade server, where the policy information includes an identifier of the internet of things device and a download address of firmware to be upgraded.
Optionally, the computing module 602 is specifically configured to:
accumulating the priority values of the upgrading conditions in the upgrading strategy to obtain the priority values of the upgrading strategy, wherein the upgrading conditions comprise at least one of the following: area, vendor, model, version, and device identification.
Optionally, the determining module 603 is specifically configured to:
and determining an upgrade strategy with the highest priority value in the plurality of upgrade strategies as a target upgrade strategy.
And assembling the download address of the firmware to be upgraded corresponding to the upgrading condition with the highest priority value in the target upgrading strategy with the identifier of the Internet of things equipment to form data of a key value type, wherein the identifier is used as a key, and the value is the download address of the firmware to be upgraded.
And taking the data of the key value type as policy information of the Internet of things equipment.
Optionally, the sending module 604 is specifically configured to:
And writing strategy information into the comma separated value csv file.
And uploading the csv file to the version upgrading server in a File Transfer Protocol (FTP) mode.
And sending a loading instruction to the version upgrading server, wherein the loading instruction is used for remotely controlling the version upgrading server to store the csv file into the memory.
The management platform of the present embodiment may be used to execute the firmware version upgrading method of the first embodiment, and the specific implementation manner and technical effects are similar, and are not described herein again.
Fig. 7 is a schematic structural diagram of a version upgrade server according to a sixth embodiment of the present invention, as shown in fig. 7, the server 70 includes: the processor 701, the memory 702, the transceiver 703, the memory 702 is used for storing instructions, the transceiver 703 is used for communicating with other devices, and the processor 701 is used for executing the instructions stored in the memory, so that the server 70 executes a firmware version upgrading method step as in the second embodiment, and the specific implementation manner and technical effect are similar, and are not repeated here.
Fig. 8 is a schematic structural diagram of a management platform according to a seventh embodiment of the present invention, as shown in fig. 8, the management platform 80 includes: the processor 801, the memory 802, the transceiver 803, and the memory 802 are used for storing instructions, the transceiver 803 is used for communicating with other devices, and the processor 801 is used for executing the instructions stored in the memory, so that the management platform 80 performs a firmware version upgrade method step as in the first embodiment, and the specific implementation manner and technical effect are similar, and are not repeated herein.
An eighth embodiment of the present invention provides a computer readable storage medium, in which computer executable instructions are stored, where the computer executable instructions are used to implement steps of a firmware version upgrade method according to the first embodiment or the second embodiment when executed by a processor, and detailed implementation manner and technical effects are similar, and are not repeated herein.
An embodiment of the present invention provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of a firmware version upgrading method according to the first embodiment or the second embodiment are implemented, and specific implementation manners and technical effects are similar, and are not repeated herein.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. A firmware version upgrade method, applied to a version upgrade server, the method comprising:
Receiving policy information of each Internet of things device sent by a management platform, and storing the policy information, wherein the policy information comprises an identifier of the Internet of things device and a download address of firmware to be upgraded; the policy information is at least one upgrade policy of the management platform for creating the Internet of things equipment, wherein the upgrade policy comprises at least one upgrade condition, and each upgrade condition corresponds to one priority; calculating the priority of each upgrade strategy according to the priority of the upgrade condition in each upgrade strategy; determining according to the priority of each upgrade strategy;
Receiving a version upgrading request sent by target internet of things equipment, wherein the version upgrading request comprises an identifier of the target internet of things equipment;
Inquiring a download address of firmware to be upgraded of the target internet of things device in the stored strategy information according to the identification of the target internet of things device;
And sending the download address of the firmware to be upgraded of the target Internet of things equipment to the target Internet of things equipment.
2. The method of claim 1, wherein the receiving policy information of each internet of things device sent by the management platform and storing the policy information includes:
Receiving a csv file uploaded by the management platform, wherein the file comprises policy information of each Internet of things device;
acquiring a loading instruction sent by the management platform;
and loading the csv file into a memory for storage according to the loading instruction.
3. A firmware version upgrade method, applied to a management platform, comprising:
Creating at least one upgrading strategy of the Internet of things equipment, wherein the upgrading strategy comprises at least one upgrading condition, and each upgrading condition corresponds to one priority;
Calculating the priority of each upgrade strategy according to the priority of the upgrade condition in each upgrade strategy;
determining policy information of the Internet of things equipment according to the priority of each upgrading policy;
and sending the strategy information to a version upgrading server, wherein the strategy information comprises the identification of the Internet of things equipment and the downloading address of the firmware to be upgraded.
4. A method according to claim 3, wherein said calculating a priority value for each upgrade policy based on a predetermined priority value for upgrade conditions in each upgrade policy comprises:
Accumulating the priority values of the upgrading conditions in the upgrading strategy to obtain the priority values of the upgrading strategy, wherein the upgrading conditions comprise at least one of the following: area, vendor, model, version, and device identification.
5. The method of claim 4, wherein determining policy information for the internet of things device according to the priority of each upgrade policy comprises:
determining an upgrade strategy with the highest priority value in the plurality of upgrade strategies as a target upgrade strategy;
Assembling a downloading address of the firmware to be upgraded corresponding to an upgrading condition with the highest priority value in a target upgrading strategy with an identifier of the internet of things equipment to form key value type data, wherein the identifier is used as a key, and the value is the downloading address of the firmware to be upgraded;
and taking the data of the key value type as the strategy information of the Internet of things equipment.
6. The method of claim 5, wherein the sending the policy information to a version-up server comprises:
Writing the strategy information into comma separated value csv file;
Uploading the csv file to the version upgrading server in a File Transfer Protocol (FTP) mode;
And sending a loading instruction to the version upgrading server, wherein the loading instruction is used for remotely controlling the version upgrading server to store the csv file into a memory.
7. A version upgrade server, comprising:
The processing module is used for receiving the strategy information of each Internet of things device sent by the management platform and storing the strategy information, wherein the strategy information comprises the identification of the Internet of things device and the download address of the firmware to be upgraded; the policy information is at least one upgrade policy of the management platform for creating the Internet of things equipment, wherein the upgrade policy comprises at least one upgrade condition, and each upgrade condition corresponds to one priority; calculating the priority of each upgrade strategy according to the priority of the upgrade condition in each upgrade strategy; determining according to the priority of each upgrade strategy;
the system comprises a receiving module, a receiving module and a processing module, wherein the receiving module is used for receiving a version upgrading request sent by target internet of things equipment, and the version upgrading request comprises an identifier of the target internet of things equipment;
the inquiry module is used for inquiring the downloading address of the firmware to be upgraded of the target internet of things equipment in the stored strategy information according to the identification of the target internet of things equipment;
And the sending module is used for sending the download address of the firmware to be upgraded of the target internet of things equipment to the target internet of things equipment.
8. A management platform, comprising:
The system comprises a creation module, a processing module and a processing module, wherein the creation module is used for creating at least one upgrading strategy of a plurality of internet of things devices, the upgrading strategy comprises at least one upgrading condition, and each upgrading condition corresponds to one priority value;
The computing module is used for computing the priority of each upgrade strategy according to the priority of the upgrade condition in each upgrade strategy;
the determining module is used for determining the strategy information of each piece of Internet of things equipment according to the priority of the upgrading strategy of each piece of Internet of things equipment;
The sending module is used for sending the strategy information to the version upgrading server, wherein the strategy information comprises an identifier of the Internet of things equipment and a downloading address of firmware to be upgraded.
9. A version upgrade server, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
The processor executes computer-executable instructions stored in the memory to implement the method of claim 1 or 2.
10. A management platform, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
The processor executes computer-executable instructions stored in the memory to implement the method of any one of claims 3-6.
CN202210380865.XA 2022-04-12 2022-04-12 Firmware version upgrading method, version upgrading server and management platform Active CN114721684B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210380865.XA CN114721684B (en) 2022-04-12 2022-04-12 Firmware version upgrading method, version upgrading server and management platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210380865.XA CN114721684B (en) 2022-04-12 2022-04-12 Firmware version upgrading method, version upgrading server and management platform

Publications (2)

Publication Number Publication Date
CN114721684A CN114721684A (en) 2022-07-08
CN114721684B true CN114721684B (en) 2024-05-14

Family

ID=82243811

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210380865.XA Active CN114721684B (en) 2022-04-12 2022-04-12 Firmware version upgrading method, version upgrading server and management platform

Country Status (1)

Country Link
CN (1) CN114721684B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115297159A (en) * 2022-08-02 2022-11-04 上海移柯通信技术股份有限公司 Information processing method and device, computer readable storage medium and electronic equipment
CN116627474B (en) * 2023-07-21 2023-10-13 杭州海康威视数字技术股份有限公司 Intelligent equipment intelligent safety management method, device and equipment based on reinforcement learning

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1658574A (en) * 2005-03-23 2005-08-24 港湾网络有限公司 Automatic update method and system for network equipment
CN101179425A (en) * 2006-12-11 2008-05-14 腾讯科技(深圳)有限公司 Client terminal software updating control method and system
CN101472050A (en) * 2007-12-27 2009-07-01 Tcl集团股份有限公司 Method and system for updating software, digital television receive terminal and server
CN107589952A (en) * 2016-07-06 2018-01-16 中兴通讯股份有限公司 Intelligent upgrade method, device and system
CN112394966A (en) * 2019-08-19 2021-02-23 云丁网络技术(北京)有限公司 Equipment upgrading method and device, computer readable medium and equipment
CN113342371A (en) * 2021-05-31 2021-09-03 招商蛇口数字城市科技有限公司 Internet of things equipment upgrading system
CN113865024A (en) * 2021-09-27 2021-12-31 青岛海信日立空调系统有限公司 Remote upgrading system for central air conditioner

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7320010B2 (en) * 2002-11-18 2008-01-15 Innopath Software, Inc. Controlling updates of electronic files

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1658574A (en) * 2005-03-23 2005-08-24 港湾网络有限公司 Automatic update method and system for network equipment
CN101179425A (en) * 2006-12-11 2008-05-14 腾讯科技(深圳)有限公司 Client terminal software updating control method and system
CN101472050A (en) * 2007-12-27 2009-07-01 Tcl集团股份有限公司 Method and system for updating software, digital television receive terminal and server
CN107589952A (en) * 2016-07-06 2018-01-16 中兴通讯股份有限公司 Intelligent upgrade method, device and system
CN112394966A (en) * 2019-08-19 2021-02-23 云丁网络技术(北京)有限公司 Equipment upgrading method and device, computer readable medium and equipment
CN113342371A (en) * 2021-05-31 2021-09-03 招商蛇口数字城市科技有限公司 Internet of things equipment upgrading system
CN113865024A (en) * 2021-09-27 2021-12-31 青岛海信日立空调系统有限公司 Remote upgrading system for central air conditioner

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
总线OTA技术在多联式空调(热泵)机组中的应用;高岭等;《制冷与空调》;20210714;第21卷(第09期);10-14+45 *

Also Published As

Publication number Publication date
CN114721684A (en) 2022-07-08

Similar Documents

Publication Publication Date Title
CN114721684B (en) Firmware version upgrading method, version upgrading server and management platform
CN106897086B (en) Method, device and system for upgrading robot operating system
CN113010217B (en) BIOS parameter setting method and device, electronic equipment and storage medium
CN112673350B (en) Method and apparatus for enabling coordinated execution of actions in a distributed computing system having non-trusted entities
US20210119858A1 (en) Network node firmware update
CN101958799A (en) Method, device and system for updating terminal
CN108762792A (en) Upgrading network equipment method, upgrade server, terminal device and storage medium
US20220269494A1 (en) Provisioning bare metal machines with a complex software product
CN110333876A (en) A kind of data clearing method and control equipment
CN114244890B (en) RPA server cluster control method and system
CN113778739B (en) System repair method, system, equipment and storage medium of all-in-one machine
CN110750327A (en) Virtual network function management method and system, agent device, and storage medium
CN113760353B (en) Block chain intelligent contract version control method and block chain system
US20060111084A1 (en) System and method for over-the-air update of wireless communication devices
CN111885564A (en) Data transmission method, equipment upgrading method and computer readable storage medium
CN115633029A (en) Task deployment method, system, equipment and storage medium of edge server
CN105163303A (en) Sim card application management method and user terminal
CN114546842A (en) Interface test method and device, storage medium and electronic equipment
CN114706594A (en) Bulk Molding Compound (BMC) software batch installation method, device, equipment and readable storage medium
CN114115953A (en) Firmware upgrading method, device, system, equipment and storage medium
CN113242323B (en) Method, storage medium, and system for automatically installing system for physical server
KR102000984B1 (en) Automatic operating system providing automatic producing function to a plurality of server
CN115185553A (en) Method for updating device firmware of user and related device
CN112732296B (en) Software version updating method and device, storage medium and electronic equipment
CN106143353B (en) A kind of vehicle-mounted electronic control unit module method for refreshing and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant