[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

KR100308895B1 - data protecting apparatus and methode of ECR - Google Patents

data protecting apparatus and methode of ECR Download PDF

Info

Publication number
KR100308895B1
KR100308895B1 KR1019990015689A KR19990015689A KR100308895B1 KR 100308895 B1 KR100308895 B1 KR 100308895B1 KR 1019990015689 A KR1019990015689 A KR 1019990015689A KR 19990015689 A KR19990015689 A KR 19990015689A KR 100308895 B1 KR100308895 B1 KR 100308895B1
Authority
KR
South Korea
Prior art keywords
power failure
data
logic voltage
memory unit
data memory
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
KR1019990015689A
Other languages
Korean (ko)
Other versions
KR20000067681A (en
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 KR1019990015689A priority Critical patent/KR100308895B1/en
Publication of KR20000067681A publication Critical patent/KR20000067681A/en
Application granted granted Critical
Publication of KR100308895B1 publication Critical patent/KR100308895B1/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B71/00Games or sports accessories not covered in groups A63B1/00 - A63B69/00
    • A63B71/08Body-protectors for players or sportsmen, i.e. body-protecting accessories affording protection of body parts against blows or collisions
    • A63B71/14Body-protectors for players or sportsmen, i.e. body-protecting accessories affording protection of body parts against blows or collisions for the hands, e.g. baseball, boxing or golfing gloves
    • A63B71/141Body-protectors for players or sportsmen, i.e. body-protecting accessories affording protection of body parts against blows or collisions for the hands, e.g. baseball, boxing or golfing gloves in the form of gloves
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B69/00Training appliances or apparatus for special sports
    • A63B69/18Training appliances or apparatus for special sports for skiing
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B2244/00Sports without balls
    • A63B2244/19Skiing

Landscapes

  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Physical Education & Sports Medicine (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

본 발명은 전원 장애 및 로직 전압 상태를 계속적으로 감시하고 있다가 전원 장애시 로직 전압이 불안정한 상태에서는 MPU가 실행되지 않도록 하여 데이터 메모리부의 보존 데이터가 손상되지 않도록 한 금전 등록기의 데이터 보호 장치 및 방법에 관한 것이다.The present invention relates to a data protection device and method of a cash register which continuously monitors a power failure and logic voltage state and prevents the MPU from running in a state in which the logic voltage is unstable in the event of a power failure so that the stored data in the data memory unit is not damaged. It is about.

본 발명의 금전 등록기의 데이터 보호 장치는 입력 전원이 기설정된 전압 이하로 떨어지는 것을 감지하는 전원 장애 감지부; 로직 전압의 불안정 상태를 감지하는 로직 전압 감지부; 및 상기 전원 장애 감지부 및 로직 전압 감지부로부터 입력받은 감지값에 의거하여 전원 장애시 로직 전압이 불안정하게 되면 불필요한 데이터가 데이터 메모리부에 저장되는 것을 방지하기 위해 정지 모드로 전환되는 제어부를 구비하여 이루어진다.The data protection device of the cash register of the present invention includes a power failure detection unit for detecting that an input power falls below a predetermined voltage; A logic voltage sensing unit for sensing an unstable state of the logic voltage; And a control unit which switches to a stop mode to prevent unnecessary data from being stored in the data memory unit when a logic voltage becomes unstable in the event of a power failure based on detection values input from the power failure detector and the logic voltage detector. Is done.

Description

금전 등록기의 데이터 보호 장치 및 방법{data protecting apparatus and methode of ECR}Data protecting apparatus and method of cash register

본 발명은 금전 등록기의 데이터 보호 장치 및 방법에 관한 것으로서, 더욱 상세하게는 전원 라인의 전압이 불안정한 경우에 필요한 데이터를 데이터 메모리부에 보관하고 이의 손상을 방지할 수 있도록 한 금전 등록기의 데이터 보호 장치 및 방법에 관한 것이다.The present invention relates to a data protection device and method of a cash register, and more particularly, to a data protection device of a cash register which can store necessary data in a data memory unit and prevent damage thereof when a voltage of a power line is unstable. And to a method.

일반적으로 금전 등록기라 함은 상품 판매에 수반하는 각종 데이터를 처리하여 사용자에게 결과를 알려줌으로써 정보 관리를 원활하게 하기 위해 사용되는 기기를 일컫는 바, 간단한 판매의 사무 처리만을 할 수 있는 것에서부터 네트워크화를 통한 상품, 고객, 점원의 관리 및 시장 조사, 재고 조사 등의 유통 경제를 종합적으로 관리할 수 있는 판매 시점 정보 관리 시스템(POS System)까지 그 범위가 다양하다. 이하, 본 명세서에서는 마이크로 프로세서에 의해 제어되는 전자식 금전 등록기라는 의미의 ECR(Electronic Cash Register)이라는 용어를 저급의 금전 등록기에서 POS 시스템까지를 포함하는 광의적인 개념으로 사용한다.Generally, a cash register refers to a device used to facilitate information management by processing various data accompanying product sales and informing a user of the results. It ranges from point-of-sale information management system (POS System) that can comprehensively manage the distribution economy such as management of goods, customers, sales clerks, and market research and inventory. Hereinafter, in the present specification, the term Electronic Cash Register (ECR), which means an electronic cash register controlled by a microprocessor, is used as a broad concept including a low-end cash register to a POS system.

전술한 바와 같은 금전 등록기에는 전원이 끊어져도 RAM에 저장되어 있는 데이터를 계속 보존시키기 위해 전원이 끊어져도 RAM에는 아무런 영향이 미치지 않도록 하기 위해 사용되는 예비 배터리(backup battery)가 구비되어 있는 바, 종래에는 입력 전원이 불안정해지면 인터럽트 핀(interrupt pin)을 통해 전원 장애(power failure) 신호를 마이크로 처리 장치(microprocessing unit;이하, MPU라 한다)에전달하고, 전원 장애 인터럽트(power failure interrupt)를 수신한 MPU는 다른 인터럽트가 발생되지 못하도록 인터럽트 마스크(interrupt mask)를 실행시키고, 인터럽트 취급 루틴(interrupt service routine)을 수행하여 필요한 데이터를 데이터 메모리인 SRAM(static random access memory)에 저장한 후, MPU의 포트 신호를 이용하여 데이터 메모리의 칩 선택(chip select) 신호를 디스에이블(disable)시켜 데이터 메모리에 불필요한 데이터가 저장되는 것을 방지한다.As described above, the cash register is provided with a backup battery which is used to keep the data stored in the RAM even when the power is cut. When the power becomes unstable, the MPU that delivers a power failure signal to the microprocessing unit (hereinafter referred to as MPU) through an interrupt pin and receives a power failure interrupt An interrupt mask is executed to prevent other interrupts from being generated, an interrupt service routine is executed to store necessary data in a static random access memory (SRAM), which is a data memory, and the port signal of the MPU is stored. Disables the chip select signal of the data memory This prevents unnecessary data from being stored in the memory.

이후, MPU는 기설정된 일정시간동안 인터럽트 취급 루틴을 루핑(looping)하게 되는데, 루핑 시간이 지나면 MPU는 포트 신호를 이용하여 데이터 메모리의 기록 보호를 해제하고 전압이 정상상태이면, 즉, 전원 장애 인터럽트가 해제되었으면 정상 동작 상태를 수행한다. 여기서, 루핑 과정 중 전압이 완전히 떨어지면 MPU는 자동적으로 죽게 된다.Thereafter, the MPU loops the interrupt handling routine for a predetermined time. After the looping time, the MPU uses the port signal to release the write protection of the data memory and if the voltage is normal, that is, a power failure interrupt. If is released, the normal operation is performed. Here, if the voltage drops completely during the looping process, the MPU automatically dies.

전술한 바와 같이, MPU가 전원 장애를 감지하여 전원 장애 서브 루틴에서 인터럽트 취급 루틴을 기설정된 일정시간동안 루핑한 후 데이터 메모리의 기록 보호 및 인터럽트 마스크를 해제하고 인터럽트 취급 루틴을 빠져나오는 순간에 로직 전압이 불안정한 경우가 있는데, 이러한 경우에는 자칫하면 데이터 메모리에 불필요한 데이터가 저장될 수 있는 문제점이 있다.As mentioned above, the logic detects a power failure and loops through the interrupt handling routine in the power failure subroutine for a predetermined period of time, then releases the write protection and interrupt mask of the data memory and exits the interrupt handling routine. This is unstable, in which case there is a problem that unnecessary data may be stored in the data memory.

본 발명은 전술한 문제점을 해결하기 위해 안출된 것으로서, 전원 장애 및 로직 전압 상태를 계속적으로 감시하고 있다가 전원 장애시 로직 전압이 불안정한 상태에서는 MPU가 실행되지 않도록 하여 데이터 메모리부의 보존 데이터가 손상되지 않도록 한 금전 등록기의 데이터 보호 장치 및 방법을 제공함에 그 목적이 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problem, and continuously monitors power failure and logic voltage states, and prevents the MPU from executing in a state in which the logic voltage is unstable in the event of power failure so that the data stored in the data memory unit is not damaged. It is an object of the present invention to provide a data protection device and method of a cash register.

전술한 목적을 달성하기 위한 본 발명의 금전 등록기의 데이터 보호 장치는 입력 전원이 기설정된 전압 이하로 떨어지는 것을 감지하는 전원 장애 감지부; 로직 전압의 불안정 상태를 감지하는 로직 전압 감지부; 및 상기 전원 장애 감지부 및 로직 전압 감지부로부터 입력받은 감지값에 의거하여 전원 장애시 로직 전압이 불안정하게 되면 불필요한 데이터가 데이터 메모리부에 저장되는 것을 방지하기 위해 정지 모드로 전환되는 제어부를 구비하여 이루어진다.Data protection device of the cash register of the present invention for achieving the above object is a power failure detection unit for detecting that the input power falls below a predetermined voltage; A logic voltage sensing unit for sensing an unstable state of the logic voltage; And a control unit which switches to a stop mode to prevent unnecessary data from being stored in the data memory unit when a logic voltage becomes unstable in the event of a power failure based on detection values input from the power failure detector and the logic voltage detector. Is done.

한편, 본 발명의 금전 등록기의 데이터 보호 방법은 데이터 보호 장치를 구비한 금전 등록기에 있어서, 입력 전원이 불안정할 경우에 전원 장애 취급 루틴을 수행하여 필요한 데이터를 데이터 메모리부에 저장시킨 후, 불필요한 데이터가 상기 데이터 메모리부에 저장되는 것을 방지하기 위해 상기 데이터 메모리부의 칩선택을 억제시키는 과정; 기설정된 시간 동안 상기 전원 장애 취급 루틴을 루핑하면서 전원 장애 및 로직 전압 상태를 확인하는 과정; 및 상기 확인결과 전원 장애가 감지된 상태에서 로직 전압도 불안정한 경우에는 이상 동작으로 인해 데이터 메모리부에 불필요한 데이터가 저장되는 것을 방지하기 위해 상기 제어부를 정지 모드로 전환시키는 과정을 구비하여 이루어지고, 상기 확인결과 전압이 안정 상태로 회복된 경우에는 상기 데이터 메모리부에 인가되는 기록 보호 신호를 해제하고, 전원 장애 취급 루틴에서 빠져 나오는 과정을 더 구비하여 이루어지는 것을 특징으로 한다. 나아가, 상기 확인결과 전원 장애가 감지되었지만 로직 전압은 안정한 경우에는 상기 확인 과정을 계속 수행하는 것을 특징으로 한다.On the other hand, the data protection method of the cash register of the present invention, in the cash register with a data protection device, when the input power is unstable, performs a power failure handling routine to store the necessary data in the data memory unit, and then unnecessary data Suppressing chip selection of the data memory unit to prevent the data from being stored in the data memory unit; Checking the power failure and logic voltage states while looping the power failure handling routine for a preset time; And converting the control unit to a stop mode in order to prevent unnecessary data from being stored in the data memory unit due to an abnormal operation when the logic voltage is unstable in a state where a power failure is detected. When the resultant voltage is restored to a stable state, the method further comprises releasing the write protection signal applied to the data memory unit and exiting from the power failure handling routine. Further, when the power failure is detected as a result of the check, but the logic voltage is stable, the check process is continued.

도 1은 본 발명의 금전 등록기의 데이터 보호 장치의 구성을 나타내는 도.1 is a diagram showing the configuration of a data protection device of a cash register of the present invention.

도 2는 입력 전압이 떨어질 경우 각 부의 신호 변화를 나타내는 도.2 is a view showing a signal change of each part when the input voltage drops.

도 3은 본 발명의 금전 등록기의 데이터 보호 방법을 설명하기 위한 도.Figure 3 is a view for explaining a data protection method of the cash register of the present invention.

도 4는 금전 등록기의 전압 상태에 따른 각 포트의 입력 신호 값을 나타내는 테이블.4 is a table showing input signal values of respective ports according to the voltage state of the cash register.

*** 도면의 주요 부분에 대한 부호의 설명 ****** Explanation of symbols for the main parts of the drawing ***

10. 전원 장애 감지부, 20. 로직 전원 감지부,10. power failure detector, 20. logic power detector,

30. MPU, 40. 프로그램 메모리부,30. MPU, 40. Program memory section,

50. 데이터 메모리부,50. Data memory section,

이하에서는 첨부한 도면을 참조하여 본 발명의 양호한 실시예에 따른 금전 등록기의 데이터 보호 장치 및 방법에 대해서 상세하게 설명한다.Hereinafter, a data protection device and method of a cash register according to a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 금전 등록기의 데이터 보호 장치의 구성을 나타내는 도이다. 이 도면에 도시한 바와 같이, 본 발명의 금전 등록기의 데이터 보호 장치는 전원 장애 감지부(10), 로직 전압 감지부(20), MPU(30), 프로그램 메모리부(40), 데이터 메모리부(50), 배터리부(60)를 구비하여 이루어진다.1 is a diagram illustrating a configuration of a data protection device of a cash register of the present invention. As shown in the figure, the data protection device of the cash register according to the present invention includes a power failure detection unit 10, a logic voltage detection unit 20, an MPU 30, a program memory unit 40, and a data memory unit ( 50), the battery unit 60 is provided.

전술한 구성에 있어서, 전원 장애 감지부(10)는 입력 전원이 기설정된 전압 이하로 떨어지는 것을 감지하고, 로직 전압 감지부(20)는 로직 전압의 불안정 상태를 감지한다.In the above configuration, the power failure detection unit 10 detects that the input power falls below a predetermined voltage, and the logic voltage detection unit 20 detects an instability state of the logic voltage.

MPU()는 포트-A를 통해 전원 장애 감지부(10)로부터 전원 장애 감지 신호를 입력받고, 포트-B를 통해 로직 전압 감지부(20)로부터 로직 전압 불안정 감지 신호를 입력받고, 포트-C를 통해 데이터 메모리부(50)의 칩 선택(Chip Select;CS)을 디스에이블시키는 바, 프로그램 메모리부(30)에 저장되어 있는 프로그램에 의해 정해진 기능을 수행하고 있는 중에 입력 전원이 불안정하여 전원 장애 감지부(10)로부터 전원 장애 인터럽트 신호를 수신받은면, 수신받은 전원 장애 인터럽트 신호에 의거하여 인터럽트 취급 루틴을 수행시키고, 데이터 메모리부(50)의 칩 선택(CS)을 디스에이블시켜 불필요한 데이터가 데이터 메모리부(50)에 저장되는 것을 방지한다. 그리고, 인터럽트 취급 루틴을 루핑하면서 전원 장애 감지부(10)와 로직 전압감지부(20)로부터 입력되는 신호를 감시하여 입력 전원이 불안정할 때 로직 전압마저 불안정 상태이면 MPU(30)를 정지 모드로 전환하여 전원이 완전히 떨어져 로직 전압이 불안정해질 때 MPU(30)가 이상 동작을 하여 데이터 메모리부(50)에 불필요한 데이터가 저장되는 것을 방지한다. 한편, 입력 전원이 불안정한 상태로 떨어졌다가 다시 정상 상태로 되돌아오면 MPU(30)는 데이터 메모리부(50)에 가했던 기록 보호를 해제하고 전원 장애 취급 루틴에서 빠져나온다.The MPU () receives a power failure detection signal from the power failure detection unit 10 through port-A, receives a logic voltage instability detection signal from the logic voltage detection unit 20 through port-B, and port-C The chip select (CS) of the data memory unit 50 is disabled through the input power, and the input power is unstable while performing a function determined by a program stored in the program memory unit 30. When the power failure interrupt signal is received from the sensing unit 10, an interrupt handling routine is performed based on the received power failure interrupt signal, and the chip selection CS of the data memory unit 50 is disabled to prevent unnecessary data from being received. It is prevented from being stored in the data memory section 50. Then, while looping the interrupt handling routine, the signal input from the power failure detection unit 10 and the logic voltage detection unit 20 is monitored, and when the input voltage is unstable, if the logic voltage is unstable, the MPU 30 is placed in the stop mode. When the power supply is completely switched and the logic voltage becomes unstable, the MPU 30 operates abnormally to prevent unnecessary data from being stored in the data memory unit 50. On the other hand, when the input power drops to an unstable state and returns to the normal state again, the MPU 30 releases the write protection applied to the data memory unit 50 and exits from the power failure handling routine.

도 2는 입력 전압이 떨어질 경우 각 부의 신호 변화를 나타내는 도이다. 이 도면에 도시하는 바와 같이, 입력 전압이 정상적으로 들어오다가 어느 순간에 전압 강하하기 시작하여 전압이 기설정된 레벨 이하로 떨어지면 전원이 불안정해지는 것으로 판단한다.2 is a diagram illustrating a signal change of each unit when the input voltage drops. As shown in this figure, it is determined that the power supply becomes unstable when the input voltage normally comes in and starts to drop at a moment and the voltage falls below a predetermined level.

도 3은 본 발명의 금전 등록기의 데이터 보호 방법을 설명하기 위한 도이다. 먼저, 단계(S10)에서는 입력 전원이 불안정한지를 판단한다. 입력 전원의 불안정 상태는 전원 장애 감지부(10)로부터 입력받은 신호에 의거하여 확인할 수 있다. 단계(S10)의 판단결과 입력 전원이 불안정한 경우에는 단계(S12)로 진행하여 다른 인터럽트가 발생되지 못하도록 인터럽트 마스크를 실행시키고, 인터럽트 취급 루틴을 수행하여 필요한 데이터를 데이터 메모리부(50)에 저장시킨 후, 불필요한 데이터가 데이터 메모리부(50)에 저장되는 것을 방지하기 위해 포트-C를 통해 데이터 메모리부(50)의 칩 선택(CS)을 디스에이블시킨다.3 is a view for explaining a data protection method of the cash register of the present invention. First, in step S10, it is determined whether the input power is unstable. An unstable state of the input power may be checked based on a signal received from the power failure detection unit 10. If the input power is unstable as a result of the determination in step S10, the process proceeds to step S12 to execute an interrupt mask so that no other interrupt is generated, and performs an interrupt handling routine to store necessary data in the data memory unit 50. Thereafter, in order to prevent unnecessary data from being stored in the data memory unit 50, the chip selection CS of the data memory unit 50 is disabled through the port-C.

이후, MPU(30)는 기설정된 일정시간동안 인터럽트 취급 루틴을 루핑하게 되는데, 이후, 단계(S14)에서는 루핑하는 동안에도 각 포트-A 및 포트-B를 통해 전원장애 감지부(10) 및 로직 전압 감지부(20)로부터 감지신호를 읽어들인다. 전술한 바와 같이 단계(S14)에서 읽어들인 감지 신호는 도 4에 도시하는 바와 같이, 구분되는 바, 금전 등록기의 전압 상태에 따라 각 포트의 입력 신호 값이 달라진다. 이후, 단계(S16)에서는 단계(S14)에서 포트-A 및 포트-B를 통해 읽어들인 신호를 체크하여 포트-A에 입력되는 신호는 로우 레벨(low level)이고, 포트-B에서 입력되는 신호는 하이 레벨(high level)인 지를 판단한다. 단계(S16)의 판단결과 포트-A에 입력되는 신호는 로우 레벨이고, 포트-B에서 입력되는 신호는 하이 레벨인 경우는 전원이 불안정하여 전원 장애가 감지되었지만 로직 전압은 안정한 경우로 이러한 경우에는 단계(S14)로 진행하여 계속 포트-A 및 포트-B를 통해 입력되는 신호를 체크하고, 포트-A에 입력되는 신호는 로우 레벨이고, 포트-B에서 입력되는 신호는 하이 레벨이 아닌 경우에는 단계(S18)로 진행하여 포트-A 및 포트-B에서 입력되는 신호가 모두 로우 레벨인지를 판단한다. 단계(S18)의 판단결과 포트-A 및 포트-B에서 입력되는 신호가 모두 로우 레벨인 경우는 전원이 불안정하여 전원 장애가 감지된 상태에서 로직 전압도 불안정한 경우로 이러한 경우에는 단계(S20)로 진행하여 전원이 완전히 떨어져 로직 전압이 불안정해질 때 MPU(30)가 이상 동작을 하여 데이터 메모리부(50)에 불필요한 데이터가 저장되는 것을 방지하기 위해 MPU(30)를 정지 모드로 전환시키고, 포트-A 및 포트-B에서 입력되는 신호가 모두 로우 레벨이 아닌 경우에는 단계(S22)로 진행하여 포트-A 및 포트-B에서 입력되는 신호가 모두 하이 레벨인지를 판단한다. 단계(S22)의 판단결과 포트-A 및 포트-B에서 입력되는 신호가 모두 하이 레벨인 경우는 모든 전압이 안정한 경우, 즉, 전압이 순간적으로떨어졌다가 다시 회복된 경우로 이러한 경우에는 단계(S24)로 진행하여 포트-C를 통해 데이터 메모모리부(50)에 인가되는 기록 보호를 해제하고, 인터럽트 마스크를 해제하고, 전원 장애 취급 루틴을 빠져 나온다.Thereafter, the MPU 30 loops the interrupt handling routine for a predetermined time. After that, in step S14, the power failure detection unit 10 and the logic are performed through each port-A and port-B even while looping. The sensing signal is read from the voltage sensing unit 20. As described above, the detection signal read in step S14 is divided as shown in FIG. 4, and the input signal value of each port varies according to the voltage state of the cash register. Subsequently, in step S16, the signal read through the port-A and the port-B in step S14 is checked, and the signal input to the port-A is at a low level, and the signal input from the port-B is checked. Determines whether it is a high level. As a result of the determination in step S16, when the signal input to the port-A is at a low level and the signal input at the port-B is at the high level, a power failure is detected due to unstable power, but the logic voltage is stable. Proceeding to S14, the signal input through the port-A and the port-B is continuously checked, and if the signal input to the port-A is at a low level, and the signal input from the port-B is not at the high level, step In operation S18, it is determined whether the signals input from the port-A and the port-B are all low level. If the signals input from the port-A and the port-B are both at the low level as a result of the determination at step S18, the logic voltage is unstable when the power failure is detected because the power is unstable. In this case, the process proceeds to the step S20. When the power supply is completely off and the logic voltage becomes unstable, the MPU 30 operates abnormally and the MPU 30 is switched to the stop mode to prevent unnecessary data from being stored in the data memory unit 50. If the signals input at the port-B are not at the low level, the process proceeds to step S22 to determine whether the signals input at the port-A and the port-B are at the high level. As a result of the determination in step S22, when the signals input from the port-A and the port-B are both at a high level, all the voltages are stable, that is, the voltages are momentarily dropped and then restored again. In step S24, the write protection applied to the data memo memory unit 50 through the port-C is released, the interrupt mask is released, and the power failure handling routine is exited.

본 발명의 금전 등록기의 데이터 보호 장치 및 방법은 전술한 실시예에 국한되지 않고 본 발명의 기술 사상이 허용하는 범위 내에서 다양하게 변형하여 실시할 수 있다.The data protection device and method of the cash register according to the present invention can be implemented in various modifications within the scope allowed by the technical idea of the present invention without being limited to the above-described embodiment.

이상에서 설명한 바와 같은 본 발명의 금전 등록기의 데이터 보호 장치 및 방법에 따르면, 전원 장애 및 로직 전압 상태를 계속적으로 감시하고 있다가 전원 장애시 로직 전압이 불안정한 상태에서는 MPU가 실행되지 않도록 하여 데이터 메모리에 저장되어 있는 보존 데이터가 손상되지 않도록 보존할 수 있는 효과가 있다.According to the data protection device and method of the cash register according to the present invention as described above, the power failure and logic voltage status is continuously monitored, and the MPU is not executed when the logic voltage is unstable at the time of power failure. There is an effect that can be preserved so as not to damage the stored data stored.

Claims (4)

입력 전원이 기설정된 전압 이하로 떨어지는 것을 감지하는 전원 장애 감지부;A power failure detection unit detecting that an input power falls below a preset voltage; 로직 전압의 불안정 상태를 감지하는 로직 전압 감지부; 및A logic voltage sensing unit for sensing an unstable state of the logic voltage; And 상기 전원 장애 감지부 및 로직 전압 감지부로부터 입력받은 감지값에 의거하여 전원 장애시 로직 전압이 불안정하게 되면 불필요한 데이터가 데이터 메모리부에 저장되는 것을 방지하기 위해 정지 모드로 전환되는 제어부를 구비하여 이루어지는 금전 등록기의 데이터 보호 장치.And a control unit which switches to a stop mode to prevent unnecessary data from being stored in the data memory unit when the logic voltage becomes unstable in the event of a power failure based on the sensing values input from the power failure detector and the logic voltage detector. Cash register data protection device. 데이터 보호 장치를 구비한 금전 등록기에 있어서,In a cash register with a data protection device, 입력 전원이 불안정할 경우에 전원 장애 취급 루틴을 수행하여 필요한 데이터를 데이터 메모리부에 저장시킨 후, 불필요한 데이터가 상기 데이터 메모리부에 저장되는 것을 방지하기 위해 상기 데이터 메모리부의 칩선택을 억제시키는 과정;Performing a power failure handling routine when an input power source is unstable to store necessary data in a data memory unit, and then inhibiting chip selection of the data memory unit to prevent unnecessary data from being stored in the data memory unit; 기설정된 시간 동안 상기 전원 장애 취급 루틴을 루핑하면서 전원 장애 및 로직 전압 상태를 확인하는 과정; 및Checking the power failure and logic voltage states while looping the power failure handling routine for a preset time; And 상기 확인결과 전원 장애가 감지된 상태에서 로직 전압도 불안정한 경우에는 이상 동작으로 인해 데이터 메모리부에 불필요한 데이터가 저장되는 것을 방지하기 위해 상기 제어부를 정지 모드로 전환시키는 과정을 구비하여 이루어지는 것을 특징으로 하는 금전 등록기의 데이터 보호 방법.If the logic voltage is unstable in the state that the power failure is detected as a result of the check, the step of switching the control unit to the stop mode in order to prevent unnecessary data is stored in the data memory unit due to an abnormal operation How to protect data in the register. 제 2항에 있어서, 상기 확인결과 전압이 안정 상태로 회복된 경우에는 상기 데이터 메모리부에 인가되는 기록 보호 신호를 해제하고, 전원 장애 취급 루틴에서 빠져 나오는 과정을 더 구비하여 이루어지는 것을 특징으로 하는 금전 등록기의 데이터 보호 방법.3. The method of claim 2, further comprising releasing a write protection signal applied to the data memory unit when the voltage is restored to a stable state and exiting from a power failure handling routine. How to protect data in the register. 제 2항 또는 3항에 있어서, 상기 확인결과 전원 장애가 감지되었지만 로직 전압은 안정한 경우에는 상기 확인 과정을 계속 수행하는 것을 특징으로 하는 금전 등록기의 데이터 보호 방법.4. The method of claim 2 or 3, wherein if the power failure is detected as a result of the verification, but the logic voltage is stable, the verification process is continued.
KR1019990015689A 1999-04-30 1999-04-30 data protecting apparatus and methode of ECR Expired - Fee Related KR100308895B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990015689A KR100308895B1 (en) 1999-04-30 1999-04-30 data protecting apparatus and methode of ECR

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990015689A KR100308895B1 (en) 1999-04-30 1999-04-30 data protecting apparatus and methode of ECR

Publications (2)

Publication Number Publication Date
KR20000067681A KR20000067681A (en) 2000-11-25
KR100308895B1 true KR100308895B1 (en) 2001-09-26

Family

ID=19583268

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990015689A Expired - Fee Related KR100308895B1 (en) 1999-04-30 1999-04-30 data protecting apparatus and methode of ECR

Country Status (1)

Country Link
KR (1) KR100308895B1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01230172A (en) * 1988-03-10 1989-09-13 Mitsubishi Electric Corp Data backup system for pos system
US5056018A (en) * 1988-10-27 1991-10-08 Sharp Kabushiki Kaisha Printer with improved power-failure restart function
JPH08147565A (en) * 1994-11-24 1996-06-07 Tec Corp Merchandise sales registration data processor
JPH10124405A (en) * 1996-10-18 1998-05-15 Casio Comput Co Ltd Data processing device
JPH10269459A (en) * 1997-03-28 1998-10-09 Sanyo Electric Co Ltd Merchandise sales register

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01230172A (en) * 1988-03-10 1989-09-13 Mitsubishi Electric Corp Data backup system for pos system
US5056018A (en) * 1988-10-27 1991-10-08 Sharp Kabushiki Kaisha Printer with improved power-failure restart function
JPH08147565A (en) * 1994-11-24 1996-06-07 Tec Corp Merchandise sales registration data processor
JPH10124405A (en) * 1996-10-18 1998-05-15 Casio Comput Co Ltd Data processing device
JPH10269459A (en) * 1997-03-28 1998-10-09 Sanyo Electric Co Ltd Merchandise sales register

Also Published As

Publication number Publication date
KR20000067681A (en) 2000-11-25

Similar Documents

Publication Publication Date Title
US7203852B2 (en) System and process for making power readily available to newly added computers
KR100308895B1 (en) data protecting apparatus and methode of ECR
EP0511669B1 (en) Apparatus and method for detecting abnormal operator manipulation
JPH07248858A (en) Electronic apparatus with power interruption function
JP3718926B2 (en) Data processing device
JPH09198258A (en) Task stack overflow detecting circuit
JPH0519899A (en) Data protection device
JP2761990B2 (en) Data protection device for electronic equipment
CN110069330B (en) A system load-based data destruction method, device and device
JP6904918B2 (en) Control device and its data writing method
JPH05100847A (en) Memory protection system for information processor
EP1337923A1 (en) Method and computer device with different criticality
JPH1118430A (en) Temperature failure detection protection circuit
JPH02100743A (en) Electronic equipment
JP3722500B2 (en) Power-off detection device for equipment with security mechanism
JP3087451B2 (en) Backup power control method
JP2876487B2 (en) Handy type information processing device
JP2000132463A (en) Memory backup method
JPH02100744A (en) Electronics
JPH0687213B2 (en) Data processing device
JPH03154117A (en) Electronics
JPH05233474A (en) Storage contents protection system
KR20030000201A (en) Apparatus and method for automatically controlling a system power
JP3169488B2 (en) Communication control device
JPH0683498A (en) File protection system

Legal Events

Date Code Title Description
A201 Request for examination
PA0109 Patent application

Patent event code: PA01091R01D

Comment text: Patent Application

Patent event date: 19990430

PA0201 Request for examination
PG1501 Laying open of application
E701 Decision to grant or registration of patent right
PE0701 Decision of registration

Patent event code: PE07011S01D

Comment text: Decision to Grant Registration

Patent event date: 20010825

GRNT Written decision to grant
PR0701 Registration of establishment

Comment text: Registration of Establishment

Patent event date: 20010903

Patent event code: PR07011E01D

PR1002 Payment of registration fee

Payment date: 20010904

End annual number: 3

Start annual number: 1

PG1601 Publication of registration
LAPS Lapse due to unpaid annual fee
PC1903 Unpaid annual fee