Embedded online upgrading error-proof detection method

A detection method and embedded technology, applied in the direction of error detection/correction, redundant code error detection, response error generation, etc. There are risks and other problems in the upgrade, so that the upgrade is safe and reliable, and the data is correct.

Pending Publication Date: 2020-06-05
杭州拓深科技有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The present invention solves the problem that in the prior art, in the embedded online upgrade process, only the accuracy of the transmitted data can be identified, but the legitimacy of the transmitted content cannot be judged, which leads to risks in the online upgrade of the embedded system, and provides a An optimized error-proof detection method for embedded online upgrade

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Embedded online upgrading error-proof detection method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The present invention will be described in further detail below in conjunction with the examples, but the protection scope of the present invention is not limited thereto.

[0029] The invention relates to an embedded online upgrade error prevention detection method. During the upgrade process, the FLASH is divided into partitions, generally including a startup code area, a program running area and a firmware upgrade area. When the device receives an upgrade command during normal operation, Save the received data in the firmware upgrade area. After the data transmission is completed, verify and confirm the data in the firmware upgrade area. When the data is legal, restart or jump to the startup code area for execution, start the code area to run, and update the firmware upgrade area. Copy the firmware to the program running area and run the program.

[0030] The method of the present invention is carried out in the firmware upgrade area, and the method includes the foll...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to an embedded online upgrading error-proof detection method. The embedded online upgrading error-proof detection method comprises the steps that: after an upgrading instructionis received by equipment, the equipment sends out verification parameters based on agreement; an upgrading data sender processes the verification parameters and sends upgrading data; and the equipmentperforms data correctness detection on the upgrading data after receiving the upgrading data, performs data legality detection on the upgrading data on the premise that the data is correct, and starts and operates the upgrading data to finish upgrading if the data is legal. In the embedded online upgrading error-proof detection method, the legality of the current firmware is judged by writing a fixed confirmation parameter into a specified offset position, in the implementation process, CRC verification is carried out on each packet of message and the whole packet of data, meanwhile, verification confirmation is carried out on the parameters of a specified program position, so as to guarantee that the content transmitted in upgrading is legal data while guaranteeing that the data in the transmission process is correct, and the upgrading is safe and reliable.

Description

technical field [0001] The invention relates to the technical field of electrical digital data processing, in particular to an embedded online upgrade error prevention detection method. Background technique [0002] With the development of electronic technology, communication technology and computer technology, embedded systems are widely used in various fields. On the contrary, the requirements for system functions, performance and scale of embedded devices are also increasing. In the development and design of embedded software, often For applications involving online program upgrades or remote firmware updates, developers must be able to maintain and upgrade the system in a timely manner according to customer needs, prolong the service life of the system, and improve system performance. [0003] During the upgrade process of the embedded system, the program code sent by the server is received, and the program code is solidified in the flash area. Generally speaking, the se...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/10G06F8/65
CPCG06F11/1004G06F8/65
Inventor 梁昆王观亮张轩铭王利强
Owner 杭州拓深科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products