CN114500482A - OTA (over the air) upgrading system, method, equipment side and server side based on manual upgrading of server side - Google Patents

OTA (over the air) upgrading system, method, equipment side and server side based on manual upgrading of server side Download PDF

Info

Publication number
CN114500482A
CN114500482A CN202210061739.8A CN202210061739A CN114500482A CN 114500482 A CN114500482 A CN 114500482A CN 202210061739 A CN202210061739 A CN 202210061739A CN 114500482 A CN114500482 A CN 114500482A
Authority
CN
China
Prior art keywords
information
server
upgrade package
equipment
upgrade
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.)
Granted
Application number
CN202210061739.8A
Other languages
Chinese (zh)
Other versions
CN114500482B (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.)
Shanghai Black Eye Intelligent Technology Co ltd
Original Assignee
Shanghai Black Eye Intelligent Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Black Eye Intelligent Technology Co ltd filed Critical Shanghai Black Eye Intelligent Technology Co ltd
Priority to CN202210061739.8A priority Critical patent/CN114500482B/en
Publication of CN114500482A publication Critical patent/CN114500482A/en
Application granted granted Critical
Publication of CN114500482B publication Critical patent/CN114500482B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality

Landscapes

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

Abstract

The invention provides an OTA upgrading system, method, equipment end and server end based on server end manual upgrading, which forcibly upgrades the equipment end in a server end manual upgrading mode without an APP end, has simple upgrading process, avoids a plurality of upgrading abnormity and other conditions, greatly reduces upgrading complexity, and can provide forcible repair for equipment with major problems.

Description

OTA (over the air) upgrading system, method, equipment side and server side based on manual upgrading of server side
Technical Field
The invention relates to the field of communication, in particular to an OTA (over the air) upgrading system, method, equipment side and server side based on server side manual upgrading.
Background
With The continuous development of Over-The-Air (OTA for short) technology, OTA upgrade has become a standard mode for upgrading an operating system of a terminal. Most OTA upgrading modes in the market adopt APP interaction modes to upgrade equipment at present, but the situation that the upgrading cannot be carried out when the APP is not available easily occurs; or for equipment which does not adopt APP, upgrading cannot be realized; there may also be situations where the user consistently rejects the necessary upgrade or a significant problem occurs that results in the device being unusable and unable to be upgraded.
Disclosure of Invention
In view of the above drawbacks of the prior art, an object of the present invention is to provide a system, a method, a device side and a server side for OTA upgrade based on server side manual upgrade, which are used to solve the above problems in the prior art.
In order to achieve the above and other related objects, the present invention provides an OTA upgrading system based on server-side manual upgrade, including: the system comprises a device side, a server side and an MQTT server side; the server side is used for sending upgrade package downloading information to a theme subscribed by a device side corresponding to the device information in the MQTT server side based on the input device information; the equipment side is used for acquiring the upgrade package downloading information sent by the server side from a theme subscribed at the connected MQTT server side; downloading a corresponding upgrade package from a server connected with the upgrade package downloading information based on the upgrade package downloading information; detecting whether the upgrade package is correct; and when the detection result is correct, executing upgrading operation, and writing upgrading information into a topic subscribed in the MQTT server.
In an embodiment of the present invention, the sending, based on the input device information, upgrade package download information to a theme subscribed by a device side corresponding to the device information in the MQTT server side includes: sending upgrade package downloading information to topics subscribed by each equipment terminal corresponding to the batch equipment information in the MQTT server terminal in batches based on the input batch equipment information; or the upgrade package downloading information is sent to the theme subscribed by the equipment end corresponding to the single equipment information in the MQTT service end based on the input single equipment information.
In an embodiment of the invention, the batch device information is a batch number, and the single device information is a MAC value.
In an embodiment of the present invention, the upgrade package downloading information includes: upgrade package URL address and MD5 value.
In an embodiment of the present invention, the manner of downloading the corresponding upgrade package from the server connected to the upgrade package downloading information based on the upgrade package downloading information includes: and downloading the corresponding upgrade package from the server connected with the upgrade package URL address.
In an embodiment of the present invention, the detecting whether the upgrade package is correct includes: detecting whether the MD5 value of the downloaded upgrade package is consistent with the MD5 value in the download information of the upgrade package; if yes, detecting that the upgrade package is correct; if not, the upgrade package is detected to be incorrect.
In an embodiment of the present invention, the writing the upgrade information into a topic subscribed in the MQTT server includes: and writing the upgrading information into a topic subscribed in the MQTT server, and enabling the message to be persistent.
In order to achieve the above and other related objects, the present invention provides an OTA upgrading method based on server-side manual upgrade, including: sending upgrade package downloading information to a theme subscribed by a device side corresponding to the device information in the MQTT server side through the server side based on the input device information; acquiring the upgrade package downloading information sent by the server side from a theme subscribed at a connected MQTT server side through the equipment side; downloading the corresponding upgrade package from a server connected with the equipment terminal through the equipment terminal based on the upgrade package downloading information; detecting whether the upgrade package is correct or not by the equipment terminal; and when the detection result is correct, the equipment end executes upgrading operation, and the upgrading information is written into the theme subscribed in the MQTT server end.
To achieve the above and other related objects, the present invention provides an apparatus, comprising: the MQTT server-side equipment communication module is used for acquiring the upgrade package downloading information sent by the server side from a theme subscribed by the connected MQTT server side; the server-side equipment communication module is connected with the MQTT server-side equipment communication module and is used for downloading a corresponding upgrade package from a server side connected with the server-side equipment communication module based on the upgrade package downloading information; the detection module is connected with the MQTT server-side equipment communication module and the server-side equipment communication module and is used for detecting whether the upgrade package is correct or not; the execution operation module is connected with the detection module and used for executing the upgrading operation when the detection is correct; the MQTT server equipment communication module is also used for writing upgrading information generated by executing upgrading operation into a theme subscribed in the MQTT server; and the upgrade package downloading information is sent to the theme subscribed by the equipment terminal by the server terminal based on the input equipment information.
To achieve the above and other related objects, the present invention provides a server, comprising: the equipment information input module is used for inputting equipment information; the download information sending module is connected with the equipment information input module and used for sending upgrade package download information to a theme subscribed by an equipment end corresponding to the equipment information in the MQTT service end based on the equipment information so as to enable the corresponding equipment end to carry out upgrade operation; wherein the upgrade operation comprises: acquiring the upgrade package downloading information sent by the server from a theme subscribed at a connected MQTT server; downloading a corresponding upgrade package from a server connected with the upgrade package downloading information based on the upgrade package downloading information; detecting whether the upgrade package is correct; and when the detection result is correct, executing upgrading operation, and writing upgrading information into a topic subscribed in the MQTT server.
As described above, the present invention is an OTA upgrade system, method, device side and server side based on server side manual upgrade, which has the following beneficial effects: the invention forcibly upgrades the equipment end in a manual upgrading mode of the service end without an APP end, has simple upgrading process, avoids a plurality of conditions of abnormal upgrading and the like, greatly reduces the upgrading complexity and can provide forced repair for equipment with serious problems.
Drawings
Fig. 1 is a schematic structural diagram of an OTA upgrade system based on server-side manual upgrade according to an embodiment of the present invention.
Fig. 2 is a flowchart illustrating an OTA upgrading method based on server-side manual upgrade according to an embodiment of the present invention.
Fig. 3 is a schematic structural diagram of an apparatus end according to an embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a server according to an embodiment of the present invention.
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It is noted that in the following description, reference is made to the accompanying drawings which illustrate several embodiments of the present invention. It is to be understood that other embodiments may be utilized and that mechanical, structural, electrical, and operational changes may be made without departing from the spirit and scope of the present invention. The following detailed description is not to be taken in a limiting sense, and the scope of embodiments of the present invention is defined only by the claims of the issued patent. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. Spatially relative terms, such as "upper," "lower," "left," "right," "lower," "below," "lower," "over," "upper," and the like, may be used herein to facilitate describing one element or feature's relationship to another element or feature as illustrated in the figures.
Throughout the specification, when a part is referred to as being "connected" to another part, this includes not only a case of being "directly connected" but also a case of being "indirectly connected" with another element interposed therebetween. In addition, when a certain part is referred to as "including" a certain component, unless otherwise stated, other components are not excluded, but it means that other components may be included.
The terms first, second, third, etc. are used herein to describe various elements, components, regions, layers and/or sections, but are not limited thereto. These terms are only used to distinguish one element, component, region, layer or section from another element, component, region, layer or section. Thus, a first element, component, region, layer or section discussed below could be termed a second element, component, region, layer or section without departing from the scope of the present invention.
Also, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," and/or "comprising," when used in this specification, specify the presence of stated features, operations, elements, components, items, species, and/or groups, but do not preclude the presence, or addition of one or more other features, operations, elements, components, items, species, and/or groups thereof. The terms "or" and/or "as used herein are to be construed as inclusive or meaning any one or any combination. Thus, "A, B or C" or "A, B and/or C" means "any of the following: a; b; c; a and B; a and C; b and C; A. b and C ". An exception to this definition will occur only when a combination of elements, functions or operations are inherently mutually exclusive in some way.
Most OTA upgrading modes on the market are relatively single at present, the flow is very complex, the flow of an upgrading packet is overlarge, and incremental upgrading is not supported.
Therefore, the OTA upgrading method based on the server-side manual upgrading provided by the embodiment of the invention forcibly upgrades the equipment side in the server-side manual upgrading mode without passing through the APP side, the upgrading process is simple, many situations of upgrading abnormity and the like are avoided, the upgrading complexity is greatly reduced, and forced repair can be provided for equipment with major problems.
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings so that those skilled in the art can easily implement the embodiments of the present invention. The present invention may be embodied in many different forms and is not limited to the embodiments described herein.
Fig. 1 shows a schematic structural diagram of an OTA upgrade system based on server-side manual upgrade in the embodiment of the present application.
The OTA upgrading system based on server-side manual upgrading comprises: the system comprises a device end 11, a server end 12 and an MQTT server end 13;
in this embodiment, the device end 11 may be applied to a terminal, and the terminal may be various electronic devices having a display screen and supporting web browsing, including but not limited to a smart phone, a tablet computer, an E-book reader, an MP3 player (Moving Picture E interface displays a parts Group Audio Layer III, motion Picture experts compress standard Audio Layer 3), an MP4(Moving Picture E interface displays a parts Group Audio Layer IV, motion Picture experts compress standard Audio Layer 4) player, a laptop portable computer, a desktop computer, and the like.
Wherein,
the server 11 is configured to send upgrade package download information to a topic subscribed by a device corresponding to device information in the MQTT server 13 based on the input device information;
the device end 12 is used for acquiring the upgrade package downloading information sent by the server end 11 from the theme subscribed by the connected MQTT server end 13; downloading a corresponding upgrade package from the server 12 connected thereto based on the upgrade package download information; detecting whether the upgrade package is correct; when the detection result is correct, the upgrading operation is executed, and the upgrading information is written into the topics subscribed in the MQTT server 13.
Optionally, the server 12 is configured to send, based on the input device information, upgrade package download information to a theme subscribed by a device side corresponding to the device information in the MQTT server, where the theme includes:
sending upgrade package downloading information to topics subscribed by each equipment terminal corresponding to the batch equipment information in the MQTT server 13 in batches based on the input batch equipment information;
or, based on the input single device information, the upgrade package download information is sent to the theme subscribed by the device side corresponding to the single device information in the MQTT server side 13.
The equipment end can be singly selected or selected in batch for upgrading through the server end 12, and if the equipment end is singly selected for upgrading, upgrade package downloading information is sent to a theme subscribed by the equipment end at the MQTT server end 13; if a plurality of equipment terminals are selected in batch for upgrading, upgrading package downloading information is respectively sent to topics subscribed by the equipment terminals at the MQTT server 13.
Optionally, the batch device information is a batch number and the single device information is an MAC value; specifically, if the MAC value of a single device end is input to the server end 12, the upgrade package download information is sent to the theme subscribed by the device end corresponding to the MAC value in the MQTT service end 13; and if the batch number is input into the server end 12, sending upgrade package downloading information to topics subscribed by all equipment ends corresponding to the batch number in the MQTT server end 13.
Optionally, the upgrade package downloading information includes: upgrade package URL address and MD5 value.
Optionally, the manner of downloading, by the device end 11, the corresponding upgrade package from the server end connected to the device end based on the upgrade package downloading information includes: and the equipment terminal 11 downloads a corresponding upgrade package from the server terminal connected with the equipment terminal based on the URL address of the upgrade package.
Optionally, the method for the device end 11 to detect whether the upgrade package is correct includes: detecting whether the MD5 value of the downloaded upgrade package is consistent with the MD5 value in the download information of the upgrade package; if yes, detecting that the upgrade package is correct; if not, the upgrade package is detected to be incorrect.
Alternatively, if the device side 11 is in a charging state and then performs an operation for the application of the device side to the robot, the power consumption is large and therefore recharging is required in the charging state.
Optionally, the upgrade information includes: one or more of download progress information, upgrade progress information, and upgrade completion information.
Optionally, the writing of the upgrade information into the topic subscribed in the MQTT server 13 includes: the upgrade information will be written in the topics subscribed in the MQTT server 13 and the message will be persisted. Therefore, the information can be received when the equipment is connected with the MQTT pair topic each time, and the upgrading instruction can still be received when the equipment is online next time even if the equipment is not online.
Optionally, the upgrade information is written into a topic subscribed in the MQTT server 13 and named OTA _ MAC or OTA _ PID.
Similar to the principle of the above embodiment, the invention provides an OTA upgrading method based on server-side manual upgrading.
Specific embodiments are provided below in conjunction with the attached figures:
fig. 2 shows a flowchart of an OTA upgrading method based on server-side manual upgrading in an embodiment of the present invention.
The method comprises the following steps:
step S21: and sending upgrade package downloading information to a theme subscribed by the equipment end corresponding to the equipment information in the MQTT server end through the server end based on the input equipment information.
Optionally, the step S21 includes: sending upgrade package downloading information to topics subscribed by each equipment terminal corresponding to the batch equipment information in the MQTT server terminal 13 in batches based on the input batch equipment information; or, based on the input single device information, the upgrade package download information is sent to the theme subscribed by the device side corresponding to the single device information in the MQTT server side 13.
Optionally, the batch device information is a batch number and the single device information is an MAC value; specifically, if the MAC value of a single device end is input to the server end, the upgrade package download information is sent to a theme subscribed by the device end corresponding to the MAC value in the MQTT service end; and if the batch number is input into the server side, sending upgrade package downloading information to topics subscribed by all equipment sides corresponding to the batch number in the MQTT server side.
Optionally, the upgrade package downloading information includes: upgrade package URL address and MD5 value.
Step S22: acquiring the upgrade package downloading information sent by the server side from a theme subscribed at a connected MQTT server side through the equipment side;
step S23: downloading the corresponding upgrade package from a server connected with the equipment terminal through the equipment terminal based on the upgrade package downloading information;
step S24: detecting whether the upgrade package is correct or not by the equipment terminal;
optionally, detecting whether an MD5 value of the downloaded upgrade package is consistent with an MD5 value in the upgrade package download information; if yes, detecting that the upgrade package is correct; if not, the upgrade package is detected to be incorrect.
Step S251: when the detection result is correct, the equipment end executes upgrading operation, and the upgrading information is written into a theme subscribed in the MQTT server end;
optionally, the upgrade information includes: one or more of download progress information, upgrade progress information, and upgrade completion information.
Alternatively, if the operation is performed while the device side is in the charging state for the application of the device side to the robot, the power consumption is large and therefore recharging is required while in the charging state.
Optionally, the upgrade information is written into a topic subscribed in the MQTT server 13, and the message is made permanent. Therefore, the information can be received when the equipment is connected with the MQTT pair topic each time, and the upgrading instruction can still be received when the equipment is online next time even if the equipment is not online.
Optionally, the upgrade information is written into a topic subscribed in the MQTT server 13 and named OTA _ MAC or OTA _ PID.
Step S252: when the detection is incorrect, the upgrade is not performed.
Fig. 3 shows a schematic structural diagram of an apparatus end in the embodiment of the present invention.
The device side includes:
the MQTT server-side device communication module 31 is configured to acquire the upgrade package download information sent by the server-side from a topic subscribed by the connected MQTT server-side;
the server-side equipment communication module 32 is connected with the MQTT server-side equipment communication module 31 and used for downloading a corresponding upgrade package from a server side connected with the upgrade package based on the upgrade package downloading information;
the detection module 33 is connected with the MQTT server-side device communication module 31 and the server-side device communication module 32, and is used for detecting whether the upgrade package is correct;
the execution operation module 34 is connected with the detection module 33 and is used for executing the upgrading operation when the detection is correct;
the MQTT server device communication module 31 is further configured to write upgrade information generated by performing an upgrade operation into a topic subscribed in the MQTT server;
and the upgrade package downloading information is sent to the theme subscribed by the equipment terminal by the server terminal based on the input equipment information.
It should be noted that the division of each module in the system embodiment of fig. 3 is only a division of a logical function, and all or part of the actual implementation may be integrated into one physical entity or may be physically separated. For example, the modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others.
Since the implementation principle of the device end has been described in the foregoing embodiment, repeated description is omitted here.
Fig. 4 shows a schematic structural diagram of a server in the embodiment of the present invention.
The server side comprises:
a device information input module 41 for inputting device information;
a download information sending module 42, connected to the device information input module 41, configured to send, based on the device information, upgrade package download information to a theme subscribed by a device side corresponding to the device information in the MQTT service side, so that the corresponding device side performs an upgrade operation;
wherein the upgrade operation comprises: acquiring the upgrade package downloading information sent by the server from a theme subscribed at a connected MQTT server; downloading a corresponding upgrade package from a server connected with the upgrade package downloading information based on the upgrade package downloading information; detecting whether the upgrade package is correct; and when the detection result is correct, executing upgrading operation, and writing upgrading information into a topic subscribed in the MQTT server.
Since the implementation principle of the server side has been described in the foregoing embodiment, repeated description is omitted here.
In summary, according to the OTA upgrading system, method, device and server based on server manual upgrading of the present invention, the device is forcibly upgraded by the server manual upgrading method without the APP, the upgrading process is simple, many situations such as upgrading exception are avoided, the upgrading complexity is greatly reduced, and forced repair can be provided for devices with major problems. Therefore, the present invention effectively overcomes various disadvantages of the prior art and has high industrial utilization value.
The foregoing embodiments are merely illustrative of the principles of the present invention and its efficacy, and are not to be construed as limiting the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (10)

1. An OTA upgrade system based on server-side manual upgrade, the system comprising:
the system comprises a device side, a server side and an MQTT server side;
the server side is used for sending upgrade package downloading information to a theme subscribed by a device side corresponding to the device information in the MQTT server side based on the input device information; the equipment side is used for acquiring the upgrade package downloading information sent by the server side from a theme subscribed at the connected MQTT server side; downloading a corresponding upgrade package from a server connected with the upgrade package downloading information based on the upgrade package downloading information; detecting whether the upgrade package is correct; and when the detection result is correct, executing upgrading operation, and writing upgrading information into a topic subscribed in the MQTT server.
2. The OTA upgrading system based on server-side manual upgrading according to claim 1, wherein the sending of the upgrade package download information to the theme subscribed by the device side corresponding to the device information in the MQTT server side based on the input device information comprises:
sending upgrade package downloading information to topics subscribed by each equipment terminal corresponding to the batch equipment information in the MQTT server terminal in batches based on the input batch equipment information;
or the upgrade package downloading information is sent to the theme subscribed by the equipment end corresponding to the single equipment information in the MQTT service end based on the input single equipment information.
3. The OTA upgrade system based on server-side manual upgrade as claimed in claim 2, wherein the batch device information is a batch number and the single device information is a MAC value.
4. The OTA upgrade system based on server-side manual upgrade as claimed in claim 2, wherein the upgrade package download information includes: upgrade package URL address and MD5 value.
5. The OTA upgrade system based on server-side manual upgrade according to claim 4, wherein the manner of downloading the corresponding upgrade package from the server side connected thereto based on the upgrade package download information comprises:
and downloading the corresponding upgrade package from the server connected with the upgrade package URL address.
6. The OTA upgrade system based on server-side manual upgrade according to claim 4, wherein the means for detecting whether the upgrade package is correct comprises:
detecting whether the MD5 value of the downloaded upgrade package is consistent with the MD5 value in the download information of the upgrade package;
if yes, detecting that the upgrade package is correct;
if not, the upgrade package is detected to be incorrect.
7. The OTA upgrade system based on server-side manual upgrade according to claim 1, wherein the writing of the upgrade information into the topic subscribed in the MQTT server includes:
and writing the upgrading information into a topic subscribed in the MQTT server, and enabling the message to be persistent.
8. An OTA upgrading method based on server-side manual upgrading is characterized by comprising the following steps:
sending upgrade package downloading information to a theme subscribed by a device side corresponding to the device information in the MQTT server side through the server side based on the input device information;
acquiring the upgrade package downloading information sent by the server side from a theme subscribed at a connected MQTT server side through the equipment side;
downloading the corresponding upgrade package from a server connected with the upgrade package downloading information through the equipment terminal based on the upgrade package downloading information; detecting whether the upgrade package is correct or not by the equipment terminal;
and when the detection result is correct, the equipment end executes upgrading operation, and the upgrading information is written into the theme subscribed in the MQTT server end.
9. An equipment side, comprising:
the MQTT server-side equipment communication module is used for acquiring the upgrade package downloading information sent by the server side from a theme subscribed by the connected MQTT server side;
the server-side equipment communication module is connected with the MQTT server-side equipment communication module and is used for downloading a corresponding upgrade package from a server side connected with the server-side equipment communication module based on the upgrade package downloading information;
the detection module is connected with the MQTT server-side equipment communication module and the server-side equipment communication module and is used for detecting whether the upgrade package is correct or not;
the execution operation module is connected with the detection module and used for executing the upgrading operation when the detection is correct;
the MQTT server equipment communication module is also used for writing upgrading information generated by executing upgrading operation into a theme subscribed in the MQTT server;
and the upgrade package downloading information is sent to the theme subscribed by the equipment terminal by the server terminal based on the input equipment information.
10. A server side, comprising:
the equipment information input module is used for inputting equipment information;
the download information sending module is connected with the equipment information input module and used for sending upgrade package download information to a theme subscribed by an equipment end corresponding to the equipment information in the MQTT service end based on the equipment information so as to enable the corresponding equipment end to carry out upgrade operation;
wherein the upgrade operation comprises: acquiring the upgrade package downloading information sent by the server from a theme subscribed at a connected MQTT server; downloading a corresponding upgrade package from a server connected with the upgrade package downloading information based on the upgrade package downloading information; detecting whether the upgrade package is correct; and when the detection result is correct, executing upgrading operation, and writing upgrading information into a topic subscribed in the MQTT server.
CN202210061739.8A 2022-01-19 2022-01-19 OTA upgrading system, method, equipment end and server end based on manual upgrading of server end Active CN114500482B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210061739.8A CN114500482B (en) 2022-01-19 2022-01-19 OTA upgrading system, method, equipment end and server end based on manual upgrading of server end

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210061739.8A CN114500482B (en) 2022-01-19 2022-01-19 OTA upgrading system, method, equipment end and server end based on manual upgrading of server end

Publications (2)

Publication Number Publication Date
CN114500482A true CN114500482A (en) 2022-05-13
CN114500482B CN114500482B (en) 2024-06-25

Family

ID=81473520

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210061739.8A Active CN114500482B (en) 2022-01-19 2022-01-19 OTA upgrading system, method, equipment end and server end based on manual upgrading of server end

Country Status (1)

Country Link
CN (1) CN114500482B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115766440A (en) * 2022-10-25 2023-03-07 广州能迪能源科技股份有限公司 MQTT-based software batch remote upgrading method

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580484A (en) * 2015-01-19 2015-04-29 云顶科技(江苏)有限公司 Remote upgrading method for GPRS terminal
CN106339236A (en) * 2016-08-17 2017-01-18 西安拓奇电子科技有限公司 Software upgrading method, client, interphone and soft upgrading system
US20190173951A1 (en) * 2017-12-01 2019-06-06 GM Global Technology Operations LLC Vehicle communication using publish-subscribe messaging protocol
CN110266794A (en) * 2019-06-20 2019-09-20 四川长虹电器股份有限公司 Method for subscribing and system are acted on behalf of based on MQTT server
CN110262820A (en) * 2019-06-13 2019-09-20 陕西瑞迅电子信息技术有限公司 Method, apparatus, system and storage medium based on MQTT protocol realization OTA upgrading
CN110532009A (en) * 2019-08-29 2019-12-03 厦门市思芯微科技有限公司 A kind of smart machine upgrading management system and method
CN110633092A (en) * 2019-09-09 2019-12-31 北京方研矩行科技有限公司 Server for OTA (over the air) upgrading and embedded equipment upgrading method and device
CN110661859A (en) * 2019-09-17 2020-01-07 厦门市思芯微科技有限公司 Air upgrading method for intelligent household equipment
CN111610990A (en) * 2019-02-25 2020-09-01 阿里巴巴集团控股有限公司 Method, device and related system for upgrading application program
CN112002084A (en) * 2020-08-05 2020-11-27 拉卡拉支付股份有限公司 Method and system for upgrading mPOS terminal
CN112835616A (en) * 2021-02-26 2021-05-25 百度在线网络技术(北京)有限公司 Version upgrading method and device, electronic equipment and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580484A (en) * 2015-01-19 2015-04-29 云顶科技(江苏)有限公司 Remote upgrading method for GPRS terminal
CN106339236A (en) * 2016-08-17 2017-01-18 西安拓奇电子科技有限公司 Software upgrading method, client, interphone and soft upgrading system
US20190173951A1 (en) * 2017-12-01 2019-06-06 GM Global Technology Operations LLC Vehicle communication using publish-subscribe messaging protocol
CN111610990A (en) * 2019-02-25 2020-09-01 阿里巴巴集团控股有限公司 Method, device and related system for upgrading application program
CN110262820A (en) * 2019-06-13 2019-09-20 陕西瑞迅电子信息技术有限公司 Method, apparatus, system and storage medium based on MQTT protocol realization OTA upgrading
CN110266794A (en) * 2019-06-20 2019-09-20 四川长虹电器股份有限公司 Method for subscribing and system are acted on behalf of based on MQTT server
CN110532009A (en) * 2019-08-29 2019-12-03 厦门市思芯微科技有限公司 A kind of smart machine upgrading management system and method
CN110633092A (en) * 2019-09-09 2019-12-31 北京方研矩行科技有限公司 Server for OTA (over the air) upgrading and embedded equipment upgrading method and device
CN110661859A (en) * 2019-09-17 2020-01-07 厦门市思芯微科技有限公司 Air upgrading method for intelligent household equipment
CN112002084A (en) * 2020-08-05 2020-11-27 拉卡拉支付股份有限公司 Method and system for upgrading mPOS terminal
CN112835616A (en) * 2021-02-26 2021-05-25 百度在线网络技术(北京)有限公司 Version upgrading method and device, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115766440A (en) * 2022-10-25 2023-03-07 广州能迪能源科技股份有限公司 MQTT-based software batch remote upgrading method

Also Published As

Publication number Publication date
CN114500482B (en) 2024-06-25

Similar Documents

Publication Publication Date Title
CN107239295B (en) Software upgrading method and software upgrading device
CN111142711B (en) Firmware configuration method and device, storage medium and mobile terminal
CN109857403B (en) Page updating method and device, page processing method and device
CN105763723A (en) Mobile terminal and system update method
CN105302587A (en) Data updating method and apparatus
CN107018022A (en) Processing method, device and the terminal of software upgrading
CN110457154B (en) Abnormal service processing method and device, storage medium and communication terminal
CN105354065B (en) A kind of multi-product method for upgrading software and terminal
CN106534281A (en) Data request responding method, apparatus and system
CN105516246A (en) Method for preventing application program downloading hijacking and server
CN108121560A (en) Difference bag upgrade method, device, terminal and computer readable storage medium
CN106997302A (en) Firmware upgrade method, device and audio-frequence player device
CN102331945A (en) Application management method based on electronic store
CN102647515A (en) Terminal state displaying control method and device
CN114500482A (en) OTA (over the air) upgrading system, method, equipment side and server side based on manual upgrading of server side
CN103631625A (en) Data acquisition method, user terminal, server and system
CN105426192A (en) Information modification method and terminal
CN104199682A (en) Information processing method and electronic equipment
CN112463199A (en) System upgrading method and terminal
EP3129883B1 (en) Method and apparatus for repairing dynamic link library file
CN104794117A (en) Picture data migration method and device
CN105335192A (en) Information processing method and electronic equipment
CN114466098B (en) OTA upgrading method, system, equipment end and APP end based on APP interaction
CN112015459A (en) Method and device for upgrading image file, terminal and readable storage medium
CN106155722A (en) A kind of software method for updating pages and terminal

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