KR20160046594A - Restoration method for package information of the memory - Google Patents

Restoration method for package information of the memory Download PDF

Info

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
Application number
KR1020140142723A
Other languages
Korean (ko)
Inventor
고재수
Original Assignee
삼성에스디에스 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성에스디에스 주식회사 filed Critical 삼성에스디에스 주식회사
Priority to KR1020140142723A priority Critical patent/KR20160046594A/en
Publication of KR20160046594A publication Critical patent/KR20160046594A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error 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/202Error 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/2023Failover 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

The present invention relates to a method for recovering package information of memory. The present invention is configured such that a specific section for determining if package information is normal is included in application package information stored in memory and a loader updates a location of a recovery server whenever it accesses the recovery server. Accordingly, when the loading of package information for driving of a system which is stored in the memory is performed by the loader separate from the package information, an effect is achieved in that the driving of the system can be rapidly performed through implementation of a self-recovery function of enabling the loader to first determine whether the package information is normal, to remove the package information stored in the memory if the package information is abnormal, to download a latest version of package information from the recovery server, and to store the downloaded package information. Accordingly, although the location of a recovery server is changed due to a change in a network structure, the loader can access the changed location of the recovery server without separate manipulation and thus self-recovery of package information can be rapidly performed.

Description

[0001] DESCRIPTION [0002] BACKGROUND OF THE INVENTION [0003]

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.

Patent Document 1: Japanese Patent Application Laid-Open No. 10-2010-0052041 (published on May 19, 2010)

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 memory 200 separated from the loader 100 can download the new package information PKG 'from the recovery server 300 and store the new package information PKG' in the memory 200 when it first determines the error of the package information. (PKG ') can be stored in the package information (PKG) as shown in FIG. 2 by storing information for confirming whether the package information (PKG) is normal.

That is, in the first step, the loader 100 reads the information of the predetermined period included in the package information (PKG) before the loading in the preparation step of loading the system drive package information (PKG) of the memory 200 .

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 loader 100, 2 information.

Next, in the third step, when the loader 100 determines that the package information (PKG) is normal from the second step, the system information is loaded to load the package information. When the package information (PKG) is determined to be abnormal The memory 200 is formatted after the package information PKG is removed from the memory 200.

That is, before loading the package information (PKG) of the memory 200, the loader 100 firstly stores the second information S23 located in the second section S2 of the package information PKG stored in the memory 200 It is determined whether the in-version value and / or the hash value match the version value and / or the hash value at the time of initial downloading. If the version value and / or the hash value match each other, It is judged to be abnormal.

The loader 100 downloads the new package information PKG 'from the recovery server 300 designated in the formatted memory 200 from the third step and then transmits the new package information PKG' The loader 100 can load the newly stored package information PKG 'in the memory 200 normally.

Herein, the second information for confirming whether or not the package information PKG 'is normally stored in the memory 200 is stored in the second section S2 as in the first step.

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 loader 100 accesses the recovery server 300 to download the new package information PKG 'and store the new package information PKG' in the memory 200, the loader 100 updates the connection location of the recovery server 300 Accordingly, even if the location of the recovery server 300 is changed due to a change in network structure through the updated connection location, the loader 100 can easily access the plurality of location-changed servers 300 to quickly download the package information You can proceed.

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 memory 200, and stores it in the memory 200 before the loader 100 loads First, it is checked whether the version value and / or the hash value, which is the information included in the package information PKG, matches the initial version value and / or the hash value, and if not, the new package information PKG ' So that self recovery of the package information in the memory 200 can be performed.

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 first step of analyzing information of a certain period included in the package information in a preparation step of loading load information for the system drive for 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 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 method according to claim 1,
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.
3. The apparatus of claim 2, wherein the second information of the second section comprises:
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.
3. The apparatus of claim 2, wherein the second information of the second section comprises:
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:
3. The apparatus of claim 2, wherein the second information of the second section comprises:
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:
3. The apparatus of claim 2, wherein the second information of the second section comprises:
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.
The method of claim 1, wherein in the fourth step, the loader updates its connection location when connected to the recovery server to download new package information to the memory; The method of claim 1, further comprising:
KR1020140142723A 2014-10-21 2014-10-21 Restoration method for package information of the memory KR20160046594A (en)

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)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100052041A (en) 2008-11-10 2010-05-19 엘지전자 주식회사 Loader and method for recovering firmware automatically

Patent Citations (1)

* Cited by examiner, † Cited by third party
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