CN110609692A - Data acquisition module, firmware upgrading method thereof and storage medium - Google Patents
Data acquisition module, firmware upgrading method thereof and storage medium Download PDFInfo
- Publication number
- CN110609692A CN110609692A CN201910722905.2A CN201910722905A CN110609692A CN 110609692 A CN110609692 A CN 110609692A CN 201910722905 A CN201910722905 A CN 201910722905A CN 110609692 A CN110609692 A CN 110609692A
- Authority
- CN
- China
- Prior art keywords
- firmware
- upgrade
- upgrading
- space block
- data acquisition
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3058—Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- Quality & Reliability (AREA)
- Stored Programmes (AREA)
Abstract
The application discloses a data acquisition module, a firmware upgrading method thereof and a computer readable storage medium, wherein the data acquisition module comprises two APP space blocks for storing firmware codes comprising preset upgrading instructions; the firmware upgrading method comprises the following steps: after receiving an upgrade command, executing a preset upgrade instruction in the currently running firmware code so as to write the acquired firmware code of the new version number into the spare APP space block in a covering manner; after upgrading is finished, executing a soft restart instruction to jump into a bootstrap program; judging whether the upgrade is successful or not through a bootstrap program; if yes, overwriting the firmware codes in the standby APP space block into the main APP space block; and reporting an upgrade ending response message corresponding to the upgrade result. But this application batchization realizes online firmware upgrading, has effectively improved efficiency to utilize main APP space piece and reserve APP space piece to carry out redundancy protection to the firmware code, effectively improved the stability and the usability of product.
Description
Technical Field
The present disclosure relates to the field of firmware upgrading technologies, and in particular, to a data collection module, a firmware upgrading method thereof, and a computer-readable storage medium.
Background
In a modern machine room, monitoring of various devices, environments, batteries and the like is particularly important. The terminal data acquisition is realized by various data acquisition modules. For example, a temperature and humidity acquisition module, a battery voltage acquisition module, a current acquisition module, and the like. With the updating and development of the technology, the firmware upgrading of the data acquisition module is often required. The original upgrading method is one-to-one upgrading, and time and energy are consumed in modes of downloading and burning through a PC (personal computer). Later on-line upgrading occurs, but the on-line upgrading fault-tolerant capability in the prior art is poor, once upgrading fails, a program can be damaged, on-line upgrading cannot be performed again, and only burning can be performed through dismantling. In addition, in the case of burning, data such as the original setting parameters and the like are removed, so that the data need to be operated again, and the efficiency is low. In view of the above, it is an important need for those skilled in the art to provide a solution to the above technical problems.
Disclosure of Invention
The application aims to provide a data acquisition module, a firmware upgrading method thereof and a computer readable storage medium, so that the workload of technicians is effectively reduced, the upgrading efficiency is improved, certain fault-tolerant capability is guaranteed, and the stability and the usability of products are ensured.
In order to solve the above technical problem, in a first aspect, the present application discloses a firmware upgrading method for a data acquisition module, where the data acquisition module includes two APP space blocks and a boot program space block in which a boot program is stored; the APP space block is used for storing firmware codes comprising preset upgrading instructions; the firmware upgrading method comprises the following steps:
after receiving an upgrade command, executing the preset upgrade instruction in the currently running firmware code so as to write the acquired firmware code of the new version number into the standby APP space block in a covering manner; the currently running firmware code is a firmware code stored in the main APP space block;
after upgrading is finished, executing a soft restart instruction to jump into the bootstrap program;
judging whether the upgrade is successful or not through the bootstrap program;
if yes, overwriting the firmware codes in the standby APP space block into the main APP space block;
and reporting an upgrade ending response message corresponding to the upgrade result.
Optionally, after the determining, by the bootstrap program, whether the upgrade is successful further includes:
and if not, overwriting the firmware codes in the main APP space block into the standby APP space block.
Optionally, overwriting the acquired firmware code with the new version number into the spare APP space block, including:
emptying the spare APP space block;
and writing the firmware code of the new version number into the standby APP space block.
Optionally, the determining, by the bootstrap program, whether the upgrade is successful includes:
reading the mark quantity of a preset mark bit; in the execution process of the preset upgrading instruction, if upgrading is overtime or error is reported, the preset mark quantity is set as a first mark quantity; otherwise, setting the preset mark quantity as a second mark quantity;
and judging whether the upgrading is successful according to the read mark quantity.
Optionally, after reporting the upgrade end response message corresponding to the upgrade result, the method further includes:
and setting the preset mark position as a third mark amount.
Optionally, after receiving the upgrade command, executing the preset upgrade instruction in the currently running firmware code includes:
determining the new version number of the firmware code according to the received upgrade command;
judging whether the new version number is different from the local old version number;
if yes, starting the step of executing the preset upgrading instruction in the currently operated firmware code.
Optionally, the reporting of the upgrade end response message corresponding to the upgrade result includes:
if the upgrade is successful, reporting a response message of successful upgrade and the new version number;
and if the upgrade fails, reporting an upgrade failure response message and the old version number.
Optionally, after reporting the upgrade end response message corresponding to the upgrade result, the method further includes:
running a firmware code stored in the main APP space block after the upgrading is finished; the main APP space block is an APP space block from which the data acquisition module defaults to read firmware codes to run.
In a second aspect, the present application discloses a data acquisition module, comprising:
a memory for storing a computer program; the computer program comprises a boot program stored in a boot program space block and firmware codes respectively stored in two APP space blocks;
a processor for executing the computer program to implement the steps of any of the above described methods for upgrading firmware of a data collection module.
In a third aspect, the present application discloses a computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, is configured to implement the steps of any one of the above-mentioned methods for upgrading firmware of a data acquisition module.
The application provides a firmware upgrading method of a data acquisition module, wherein the data acquisition module comprises two APP space blocks and a bootstrap space block stored with a bootstrap; the APP space block is used for storing firmware codes comprising preset upgrading instructions; the firmware upgrading method comprises the following steps: after receiving an upgrade command, executing the preset upgrade instruction in the currently running firmware code so as to write the acquired firmware code of the new version number into the standby APP space block in a covering manner; the currently running firmware code is a firmware code stored in the main APP space block; after upgrading is finished, executing a soft restart instruction to jump into the bootstrap program; judging whether the upgrade is successful or not through the bootstrap program; if yes, overwriting the firmware codes in the standby APP space block into the main APP space block; and reporting an upgrade ending response message corresponding to the upgrade result.
Therefore, the firmware code is automatically upgraded on line by using the preset upgrading instruction in the firmware code, the firmware upgrading of a plurality of data acquisition modules can be realized in batch, and the processing efficiency is greatly improved; in addition, redundancy protection is carried out on firmware codes by utilizing the main APP space block and the standby APP space block, the fault-tolerant capability is effectively improved, and when one APP space block fails to be upgraded, all firmware codes cannot be lost, so that the problem that equipment cannot be used due to upgrading failure is effectively avoided, the user experience is greatly improved, and the stability and the usability of products are improved. The data acquisition module and the computer-readable storage medium provided by the application also have the beneficial effects.
Drawings
In order to more clearly illustrate the technical solutions in the prior art and the embodiments of the present application, the drawings that are needed to be used in the description of the prior art and the embodiments of the present application will be briefly described below. Of course, the following description of the drawings related to the embodiments of the present application is only a part of the embodiments of the present application, and it will be obvious to those skilled in the art that other drawings can be obtained from the provided drawings without any creative effort, and the obtained other drawings also belong to the protection scope of the present application.
Fig. 1 is a flowchart of a firmware upgrading method for a data acquisition module according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a storage space of a data acquisition module disclosed in an embodiment of the present application;
FIG. 3 is a flowchart of a method for upgrading firmware of a data collection module according to an embodiment of the present disclosure;
fig. 4 is a block diagram of a data acquisition module according to an embodiment of the present disclosure.
Detailed Description
The core of the application is to provide a data acquisition module, a firmware upgrading method thereof and a computer readable storage medium, so that the workload of technicians is effectively reduced, the upgrading efficiency is improved, a certain fault-tolerant capability is guaranteed, and the stability and the availability of products are ensured.
In order to more clearly and completely describe the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Currently, with the updating and development of technology, firmware upgrade of various data acquisition modules is often required. The original upgrading method is one-to-one upgrading, and time and energy are consumed in modes of downloading and burning through a PC (personal computer). Later on-line upgrading occurs, but the on-line upgrading fault-tolerant capability in the prior art is poor, once upgrading fails, a program can be damaged, on-line upgrading cannot be performed again, and only burning can be performed through dismantling. In addition, in the case of burning, data such as the original setting parameters and the like are removed, so that the data need to be operated again, and the efficiency is low. In view of this, the present application provides a method for upgrading firmware of a data acquisition module, which can effectively solve the above problems.
Referring to fig. 1, an embodiment of the present application discloses a firmware upgrade method for a data acquisition module, where the data acquisition module includes two APP space blocks and a boot program space block in which a boot program is stored; the APP space blocks are all used for storing firmware codes comprising preset upgrading instructions; the firmware upgrading method comprises the following steps:
s101: and after receiving the upgrade command, executing a preset upgrade instruction in the currently running firmware code so as to overwrite the acquired firmware code with the new version number into the standby APP space block.
The currently running firmware code is the firmware code stored in the main APP space block.
Specifically, referring to fig. 2, fig. 2 is a schematic view of a storage space of a data acquisition module disclosed in the embodiment of the present application.
Specifically, the storage space of the data acquisition module is divided into a plurality of space blocks, including two APP space blocks and a bootstrap space block. The data acquisition module comprises a plurality of APP space blocks, wherein each APP space block is stored with a firmware code of the data acquisition module, and the data acquisition module can realize application program functions such as data acquisition by running the firmware code.
It should be noted that, of the two APP space blocks, one is a main APP space block, and the other is a standby APP space block. The data acquisition module reads a firmware program from the main APP space block by default and operates the firmware program; during a non-firmware upgrade, the standby APP space block is used to store a copy of the firmware program in the primary APP space block in order to achieve fault tolerance protection. Therefore, in general, the firmware code that normally runs after booting is the firmware code stored in the main APP space block.
The boot space block has a boot stored therein. As will be understood by those skilled in the art, a boot program is a program that automatically runs on a device upon power up to boot and load firmware code to initiate operation of the data collection module.
In addition, the storage space of the data acquisition module may further include a configuration parameter space block, which is used to store the configuration parameters of the data acquisition module for the firmware code to call when running.
It should be further noted that, in the embodiment of the present application, a preset upgrade instruction is set in a firmware code of the data acquisition module, and after an upgrade instruction is received in a broadcast or other form, the data acquisition module that is operating a firmware code in the main APP space block can directly execute the preset upgrade instruction in the firmware code, so that the acquired firmware code of the new version number is written into another APP space block, that is, the standby APP space block in a coverage manner.
It should be noted that, because the data acquisition module is currently running the firmware code in the main APP space block, the firmware code of the new version number cannot be written into the main APP space in an overwriting manner, so that the firmware code of the new version number can be written into the standby APP space block.
It is to be easily understood that, as an embodiment, the storage content in the standby APP space block may be cleared first when overwriting, that is, overwriting the acquired firmware code with the new version number in the standby APP space block may specifically include:
emptying a standby APP space block; and writing the firmware code of the new version number into the standby APP space block.
S102: after the upgrade is finished, a soft restart instruction is executed to jump into the boot program.
The soft restart instruction can execute the restart operation, and then jump to the boot program.
S103: judging whether the upgrade is successful or not through a bootstrap program; if yes, the process proceeds to S104.
And after the preset upgrading instruction is executed and jumps to the bootstrap program, judging whether the upgrading is successful or not through the bootstrap program. Specifically, the upgrade result may be determined by using a preset flag set during execution of a preset upgrade instruction. Therefore, further, the determining, by the bootstrap program, whether the upgrade is successful may specifically include:
reading the mark quantity of a preset mark bit; in the execution process of the preset upgrading instruction, if upgrading is overtime or error is reported, the preset mark quantity is set as a first mark quantity; otherwise, setting the preset mark quantity as a second mark quantity; and judging whether the upgrading is successful according to the read mark quantity.
For example, the first flag amount may be specifically 1, which represents an upgrade failure; the second flag amount may be specifically 2, which represents that the upgrade is successful.
S104: and overwriting the firmware code in the standby APP space block into the main APP space block.
After the upgrade is finished, if the upgrade is judged to be successful by running the bootstrap program, the firmware code in the standby APP space block is the firmware code of the new version number, and the other APP space block, namely the main APP space block, can be written in a covering manner.
S105: and reporting an upgrade ending response message corresponding to the upgrade result.
Furthermore, after step 105, the preset flag may be set to a default third flag, for example, 3, to indicate a non-upgrade status.
The firmware upgrading method for the data acquisition module provided by the embodiment of the application comprises the following steps: after receiving an upgrade command, executing a preset upgrade instruction in the currently running firmware code so as to write the acquired firmware code of the new version number into the spare APP space block in a covering manner; the currently running firmware code is a firmware code stored in the main APP space block; after upgrading is finished, executing a soft restart instruction to jump into a bootstrap program; judging whether the upgrade is successful or not through a bootstrap program; if yes, overwriting the firmware codes in the standby APP space block into the main APP space block; and reporting an upgrade ending response message corresponding to the upgrade result.
Therefore, the firmware code is automatically upgraded on line by using the preset upgrading instruction in the firmware code, the firmware upgrading of a plurality of data acquisition modules can be realized in batch, and the processing efficiency is greatly improved; in addition, redundancy protection is carried out on firmware codes by utilizing the main APP space block and the standby APP space block, the fault-tolerant capability is effectively improved, and when one APP space block fails to be upgraded, all firmware codes cannot be lost, so that the problem that equipment cannot be used due to upgrading failure is effectively avoided, the user experience is greatly improved, and the stability and the usability of products are improved.
Referring to fig. 3, the embodiment of the present application discloses yet another firmware upgrading method for a data acquisition module, where the data acquisition module includes two APP space blocks and a boot program space block in which a boot program is stored; the APP space block is used for storing firmware codes comprising preset upgrading instructions; the firmware upgrading method mainly comprises the following steps:
s201: and determining a new version number of the firmware code according to the received upgrade command.
S202: judging whether the new version number is different from the local old version number; if yes, the process proceeds to S203.
Specifically, in order to avoid the blind firmware upgrade, in this embodiment, the new version number specified by the upgrade command may be determined first, and if the new version number is different from the local old version number, the preset upgrade command may be continuously executed.
S203: and executing a preset upgrading instruction in the currently running firmware code so as to overwrite the acquired firmware code with the new version number into the spare APP space block.
The currently running firmware code is the firmware code stored in the main APP space block.
S204: after the upgrade is finished, a soft restart instruction is executed to jump into the boot program.
S205: judging whether the upgrade is successful or not through a bootstrap program; if yes, entering S206; if not, the process proceeds to S208.
S206: overwriting firmware codes in the standby APP space blocks into the main APP space blocks; the process proceeds to S207.
S207: reporting an upgrade success response message and a new version number; the process proceeds to S210.
S208: overwriting firmware codes in the main APP space block into the standby APP space block; the process proceeds to S209.
Specifically, in this embodiment, if the upgrade fails, the firmware code in the standby APP space block is a residual code, and can be directly deleted, and the firmware code in the main APP space block can be written into the standby APP space block in an overwriting manner, so that a withdrawal operation is performed, the standby APP space block is restored to a state before the upgrade operation is performed, the standby APP space block is also restored to an available state, and the stability and availability of the product are improved.
S209: reporting an upgrade failure response message and an old version number; the process proceeds to S210.
S210: and running the firmware code stored by the main APP space block after the upgrading is finished.
The main APP space block is an APP space block from which the data acquisition module defaults to read firmware codes to run.
Referring to fig. 4, an embodiment of the present application discloses a data acquisition module, which mainly includes:
a memory 401 for storing a computer program; the computer program comprises a boot program stored in a boot program space block and firmware codes respectively stored in two APP space blocks;
a processor 402 for executing a computer program to implement the steps of:
after receiving an upgrade command, executing the preset upgrade instruction in the currently running firmware code so as to write the acquired firmware code of the new version number into the standby APP space block in a covering manner; the currently running firmware code is a firmware code stored in the main APP space block; after upgrading is finished, executing a soft restart instruction to jump into the bootstrap program; judging whether the upgrade is successful or not through the bootstrap program; if yes, overwriting the firmware codes in the standby APP space block into the main APP space block; and reporting an upgrade ending response message corresponding to the upgrade result.
Therefore, the data acquisition module disclosed by the embodiment of the application realizes the automatic online upgrade of the firmware codes by using the preset upgrade instruction in the firmware codes, and can realize the firmware upgrade of a plurality of data acquisition modules in batch, thereby greatly improving the processing efficiency; in addition, redundancy protection is carried out on firmware codes by utilizing the main APP space block and the standby APP space block, the fault-tolerant capability is effectively improved, and when one APP space block fails to be upgraded, all firmware codes cannot be lost, so that the problem that equipment cannot be used due to upgrading failure is effectively avoided, the user experience is greatly improved, and the stability and the usability of products are improved.
In a particular embodiment, the computer subroutines stored in memory 401 are specifically configured, when executed by processor 402, to perform the following steps: and after judging whether the upgrading is successful or not through the bootstrap program, if not, overwriting the firmware codes in the main APP space block into the standby APP space block.
In a particular embodiment, the computer subroutines stored in memory 401 are specifically configured, when executed by processor 402, to perform the following steps: emptying the spare APP space block; and writing the firmware code of the new version number into the standby APP space block.
In a particular embodiment, the computer subroutines stored in memory 401 are specifically configured, when executed by processor 402, to perform the following steps: reading the mark quantity of a preset mark bit; in the execution process of the preset upgrading instruction, if upgrading is overtime or error is reported, the preset mark quantity is set as a first mark quantity; otherwise, setting the preset mark quantity as a second mark quantity; and judging whether the upgrading is successful according to the read mark quantity.
In a particular embodiment, the computer subroutines stored in memory 401 are specifically configured, when executed by processor 402, to perform the following steps: and after the upgrade ending response message corresponding to the upgrade result is reported, setting the preset flag position as a third flag amount.
In a particular embodiment, the computer subroutines stored in memory 401 are specifically configured, when executed by processor 402, to perform the following steps: determining the new version number of the firmware code according to the received upgrade command; judging whether the new version number is different from the local old version number; if yes, starting the step of executing the preset upgrading instruction in the currently operated firmware code.
In a particular embodiment, the computer subroutines stored in memory 401 are specifically configured, when executed by processor 402, to perform the following steps: if the upgrade is successful, reporting a response message of successful upgrade and the new version number; and if the upgrade fails, reporting an upgrade failure response message and the old version number.
In a particular embodiment, the computer subroutines stored in memory 401 are specifically configured, when executed by processor 402, to perform the following steps: after the upgrade ending response message corresponding to the upgrade result is reported, operating the firmware code stored in the main APP space block after the upgrade is ended; the main APP space block is an APP space block from which the data acquisition module defaults to read firmware codes to run.
Further, the embodiment of the present application also discloses a computer-readable storage medium, in which a computer program is stored, and the computer program is used for implementing the steps of any firmware upgrading method of the data acquisition module as described above when being executed by a processor.
For the details of the data acquisition module and the computer-readable storage medium, reference may be made to the foregoing detailed description of the firmware upgrading method for the data acquisition module, and details thereof are not repeated here.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the equipment disclosed by the embodiment, the description is relatively simple because the equipment corresponds to the method disclosed by the embodiment, and the relevant parts can be referred to the method part for description.
It is further noted that, throughout this document, relational terms such as "first" and "second" are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Furthermore, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The technical solutions provided by the present application are described in detail above. The principles and embodiments of the present application are explained herein using specific examples, which are provided only to help understand the method and the core idea of the present application. It should be noted that, for those skilled in the art, without departing from the principle of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall into the protection scope of the present application.
Claims (10)
1. A firmware upgrading method of a data acquisition module is characterized in that the data acquisition module comprises two APP space blocks and a bootstrap space block stored with a bootstrap; the APP space block is used for storing firmware codes comprising preset upgrading instructions; the firmware upgrading method comprises the following steps:
after receiving an upgrade command, executing the preset upgrade instruction in the currently running firmware code so as to write the acquired firmware code of the new version number into the standby APP space block in a covering manner; the currently running firmware code is a firmware code stored in the main APP space block;
after upgrading is finished, executing a soft restart instruction to jump into the bootstrap program;
judging whether the upgrade is successful or not through the bootstrap program;
if yes, overwriting the firmware codes in the standby APP space block into the main APP space block;
and reporting an upgrade ending response message corresponding to the upgrade result.
2. The method for upgrading firmware of a data acquisition module according to claim 1, further comprising, after the determining whether the upgrade is successful by the boot program:
and if not, overwriting the firmware codes in the main APP space block into the standby APP space block.
3. The method for upgrading firmware of a data acquisition module according to claim 1, wherein overwriting the acquired firmware code of the new version number in the spare APP space block includes:
emptying the spare APP space block;
and writing the firmware code of the new version number into the standby APP space block.
4. The method for upgrading firmware of a data acquisition module according to claim 1, wherein the determining whether the upgrade is successful by the boot program includes:
reading the mark quantity of a preset mark bit; in the execution process of the preset upgrading instruction, if upgrading is overtime or error is reported, the preset mark quantity is set as a first mark quantity; otherwise, setting the preset mark quantity as a second mark quantity;
and judging whether the upgrading is successful according to the read mark quantity.
5. The method for upgrading firmware of a data acquisition module according to claim 4, further comprising, after reporting an upgrade end response message corresponding to the upgrade result:
and setting the preset mark position as a third mark amount.
6. The method for upgrading firmware of a data acquisition module according to claim 1, wherein the executing the preset upgrade instruction in the currently running firmware code after receiving an upgrade command includes:
determining the new version number of the firmware code according to the received upgrade command;
judging whether the new version number is different from the local old version number;
if yes, starting the step of executing the preset upgrading instruction in the currently operated firmware code.
7. The firmware upgrade method of a data acquisition module according to claim 6, wherein the reporting of the upgrade end response message corresponding to the upgrade result includes:
if the upgrade is successful, reporting a response message of successful upgrade and the new version number;
and if the upgrade fails, reporting an upgrade failure response message and the old version number.
8. The method for upgrading firmware of a data acquisition module according to any one of claims 1 to 7, further comprising, after the reporting of an upgrade end response message corresponding to the upgrade result:
running a firmware code stored in the main APP space block after the upgrading is finished; the main APP space block is an APP space block from which the data acquisition module defaults to read firmware codes to run.
9. A data acquisition module, comprising:
a memory for storing a computer program; the computer program comprises a boot program stored in a boot program space block and firmware codes respectively stored in two APP space blocks;
a processor for executing the computer program to implement the steps of the firmware upgrade method of a data acquisition module according to any one of claims 1 to 8.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, is adapted to carry out the steps of the method for upgrading firmware of a data acquisition module according to one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910722905.2A CN110609692A (en) | 2019-08-06 | 2019-08-06 | Data acquisition module, firmware upgrading method thereof and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910722905.2A CN110609692A (en) | 2019-08-06 | 2019-08-06 | Data acquisition module, firmware upgrading method thereof and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110609692A true CN110609692A (en) | 2019-12-24 |
Family
ID=68890454
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910722905.2A Pending CN110609692A (en) | 2019-08-06 | 2019-08-06 | Data acquisition module, firmware upgrading method thereof and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110609692A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112764781A (en) * | 2021-01-28 | 2021-05-07 | 深圳市科陆电子科技股份有限公司 | Platform area intelligent terminal, alternate acquisition board firmware upgrading method, system and storage medium |
CN113051123A (en) * | 2019-12-27 | 2021-06-29 | 上海微电子装备(集团)股份有限公司 | Processor of semiconductor equipment and firmware data acquisition method |
CN114327547A (en) * | 2021-12-24 | 2022-04-12 | 中国联合网络通信集团有限公司 | Firmware upgrading method, device and system for animal collar and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20140080948A (en) * | 2012-12-21 | 2014-07-01 | 에스케이하이닉스 주식회사 | Operating method for data storage device |
CN104007996A (en) * | 2014-06-16 | 2014-08-27 | 南京融教科技有限公司 | Reliable firmware upgrading realizing method for distributed control system |
CN105117253A (en) * | 2015-08-27 | 2015-12-02 | 常州大学 | BootLoader based remote upgrade method for UV LED (Ultraviolet Light Emitting Diode) curing system |
CN107153559A (en) * | 2017-05-19 | 2017-09-12 | 北京有初科技有限公司 | The application program updating method of a kind of electronic equipment |
-
2019
- 2019-08-06 CN CN201910722905.2A patent/CN110609692A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20140080948A (en) * | 2012-12-21 | 2014-07-01 | 에스케이하이닉스 주식회사 | Operating method for data storage device |
CN104007996A (en) * | 2014-06-16 | 2014-08-27 | 南京融教科技有限公司 | Reliable firmware upgrading realizing method for distributed control system |
CN105117253A (en) * | 2015-08-27 | 2015-12-02 | 常州大学 | BootLoader based remote upgrade method for UV LED (Ultraviolet Light Emitting Diode) curing system |
CN107153559A (en) * | 2017-05-19 | 2017-09-12 | 北京有初科技有限公司 | The application program updating method of a kind of electronic equipment |
Non-Patent Citations (1)
Title |
---|
王尧等: ""DSP在线升级容错性能的研究"", 《电子测量技术》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113051123A (en) * | 2019-12-27 | 2021-06-29 | 上海微电子装备(集团)股份有限公司 | Processor of semiconductor equipment and firmware data acquisition method |
CN113051123B (en) * | 2019-12-27 | 2023-12-26 | 上海微电子装备(集团)股份有限公司 | Processor of semiconductor device and firmware data acquisition method |
CN112764781A (en) * | 2021-01-28 | 2021-05-07 | 深圳市科陆电子科技股份有限公司 | Platform area intelligent terminal, alternate acquisition board firmware upgrading method, system and storage medium |
CN114327547A (en) * | 2021-12-24 | 2022-04-12 | 中国联合网络通信集团有限公司 | Firmware upgrading method, device and system for animal collar and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103299276B (en) | The software upgrading process of embedded equipment | |
CN102033790B (en) | Method and device for upgrading embedded-type system BOOTROM | |
CN110609692A (en) | Data acquisition module, firmware upgrading method thereof and storage medium | |
CN103902399B (en) | Software system repair processing method and software system repair processing device | |
CN102073517A (en) | Upgrading and backup method and device for embedded system | |
CN101126920A (en) | Method and device implementing on-line upgrading of a fixed programme | |
CN110597532A (en) | Data acquisition module, firmware upgrading method thereof and storage medium | |
CN102722394A (en) | Start upgrading method of embedded equipment | |
CN104133730A (en) | Method and device for repairing system abnormality and mobile terminal | |
CN108874422B (en) | Software online upgrading method for refrigerator electric control board, refrigerator electric control board and refrigerator | |
CN103514014A (en) | Method for designing boot system of embedded terminal equipment | |
CN108170456B (en) | Firmware upgrading method and device for electronic equipment | |
CN109445991B (en) | Data storage method and system, intelligent wearable device and storage medium | |
CN103634668A (en) | System upgrading method and device in smart television | |
CN109992280A (en) | Method for upgrading embedded software, terminal device and storage device | |
CN113867807A (en) | Method, device, equipment and storage medium for shortening power-on time of server | |
CN111885420B (en) | Standby protection method and device, smart television and readable storage medium | |
CN112612498A (en) | Embedded equipment upgrading method and embedded equipment | |
CN116301973A (en) | Firmware upgrading method, device, equipment and readable storage medium | |
CN112685053B (en) | Remote upgrade control method for singlechip program | |
CN112152836B (en) | Remote firmware automatic upgrading method, system and chip for small storage capacity equipment | |
WO2012077604A1 (en) | Processing device, program update method, and program | |
CN113721959A (en) | Information processing method and device and electronic equipment | |
CN109558274B (en) | Information processing method, device and computer readable storage medium | |
CN114237721A (en) | Software protection method, system, device and storage medium for mainboard double-boot |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191224 |
|
RJ01 | Rejection of invention patent application after publication |