OTA upgrading method, system and device based on RTOS and storage medium

A technology for upgrading packages and memory, which is applied in transmission systems, software engineering design, and the generation of response errors.

Pending Publication Date: 2021-04-09
重庆芯讯通无线科技有限公司
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved by the present invention is to provide an RTOS-based OTA upgrade method and system in order to overcome the time-consuming and relatively large space-occupied flash memory for APP application upgrades in the prior art.

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
  • OTA upgrading method, system and device based on RTOS and storage medium
  • OTA upgrading method, system and device based on RTOS and storage medium
  • OTA upgrading method, system and device based on RTOS and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] see figure 1 , the present invention provides an RTOS-based OTA upgrade method, based on the RTOS separate secondary development mode for OTA air upgrade. The so-called separate secondary development means that the kernel (kernel task) in the RTOS and the APP in the device are compiled separately. For example, the executable file kernel. The file customer_app.bin is loaded into the device memory and connected to run.

[0044] The method in this embodiment is applicable to a module, including a control unit (such as an MCU (Microcontroller Unit, micro control unit)), and a storage component (such as a flash memory and a memory). The module runs a real-time operating system such as threadX. The running process of the APP is to boot the APP to run after the kernel task of the system is booted and initialized every time the device is turned on. The specific steps are: the kernel task reads the above-mentioned customer_app.bin from the dedicated partition for flash storag...

Embodiment 2

[0063] see image 3 , the present invention provides an RTOS-based OTA upgrade system, which can perform OTA air upgrades based on the separate secondary development mode of the RTOS. The so-called separate secondary development means that the kernel (kernel task) in the RTOS and the APP in the device are compiled separately. For example, the executable file kernel. The file customer_app.bin is loaded into the device memory and connected to run.

[0064] The system of this embodiment is applicable to a module, including a control unit (such as MCU (Microcontroller Unit, micro control unit)), storage components (such as flash memory and memory). The module runs a real-time operating system such as threadX. The running process of the APP is to boot the APP to run after the kernel task of the system is booted and initialized every time the device is turned on. The system of this embodiment can perform the following steps: the kernel task reads the above-mentioned customer_app....

Embodiment 3

[0081] Figure 5 It is a schematic structural diagram of an electronic device provided by Embodiment 3 of the present invention. The electronic device includes a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the program, the RTOS-based OTA upgrade method in Embodiment 1 is implemented. Figure 5 The electronic device 30 shown is only an example, and should not limit the functions and scope of use of the embodiments of the present invention.

[0082] Such as Figure 5 As shown, electronic device 30 may take the form of a general-purpose computing device, which may be a server device, for example. Components of the electronic device 30 may include, but are not limited to: at least one processor 31 , at least one memory 32 , and a bus 33 connecting different system components (including the memory 32 and the processor 31 ).

[0083] The bus 33 includes a data bus, an address bus, and a control bus. ...

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 discloses an OTA upgrading method, system and device based on RTOS and a storage medium. The OTA upgrading method comprises the steps: downloading an APP upgrading package to an APP memory partition, and enabling the APP memory partition to be located in a memory; executing a verification operation on the APP upgrade package; and if the verification operation is passed, writing the APP upgrade package into an APP flash memory partition, and covering the APP application program before upgrading, the APP flash memory partition being located in the flash memory. According to the method, the APP upgrade package is firstly downloaded into the memory and is verified in the memory, so that the read-write frequency of the flash memory is reduced, and a special partition is avoided from being defined in the flash memory; therefore, the efficiency of over-the-air upgrading of the APP application program is improved, the flash memory space of the equipment is saved, and the startup speed is increased.

Description

technical field [0001] The present invention relates to the technical field of APP application upgrade over the air, in particular to an RTOS (Real-time operating system, real-time operating system)-based OTA (Over the Air, upgrade over the air) upgrade method and system. Background technique [0002] In order to ensure the storage stability of the APP upgrade package, the original APP (application program) OTA solution first uses FTP (File Transfer Protocol, file transfer protocol) or HTTP (HyperText Transfer Protocol, hypertext transfer protocol) and other network download methods. First download the APP upgrade package to an additional flash memory partition of the client device, restart the device to start the upgrade; then read the upgrade package from the flash memory to the memory and verify it, and then overwrite it after the verification is successful to the original flash partition, and erase the extra partition created. The above existing technical solutions have...

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): G06F8/654G06F8/656G06F11/14H04L29/08
CPCG06F8/654G06F8/656G06F11/1433H04L67/06
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