CN112181455B - Online upgrading method of microcontroller, microcontroller and storage medium - Google Patents
Online upgrading method of microcontroller, microcontroller and storage medium Download PDFInfo
- Publication number
- CN112181455B CN112181455B CN202011013638.0A CN202011013638A CN112181455B CN 112181455 B CN112181455 B CN 112181455B CN 202011013638 A CN202011013638 A CN 202011013638A CN 112181455 B CN112181455 B CN 112181455B
- Authority
- CN
- China
- Prior art keywords
- upgrade
- microcontroller
- data
- information
- upgrading
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version 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)
- Stored Programmes (AREA)
Abstract
The application discloses an online upgrading method of a microcontroller, the microcontroller and a storage medium. The method comprises the following steps: receiving upgrade data, and storing the upgrade data into the upgrade data storage area; under the condition that the upgrade data are completely received, carrying out accumulation check on the upgrade data; writing an upgrade starting identification in the mark information storage area under the condition that the accumulation check passes; starting software reset, entering the code starting area, and moving the upgrade data of the upgrade data storage area to the code application area for storage; after the upgrade data is moved successfully, the upgrade starting identification of the mark information storage area is modified into a successful identification so as to indicate that the upgrade of the microcontroller is successful, so that the upgrade reliability can be improved, the abnormality of the function of the microcontroller caused by errors in the process of upgrading and downloading the data is avoided, and the risk of scrapping the microcontroller caused by the upgrade is reduced.
Description
Technical Field
The present application relates to the field of microprocessor technologies, and in particular, to an online upgrade method for a microcontroller, and a storage medium.
Background
The microcontroller is a single chip microcomputer integrating the main part of the microcomputer on one chip. The traditional microcontroller upgrading mode is that a program is updated through a chip burner provided by a microcontroller chip manufacturer, the upgrading mode of the microcontroller can be used in a debugging stage of a product, the product is not provided with a shell, but the product is difficult to operate after formally appearing on the market in batches, the whole machine is required to be split for upgrading the product in the mode, the product can be upgraded only by connecting the burner through a connecting wire after a control panel is exposed, the mode is obviously unreasonable to the delivered commodity, certain permanent damage is caused after the whole machine product is split, and the turnover cost related to the product returning to the factory is not expected by the manufacturer.
The current method of wireless downloading of upgrade data and then installation and upgrade is low in reliability, and the functions of the microcontroller are easily affected due to the fact that problems occur in the upgrade process.
Disclosure of Invention
The application provides an online upgrading method of a microcontroller, the microcontroller and a storage medium.
In a first aspect, an online upgrade method of a microcontroller is provided, and the online upgrade method is applied to the microcontroller, wherein the microcontroller comprises an upgrade data storage area, a flag information storage area, a code starting area and a code application area; the upgrade data storage area is used for storing upgrade data, the mark information storage area is used for storing an identifier indicating an upgrade state in upgrade processing, the code starting area is used for storing and running a starting code of the microcontroller, and the starting code is used for initializing system parameters of the microcontroller; the code application area is used for storing and running application codes of the microcontroller; the method comprises the following steps:
Receiving upgrade data, and storing the upgrade data into the upgrade data storage area;
under the condition that the upgrade data are completely received, carrying out accumulation check on the upgrade data;
writing an upgrade starting identification in the mark information storage area under the condition that the accumulation check passes;
starting software reset, entering the code starting area, and moving the upgrade data of the upgrade data storage area to the code application area for storage;
and after the upgrade data is successfully moved, modifying the upgrade starting identification of the mark information storage area into a success identification so as to indicate that the microcontroller is successfully upgraded.
In a second aspect, another method for online upgrade of a microcontroller is provided, and the method is applied to a terminal device, and includes:
The method comprises the steps of obtaining upgrade data to be uploaded, obtaining upgrade information of the input upgrade data, wherein the upgrade information comprises a firmware type, a firmware module, a firmware series identifier and/or version information, the firmware type is used for indicating a driver type in the microcontroller, the firmware module comprises an Internet of things module type used by the microcontroller, the firmware series identifier is used for identifying program classification information of the microcontroller, the version information comprises internal version information and/or external version information, the internal version information is software version information in the microcontroller, and the external version information is version information used for being displayed for a user to view by an Internet of things platform;
the method comprises the steps that input upgrading operation information is obtained, the upgrading operation information comprises a release mode and an upgrading mode corresponding to upgrading data, the release mode is used for designating a microcontroller to be upgraded, which is upgraded by using the upgrading data, and the upgrading mode is used for designating a mode of upgrading by using the upgrading data by the microcontroller;
and uploading the upgrade data and the upgrade information to a server so that the microcontroller to be upgraded is upgraded according to the upgrade mode.
In a third aspect, there is provided a microcontroller comprising:
the receiving module is used for receiving the upgrade data;
a storage module for storing the upgrade data to the upgrade data storage area;
The verification module is used for carrying out accumulation verification on the upgrade data under the condition that the upgrade data are completely received;
The identification module is used for writing an upgrade starting identification into the mark information storage area under the condition that the accumulation check passes;
the data handling module is used for starting software reset, and after entering the code starting area, moving the upgrade data of the upgrade data storage area to the code application area for storage;
The identification module is also used for modifying the upgrading start identification of the mark information storage area into a successful identification after the upgrading data is successfully moved so as to indicate that the microcontroller is successfully upgraded.
In a fourth aspect, another microcontroller is provided, including an internet of things module and a microcontroller chip, where the internet of things module is used for data interaction between the microcontroller and a server; the microcontroller stores a computer program which, when executed by the microcontroller chip, causes the microcontroller to perform any of the steps of the online upgrade method of a microcontroller as described in the first aspect above.
In a fifth aspect, there is provided a computer storage medium storing one or more instructions adapted to be loaded by a processor and to perform the steps of the first aspect and any one of its possible implementations described above.
The application divides the microcontroller into an upgrade data storage area, a sign information storage area, a code starting area and a code application area; the upgrade data storage area is used for storing upgrade data, the mark information storage area is used for storing an identifier indicating an upgrade state in upgrade processing, the code starting area is used for storing and running a starting code of the microcontroller, and the starting code is used for initializing system parameters of the microcontroller; the code application area is used for storing and running application codes of the microcontroller, and the upgrade data is stored in the upgrade data storage area by receiving the upgrade data; under the condition that the upgrade data are completely received, carrying out accumulation check on the upgrade data; writing an upgrade starting identification in the mark information storage area under the condition that the accumulation check passes; starting software reset, entering the code starting area, and moving the upgrade data of the upgrade data storage area to the code application area for storage; after the upgrade data is moved successfully, the upgrade starting identification of the mark information storage area is modified into a successful identification to indicate that the upgrade of the microcontroller is successful, and the whole machine is not required to be split because the program of the microcontroller is updated without depending on a chip writer, so that equipment damage is avoided and the turnover cost is reduced; by arranging the upgrade data storage area, the function blocks which normally run are isolated from the downloaded data function blocks, so that the microcontroller is prevented from having abnormal functions caused by errors in the process of upgrading and downloading data, and the risk of scrapping caused by upgrading is reduced.
Drawings
In order to more clearly describe the embodiments of the present application or the technical solutions in the background art, the following description will describe the drawings that are required to be used in the embodiments of the present application or the background art.
Fig. 1A is a schematic structural diagram of a microcontroller according to an embodiment of the present application;
fig. 1B is a schematic diagram of an upgrade information editing page of a microcontroller according to an embodiment of the present application;
FIG. 1C is a schematic diagram of an upgrade operation setup page of a microcontroller according to an embodiment of the present application;
FIG. 2 is a flow chart of an online upgrade method of a microcontroller according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating another method for online upgrade of a microcontroller according to an embodiment of the present application;
FIG. 4 is a flowchart illustrating another method for online upgrade of a microcontroller according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a microcontroller according to an embodiment of the present application.
Detailed Description
In order to make the present application better understood by those skilled in the art, the following description will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms first, second and the like in the description and in the claims and in the above-described figures are used for distinguishing between different objects and not necessarily for describing a sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
The microcontroller (Single-Chip Microcomputer) related in the embodiment of the application is an integrated circuit chip, is a small and perfect microcomputer system formed by integrating functions (possibly including a display driving circuit, a pulse width modulation circuit, an analog multiplexer, an A/D converter and the like) such as a central processing unit CPU, a random access memory RAM, a read-only memory ROM, a plurality of I/O ports, an interrupt system, a timer/counter and the like with data processing capability on a piece of silicon chip by adopting a very large scale integrated circuit technology, and is widely applied to the field of industrial control.
Embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.
The internet of things (Internet of things, ioT), namely the internet with everything connected, is an extended and expanded network based on the internet, and a huge network formed by combining various information sensing devices with the internet is used for realizing the interconnection and intercommunication of people, machines and objects at any time and any place.
The space downloading Technology (OTA) related in the embodiment of the present application is a generic term for downloading an upgrade data packet through a wireless network and then directly installing the upgrade.
The application provides a microcontroller OTA method based on an Internet of things platform, which can be divided into three functional blocks, namely microcontroller upgrade scheme selection, control of the upgrade data (upgrade firmware) of the Internet of things platform and control of the OTA upgrade flow of the microcontroller.
In particular, reference is made to a schematic structural diagram of a microcontroller as shown in fig. 1. The microcontroller online upgrade in the embodiment of the application can be realized based on the Internet of things platform, namely online upgrade is required to be performed by selecting the Internet of things module accessed to the Internet of things platform as a bridge for data interaction.
As shown in fig. 1A, the microcontroller 100 includes an internet of things module 110, an external memory chip 120, a microcontroller chip 130, and other input function modules 140 and other output function modules 150. The internet of things module 110 may be a WiFi module, a bluetooth module, a GPRS module, etc., and may take into account the cost of the product in the initial stage of the design scheme, including selecting a micro controller chip with a large capacity, a high price, or a small capacity and a low price. The large-capacity micro controller chip is selected to be upgraded in a mode of internally dividing a storage area, namely an upgrade data storage area is divided in the micro controller internal storage area and used for storing upgrade data; the small-capacity micro controller chip is selected to be upgraded by adopting the external memory chip 120, namely, the external memory chip 120 can be regarded as the upgrade data storage area to store upgrade data. The upgrade scheme of the microcontroller in the embodiment of the application can select a reasonable upgrade mode according to the type of the microcontroller chip.
According to the embodiment of the application, the Internet of things platform can be standardized for managing and controlling the upgrading firmware, and two large dimensions can be set for managing and controlling from upgrading information editing and upgrading operation. The on-line upgrading method of the microcontroller in the embodiment of the application can be executed according to the pre-configured upgrading information and the like.
The upgrade information editing may include information that a user may complete uploading of the upgrade firmware after the upgrade information editing. As shown in fig. 1B, an upgrade information editing page of a microcontroller, the content of the upgrade information may specifically include:
firmware type: indicating the type of driver in the microcontroller to be upgraded, which may include a display control type or a drive control type, etc.;
IOT module type: the IOT modules used by different products are also different, so that the IOT modules are also one dimension of firmware control, and the IOT modules are also divided into a WiFi module, a bluetooth module, a GPRS module, a ZigBee module and the like;
Firmware series identification: program class information identifying the microcontroller. For example, a water purifier product of the same product number, a firmware series identification of the microcontroller used in that product to northern cities: 100; firmware serial identification of the microcontroller used in the product to south city: 200. even with the same model of microprocessor in the same type of product, the firmware therein may be differentiated. The upgrade data of the microprocessor in the products for the southern city and the northern city cannot be used commonly because the setting parameters and functions of the devices designed for different areas are different, and the upgrade data of the microprocessor are different. It is therefore necessary to set the firmware series identification to distinguish when an upgrade is performed, so that microcontrollers of different classes can be upgraded specifically.
The version information includes internal version information and/or external version information, wherein:
The internal version information is the software version information in the microcontroller, the software version information edited on the Internet of things platform is required to be consistent with the software version information in the microcontroller, and the situation that the version information is inconsistent after upgrading is avoided. The external version information is version information displayed for a user to view by the Internet of things platform.
With the upgrade information described above, the uploaded upgrade attachment (upgrade data) may be configured and the selected upgrade data uploaded for firmware upgrade of the microcontroller, see in particular the step description in the embodiment shown in fig. 2. The method can select, correct and the like when the microcontroller is upgraded, ensure the adaptation of the microcontroller and the upgrade data, and reduce the error occurrence rate.
The upgrade operation setting can further control the type of upgrade operation, the prompt of a user and the range of upgrade equipment. Optionally, referring to an upgrade operation setting page schematic of a microcontroller as shown in fig. 1C, the content of the upgrade operation setting may specifically include:
The release mode is as follows: the release mode can be divided into two kinds of equipment upgrade establishment and whole equipment upgrade;
The method comprises the steps that equipment is formulated to be upgraded to upgrade the product to be upgraded through the MAC address or IMEI serial number corresponding to the IOT module associated with the product; all equipment upgrades are all equipment designated to upgrade.
The upgrading mode is as follows: normal upgrade, forced upgrade, silent upgrade;
Common upgrade: prompting the user to upgrade, wherein the user can upgrade after agreeing.
Forced upgrade: the user is prompted to update the device, and the device cannot be used normally without updating.
Silence upgrade: and upgrading the mobile phone in leisure time without affecting the use of the user.
And (5) upgrading prompt: the method is used for prompting and describing the current upgrade, can be displayed on a platform end and an APP end, and prompts a user to update the content.
In the microprocessor, after the downloading of the upgrade data is completed, corresponding upgrade processing can be performed according to the above settings. Other parameters can be designed according to the requirements to control the upgrade firmware, upgrade mode and the like of the microcontroller, and the embodiment of the application is not limited to this.
Furthermore, on the basis of the upgrade setting of the terminal side, the control of the OTA upgrade flow of the microcontroller can specifically comprise 4 parts of content of upgrade information processing, upgrade data interaction and storage, upgrade data carrying and upgrade completion. Reference may be made to a flow chart of a method for online upgrade of a microcontroller as shown in fig. 2. The method may include:
201. and receiving upgrade data, and storing the upgrade data in the upgrade data storage area.
The execution main body of the embodiment of the application is a microcontroller, which comprises an internet of things module, and can be a WiFi module, a Bluetooth module, a GPRS module and the like, wherein the microcontroller can be used for online upgrading by taking the internet of things module accessed to the internet of things platform as a bridge for data interaction.
The upgrade data are microcontroller upgrade data which can be downloaded from a platform server in a wireless transmission mode, and in the embodiment of the application, in order to improve the fault tolerance in the upgrade process, the storage space of the microcontroller is divided into 4 areas: a code starting area, a code application area, an upgrade data storage area and a flag information storage area.
The upgrade data storage area is used for storing upgrade data, the mark information storage area is used for storing an identifier indicating an upgrade state in upgrade processing, the code starting area is used for storing and running a starting code of the microcontroller, and the starting code is used for initializing system parameters of the microcontroller; the code application area is used for storing and running application codes of the microcontroller.
And the acquired upgrade data is firstly stored in an upgrade data storage area.
In an alternative embodiment, the upgrade information of the upgrade data may be received first, where the upgrade information includes a firmware type, a firmware serial identifier, and version information;
Checking the firmware type, the firmware series identifier and the version information, and judging whether the upgrade data is suitable for the microcontroller;
If yes, storing the upgrade information; and emptying the upgrade data storage area and starting to receive the upgrade data.
The upgrade information processing of the microcontroller mainly aims at checking upgrade information and storing firmware key information. The information to be checked may include firmware type, firmware serial identifier, internal version, etc., and by means of the firmware type and firmware serial identifier, it may be determined whether the received upgrade request meets the requirements, for example, in the above-mentioned products sent to the southern city and northern city, the upgrade data of the microprocessor cannot be used universally. The microcontroller stores a preset firmware type, after receiving the upgrade information, the microcontroller can verify whether the firmware type in the upgrade information is consistent with the preset firmware type, and upgrade can be executed under the condition of consistency; the internal version information is managed by the internal logic of the microcontroller software, whether the software version is supported to be freely switched or can only be upgraded from low to high is judged, for example, the control rule of the version information of the microcontroller is preset, the control rule of the version information of the microcontroller is set to be only upgraded from low to high, whether the level in the version information of the upgrade data is higher than the level in the current version information is required to be verified during each upgrade, and if the level is higher than the level in the current version information, the upgrade is carried out. This information, if violated with the software logic of the microcontroller itself, may directly cancel the upgrade.
Further optionally, before the verifying the firmware type, the firmware serial identifier and the version information, the method further includes:
acquiring the storage space parameters of the microcontroller and the total number of bytes of firmware of the upgrade data;
judging whether the memory of the microcontroller supports the storage of the upgrade data according to the storage space parameters and the total number of bytes of the firmware;
If yes, triggering the step of checking the firmware type, the firmware serial identifier and the version information.
Specifically, the firmware key information to be stored may include the total number of bytes of the firmware and the accumulated checksum. Wherein the total number of bytes of firmware can be used to compare whether the existing memory space of the microcontroller supports downloading the upgrade data, and if the remaining memory size is exceeded, the upgrade can be canceled. When the server sends the upgrade data, the data are accumulated to obtain a data sum, the sum is negated to obtain the accumulated checksum, and the microcontroller can check whether the data are completely received according to the received data and the accumulated checksum.
Optionally, after the receiving the upgrade data, the method further includes:
Under the condition that the data frame sequence of the upgrade data is correct, acquiring an initial check value of the upgrade data;
after the upgrade data is stored in the upgrade data storage area, acquiring a target check value of the data of the upgrade data storage area;
comparing whether the target check value is consistent with the initial check value;
and if the update data are consistent, triggering the step of carrying out accumulation check on the update data.
Data verification is a verification operation performed to ensure the integrity of data. The method comprises the steps that a specified algorithm is used for calculating a check value of original data, a receiver calculates the check value once by using the same algorithm, and if the check values obtained by the two calculation are the same, the data is complete.
The checksum (checksum) to which embodiments of the present application relate is a checksum for verifying a set of data items at a destination, which is typically in the form of a hexadecimal representation of a number system, in the fields of data processing and data communications. Are commonly used to ensure data integrity and accuracy in communications. In the embodiment of the application, the check value can be calculated by performing cyclic redundancy check (Cyclic redundancy check, CRC) on the data so as to compare whether the check values (the initial check value and the target check value) before and after writing the updated data storage area are consistent or not, and whether the data before and after writing are consistent or not is compared, if the check sums are consistent, the data writing is correct, if the check sums are inconsistent, the data writing is incomplete, the failure of updating of the server can be responded, and the updating is cancelled.
202. And under the condition that the whole upgrade data is received, performing accumulation check on the upgrade data.
Wherein the above accumulation check is accumulation sum check CheckSum) algorithm. It is possible to verify whether the data reception is complete or not by performing an accumulation check on the received data.
Specifically, when the server sends the upgrade data, the data are accumulated to obtain a data sum, and the sum is negated to obtain an accumulated checksum. The upgrade data is then sent to the microcontroller, where the starting frame content of the upgrade data carries the accumulated checksum. The microcontroller may accumulate the received data (including the checksum) and then increment by 1, indicating that no transmission errors have occurred in the data if a 0 is obtained. Wherein the server and the microcontroller are used for keeping the type of the accumulated result consistent.
Whether the data frame sequence of the upgrade data is correct can be detected firstly, if not, the upgrade failure of the server can be responded, and the upgrade is canceled; if the data is correct, whether the checksum of the upgrade data is consistent before and after the data is received is compared, if the checksum is consistent, the data is complete, and if the checksum is inconsistent, the data is incomplete, and the upgrade can be canceled.
In an alternative embodiment, in case of timeout of receiving the upgrade data, the upgrade data is requested again to be received from the server;
And when the number of times of receiving the upgrade data reaches a first time threshold value, canceling receiving the upgrade data and sending download failure information to the server.
The first time count threshold may be preset, and the reception may be repeated when the reception of the upgrade data is timed out, the first time count threshold is used to limit the number of repeated requests, and when the number of times of reception timeout is detected to reach the first time count threshold, the reception of the upgrade data may be canceled, and the download failure information may be transmitted to the server.
203. And writing an upgrade starting identifier into the mark information storage area under the condition that the accumulation check passes.
In one embodiment, when the flag information storage area detects the upgrade start flag, the download completion information may be sent to a server, where the download completion information is used to instruct the microcontroller to complete downloading the upgrade data.
The foregoing description may further set a release manner, an upgrade manner and an upgrade prompt for the microcontroller upgrade data released by the platform server when the platform is released, and after the upgrade data is downloaded, the corresponding upgrade process may be performed according to the setting information in the upgrade data, for example, the upgrade process is set to be a common upgrade, the microcontroller may prompt the user to upgrade after the upgrade data is moved to the code application area for storage, and the upgrade prompt is the preset prompt content after the user agrees.
204. And starting software reset, entering the code starting area, and moving the upgrade data of the upgrade data storage area to the code application area for storage.
Specifically, after the data downloading stage is finished, the method can reset and enter the code starting area, judges whether the mark information storage area has an upgrading starting mark, if not, terminates the program operation, and if yes, starts the data carrying, namely, moves the upgrading data from the upgrading data storage area to the code application area for storage.
205. And after the upgrade data is successfully moved, modifying the upgrade starting identification of the mark information storage area into a success identification so as to indicate that the upgrade of the microcontroller is successful.
In an alternative embodiment, the identification information in the above-mentioned identification information storage area is read; the upgrade result is determined to be upgrade success under the condition that the success identification is read, and the upgrade result is determined to be upgrade failure under the condition that the failure identification is read;
transmitting the upgrade result to the server; and clearing the data of the mark information storage area.
Optionally, when a storage abnormality occurs in the upgrade data, triggering the step of moving the upgrade data in the upgrade data storage area to the code application area for storage again;
When the number of times of occurrence of storage abnormality of the upgrade data reaches a second number threshold, the upgrade processing is stopped, it is determined that the movement of the upgrade data fails, an upgrade start identification of the flag information storage area is modified to a failure identification, and upgrade failure information is transmitted to the server.
Similarly to the first time threshold, a second time threshold may be preset, an abnormality occurs when the upgrade data is moved, a movement operation may be repeatedly requested (for example, the second threshold is 5, 5 movement operations may be repeatedly attempted), and when it is detected that the number of times of occurrence of the storage abnormality of the upgrade data reaches the second time threshold, the attempt to move the data may be canceled, the program operation may be terminated, and the upgrade may fail.
Under the condition that the successful identification is read in the mark information storage area, the success of the upgrading can be determined, and the upgrading is fed back to the server to finish the upgrading. After the processing is completed, the flag information storage area needs to be emptied, and then the next upgrading action uses the area.
The traditional microcontroller upgrading mode is that a chip burner provided by a microcontroller chip manufacturer is used for updating a program, the upgrading mode of the microcontroller can be used in a debugging stage of a product, the product is not provided with a shell, but the product is difficult to operate after being formally marketed in batches, the whole machine needs to be split for upgrading the product in the mode, the product can be upgraded only by connecting the burner through a connecting wire after a control panel is exposed, the mode is obviously unreasonable to products from a factory, certain permanent damage is caused after the whole machine product is split, the turnover cost related to the product returning is not the cost of the manufacturer, and the microcontroller OTA method based on the Internet of things platform needs to be used under the conditions of not damaging the products and reducing the turnover cost. The method in the embodiment of the application is a stable micro-controller OTA method based on the platform of the Internet of things, which not only can damage products, but also can strictly control the safety and version information of micro-controller chip software.
In order to more clearly illustrate the process flow of upgrading the microcontroller in the embodiment of the present application, reference may be made to fig. 3, and fig. 3 is a schematic diagram of an upgrade flow of the microcontroller according to the embodiment of the present application. In the embodiment of the application, in order not to influence the normal functions of the microcontroller in the upgrading process, the functions are normally operated in the process of upgrading firmware downloading, namely, upgrading data is firstly downloaded to an upgrading data storage area and then software is upgraded, so that normal function use is not influenced even if the upgrading fails, the normal function is directly replaced after the upgrading starts in other schemes, and all functions of a product are lost once the product is in a midway upgrading state.
As shown in fig. 3, wherein the start frame data of the upgrade data includes the aforementioned upgrade information, i.e., the start frame data content may include a firmware type, a firmware series, a firmware total byte, an accumulated checksum, and version information.
Verifying the firmware type, the firmware serial identification and the version information; if the verification is not passed, the updating of the response server fails, and the updating is canceled; if the verification is passed, storing the initial frame data content (firmware total bytes, accumulated checksum);
after the initial frame data is stored, the upgrade data storage area can be erased, and the upgrade data is prepared to be cached; the response server starts to receive the data;
judging whether the data reception is overtime (for example, the process is 3 seconds, judging overtime, 10 continuous operations); under the condition of overtime of multiple times of receiving, the server upgrade failure can be responded, and the upgrade is canceled; if the received data has not timed out,
Detecting whether the data frame sequence is correct;
if the data frame sequence is incorrect, the response server fails to upgrade, and the upgrade is canceled; if the data is correct, performing CRC16 calculation to obtain a check value (for performing data comparison before and after writing);
writing the received data into an OTA data storage area;
Reading data written into the upgrade data storage area, calculating a CRC16 target check value, and comparing whether the initial check value before and after writing is identical with the target check value; if the answer is different, the upgrade of the response server fails, and the upgrade is canceled; if the same, the upgrade data can be accumulated and calculated (so that the accumulated check comparison is carried out after the complete receiving of the data);
Judging whether all the data are received, if not, requesting the server to send the next frame of data; if the data is received, performing accumulation check comparison;
If the accumulated check fails, the updating of the response server fails, and the updating is canceled; if the accumulation check is passed, writing an OTA-START mark in an OTA related FLAG information sector (mark information storage area); the answer server downloads and ends; finally, the software is reset to enter a code starting area to prepare for starting the upgrade data carrying;
After the software is reset and restarted, judging whether an OTA-START mark exists in the mark information storage area, and if not, not carrying out data carrying processing; carrying out data carrying if the data is available; carry the data of the upgrade data storage area to APP area (code application area);
Detecting whether the handling is successful (if not, repeating the operation for 5 times); writing an OTA-SUCCESS mark into the mark information storage area to enter an APP area under the condition that the carrying for many times is unsuccessful;
Judging whether the connection server is overtime; if the time is over, if the time is not over, judging whether an OTA-SUCCESS mark exists or not; if the chip is not in error, the program is stopped to run, and the upgrading is failed; if yes, the answer server is successfully upgraded, and the upgrade is ended.
In general, the upgrade data interaction adopts a response mode, the platform sends data, and the microcontroller responds after receiving the data, if the data is not received by the intermediate microcontroller or the received data is abnormal, the corresponding data can be requested to be retransmitted, so that the situation that the data is missing and wrong is avoided.
After the data handling is completed, the mark information storage area is changed into an OTA-SUSESS mark, and if the handling FAILs, the OTA-FAIL mark is changed into the OTA-SUSESS mark, generally, the data handling cannot FAIL, and once the handling FAILs, the storage area of the microcontroller is irreparably damaged, and in this case, the microcontroller chip can only be replaced. The software jumps into the code application area after the flag information is modified to execute the new firmware code.
After the software is run to the code application area, the identification information in the identification information storage area is read, the final result of the upgrade is fed back to the platform server according to the read information, the upgrade is successful if the OTA-SUSESS is successful, and the upgrade failure if the OTA-FAIL is failed. After the information is read, the mark information storage area needs to be emptied so as to reuse the area in the next upgrading action, and errors caused by invalid data are avoided.
According to the embodiment of the application, through dividing the chip storage resources, the function blocks which normally run are isolated from the downloaded data function blocks, so that the abnormal function caused by errors in the process of upgrading and downloading the data is avoided, and the risk that the original normal product is scrapped due to upgrading is effectively solved.
Fig. 4 is a schematic diagram of another method for upgrading a microcontroller on line according to an embodiment of the present application, which can be applied to a terminal device. The method is an upgrade management method corresponding to the method shown in fig. 2 or 3, and comprises the following steps:
401. And acquiring upgrade data to be uploaded, and acquiring upgrade information of the input upgrade data, wherein the upgrade information comprises a firmware type, a firmware module, a firmware series identifier and/or a version identifier.
402. The method comprises the steps of acquiring input upgrading operation information, wherein the upgrading operation information comprises a release mode and an upgrading mode corresponding to the upgrading data, the release mode is used for designating a microcontroller to be upgraded, which is upgraded by using the upgrading data, and the upgrading mode is used for designating a mode of upgrading by using the upgrading data by using the microcontroller.
403. Uploading the upgrade data and the upgrade information to a server so that the microcontroller to be upgraded is upgraded according to the upgrade mode.
The execution body of an embodiment of the present application may be a terminal device, including but not limited to, such as a desktop computer, may have a touch sensitive surface (e.g., a touch screen display and/or a touch pad). It should also be appreciated that in some embodiments, the above-described device may also be a mobile phone, laptop computer, or other portable device such as a tablet computer having a touch-sensitive surface (e.g., a touch screen display and/or a touch pad).
Specifically, the user can manage and control the upgrade of the microcontroller through the terminal device on the internet of things platform, and mainly can perform standardized management on upgrade data of the microcontroller, namely, the upgrade data comprises the upgrade information for setting the upgrade data and corresponding upgrade operation. The above steps may be described in detail in the embodiment shown in fig. 1, and are not described herein.
After the upgrade management and control setting is performed and the upgrade data is uploaded to the server, corresponding upgrade processing may be performed according to the upgrade management and control setting, and the microcontroller may acquire the upgrade data from the server and perform the upgrade according to the setting, that is, see the description in the embodiment shown in fig. 2 and/or fig. 3, which will not be repeated herein.
In the general upgrading method, the upgrading firmware source file of the microcontroller is not ensured to be safe, and version information is not effectively managed.
The upgrading firmware is managed and controlled through the Internet of things platform, the information input of the editing upgrading firmware is used as an entry, the product upgrading firmware is filtered through the multidimensional corresponding product, the receiving of the firmware inconsistent with the product is avoided, and the product can be normally finished to upgrade and reform.
In addition, the method for flexibly selecting whether the storage of the upgrade data of the microcontroller is on-chip or off-chip is not effective is generally carried out, and because the microcontroller product has higher requirements on cost, the storage of the upgrade data is flexibly selected if the online upgrade is realized on the premise of controlling the cost, for example, the upgrade data is stored in the chip if the on-chip storage space is large, the expansion space of an on-chip code type FLASH memory (FLASH chip) is needed if the on-chip storage space is small, and for different microprocessors, the data storage position can be specified in the upgrade information of an uploading platform, the microprocessor firstly acquires the upgrade information when acquiring the upgrade data and stores the upgrade data in the specified data storage position; or the configuration can be performed in the microprocessor in advance, and when the data storage position is set in the program of the microprocessor, the upgrade data is stored to the corresponding position preferentially according to the program setting of the microprocessor. The application can select the optimal scheme according to the cost control of the microcontroller.
Based on the description of the method embodiment, the embodiment of the application also discloses a microcontroller. Referring to fig. 5, the microcontroller 500 includes:
a receiving module 510, configured to receive upgrade data;
A storage module 520 for storing the upgrade data to the upgrade data storage area;
A checking module 530, configured to perform accumulation check on the upgrade data when all the upgrade data are received;
An identification module 540, configured to write an upgrade start identification in the flag information storage area if the accumulation check passes;
a data handling module 550, configured to initiate a software reset, and after entering the code initiation area, move the upgrade data in the upgrade data storage area to the code application area for storage;
The identification module 540 is further configured to modify the upgrade initiation identification of the flag information storage area to a success identification after the upgrade data is moved successfully, so as to indicate that the upgrade of the microcontroller is successful.
According to an embodiment of the present application, each of the steps involved in the methods shown in fig. 2 and 3 may be performed by each of the modules in the microcontroller 500 shown in fig. 5, and will not be described again.
The microcontroller 500 in the embodiment of the present application is divided into an upgrade data storage area, a flag information storage area, a code starting area and a code application area; the upgrade data storage area is used for storing upgrade data, the mark information storage area is used for storing an identifier indicating an upgrade state in upgrade processing, the code starting area is used for storing and running a starting code of the microcontroller, and the starting code is used for initializing system parameters of the microcontroller; the code application area is used for storing and running the application code of the microcontroller, and can receive the upgrade data, store the upgrade data into the upgrade data storage area, and under the condition that the upgrade data is completely received, carry out accumulation check on the upgrade data, under the condition that the accumulation check is passed, write an upgrade starting identification into the mark information storage area, then start software to reset, enter the code starting area, move the upgrade data of the upgrade data storage area into the code application area for storage, modify the upgrade starting identification of the mark information storage area into a successful identification after the upgrade data is successfully moved, so as to indicate the upgrade success of the microcontroller, modify the upgrade starting identification of the mark information storage area into a failure identification after the upgrade data is successfully moved, so as to indicate the upgrade failure of the microcontroller, wherein the upgrade data is buffered into the upgrade data storage area and then carried into the code application area, and the normally running functional blocks and the downloaded data functional blocks are isolated by dividing the chip storage resources, so that the reliability of the upgrade can be improved, and the risk of rejection of the microcontroller due to errors in the upgrade downloading data process is avoided.
Based on the description of the method embodiment and the device embodiment, the embodiment of the application also provides a microcontroller, which at least comprises an internet of things module, a microcontroller chip and a computer storage medium. The internet of things module in the microcontroller and the microcontroller chip can be connected through a bus or other modes.
The computer storage medium may be stored in a memory of a microcontroller, the computer storage medium being for storing a computer program comprising program instructions, the microcontroller chip being operable to execute the program instructions stored in the computer storage medium. In one embodiment, the microcontroller of an embodiment of the present application may be used to perform a series of processes, including the method of the embodiment shown in fig. 2 and/or 3, and so on.
The embodiment of the application also provides a computer storage medium (Memory), which is a Memory device in the electronic device and is used for storing programs and data. It is understood that the computer storage medium herein may include a built-in storage medium in the microcontroller, and of course may include an extended storage medium supported by the microcontroller. The computer storage medium provides a memory space that stores the operating program of the microcontroller and may be used to store upgrade data for the microcontroller. Also stored in the memory space are one or more instructions, which may be one or more computer programs (including program code), adapted to be loaded and executed by the microcontroller. It should be noted that, the computer storage medium herein may be a FLASH chip.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the apparatus and modules described above may refer to the corresponding process in the foregoing method embodiment, which is not repeated herein.
In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the division of the module is merely a logical function division, and there may be another division manner when actually implemented, for example, a plurality of modules or components may be combined or may be integrated into another system, or some features may be omitted or not performed. The coupling or direct coupling or communication connection shown or discussed with each other may be through some interface, device or module indirect coupling or communication connection, which may be in electrical, mechanical, or other form.
The modules illustrated as separate components may or may not be physically separate, and components shown as modules may or may not be physical modules, i.e., may be located in one place, or may be distributed over a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted across a computer-readable storage medium. The computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line (digital subscriber line, DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media.
Claims (10)
1. An online upgrading method of a microcontroller is applied to the microcontroller and is characterized in that the microcontroller comprises an upgrading data storage area, a mark information storage area, a code starting area and a code application area; the upgrade data storage area is used for storing upgrade data, the mark information storage area is used for storing an identifier indicating an upgrade state in upgrade processing, the code starting area is used for storing and running a starting code of the microcontroller, and the starting code is used for initializing system parameters of the microcontroller; the code application area is used for storing and running application codes of the microcontroller; the method comprises the following steps:
Receiving upgrade data, and storing the upgrade data into the upgrade data storage area;
under the condition that the upgrade data are completely received, carrying out accumulation check on the upgrade data;
writing an upgrade starting identification in the mark information storage area under the condition that the accumulation check passes;
starting software reset, entering the code starting area, and moving the upgrade data of the upgrade data storage area to the code application area for storage;
and after the upgrade data is successfully moved, modifying the upgrade starting identification of the mark information storage area into a success identification so as to indicate that the microcontroller is successfully upgraded.
2. The method of on-line upgrade of a microcontroller according to claim 1, wherein the receiving upgrade data, before storing the upgrade data in the upgrade data storage area, further comprises:
Receiving upgrade information of the upgrade data, wherein the upgrade information comprises a firmware type, a firmware series identifier and version information, the firmware type is used for indicating a driver type in the microcontroller, and the firmware series identifier is used for identifying program classification information of the microcontroller; the version information comprises internal version information and/or external version information, wherein the internal version information is software version information in the microcontroller, and the external version information is version information which is used for being displayed for a user to check by an Internet of things platform;
Checking the firmware type, the firmware series identifier and the version information, and judging whether the upgrade data is suitable for the microcontroller;
if yes, storing the upgrade information; and clearing the upgrade data storage area and starting to receive the upgrade data.
3. The method of on-line upgrade of a microcontroller according to claim 2, wherein before said verifying the firmware type, the firmware family identification and the version information, the method further comprises:
acquiring the storage space parameters of the microcontroller and the total number of firmware bytes of the upgrade data;
Judging whether the memory of the microcontroller supports the storage of the upgrade data according to the storage space parameters and the total number of bytes of the firmware;
if yes, triggering the step of verifying the firmware type, the firmware serial identifier and the version information.
4. A method of online upgrade of a microcontroller according to any one of claims 1-3, wherein after said receiving said upgrade data, the method further comprises:
Under the condition that the data frame sequence of the upgrade data is correct, acquiring an initial check value of the upgrade data;
after the upgrade data is stored in the upgrade data storage area, acquiring a target check value of the data of the upgrade data storage area;
Comparing whether the target check value is consistent with the initial check value;
and if the update data are consistent, triggering the step of carrying out accumulation verification on the update data.
5. The method of on-line upgrade of microcontrollers of claim 4, further comprising:
requesting again to receive the upgrade data from the server in case that the reception of the upgrade data is overtime;
and when the times of the upgrade data receiving timeout reach a first time threshold value, canceling receiving the upgrade data and sending download failure information to the server.
6. A method of online upgrade of a microcontroller according to any one of claims 1-3, wherein the method further comprises:
Triggering the step of moving the upgrade data of the upgrade data storage area to the code application area for storage again under the condition that the upgrade data is abnormal in storage;
And stopping upgrading processing when the number of times of occurrence of storage abnormality of the upgrading data reaches a second number threshold, modifying an upgrading start identifier of the mark information storage area into a failure identifier, and sending upgrading failure information to a server.
7. The method of on-line upgrade of microcontrollers of claim 6, further comprising:
Transmitting downloading completion information to a server under the condition that the mark information storage area detects the upgrading start mark, wherein the downloading completion information is used for indicating the microcontroller to complete downloading of the upgrading data;
Reading the identification information in the identification information storage area; the method comprises the steps that an upgrading result is determined to be upgrading success under the condition that a success identifier is read, and the upgrading result is determined to be upgrading failure under the condition that a failure identifier is read;
sending the upgrading result to the server; and clearing the data of the mark information storage area.
8. An online upgrade method of a microcontroller, applied to a terminal device, is characterized by comprising the following steps:
The method comprises the steps of obtaining upgrade data to be uploaded, obtaining upgrade information of the input upgrade data, wherein the upgrade information comprises a firmware type, a firmware module, a firmware series identifier and/or version information, the firmware type is used for indicating a driver type in the microcontroller, the firmware module comprises an Internet of things module type used by the microcontroller, the firmware series identifier is used for identifying program classification information of the microcontroller, the version information comprises internal version information and/or external version information, the internal version information is software version information in the microcontroller, and the external version information is version information used for being displayed for a user to view by an Internet of things platform;
the method comprises the steps that input upgrading operation information is obtained, the upgrading operation information comprises a release mode and an upgrading mode corresponding to upgrading data, the release mode is used for designating a microcontroller to be upgraded, which is upgraded by using the upgrading data, and the upgrading mode is used for designating a mode of upgrading by using the upgrading data by the microcontroller;
and uploading the upgrade data and the upgrade information to a server so that the microcontroller to be upgraded is upgraded according to the upgrade mode.
9. The microcontroller is characterized by comprising an Internet of things module and a microcontroller chip, wherein the Internet of things module is used for data interaction between the microcontroller and a server; the microcontroller stores a computer program which, when executed by the microcontroller chip, causes the microcontroller to perform the steps of the online upgrade method of a microcontroller as claimed in any one of claims 1 to 7.
10. A computer readable storage medium, characterized in that a computer program is stored, which, when being executed by a processor, causes the processor to perform the steps of the online upgrade method of a microcontroller according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011013638.0A CN112181455B (en) | 2020-09-24 | 2020-09-24 | Online upgrading method of microcontroller, microcontroller and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011013638.0A CN112181455B (en) | 2020-09-24 | 2020-09-24 | Online upgrading method of microcontroller, microcontroller and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112181455A CN112181455A (en) | 2021-01-05 |
CN112181455B true CN112181455B (en) | 2024-04-26 |
Family
ID=73956557
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011013638.0A Active CN112181455B (en) | 2020-09-24 | 2020-09-24 | Online upgrading method of microcontroller, microcontroller and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112181455B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114546456B (en) * | 2020-11-24 | 2024-05-24 | 中移物联网有限公司 | Upgrading method and device and electronic equipment |
CN113938732A (en) * | 2021-10-18 | 2022-01-14 | 深圳创维-Rgb电子有限公司 | Remote controller command execution method, device, equipment and storage medium |
CN115794156B (en) * | 2022-11-18 | 2025-09-05 | 苏州东剑智能科技有限公司 | Method and device for remote firmware upgrade of instrument equipment |
CN118151977B (en) * | 2024-05-13 | 2024-08-23 | 深圳市易优电气有限公司 | Firmware upgrading method and system of controller chip |
CN120196481B (en) * | 2025-05-20 | 2025-08-29 | 广东赛铂安智能科技有限公司 | Disaster recovery method in OTA process of industrial equipment software |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1496435A1 (en) * | 2003-07-11 | 2005-01-12 | Yogitech Spa | Dependable microcontroller, method for designing a dependable microcontroller and computer program product therefor |
WO2014075491A1 (en) * | 2012-11-19 | 2014-05-22 | 中兴通讯股份有限公司 | Binary integration boot program and setting method for kernel program |
CN105354063A (en) * | 2015-11-18 | 2016-02-24 | 上海联影医疗科技有限公司 | Online program upgrading method and system |
US9798534B1 (en) * | 2015-07-01 | 2017-10-24 | EMC IP Holding Company LLC | Method and system to perform non-intrusive online disk firmware upgrades |
WO2018041061A1 (en) * | 2016-08-29 | 2018-03-08 | 深圳市中兴微电子技术有限公司 | Onboard device upgrade method, device, system and computer storage medium |
WO2018120213A1 (en) * | 2016-12-30 | 2018-07-05 | 深圳配天智能技术研究院有限公司 | Firmware updating method and controller |
CN109343873A (en) * | 2018-08-28 | 2019-02-15 | 九阳股份有限公司 | A kind of intelligent appliance remote upgrade control method |
CN110633097A (en) * | 2018-06-21 | 2019-12-31 | 新智数字科技有限公司 | OTA (over the air) upgrading method and device for single chip microcomputer |
WO2020140734A1 (en) * | 2019-01-02 | 2020-07-09 | 武汉光迅科技股份有限公司 | Online program update method for optical amplifier, and device |
-
2020
- 2020-09-24 CN CN202011013638.0A patent/CN112181455B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1496435A1 (en) * | 2003-07-11 | 2005-01-12 | Yogitech Spa | Dependable microcontroller, method for designing a dependable microcontroller and computer program product therefor |
WO2014075491A1 (en) * | 2012-11-19 | 2014-05-22 | 中兴通讯股份有限公司 | Binary integration boot program and setting method for kernel program |
US9798534B1 (en) * | 2015-07-01 | 2017-10-24 | EMC IP Holding Company LLC | Method and system to perform non-intrusive online disk firmware upgrades |
CN105354063A (en) * | 2015-11-18 | 2016-02-24 | 上海联影医疗科技有限公司 | Online program upgrading method and system |
WO2018041061A1 (en) * | 2016-08-29 | 2018-03-08 | 深圳市中兴微电子技术有限公司 | Onboard device upgrade method, device, system and computer storage medium |
WO2018120213A1 (en) * | 2016-12-30 | 2018-07-05 | 深圳配天智能技术研究院有限公司 | Firmware updating method and controller |
CN110633097A (en) * | 2018-06-21 | 2019-12-31 | 新智数字科技有限公司 | OTA (over the air) upgrading method and device for single chip microcomputer |
CN109343873A (en) * | 2018-08-28 | 2019-02-15 | 九阳股份有限公司 | A kind of intelligent appliance remote upgrade control method |
WO2020140734A1 (en) * | 2019-01-02 | 2020-07-09 | 武汉光迅科技股份有限公司 | Online program update method for optical amplifier, and device |
Non-Patent Citations (1)
Title |
---|
多节点软件触发式Bootloader设计与实现;郭帅;李军伟;高松;;现代电子技术;20170915(18);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN112181455A (en) | 2021-01-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112181455B (en) | Online upgrading method of microcontroller, microcontroller and storage medium | |
CN112486554B (en) | Vehicle-mounted networking terminal software upgrading method | |
CN112910714A (en) | Remote firmware upgrading method for Internet of things terminal equipment with master-slave machine structure | |
CN109358887B (en) | On-line upgrading method, device and system for single chip microcomputer program | |
CN111522562B (en) | Dishwasher software burning method, device and equipment thereof | |
CN110083374A (en) | A kind of upgrading rollback method, system and terminal device | |
US20120117557A1 (en) | Method and system for upgrading wireless data card | |
CN112698851B (en) | Program update system, program transfer device, and program transfer method | |
CN111813428A (en) | Method and device for upgrading terminal firmware, electronic equipment and storage medium | |
CN112152846B (en) | Metering instrument remote upgrading method based on Internet of things | |
CN101196823B (en) | Method, system and equipment for on-line software upgrade in open application structure | |
CN112015447B (en) | System updating method and device of electronic equipment, electronic equipment and storage medium | |
CN111414177A (en) | A vehicle upgrade method, device, terminal and storage medium | |
CN108121560A (en) | Difference bag upgrade method, device, terminal and computer readable storage medium | |
CN110716735A (en) | System upgrading method and device, intelligent terminal and computer readable storage medium | |
CN102004657A (en) | Electronic equipment and updating method thereof | |
CN108322540A (en) | Customized data lead-in method, terminal and computer readable storage medium | |
CN111813597A (en) | Air conditioner | |
CN113094064A (en) | Gateway software module upgrading method, device, equipment and storage medium | |
CN116301995A (en) | Firmware upgrading method based on bootloader architecture | |
CN110457058A (en) | Control node online upgrade method, device, host computer, system and electronic equipment | |
CN111610995B (en) | Device firmware upgrading method and device, electronic device and storage medium | |
CN109428936B (en) | APP upgrade method, device, system, electronic device and storage medium | |
JP3093541B2 (en) | Terminal device and online system for managing version numbers of programs and data | |
CN114020294A (en) | Method, system and storage medium for wireless upgrading of ECU |
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 |