KR20020069465A - Configuraton data backup method - Google Patents
Configuraton data backup method Download PDFInfo
- Publication number
- KR20020069465A KR20020069465A KR1020010010081A KR20010010081A KR20020069465A KR 20020069465 A KR20020069465 A KR 20020069465A KR 1020010010081 A KR1020010010081 A KR 1020010010081A KR 20010010081 A KR20010010081 A KR 20010010081A KR 20020069465 A KR20020069465 A KR 20020069465A
- Authority
- KR
- South Korea
- Prior art keywords
- data
- setting data
- nonvolatile memory
- static ram
- setting
- Prior art date
Links
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/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1438—Restarting or rejuvenating
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Quality & Reliability (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
Description
본 발명은 시스템 설정 데이터(configuration data)를 저장하기 위한 비휘발성 메모리를 가지는 주 제어 유니트를 포함하여 다수의 유니트를 구비하는 시스템에 관한 것으로, 특히 설정 데이터를 저장하는 방법에 관한 것이다.The present invention relates to a system having a plurality of units, including a main control unit having a nonvolatile memory for storing system configuration data, and more particularly to a method of storing configuration data.
통상적으로 시스템 운용에 필요한 프로그램이 실행되고 시스템을 제어하는 주 제어 유니트, 즉 MCU(Main Control Unit)를 포함하여 다수의 유니트를 구비하는 전송시스템과 같은 각종 시스템은 시스템 설정을 위한 설정 데이터를 디폴트(default)값으로 가지고 있으며 필요에 따라 운용자가 프로비전(provision)에 의해 설정 데이터를 변경하게 된다. 이에 따른 설정 데이터는 MCU에 구비되는비휘발성 메모리, 즉 NVRAM(Non-Volatile Random Access Memory)에 저장된다.In general, various systems such as a transmission system having a plurality of units including a main control unit, that is, a MCU (main control unit) that executes a program necessary for operating the system and controls the system, default setting data for system setting ( default value, and the operator changes configuration data by provisioning as necessary. Accordingly, the configuration data is stored in a nonvolatile memory, that is, non-volatile random access memory (NVRAM) included in the MCU.
도 1은 상기한 바와 같은 MCU의 블록구성도를 보인 것으로, MCU(100)는 CPU(Central Processing Unit)(102)와 FROM(Flash Read Only Memory)(204)와 NVRAM(206)과 DRAM(Dynamic Random Access Memory)(108)을 구비한다. CPU(102)는 프로그램을 실행하는 메인 칩(main chip)이고, FROM(104)은 시스템을 제어하는 프로그램이 저장된 메모리이며, NVRAM(206)은 설정 데이터를 보관하는 메모리로서 전원이 오프되어도 저장된 데이터를 유지하며, DRAM(108)은 프로그램 실행에 필요한 각종 데이터를 보관하는 메모리이다. 운용자가 설정한 데이터는 NVRAM(106)에 저장된다. 프로그램이 수행되면서 운용자가 설정한 데이터는 주기적으로 NVRAM(106)에 저장되고, 시스템의 리셋시 CPU(102)는 NVRAM(106)에서 이전에 저장되어 있던 설정 데이터를 DRAM(108)으로 읽어와서 다시 시스템을 셋업(setup)시킨다.1 is a block diagram of an MCU as described above. The MCU 100 includes a central processing unit (CPU) 102, a flash read only memory (FROM) 204, an NVRAM 206, and a DRAM (Dynamic). Random Access Memory (108). The CPU 102 is a main chip for executing a program, the FROM 104 is a memory in which a program controlling a system is stored, and the NVRAM 206 is a memory in which setting data is stored, even when the power is turned off. DRAM 108 is a memory that stores various data necessary for program execution. The data set by the operator is stored in the NVRAM 106. As the program is executed, the data set by the operator is periodically stored in the NVRAM 106, and when the system is reset, the CPU 102 reads the setting data previously stored in the NVRAM 106 into the DRAM 108 and then again. Setup the system.
상기한 바와 같은 종래의 방식에 따르면 다수의 유니트들로 이루어진 시스템에서 MCU를 교체시 사용하던 시스템이 아닌, 이전의 MCU에서 사용하던 설정 데이터를 사용함으로써 시스템의 오동작을 막을 수 없었다. NVRAM에 저장된 데이터가 깨어진 경우, 시스템의 오동작을 유발하였다.According to the conventional method as described above, by using the configuration data used in the previous MCU, rather than the system used to replace the MCU in a system consisting of a plurality of units could not prevent the malfunction of the system. If the data stored in NVRAM is broken, it may cause the system to malfunction.
따라서 본 발명의 목적은 설정 데이터를 백업(backup)하여 사용할 수 있는 방법을 제공함에 있다.Accordingly, an object of the present invention is to provide a method that can be used to back up the configuration data (backup).
도 1은 통상적인 주 제어 유니트의 블록구성도,1 is a block diagram of a conventional main control unit,
도 2는 본 발명의 실시예에 따른 설정 데이터 백업을 위한 블록구성도,2 is a block diagram for configuration data backup according to an embodiment of the present invention;
도 3은 본 발명의 실시예에 따른 처리 흐름도.3 is a process flow diagram in accordance with an embodiment of the present invention.
이하 본 발명의 바람직한 실시예를 첨부한 도면을 참조하여 상세히 설명한다. 하기 설명 및 첨부 도면에서 본 발명의 요지를 불필요하게 흐릴 수 있는 공지 기능 및 구성에 대한 상세한 설명은 생략한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description and the annexed drawings, detailed descriptions of well-known functions and configurations that may unnecessarily obscure the subject matter of the present invention will be omitted.
도 2는 본 발명의 실시예에 따른 설정 데이터 백업을 위한 블록구성도를 보인 것으로, 전송시스템에 적용하는 예를 보인 것이다. MCU(200)는 전술한 도 1의 MCU(100)와 마찬가지로 CPU(202)와 FROM(204)와 NVRAM(206)과 DRAM(208)로 구성되며, 본 발명의 실시예에 따른 설정 데이터 백업을 위한 프로그램은 FROM(204)에 저장되고 CPU(202)에 의해 실행된다. TGU(210)는 본 발명이 적용되는 전송시스템의 클록을 공급하는 유니트로 시스템 동작에 필수적으로 구비되는 유니트로서, 통상적으로 2장의 유니트를 사용하여 보호 절체가 되도록 하며 SRAM(Static RAM)(212)을 구비한다. 본 발명은 이와 같이 TGU(210)에 구비되는 SRAM(212)에 MCU(200) 내부에 있는 NVRAM(206)과 마찬가지로 후술하는 바와 같이 설정 데이터를 보관함으로써 백업을 한다.2 is a block diagram illustrating configuration data backup according to an embodiment of the present invention, and shows an example of application to a transmission system. Like the MCU 100 of FIG. 1 described above, the MCU 200 includes a CPU 202, a FROM 204, an NVRAM 206, and a DRAM 208, and performs backup of setting data according to an embodiment of the present invention. The program for is stored in the FROM 204 and executed by the CPU 202. The TGU 210 is a unit for supplying a clock of a transmission system to which the present invention is applied. The TGU 210 is a unit that is essentially provided for system operation. It is provided. The present invention backs up the SRAM 212 provided in the TGU 210 by storing the setting data as described later, similarly to the NVRAM 206 inside the MCU 200.
도 3은 본 발명의 실시예에 따른 MCU(200)의 CPU(202)의 처리 흐름도로서, 설정 데이터 백업을 포함한 셋업 과정을 (300)∼(310)단계로 보인 것이다. (300)단계에서 이전에 기본적인 설정 데이터로 시스템이 동작하고 있는 상황에서 운용자가 프로비전에 의해 설정 데이터의 변경이 있는 경우와 그렇지 않는 경우를 판단한다. 설정 데이터의 변경이 없는 경우에는 계속하여 프로그램이 수행되면서 설정 데이터의 변경 여부를 검사한다. 설정 데이터의 변경이 있는 경우에는 (302)단계에서 변경 데이터를 MCU(200)의 NVRAM(206) 및 두개의 TGU(210)의 SRAM(212)에 모두 보관한다. 이때 SRAM(212)과 NVRAM(206)의 특정 몇개의 번지에 시험데이터 마킹(marking)을 한다. 시험데이터는 예를 들어 "012345678"로 구성된 데이터이다. 이후 (304)단계에서 MCU(200) 리셋이 된 것으로 판단될 때, 이 데이터가 정상적으로 있으면 해당 SRAM(212)/NVRAM(206)의 데이터가 유효하다고 본다. 또한 SRAM(212)의 경우는 설정 데이터의 검사합(check sum)을 계산하여 특정 영역에 보관한다. 통상적으로 SRAM(212)의 데이터를 사용할 경우 파워 쇼크(power shock) 문제를 해결하기 위해 평소 때 MCU(200)가 SRAM(212)에 검사합을 기록하게 된다.3 is a flowchart of a process of the CPU 202 of the MCU 200 according to an exemplary embodiment of the present invention, and shows a set up process including setting data backup in steps 300 to 310. In operation 300, when the system is operating with the basic configuration data previously, the operator determines whether the configuration data is changed or not by provisioning. If there is no change in the setting data, the program is continuously executed to check whether the setting data has been changed. If there is a change in the setting data, the change data is stored in both the NVRAM 206 of the MCU 200 and the SRAM 212 of the two TGUs 210 in step 302. At this time, a certain number of addresses of the SRAM 212 and the NVRAM 206 are marked. The test data is, for example, data consisting of "012345678". When it is determined in step 304 that the MCU 200 has been reset, the data of the corresponding SRAM 212 / NVRAM 206 is considered valid if this data is normally present. In the case of the SRAM 212, a check sum of setting data is calculated and stored in a specific area. In general, when the data of the SRAM 212 is used, the MCU 200 normally writes a checksum in the SRAM 212 to solve a power shock problem.
상기 (304)단계에서 MCU(200) 리셋이 아니고 정상적인 경우는 다시 상기한 (300)단계로 진행하여 설정 데이터의 변경 여부를 조사한다. 이와 달리 만일 MCU(200)가 탈장되었다가 실장됨에 따라 리셋이 된 경우에는 (306)단계를 실행한다. 상기한 (306)단계에서는 NVRAM(206)과 SRAM(212) 중에서 설정 데이터를 선택하여 시스템을 셋업하게 되는데 구체적으로는 다음과 같다.If it is normal in step 304 that the MCU 200 is not reset, the process proceeds to step 300 again to investigate whether the setting data has been changed. On the contrary, if the MCU 200 is reset after being mounted after being mounted, step 306 is executed. In step 306, the system is set up by selecting configuration data from the NVRAM 206 and the SRAM 212.
첫번째로 SRAM(212)의 데이터가 유효할 경우에는 다음과 같다. SRAM(212)과 NVRAM(206)의 시험데이터를 비교하여 다르고 SRAM(212)의 검사합이 정상일 경우에는 MCU(200)가 교체된 경우이므로 SRAM(212)의 설정 데이터를 사용하여 시스템 셋업을 한다. 이와 달리 SRAM(212)과 NVRAM(206)의 시험데이터를 비교하여 같거나 또는 SRAM(212)의 검사합이 정상이 아닐 경우에는 MCU(200)만 리셋된 경우이므로 NVRAM(206)의 설정 데이터를 사용하여 시스템 셋업을 한다. 그리고 SRAM(212)의 설정 데이터를 사용하여야 하나, SRAM(212)의 데이터가 깨진 경우에도 NVRAM(206)의설정 데이터를 사용하여 시스템 셋업을 한다.First, the data of the SRAM 212 is valid as follows. If the test data of the SRAM 212 and the NVRAM 206 are different and the check sum of the SRAM 212 is normal, the MCU 200 is replaced. Therefore, the system setup is performed using the setting data of the SRAM 212. . On the contrary, when the test data of the SRAM 212 and the NVRAM 206 are compared or the same or the check sum of the SRAM 212 is not normal, only the MCU 200 is reset, and thus the setting data of the NVRAM 206 is reset. To set up the system. The setup data of the SRAM 212 should be used, but system setup is performed using the setup data of the NVRAM 206 even when the data of the SRAM 212 is broken.
두번째로 SRAM(212)의 시험데이터가 유효하지 않은 경우에는 다음과 같다. NVRAM(206)의 시험데이터가 유효한 경우에는 NVRAM(206)의 설정데이터를 사용한다. 이와 달리 NVRAM(206)의 시험데이터가 유효하지 않은 경우 시스템 구성(system configuration)을 디폴트(default)값으로 초기화한다.Secondly, when the test data of the SRAM 212 is invalid, it is as follows. If the test data of the NVRAM 206 is valid, the setting data of the NVRAM 206 is used. In contrast, when the test data of the NVRAM 206 is invalid, the system configuration is initialized to a default value.
이후 (308)단계에서 시스템 초기화 필요 여부를 확인하여, 시스템의 전원이 오프되었다가 다시 온된 경우와 같이 시스템 초기화가 필요하면 (310)단계에서 시스템 초기화를 한 후 상기 (300)단계를 수행하고, 시스템 초기화가 필요치 않으면 그대로 상기 (300)단계를 수행한다.Thereafter, in step 308, if system initialization is required, such as when the system is powered off and then on again, after system initialization is performed in step 310, step 300 is performed. If no system initialization is required, the step 300 is performed as it is.
따라서 설정 데이터를 MCU의 NVRAM에 저장함과 동시에 SRAM에 백업함으로써 MCU가 교체되더라도 기존에 시스템에서 사용하던 설정 데이터를 그대로 사용할 수 있으므로 MCU가 리셋시 시스템의 안정성을 도모할 수 있다. 또한 SRAM을 구비하는 유니트를 필수적으로 사용하는 시스템에서는 SRAM을 별도로 추가하지 않아도 된다.한편 상술한 본 발명의 설명에서는 구체적인 실시예에 관해 설명하였으나, 여러가지 변형이 본 발명의 범위에서 벗어나지 않고 실시할 수 있다. 특히 본 발명의 실시예에서는 전송시스템에 적용하는 예를 들었으나, MCU를 포함하여 다수의 유니트를 구비하며 설정 데이터를 저장하는 각종 시스템에는 마찬가지로 적용된다. 따라서 발명의 범위는 설명된 실시예에 의하여 정할 것이 아니고 특허청구범위와 특허청구범위의 균등한 것에 의해 정하여져야 한다.Therefore, by saving the configuration data in the MCU's NVRAM and backing it to SRAM, even if the MCU is replaced, the configuration data used in the system can be used as it is so that the MCU can improve the stability of the system upon reset. In addition, in a system that essentially uses a unit including an SRAM, the SRAM does not need to be added separately. Meanwhile, in the above description of the present invention, specific embodiments have been described, but various modifications can be made without departing from the scope of the present invention. have. In particular, the embodiment of the present invention has been applied to the transmission system, but it is similarly applied to various systems having a plurality of units including the MCU and storing the setting data. Therefore, the scope of the invention should not be defined by the described embodiments, but should be defined by the equivalent of claims and claims.
상술한 바와 같이 본 발명은 설정 데이터를 백업함으로써 MCU가 교체되더라도 기존에 시스템에서 사용하던 설정 데이터를 그대로 사용할 수 있으므로 MCU가 리셋시 시스템의 안정성을 도모할 수 있는 이점이 있다.As described above, according to the present invention, even when the MCU is replaced by backing up the setting data, the setting data used in the existing system can be used as it is, so that the MCU can improve the stability of the system upon reset.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020010010081A KR20020069465A (en) | 2001-02-27 | 2001-02-27 | Configuraton data backup method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020010010081A KR20020069465A (en) | 2001-02-27 | 2001-02-27 | Configuraton data backup method |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20020069465A true KR20020069465A (en) | 2002-09-04 |
Family
ID=27695760
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020010010081A KR20020069465A (en) | 2001-02-27 | 2001-02-27 | Configuraton data backup method |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20020069465A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101043227B1 (en) * | 2010-10-12 | 2011-06-21 | 서울대학교산학협력단 | Method of centrifugal separation and syringe for centrifugal separation |
-
2001
- 2001-02-27 KR KR1020010010081A patent/KR20020069465A/en not_active Application Discontinuation
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101043227B1 (en) * | 2010-10-12 | 2011-06-21 | 서울대학교산학협력단 | Method of centrifugal separation and syringe for centrifugal separation |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6122748A (en) | Control of computer system wake/sleep transitions | |
KR100508087B1 (en) | System boot using nand flash memory and method thereof | |
US5371876A (en) | Computer system with a paged non-volatile memory | |
US6282644B1 (en) | Apparatus and method for storing BIOS data of computer system | |
US20080141016A1 (en) | Computer System and Related Method for Preventing Failure of Updating BIOS Programs | |
JPH07113907B2 (en) | card | |
WO2005094281A2 (en) | Device-level address translation within a programmable non-volatile memory device | |
JP2007122627A (en) | Information processor and memory initialization method | |
JP2000065899A (en) | Semiconductor device, and its data rewriting method | |
US5987581A (en) | Configurable address line inverter for remapping memory | |
JP2007102566A (en) | Memory backup system | |
US5915080A (en) | Reprogramming device of a flash memory | |
US6564177B1 (en) | Electronic device | |
JP2003196102A (en) | Computer system | |
US20010005875A1 (en) | Alternate access mechanism for saving and restoring state of write-only register | |
KR20020069465A (en) | Configuraton data backup method | |
US6535442B2 (en) | Semiconductor memory capable of debugging an incorrect write to or an incorrect erase from the same | |
US20050154850A1 (en) | Computer memory initialization | |
KR19980054349A (en) | Optional automatic setting circuit | |
US8825912B2 (en) | Dynamic state configuration restore | |
US7165172B1 (en) | Facilitating cold reset and warm reset tasking in a computer system | |
US20030200401A1 (en) | Microcomputer system automatically backing-up data written in storage medium in transceiver, and transceiver connected thereto | |
US10599589B2 (en) | Semiconductor device and flash-memory control method | |
US7191323B2 (en) | Information processing unit selecting one of reset vector addresses | |
KR101342074B1 (en) | Computer system and control method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WITN | Withdrawal due to no request for examination |