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

Starting method of device

A device and flag technology, applied in the direction of program loading/starting, program control device, etc., can solve the problems of shortening the service life of memory, reducing the startup speed of the device, affecting the security of the available flags of the application program, etc., to speed up the startup speed and safety. Sex-enhancing effect

Inactive Publication Date: 2006-11-08
HUAWEI TECH CO LTD
View PDF0 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. The reading and writing unit is single byte, double byte or 4 byte;
[0005] 2. Erase can only be a complete erase of a block (BLOCK) in the memory, and the size of the block is determined by the device characteristics (such as 64K, 128K, etc.);
[0006] 3. Erase operation must be performed before writing
[0009] In practical application, the above solution has the following problems: the device will rewrite the application program availability flag in the memory every time it starts up and starts successfully, which reduces the startup speed of the device and also shortens the service life of the memory
If the device is suddenly reset after erasing but before the application flag is written, the flag will become 0xff, requiring the device to request to load the application, which greatly affects the security of the flag

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
  • Starting method of device
  • Starting method of device
  • Starting method of device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0042] The invention divides a plurality of arrays in the block (BLOCK) of the first type of memory, and uses different bits in the arrays to represent the starting times and states of the equipment. Every time the device is started, it needs to read the number of startups last time. If the number of startups reaches a certain number, the application program will be loaded, the block will be erased, and the program availability flag indicating successful startup will be written in the first array of the block. otherwise, add 1 to the number of starts and write it to the next byte in the array. If this start is unsuccessful, the basic program started by the boot device will start the device again; if this start is successful, the program availability flag indicatin...

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

This invention relates to an electronic device containing control programs and discloses a starting up method for the device, which designs multiple tuples and fetches the program available marks written when starting up last time from the last written position, if the start up times exceed the threshold, then the programs are loaded again, otherwise the program available mark containing the counting information of this time is written in the next un-written position in the tuples, if the start up is successful, then the successful program available mark is written in the first position of the next tuple, if the preset sets are full or the program is re-loaded, then the written ones are erased.

Description

technical field [0001] The invention relates to an electronic device containing a control program, in particular to a method for starting the electronic device containing a control program. Background technique [0002] At present, the programs of most single-board devices generally consist of at least two parts: a basic program for booting the device and an application program. The basic program (BIOS) started by the boot device is generally stored in a separate physical chip; the application program and other flag information (such as flag information indicating that the application program is available or unavailable) are stored in the flash memory (FLASH). [0003] FLASH is a kind of non-volatile memory. The reason for this name is that after the information is stored in a flash like lightning, even if the power is removed, the information stored in it is still retained. The device is typically used on a device to store applications, logic, etc. Its characteristics ar...

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
IPC IPC(8): G06F9/445
Inventor 韩富荣
Owner HUAWEI 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