KR19990004788A - How to check the backup data written to memory - Google Patents

How to check the backup data written to memory Download PDF

Info

Publication number
KR19990004788A
KR19990004788A KR1019970028929A KR19970028929A KR19990004788A KR 19990004788 A KR19990004788 A KR 19990004788A KR 1019970028929 A KR1019970028929 A KR 1019970028929A KR 19970028929 A KR19970028929 A KR 19970028929A KR 19990004788 A KR19990004788 A KR 19990004788A
Authority
KR
South Korea
Prior art keywords
backup data
memory
memory unit
logical sum
recorded
Prior art date
Application number
KR1019970028929A
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 KR1019970028929A priority Critical patent/KR19990004788A/en
Publication of KR19990004788A publication Critical patent/KR19990004788A/en

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

메모리에 기록된 백업 데이터를 실시간으로 검사하기 위한 방법이 개시된다. 메모리부의 다른 어드레스 위치에 각각 기록된 제1 백업 데이터와 상기 제1 백업 데이터와 관련된 제2 백업 데이터가 제어부의 내부 메모리에 로딩된다. 제어부는 상기 로딩된 제1 백업 데이터와 제2 백업 데이터의 논리합을 취하여서 상기 논리합의 결과가 예정된 값인지의 여부를 판단한다. 상기 논리합의 결과가 예정된 값이 아니라고 판단될 때 제어부는 초기 백업 데이터를 내부 메모리에 로딩한다. 상기 논리합의 결과가 예정된 값이라고 판단될 때 제어부는 상기 제1 백업 데이터가 타당한 데이터임을 승인한다. 따라서, 메모리부에 제1 백업 데이터가 기록될 때, 상기 메모리부에 기록된 제2 백업 데이터를 이용하여 상기 제1 백업 데이터가 실시간으로 검사된다. 이에 따라, 상기 제1 백업 데이터가 타당한 데이터인지의 여부가 신속히 검사되어서 사용자는 원하는 시스템의 동작 환경을 자동으로 구축하게 된다.A method for inspecting backup data recorded in a memory in real time is disclosed. First backup data and second backup data associated with the first backup data respectively recorded at different address positions of the memory unit are loaded into the internal memory of the controller. The control unit takes a logical sum of the loaded first backup data and the second backup data to determine whether the result of the logical sum is a predetermined value. When it is determined that the result of the logical sum is not a predetermined value, the controller loads initial backup data into the internal memory. When it is determined that the result of the logical sum is a predetermined value, the controller approves that the first backup data is valid data. Therefore, when the first backup data is recorded in the memory unit, the first backup data is checked in real time using the second backup data recorded in the memory unit. Accordingly, it is quickly checked whether the first backup data is valid data, and the user automatically establishes an operating environment of a desired system.

Description

메모리에 기록된 백업 데이터를 검사하는 방법How to check the backup data written to memory

본 발명은 메모리에 기록된 백업 데이터를 실시간으로 검사하기 위한 방법에 관한 것이다.The present invention relates to a method for inspecting backup data recorded in a memory in real time.

도 1은 통상적인 제어부와 메모리부의 하드웨어적인 연결 관계를 보여주기 위한 블록도이다. 일례로, 통상적인 텔레비전 수신기에서는 사용자(시청자)가 그 동작 전원을 '오프' 상태로 조작할 때, 상기 전원의 '오프' 상태 바로 전에 선국되었던 채널과2 설정되었던 음량 등이 메모리부(20)에 백업(기록)된다. 일례로, 메모리부(20)는 E2프로그래머블0f롬(이하, E2PROM이라 약칭함)을 이용하여 구현된다.1 is a block diagram illustrating a hardware connection relationship between a conventional control unit and a memory unit. For example, in a typical television receiver, when a user (viewer) operates the operation power in an 'off' state, the memory unit 20 includes a channel that has been tuned just before the 'off' state of the power supply and a volume that has been set. Is backed up. For example, the memory unit 20 is implemented using an E 2 programmable 0f ROM (hereinafter, abbreviated as E 2 PROM).

도 1에서 보3여준 구성에서는 메모리부(20)에 백업 데이터가 잘못 기록될 경우, 사용자가 텔레비전 수신기의 동작 전원을 다시 '온' 상태로 조작할 때, 상기 잘못된 백2업 데이터에 의거하여 텔레비전 수신기의 채널과 음량 등이 설정되지만 상기 임의적인 동작 설정 상태를 검사할 수 있는 수단이 존재하지 않는다.In the configuration shown in FIG. 1, when backup data is erroneously recorded in the memory unit 20, when the user manipulates the operating power of the television receiver back to the 'on' state, the television is based on the wrong backup data. The channel and the volume of the receiver are set, but there is no means for checking the arbitrary operation setting state.

본 발명은 상기한 종래의 문제점을 해결하기 위하여 안출된 것으로, 본 발명의 제1의 목적은 제1 백업 데이터가 메모리부에 기록될 때 제1 백업 데이터와 관련된 제2 백업 데이터는 상기 메모리부의 다른 어드레스 위치나 별개의 메모리부에 기록되는, 메모리에 기록된 백업 데이터를 검사하는 방법을 제공함에 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned conventional problem, and a first object of the present invention is that when the first backup data is written to the memory unit, the second backup data associated with the first backup data is different from the memory unit. A method of inspecting backup data recorded in a memory, which is recorded in an address location or a separate memory unit, is provided.

본 발명의 제2의 목적은 제어부가 메모리부로부터 제1 백업 데이터를 읽을 때 제2 백업 데이터도 읽어서 제1 백업 데이터와 제2 백업 데이터를 논리합하며 상기 논리합의 결과가 예정된 값인지를 확인함으로써 제1 백업 데이터가 타당한 데이터인지를 검사하기 위한 방법을 제공함에 있다.The second object of the present invention is to read the second backup data when the controller reads the first backup data from the memory unit, and to logically combine the first backup data and the second backup data, and confirm whether the result of the logical sum is a predetermined value. 1 It provides a method for checking whether backup data is valid data.

도 1은 통상적인 제어부와 메모리부의 하드웨어적인 연결 관계를 보여주기 위한 블록도이다.1 is a block diagram illustrating a hardware connection relationship between a conventional control unit and a memory unit.

도 2는 본 발명에 따른 방법을 수행하기 위한 제어부와 메모리부들의 하드웨어적인 연결 관계를 보여주기 위한 블록도이다.2 is a block diagram illustrating a hardware connection relationship between a control unit and a memory unit for performing the method according to the present invention.

도 3은 본 발명에 따른 제1 백업 데이터와 상기 제1 백업 데이터와 관련된 제2 백업 데이터를 도 2에서 보여준 메모리부들에 기록하는 절차를 설명하기 위한 흐름도이다.FIG. 3 is a flowchart illustrating a procedure of writing first backup data and second backup data related to the first backup data to the memory units shown in FIG. 2 according to the present invention.

도 4는 본 발명의 일 실시예에 따른, 도 3에서 설명된 제2 백업 데이터를 이용하여 제1 메모리부에 기록된 제1 백업 데이터를 검사하기 위한 방법을 설명하기 위한 흐름도이다.4 is a flowchart illustrating a method for inspecting first backup data recorded in a first memory unit by using the second backup data described in FIG. 3, according to an exemplary embodiment.

〈도면의 주요부분에 대한 부호의 설명〉<Explanation of symbols for main parts of drawing>

100: 제어부,200: 제1 메모리부,100: control unit, 200: first memory unit,

300: 제2 메모리부.300: a second memory unit.

상기 목적을 달성하기 위하여 본 발명에 따른, 메모리에 기록된 백업 데이터를 검사하는 방법은,In order to achieve the above object, a method of inspecting backup data recorded in a memory according to the present invention,

(i) 제1 백업 데이터와 상기 제1 백업 데이터와 관련된 제2 백업 데이터를 생성하여서 메모리 수단에 각각 기록하는 단계;(i) generating first backup data and second backup data associated with the first backup data and writing them to the memory means, respectively;

(ii) 단계 (i)에서 메모리 수단에 각각 기록된 제1 백업 데이터와 제2 백업 데이터를 제어 수단에 포함되는 내부 메모리에 로딩하는 단계;(ii) loading the first backup data and the second backup data respectively recorded in the memory means in step (i) into the internal memory included in the control means;

(iii) 단계 (ii)에서 로딩된 제1 백업 데이터와 제2 백업 데이터의 논리합을 취하여서 상기 논리합의 결과가 예정된 값인지의 여부를 판단하는 단계;(iii) taking a logical sum of the first backup data and the second backup data loaded in step (ii) to determine whether the result of the logical sum is a predetermined value;

(iv) 단계 (iii)에서 상기 논리합의 결과가 예정된 값이 아니라고 판단될 때, 초기 백업 데이터를 내부 메모리에 로딩하는 단계; 그리고(iv) when in step (iii) it is determined that the result of the OR is not a predetermined value, loading initial backup data into the internal memory; And

(v) 단계 (iii)에서 상기 논리합의 결과가 예정된 값이라고 판단될 때, 상기 제1 백업 데이터가 타당한 데이터임을 승인하는 단계로 이루어져 있다.(v) when it is determined in step (iii) that the result of the logical sum is a predetermined value, acknowledging that the first backup data is valid data.

본 발명에 따른 메모리에 기록된 백업 데이터를 검사하는 방법에서는, 메모리부에 제1 백업 데이터가 기록될 때 제1 백업 데이터와 관련되어서 상기 메모리부의 다른 어드레스 위치나 별개의 메모리부에 기록된 제2 백업 데이터를 이용하여 상기 제1 백업 데이터가 실시간으로 검사된다. 이에 따라, 상기 제1 백업 데이터가 타당한 데이터인지의 여부가 신속히 검사되어서 사용자는 원하는 시스템의 동작 환경을 자동으로 구축하게 된다.In the method for checking the backup data recorded in the memory according to the present invention, when the first backup data is written in the memory unit, the second data recorded in a separate memory unit or another address position of the memory unit in association with the first backup data. The first backup data is checked in real time using the backup data. Accordingly, it is quickly checked whether the first backup data is valid data, and the user automatically establishes an operating environment of a desired system.

이하, 도면을 참조하여 본 발명의 일 실시예에 따른, 메모리에 기록된 백업 데이터를 검사하는 방법의 구성과 동작이 설명된다.Hereinafter, the configuration and operation of a method for inspecting backup data recorded in a memory according to an embodiment of the present invention will be described with reference to the drawings.

도 2는 본 발명에 따른 방법을 수행하기 위한 제어부와 메모리부들의 하드웨어적인 연결 관계를 보여주기 위한 블록도이다. 도 2에서, 참조 부호 100은 제어부를 나타내며, 200과 300은 상기 제어부(100)의 주변 소자인 제1 메모리부와 제2 메모리부를 나타낸다. 상기 제1 메모리부(200)와 제2 메모리부(300)는 상호 별개의 메모리부들로서 구현될 수도 있고, 동일한 메모리부에서 어드레스 위치가 상호 겹치지 않도록 2개로 분할되어서 구현될 수도 있다. 일례로, 제1 메모리부(200)와 제2 메모리부(300)는 E2PROM을 이용하여 구현되며, 상기 E2PROM은 비휘발성 메모리이다. 참조 부호 110은 어드레스 버스를 통하여 전달되는 어드레스를 나타내고, 참조 부호 120은 제어부로(100)부터 제1 메모리부(200) 또는 제2 메모리부(300)로 데이터 버스를 통하여 전달되는 제1 백업 데이터 또는 제2 백업 데이터를 나타낸다. 또한, 참조 부호 210과 310은 제1 메모리부(200)와 제2 메모리부(300)에서 제어부(100)에 포함되는 내부 메모리(도시되지 않음)로 각각 로딩되는 제1 백업 데이터와 제2 백업 데이터를 나타낸다. 참조 부호들 CS1과 CS2는 제어부(100)로부터 제1 메모리부(200)와 제2 메모리부(300)로 각각 전달되는 제1 및 제2 칩 선택 신호들을 나타낸다.2 is a block diagram illustrating a hardware connection relationship between a control unit and a memory unit for performing the method according to the present invention. In FIG. 2, reference numeral 100 denotes a controller, and 200 and 300 denote first and second memory units, which are peripheral elements of the controller 100. The first memory unit 200 and the second memory unit 300 may be implemented as separate memory units, or may be divided into two parts so that address positions do not overlap each other in the same memory unit. For example, the first memory unit 200 and the second memory unit 300 are implemented using E 2 PROM, and the E 2 PROM is a nonvolatile memory. Reference numeral 110 denotes an address transferred through the address bus, and reference numeral 120 denotes first backup data transferred through the data bus from the controller 100 to the first memory unit 200 or the second memory unit 300. Or second backup data. In addition, reference numerals 210 and 310 denote first backup data and second backup that are respectively loaded from the first memory unit 200 and the second memory unit 300 into an internal memory (not shown) included in the controller 100. Represents the data. Reference numerals CS1 and CS2 denote first and second chip select signals transmitted from the controller 100 to the first memory unit 200 and the second memory unit 300, respectively.

도 3은 본 발명에 따른 제1 백업 데이터와 상기 제1 백업 데이터와 관련된 제2 백업 데이터를 도 2에서 보여준 메모리부들에 기록하는 절차를 설명하기 위한 흐름도이다. 도 3에서 설명되는 바와 같이, 단계 S10에서 제어부(100)는 제1 백업 데이터를 정의한다. 단계 S20에서 제어부(100)는 상기 제1 백업 데이터를 제1 메모리부(200)에 기록한다. 단계 S30에서 제어부(100)는 상기 제1 백업 데이터와 관련된 제2 백업 데이터를 정의한다. 일례로 상기 제2 백업 데이터는 재1 백업 데이터의 컴플리먼트이다. 단계 S40에서 제어부(100)는 상기 제2 백업 데이터를 제2 메모리부(300)에 기록한다.FIG. 3 is a flowchart illustrating a procedure of writing first backup data and second backup data related to the first backup data to the memory units shown in FIG. 2 according to the present invention. As described in FIG. 3, in step S10, the controller 100 defines first backup data. In operation S20, the controller 100 records the first backup data in the first memory unit 200. In operation S30, the controller 100 defines second backup data related to the first backup data. For example, the second backup data is a complement of the first backup data. In step S40, the controller 100 writes the second backup data to the second memory unit 300.

도 4는 본 발명의 일 실시예에 따른, 도 3에서 설명된 제2 백업 데이터를 이용하여 제1 메모리부에 기록된 제1 백업 데이터를 검사하기 위한 방법을 설명하기 위한 흐름도이다. 도 4에서 설명되는 바와 같이, 제어부(100)는 제1 메모리부(200)에 기록된 제1 백업 데이터를 제어부(100)에 포함되는 내부 메모리에 로딩한다. 단계 S200에서 제어부(100)는 제2 메모리부(300)에 기록된 제2 백업 데이터를 상기 내부 메모리에 로딩한다.4 is a flowchart illustrating a method for inspecting first backup data recorded in a first memory unit by using the second backup data described in FIG. 3, according to an exemplary embodiment. As described with reference to FIG. 4, the controller 100 loads first backup data recorded in the first memory unit 200 into an internal memory included in the controller 100. In operation S200, the controller 100 loads the second backup data recorded in the second memory unit 300 into the internal memory.

단계 S300에서 제어부(100)는 단계들 S100과 S200에서 상기 내부 메모리로 로딩된 제1 백업 데이터와 제2 백업 데이터의 논리합을 취하여서 상기 논리합의 결과가 예정된 값인지의 여부를 판단한다. 일례로 상기 예정된 값은 FF이다.In step S300, the controller 100 takes a logical sum of the first backup data and the second backup data loaded into the internal memory in steps S100 and S200 to determine whether the result of the logical sum is a predetermined value. In one example the predetermined value is FF.

단계 S300에서 상기 논리합의 결과가 예정된 값이 아니라고 판단될 때 제어부(100)는 단계 S400에서 초기 백업 데이터를 상기 내부 메모리에 로딩한다.When it is determined in step S300 that the result of the logical sum is not a predetermined value, the controller 100 loads initial backup data into the internal memory in step S400.

단계 S300에서 상기 논리합의 결과가 예정된 값이라고 판단될 때, 제어부(100)는 단계 S500에서 상기 백업 데이터가 타당한 데이터임을 승인하여서 상기 백업 데이터에 의거하여 이후의 절차들을 수행시킨다.When it is determined in step S300 that the result of the logical sum is a predetermined value, the control unit 100 acknowledges that the backup data is valid data in step S500 and performs subsequent procedures based on the backup data.

본 발명에 따른 메모리에 기록된 백업 데이터를 검사하는 방법에서는, 메모리부에 제1 백업 데이터가 기록될 때 제1 백업 데이터와 관련되어서 상기 메모리부의 다른 어드레스 위치나 별개의 메모리부에 기록된 제2 백업 데이터를 이용하여 상기 제1 백업 데이터가 실시간으로 검사된다. 이에 따라, 상기 제1 백업 데이터가 타당한 데이터인지의 여부가 신속히 검사되어서 사용자는 원하는 시스템의 동작 환경을 자동으로 구축하게 된다.In the method for checking the backup data recorded in the memory according to the present invention, when the first backup data is written in the memory unit, the second data recorded in a separate memory unit or another address position of the memory unit in association with the first backup data. The first backup data is checked in real time using the backup data. Accordingly, it is quickly checked whether the first backup data is valid data, and the user automatically establishes an operating environment of a desired system.

이상, 본 발명을 상기한 바람직한 실시예를 들어 구체적으로 설명하였지만, 본 발명은 이에 한정되는 것이 아니고, 당업자의 통상의 지식의 범위 내에서 그 변형이나 개량이 가능하다.As mentioned above, although this invention was demonstrated concretely by the above-mentioned preferable embodiment, this invention is not limited to this, A deformation | transformation and improvement are possible within the range of the common knowledge of a person skilled in the art.

Claims (2)

(i) 제1 백업 데이터와 상기 제1 백업 데이터와 관련된 제2 백업 데이터를 생성하여서 메모리 수단에 각각 기록하는 단계;(i) generating first backup data and second backup data associated with the first backup data and writing them to the memory means, respectively; (ii) 단계 (i)에서 메모리 수단에 각각 기록된 제1 백업 데이터와 제2 백업 데이터를 제어 수단에 포함되는 내부 메모리에 로딩하는 단계;(ii) loading the first backup data and the second backup data respectively recorded in the memory means in step (i) into the internal memory included in the control means; (iii) 단계 (ii)에서 로딩된 제1 백업 데이터와 제2 백업 데이터의 논리합을 취하여서 상기 논리합의 결과가 예정된 값인지의 여부를 판단하는 단계;(iii) taking a logical sum of the first backup data and the second backup data loaded in step (ii) to determine whether the result of the logical sum is a predetermined value; (iv) 단계 (iii)에서 상기 논리합의 결과가 예정된 값이 아니라고 판단될 때, 초기 백업 데이터를 내부 메모리에 로딩하는 단계; 그리고(iv) when in step (iii) it is determined that the result of the OR is not a predetermined value, loading initial backup data into the internal memory; And (v) 단계 (iii)에서 상기 논리합의 결과가 예정된 값이라고 판단될 때, 상기 제1 백업 데이터가 타당한 데이터임을 승인하는 단계로 이루어져 있는 것을 특징으로 하는 메모리에 기록된 백업 데이터를 검사하는 방법.and (v) when in step (iii) it is determined that the result of the logical sum is a predetermined value, acknowledging that the first backup data is valid data. 제1항에 있어서, 상기 제2 백업 데이터는 제1 백업 데이터의 컴플리먼트로 설정되는 것을 특징으로 하는 메모리에 기록된 백업 데이터를 검사하는 방법.The method of claim 1, wherein the second backup data is set as a complement of the first backup data.
KR1019970028929A 1997-06-30 1997-06-30 How to check the backup data written to memory KR19990004788A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970028929A KR19990004788A (en) 1997-06-30 1997-06-30 How to check the backup data written to memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970028929A KR19990004788A (en) 1997-06-30 1997-06-30 How to check the backup data written to memory

Publications (1)

Publication Number Publication Date
KR19990004788A true KR19990004788A (en) 1999-01-25

Family

ID=65987300

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970028929A KR19990004788A (en) 1997-06-30 1997-06-30 How to check the backup data written to memory

Country Status (1)

Country Link
KR (1) KR19990004788A (en)

Similar Documents

Publication Publication Date Title
KR100280637B1 (en) Computer system capable of data update of fixed flash ROM and its control method
KR20000023497A (en) Microcomputer provided with flash memory and method of storing program into flash memory
KR100703164B1 (en) Data processing device and control method of the same
US4488257A (en) Method for confirming incorporation of a memory into microcomputer system
KR19990004788A (en) How to check the backup data written to memory
US20030068162A1 (en) Updating system for digital players and method of using the same
US5263170A (en) Monitor circuit for detecting noise conditions through input output coincidence comparison
KR19990004789A (en) Fast backup method of backup data of memory by backup ID
JP4339269B2 (en) Mobile phone bus monitor system and method
JPH10283172A (en) Flash rom data rewrite system
JPS6295651A (en) Program loading system
JPH01245346A (en) Information down loading system
JP3114907B2 (en) How to change the sequence program of the programmable controller
KR20000021883A (en) Method for down-loading data of device control board having dual structure
KR100260138B1 (en) Automatic setting method for rewrite memory
JPH0424722B2 (en)
JPH0662114A (en) Inter-processor diagnostic processing system
JP2808879B2 (en) Connection check method for magnetic disk controller
JPH098908A (en) Exchange and restart processing method for exchange
JPH05189001A (en) Controller
JPH03233736A (en) Read-only memory patch system
JPH06259616A (en) Self-diagnostic method for information recording medium incorporated with cpu
JPH10269073A (en) Data protection system in inter-unit data transmission
JPS6095644A (en) Debugging method of rom data
JPH04307637A (en) Pseudo channel device

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination