KR20160046594A - Restoration method for package information of the memory - Google Patents
Restoration method for package information of the memory Download PDFInfo
- Publication number
- KR20160046594A KR20160046594A KR1020140142723A KR20140142723A KR20160046594A KR 20160046594 A KR20160046594 A KR 20160046594A KR 1020140142723 A KR1020140142723 A KR 1020140142723A KR 20140142723 A KR20140142723 A KR 20140142723A KR 20160046594 A KR20160046594 A KR 20160046594A
- Authority
- KR
- South Korea
- Prior art keywords
- package information
- information
- section
- memory
- package
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/16—Error detection or correction of the data by redundancy in hardware
- G06F11/20—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
- G06F11/202—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant
- G06F11/2023—Failover techniques
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technique for recovering package information stored in a memory (e.g., a NAND memory), and more particularly, to a technique for restoring package information for loading a system- And more particularly, to a package information recovery method of a memory which is capable of automatically recovering an abnormal case.
Generally, in the case of a system using a memory (e.g., NAND memory) that allows information to be stored, the system drive package information is selectively stored in the memory, and selectively storing (writing) and erasing If the memory information is repeatedly loaded in the memory, there is a problem that the data of the package information is damaged.
Conventionally, the package information is downloaded from the recovery server every time the system is operated without storing the package information in the memory. However, such a download method has a disadvantage in that traffic is seriously generated.
In addition, there is a case where a method of backing up and storing the package information is applied in the past, but such a backup storage method has a disadvantage in that the storage space of the memory is further required and the cost is increased.
In the conventional technology, the recovery operation is performed only when the upgrade fails during the firmware upgrade, and the function of self-repairing the failure of the memory or package information is implemented In particular, the technique of automatically recovering the loader and the firmware always uses the same back end, so that it is difficult to change the location of the recovery server.
SUMMARY OF THE INVENTION Accordingly, the present invention has been made to solve the above-mentioned problems occurring in the prior art, and it is an object of the present invention to provide a system and method for loading system- (Loading) is performed by a loader separated from the package information, the loader firstly determines whether or not the package information is normal. If the loader is abnormal, the loader removes the package information stored in the memory, The present invention provides a method of recovering a package information of a memory, which enables a system to be rapidly operated by implementing a self-recovery function of downloading and storing package information of the package.
Further, according to the present invention, the location of the recovery server is updated every time the loader connects to the recovery server, so that even if the location of the recovery server is changed due to a network structure change, the loader accesses a plurality of servers whose location has been changed, The package information recovery method of the present invention enables the self recovery of the memory module to be performed quickly.
The method includes a first step of analyzing information of a predetermined section included in the package information in a preparation step of loading the package information for the system drive of the memory, A second step of determining whether the package information is normal or abnormal according to the analysis result of the first step; A third step of loading the package information by loading the package information if the package information is determined to be normal from the second step and formatting the memory after removing the package information from the memory when the package information is determined to be abnormal; And a loader downloading and storing new package information from a recovery server designated in the formatted memory from the third step; .
The package information of the first stage and the package information downloaded in the fourth stage may include a first section of a payload in which first information including software necessary for operating the system is located, And a second section of a tailer in which second information for confirming whether the package information is normal is located.
The second information of the second section may be a package of a normal state that allows checking whether the version of the package information currently stored in the first section matches the version of the normal package information originally stored in the first section It is the version value for the information.
In addition, the second information of the second section confirms whether the version of the package information currently stored in the first section matches the version of the normal package information newly downloaded and stored in the first section from the fourth step Lt; RTI ID = 0.0 > package information < / RTI >
The second information of the second section may include information indicating whether the hash value (Hash) of the package information currently stored in the first section matches the hash value of the package information initially stored in the first section Is the hash value of the package information in the steady state.
The second information of the second section may include a hash value of the package information currently stored in the first section and a hash value of the normal package information newly downloaded and stored in the first section from the fourth section, Is the hash value of the package information in the steady state so that it can be confirmed whether or not the package information matches.
In addition, in the fourth step, when the loader is connected to the recovery server to download new package information to the memory, updating the connection location thereof; As shown in FIG.
As described above, according to the present invention, the application package information stored in the memory includes a predetermined section for determining whether the normal state is normal, and the location of the recovery server is updated each time the loader connects to the recovery server. The loader determines whether or not the package information is normal when the loading of the system driving package information stored in the memory is performed by the loader separated from the package information. If the loader is abnormal, the loader removes the package information stored in the memory It is possible to quickly operate the system by implementing the self recovery function of downloading and storing the latest version of the package information from the recovery server. In addition to the effect that the system is quickly operated, even if the location of the recovery server is changed due to the network structure change, Connecting to multiple servers It is expected that the self-recovery of information can be performed quickly.
1 is a schematic system configuration diagram for implementing a method of recovering a package information of a memory according to an embodiment of the present invention.
FIG. 2 is a schematic configuration diagram of package information according to an embodiment of the present invention; FIG.
3 is a flowchart of a method of recovering package information of a memory according to an embodiment of the present invention.
Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings.
The method for restoring the package information of the memory according to the embodiment of the present invention comprises the steps of 1 to 4, and the restoration method is performed by loading the package information (PKG) of the
That is, in the first step, the
Here, the package information PKG includes a first section S1 of a PayLoad where first information including software necessary for operating the system is located, as shown in FIG. 2, (S2) of the tailer where the second information for confirming the normal state of the PKG (PKG ') is located.
The second information of the second section S2 may be a version of the package information PKG currently stored in the first section S1 and a normal package information PKG stored in the first section S1, Or the hash value Hash of the package information PKG currently stored in the first section S1 is the version value of the package information in the first section S1 S1) of the package information that is stored in the package information information storage unit.
Next, the second step is to determine whether the package information (PKG) is normal or abnormal according to the analysis result of the first step by the
Next, in the third step, when the
That is, before loading the package information (PKG) of the
The
Herein, the second information for confirming whether or not the package information PKG 'is normally stored in the
That is, the package information (PKG ') downloaded in the fourth step also includes a first section S1 of a payload where first information including software necessary for operating the system is located, (S2) of the tailer where the second information for confirming the normal state of the PKG 'is located, and the second information includes the version value and / or the hash value will be.
Meanwhile, when the
That is, the present invention stores information for confirming whether or not the package information (PKG) is normal, stores the package information (PKG) in the
While the present invention has been described in connection with the accompanying drawings, it is to be understood that the invention is not limited to the disclosed exemplary embodiments.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit and scope of the invention as defined by the appended claims. It is to be understood that such changes and modifications are within the scope of the claims.
100; Loader
200; Memory
300; Recovery server
Claims (7)
A second step of determining whether the package information is normal or abnormal according to the analysis result of the first step;
A third step of loading the package information by loading the package information if the package information is determined to be normal from the second step and formatting the memory after removing the package information from the memory when the package information is determined to be abnormal; And
A fourth step of downloading and storing new package information from a recovery server designated in the formatted memory from the third step; The method of claim 1, further comprising:
The package information of the first stage and the package information downloaded in the fourth stage may include a first section of a payload in which first information including software necessary for operating the system is located, And a second section of a tailer in which second information for confirming whether the second information is normal or not is included.
Wherein the version information is a version value of the package information in the steady state which allows the version information of the package information currently stored in the first section to match with the version of the normal package information stored in the first section. How to recover package information.
A version value of the package information in the normal state which allows the version of the package information currently stored in the first section to be checked whether the version of the package information currently stored in the first section matches the version of the normal package information newly downloaded and stored in the first section from the fourth step The method comprising the steps of:
The hash value of the package information in the steady state which allows the hash value (Hash) of the package information currently stored in the first section to match whether the hash value of the package information stored in the first section is stored The method comprising the steps of:
Wherein the hash value of the package information currently stored in the first section matches the hash value of the normal package information newly downloaded and stored in the first section from the fourth step, Wherein the hash value is a hash value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020140142723A KR20160046594A (en) | 2014-10-21 | 2014-10-21 | Restoration method for package information of the memory |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020140142723A KR20160046594A (en) | 2014-10-21 | 2014-10-21 | Restoration method for package information of the memory |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20160046594A true KR20160046594A (en) | 2016-04-29 |
Family
ID=55915728
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020140142723A KR20160046594A (en) | 2014-10-21 | 2014-10-21 | Restoration method for package information of the memory |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20160046594A (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20100052041A (en) | 2008-11-10 | 2010-05-19 | 엘지전자 주식회사 | Loader and method for recovering firmware automatically |
-
2014
- 2014-10-21 KR KR1020140142723A patent/KR20160046594A/en not_active Application Discontinuation
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20100052041A (en) | 2008-11-10 | 2010-05-19 | 엘지전자 주식회사 | Loader and method for recovering firmware automatically |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8726262B2 (en) | Firmware update system and information apparatus, and program | |
US20110307879A1 (en) | Program update device, program update method, and information processing device | |
US20170322796A1 (en) | Device and method for updating firmware and firmware update system | |
JP5113700B2 (en) | Firmware update apparatus and method | |
CN104915226B (en) | A kind of network device software starting method, apparatus and the network equipment | |
US9205809B2 (en) | Vehicle unit and method for operating the vehicle unit | |
CN112416406B (en) | Terminal equipment upgrading method, device, terminal equipment and medium | |
CN101425018A (en) | Embedded firmware upgrading method and device based on sectional form | |
CN103970564A (en) | Automatic repairing and upgrading method of embedded operating system and embedded operating system with automatic repairing and upgrading functions | |
US20170115982A1 (en) | Multi-system terminal system updating method, updating device and terminal | |
US7818622B2 (en) | Method for recovering data processing system failures | |
EP3113018A1 (en) | Method and apparatus for running version file | |
CN108205446A (en) | Firmware restorative procedure and device | |
US20140156943A1 (en) | Information processing apparatus, information processing method, and program | |
WO2015184732A1 (en) | Bootstrap storage method, bootstrap fault recovery method and device, and computer storage medium | |
CN105550071A (en) | System file upgrading and detecting method and communication device | |
EP2966572B1 (en) | Database device, program, and data processing method | |
CN109375953B (en) | Operating system starting method and device | |
CN113515291A (en) | Equipment online upgrading method and device | |
CN113032183A (en) | System management method, device, computer equipment and storage medium | |
CN106933604B (en) | System upgrading method and device | |
WO2021012170A1 (en) | Firmware booting method and device, and computer-readable storage medium | |
CN111857740A (en) | Software upgrading method and device | |
CN107967160B (en) | Method and device for updating operating system file through Boot Loader | |
KR20160046594A (en) | Restoration method for package information of the memory |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WITN | Withdrawal due to no request for examination |