Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for loading and starting embedded system

An embedded system and startup device technology, applied in the direction of program loading/starting, program control devices, etc., can solve the high-level problems that the system cannot start, and achieve the effect of reducing the probability of failure to start

Active Publication Date: 2014-02-05
GUANGDONG XIAOTIANCAI TECH CO LTD
View PDF4 Cites 5 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
  • Method and device for loading and starting embedded system
  • Method and device for loading and starting embedded system
  • Method and device for loading and starting 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 load data into several data blocks and sequentially number the several data blocks, and add a data header to the load data to form backup data.

[0045] In step S101, the loading data refers to the operating system data of the embedded system; the embedded system is composed of hardware and software, and the hardware part of the embedded system includes a microprocessor, Flash memory, RAM, peripheral devices 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 flash memory. When the embedded system starts, The 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 descriptions of the process of verifying whether the data header of the current backup data is in error and the process of verifying whether the current data block is in error.

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

[0071] S201. Divide the loading data into several data blocks, number the several data blocks sequentially, and add a data header to the loading 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 several backup data in the memory, and number the several 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,...

Embodiment 3

[0092] The difference between Embodiment 3 and Embodiments 1 and 2 is that in Embodiment 3, M=8 and N=2 are used as examples to calculate the probability that the system cannot be started under the existing method and the probability that the system cannot be started under the method of the present invention. Specific data will illustrate the beneficial effects 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 probability of error of each data block is 1%.

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

[0095]

[0096]

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

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

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

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 technologies and particularly relates to a method and a device for loading and starting an embedded system. The method comprises the following steps: dividing loading data into a plurality of data blocks and adding numbers to the data blocks; respectively verifying whether the data blocks have errors or not; when a certain number of data block has errors, finding the number of data block which does not have errors from other backup data; using all the data blocks having no errors to form the loading data according to the numbers, and starting the system according to the loading data. The probability that the system cannot be started under the condition that the loading data have errors is greatly reduced by the method.

Description

technical field [0001] The invention belongs to the field of embedded technology, and in particular relates 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, equipment or equipment that has computer functions but cannot be called computers. It is a dedicated computer system that is application-centric, can be reduced in software and hardware, and adapts to the comprehensive and strict requirements of the application system on functions, reliability, cost, reference, and power consumption. Simply put, an embedded system integrates the application software and hardware of the system, similar to the way BIOS works in a PC. It has the characteristics of small software code, high automation, and fast response speed. It is especially suitable for real-time and multi-tasking applicatio...

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): G06F9/445
Inventor 杨照军
Owner GUANGDONG XIAOTIANCAI TECH CO LTD