Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method and device for loading and starting an embedded system

A technology of embedded system and startup device, applied in the direction of program loading/starting, program control device, etc., can solve the problem that the system cannot be started, and achieve the effect of reducing the probability of failure to start

Active Publication Date: 2016-10-12
GUANGDONG XIAOTIANCAI TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This double-backup loading and starting method of the embedded system has a high probability that the system cannot start in the case of an error in loading data.

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
  • A method and device for loading and starting an embedded system
  • A method and device for loading and starting an embedded system
  • A method and device for loading and starting an embedded system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] see figure 1 , a method for loading and starting an embedded system, the method comprising:

[0044] S101. Divide the loaded data into several data blocks and sequentially number the several data blocks, and add a data header to the loaded data to form backup data.

[0045] In step S101, described loading data refers to the operating system data of embedded system; Embedded system is made up of hardware and software two parts, and the hardware part of embedded system comprises microprocessor, Flash flash memory, RAM, peripheral device and I / O ports, etc.; the software part of the embedded system mainly includes Bootloader, kernel and operating system data, etc. Generally speaking, the operating system data of the embedded system is stored in the Flash memory. When the embedded system starts, Operating system data needs to be loaded into RAM for it to start running;

[0046] The loaded data is divided into M data blocks, and the M data blocks are sequentially numbered,...

Embodiment 2

[0069] The difference between the second embodiment and the first embodiment is that the second embodiment adds specific instructions on the process of checking whether the data header of the current backup data is wrong and whether the current data block is wrong.

[0070] see figure 2 , a method for loading and starting an embedded system, the method comprising:

[0071] S201. Divide the loaded data into several data blocks and sequentially number the several data blocks, and add a data header to the loaded data to form backup data.

[0072] Wherein, the data header includes the check values ​​of the several data blocks and the check value of the data header itself.

[0073] S202. Back up a plurality of backup data in the memory, and number the plurality of backup data sequentially.

[0074] S203. The system loads the plurality of backup data in turn, and uses the backup data to be loaded this time as the current backup data.

[0075] Steps S201, S202, and S203 are descr...

Embodiment 3

[0092] The difference between embodiment three and embodiment one and two is that embodiment three takes M=8, N=2 as an example, respectively calculates the probability that the system cannot start under the existing method and the probability that the system cannot start under the method of the present invention, through Specific data illustrate the beneficial effect of the present invention.

[0093] N=2, there are two backup data; M=8, each backup data is divided into 8 data blocks, assuming that the error probability of each data block is 1%.

[0094] Calculate the probability that the system cannot be started in the existing way:

[0095]

[0096]

[0097] In the prior art, the backup data is not divided into blocks, once a certain position of the backup data is wrong, the whole backup data is wrong. In this way,

[0098] The error probability of each backup data is: 1%*8=0.08;

[0099] The probability of two backup data errors at the same time is: 0.08*0.08=0.00...

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 belongs to the field of embedded technology, in particular to a method and device for loading and starting an embedded system. The method of the present invention divides the loaded data into several data blocks and numbers them, respectively checks whether each data block is wrong, and when a certain numbered data block is wrong, search for the numbered data that is not wrong in other backup data block, all unerrored data blocks are numbered to form loading data, and the system starts according to the loading data. The method of the present invention greatly reduces the probability that the system cannot start when the loading data is wrong.

Description

technical field [0001] The invention belongs to the field of embedded technology, in particular to a method and device for loading and starting an embedded system. Background technique [0002] With the continuous development of science and technology, embedded systems have been widely used. Embedded systems generally refer to non-PC systems, devices or equipment that have computer functions but cannot be called computers. It is application-centric, software and hardware can be cut, and it is a special-purpose computer system that meets the comprehensive and strict requirements of application systems for functions, reliability, cost, performance, and power consumption. Simply put, the embedded system integrates the application software and hardware of the system, which is similar to the working method of the BIOS in the PC. system. An embedded system is mainly composed of an embedded processor, related supporting hardware, an embedded operating system, and an application ...

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 Patents(China)
IPC IPC(8): G06F9/445
Inventor 杨照军
Owner GUANGDONG XIAOTIANCAI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products