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

Boot program backup method and Boot program backup device

A program and equipment technology, applied in the direction of program control device, program loading/starting, and the generation of response errors, etc., can solve problems such as equipment cannot run normally, upgrade failure, and reduce equipment maintainability, etc., to prevent equipment from failing to start, Guaranteed effect of reliability

Inactive Publication Date: 2012-06-27
DATANG MOBILE COMM EQUIP CO LTD
View PDF4 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Since only one copy of the Boot program is stored in the Flash chip, if an abnormality occurs in the Boot program, it cannot be automatically restored, which will cause the device to fail to operate normally. It is necessary to use an emulator or a programmer to complete the writing of the Boot program, which has a negative impact on the maintenance of the device. great inconvenience
[0005] Specifically, although the Boot program is highly reliable, it usually does not need to be upgraded. However, if there is a problem with the Boot program itself or new requirements need to be added, the Boot program needs to be upgraded. Operator error and other abnormalities) lead to upgrade failure, which makes the equipment unable to operate normally, which brings great inconvenience to the maintenance of the equipment and reduces the maintainability of the equipment

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
  • Boot program backup method and Boot program backup device
  • Boot program backup method and Boot program backup device
  • Boot program backup method and Boot program backup device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] Embodiment 1 of the present invention provides a method for backing up a Boot program, which is used on a device that needs to be started using the Boot program, and needs to be designed as follows on the device:

[0032] The main Boot program is stored in the main Boot area of ​​the first Flash chip (i.e. the storage medium, and the Flash chip is used as an example in the follow-up), and the backup Boot program is stored in the backup Boot area of ​​the second Flash chip; and,

[0033] The CPU chip selection signal CS0 is connected to the first Flash chip through a logic chip (such as CPLD (Complex Programmable Logic Device, complex programmable logic device), FPGA (Field Programmable Gate Array, field programmable gate array), etc.), and the CPU chip selection signal CS1 accesses the second Flash chip through the logic chip; and,

[0034] When starting the main Boot program, control the CPU chip select signal CS0 to connect to the first Flash chip through the logic ch...

Embodiment 2

[0058] Embodiment 2 of the present invention provides a method for backing up a Boot program, which is used on a device that needs to be started by using a Boot program. Backup design method) and detailed implementation process for further explanation.

[0059] (1) Hardware circuit design.

[0060] Such as image 3 The schematic diagram of the hardware circuit design shown, two Flash chips (take Flash0 and Flash1 as an example), each Flash chip is connected to a CPU chip select signal (take CS0 and CS1 as an example), and the two CPU chip select signals pass through the logic chip Connect with the Flash chip. exist image 3 Among them, the CPU chip select signal CS0 is connected to Flash0 through a logic chip, and the CPU chip select signal CS1 is connected to Flash1 through a logic chip.

[0061] (2) Boot program storage design.

[0062] Such as Figure 4 The main / backup Boot program storage design schematic diagram shown in the figure shows that each Flash chip needs t...

Embodiment 3

[0107] Based on the same inventive concept as the above method, a backup device for the Boot program is also provided in the embodiment of the present invention, such as Figure 7 As shown, the equipment includes:

[0108] The first starting module 11 is used to start the main Boot program;

[0109] The first judging module 12 is used to judge whether the main Boot program is started successfully;

[0110] The first determination module 13 is used to determine that the Boot program is started when the main Boot program is started successfully;

[0111] The second starting module 14 is used to start the standby Boot program when the main Boot program is not started successfully;

[0112] The second judging module 15 is used to judge whether the standby Boot program starts successfully;

[0113] The second determination module 16 is configured to determine that the startup of the Boot program is completed when the standby Boot program is started successfully.

[0114] The ma...

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 a Boot program backup method and a Boot program backup device. The method includes the following steps: booting a master Boot program, and judging whether the master Boot program is successfully booted; if the master Boot program is successfully booted, then determining that the booting of the master Boot program is completed; if the master Boot program is not successfully booted, then booting a standby Boot program, and judging whether the standby Boot program is successfully booted; and if the standby Boot program is successfully booted, then determining that the booting of the Boot program is completed. In the embodiment of the invention, the backup mechanism of the master Boot program and the standby Boot program is utilized to realize double-Boot program backup, consequently, the problem of the failure of the booting of a device, which is caused by the damage of the Boot program, can be effectively prevented, and the reliability of the booting of the Boot program is guaranteed.

Description

technical field [0001] The invention relates to the technical field of communications, in particular to a method and device for backing up a Boot program. Background technique [0002] In the prior art, only one copy of the Boot (boot) program on the device is stored in the Flash (flash memory) chip, such as figure 1 As shown, it is a schematic diagram of the storage of the Boot program. The CPU (Central Processing Unit, central processing unit) is connected to the Flash chip through the chip select signal CS0, and the Boot program and APP (Application, that is, application data) are stored on the Flash chip. [0003] In the process of realizing the present invention, the inventor finds that there are at least the following problems in the prior art: [0004] Since only one copy of the Boot program is stored in the Flash chip, if an abnormality occurs in the Boot program, it cannot be automatically restored, which will cause the device to fail to operate normally. It is nec...

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/445G06F11/14
Inventor 李普军
Owner DATANG MOBILE COMM EQUIP 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