KR19990000332A - How to check for broken RAM data on cash register - Google Patents
How to check for broken RAM data on cash register Download PDFInfo
- Publication number
- KR19990000332A KR19990000332A KR1019970023170A KR19970023170A KR19990000332A KR 19990000332 A KR19990000332 A KR 19990000332A KR 1019970023170 A KR1019970023170 A KR 1019970023170A KR 19970023170 A KR19970023170 A KR 19970023170A KR 19990000332 A KR19990000332 A KR 19990000332A
- Authority
- KR
- South Korea
- Prior art keywords
- data
- ram
- cash register
- broken
- sales
- Prior art date
Links
Abstract
본 발명은 램에 일시적으로 저장시킨 판매 내역 데이터를 정산한 후에 회계용 메모리에 이월시키도록 된 금전 등록기에 있어서 정산 전에 램 데이터의 손상 여부를 손쉽게 체크하므로써 그릇된 데이터가 회계용 메모리에 이월되는 것을 방지할 수 있도록 한 금전 등록기의 램 데이터 깨짐 확인 방법에 관한 것이다. 본 발명의 금전 등록기의 램 데이터 깨짐 확인 방법은 램에 일시적으로 저장시킨 판매 데이터를 정산한 후에 회계용 메모리에 이월시키도록 된 금전 등록기에 있어서, 시스템의 초기화 시에 상기 램의 판매 데이터 저장 영역의 소정의 간격마다 데이터 깨짐 확인용 패턴 데이터를 기록하는 단계; 정산 시점에 도달하기 전까지 판매에 따른 데이터를 상기 판매 데이터 저장 영역에 순차적으로 저장하는 단계; 정산 시점에 도달하면 상기 패턴 데이터의 깨짐 여부를 확인하는 단계 및 상기 확인 단계에서 상기 패턴 데이터가 깨진 경우에는 에러 메시지를 발생하고, 상기 패턴 데이터가 깨지지 아니한 경우에는 상기 판매 데이터를 정산한 후에 그 결과를 회계용 메모리에 이월시키는 단계를 포함하여 이루어진 것을 특징으로 한다.The present invention prevents incorrect data from being carried over to the accounting memory by easily checking whether the RAM data is damaged before the settlement in a cash register configured to carry over the sales history data temporarily stored in the RAM and then to the accounting memory. A method of checking for broken RAM data in a cash register. In the cash register of the cash register of the present invention, the cash register which checks the sales data temporarily stored in the RAM and then transfers it to the accounting memory, wherein the RAM data is stored in the RAM sales data storage area at the time of initialization of the system. Recording pattern data for confirming data cracking at predetermined intervals; Sequentially storing the sales data in the sales data storage area until the settlement time is reached; When the settlement time is reached, an error message is generated when the pattern data is broken in the step of checking or breaking the pattern data. If the pattern data is not broken, the error data is settled, and then the result is settled. To carry over to the accounting memory, characterized in that made.
Description
본 발명은 금전 등록기의 램 데이터 깨짐 확인 방법에 관한 것으로, 특히 램에 일시적으로 저장시킨 판매 내역을 정산한 후에 회계용 메모리에 이월시키도록 된 금전 등록기에 있어서 램 데이터 깨짐 확인 방법에 관한 것이다.The present invention relates to a method of checking RAM data broken of a cash register, and more particularly, to a method of checking RAM data broken in a cash register which is to be carried over to an accounting memory after calculating a sales history temporarily stored in a RAM.
일반적으로 금전 등록기는 상품 판매에 수반하는 각종 데이터를 처리하여 사용자에게 결과를 알려줌으로써 정보 관리를 원활하게 하기 위해 사용되는 기기를 일컫는 바, 간단한 판매의 사무 처리만을 할 수 있는 것에서 부터 시장 조사, 재고 조사 등의 유통 경제를 종합적으로 관리할 수 있는 POS(Point Of Sales) 시스템까지 그 범위가 다양하다. 이하, 본 명세서에서는 마이크로 프로세서에 의해 제어되는 전자식 금전 등록기라는 의미의 ECR(Electronic Cash Register)이라는 용어를 저급의 금전 등록기에서 POS 단말기까지를 포함하는 광의적인 개념으로 사용한다.In general, a cash register refers to a device used to facilitate information management by processing various data associated with the sale of a product and informing a user of a result. It ranges from point of sales system to comprehensively manage the distribution economy such as research. Hereinafter, in the present specification, the term ECR (Electronic Cash Register), 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 terminal.
도 1은 일반적인 금전 등록기의 시스템 블록도이다. 도 1에 도시한 바와 같이, 일반적인 ECR 시스템은 모드 지정 및 금전 등록을 위한 각종 키코드를 발생하는 키입력부(20), 키입력부(20)를 키스캔하며 수신되는 키코드에 따라 ECR의 모드를 지정하고 이렇게 지정된 모드에서의 각종 기능을 수행하는 중앙처리장치(10), 시스템 동작용 프로그램을 저장하고 있는 롬(70), 사용자가 설정한 프로그램과 거래 중에 발생하는 각종 판매 내역 데이터를 일시적으로 저장하는 램(60), 중앙처리장치(10)의 제어 하에 고객용 영수증과 각종 데이터 처리 결과를 문서로 발행하는 프린터(80), 중앙처리장치(10)의 제어 하에 거래와 관련된 각종 정보를 표시하는 디스플레이(30), 소정의 키조작이 있을 때 현금 보관 서랍을 인출시키는 서랍 구동부(50) 및 ECR의 각종 동작 상태를 청각적으로 알려 주는 부저(40) 등을 기본적으로 구비하고 있다.1 is a system block diagram of a general cash register. As shown in FIG. 1, a general ECR system kisses the key input unit 20 and the key input unit 20 generating various key codes for mode designation and money registration, and selects a mode of the ECR according to the received key code. The central processing unit 10 for designating and performing various functions in the designated mode, the ROM 70 storing a system operation program, and temporarily storing various sales history data generated during transactions with the program set by the user. Under the control of the RAM 60, the central processing unit 10, a printer 80 for issuing documents for the customer receipt and various data processing results, and displaying various kinds of information related to the transaction under the control of the central processing unit 10. The display 30, the drawer drive unit 50 for drawing out the cash storage drawer when there is a predetermined key operation, and the buzzer 40 for audibly notifying the various operating states of the ECR, etc. are basically provided. There.
한편, 국가에 따라서는 세금 추징을 위한 판매 데이터 등을 확보하기 위하여 ECR의 사용을 강제하기도 한다. 이러한 ECR에서는 판매 데이터를 훼손 없이 장기간 보존하기 위한 용도로 회계 전용의 EPROM(Erasable Programmable Read Only Memory: 이하에서는 이를 회계용 메모리하고 한다)(92) 및 회계용 메모리(92)의 읽기/쓰기 동작을 제어하는 회계용 메모리 제어부(90)를 추가로 구비하고 있다. 이러한 ECR에서는 램(60)에 일시적으로 저장된 하루의 판매 내역 데이터를 정산한 후에 그 결과를 회계용 메모리(90)에 이월시키게 된다.In some countries, the use of ECR is mandated to secure sales data for tax collection. In such an ECR, read / write operations of an erasable programmable read only memory (EPROM) 92 and an accounting memory 92 are performed for the purpose of long-term preservation of sales data without damage. An accounting memory control unit 90 for controlling is further provided. In such an ECR, after the one-day sales history data temporarily stored in the RAM 60 is settled, the result is carried over to the accounting memory 90.
그러나 ECR과 같은 전자 기기는 정전기 등의 작은 외란에도 램에 저장된 데이터가 쉽게 손상 받을 수 있는 바, 종래의 ECR 시스템에서는 데이터의 손상 여부를 확인할 수 있는 방법이 없었기 때문에 손상된 데이터가 그대로 회계용 메모리에 이월되게 되어 낭패를 보는 문제점이 있었다. 나아가, 손상된 데이터에 의해 회계용 메모리에 이전에 저장된 데이터 및 향후의 저장 영역까지도 침해를 당하는 문제점이 있었다.However, in electronic devices such as ECR, data stored in RAM can be easily damaged even in the case of small disturbances such as static electricity. Therefore, in the conventional ECR system, there is no way to check whether the data is damaged. There was a problem of seeing frustration to be carried over. Furthermore, there has been a problem that even the data previously stored in the accounting memory and the future storage area are violated by the damaged data.
본 발명은 전술한 문제점을 해결하기 위하여 안출된 것으로서, 램에 일시적으로 저장시킨 판매 내역 데이터를 정산한 후에 회계용 메모리에 이월시키도록 된 금전 등록기에 있어서 정산 전에 램 데이터의 손상 여부를 손쉽게 체크하므로써 그릇된 데이터가 회계용 메모리에 이월되는 것을 방지할 수 있도록 한 금전 등록기의 램 데이터 깨짐 확인 방법을 제공하는데 그 목적이 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and in a cash register configured to carry over sales history data temporarily stored in RAM to an accounting memory, it is possible to easily check whether RAM data is damaged before settlement. Its purpose is to provide a method of checking for broken RAM data in a cash register that prevents incorrect data from being carried over to the accounting memory.
전술한 목적을 달성하기 위한 본 발명의 금전 등록기의 램 데이터 깨짐 확인 방법은 크게 램에 일시적으로 저장시킨 판매 데이터를 정산한 후에 회계용 메모리에 이월시키도록 된 금전 등록기에 있어서, 시스템의 초기화 시에 상기 램의 판매 데이터 저장 영역의 소정의 간격마다 데이터 깨짐 확인용 패턴 데이터를 기록하는 단계; 정산 시점에 도달하기 전까지 판매에 따른 데이터를 상기 판매 데이터 저장 영역에 순차적으로 저장하는 단계; 정산 시점에 도달하면 상기 패턴 데이터의 깨짐 여부를 확인하는 단계 및 상기 확인 단계에서 상기 패턴 데이터가 깨진 경우에는 에러 메시지를 발생하고, 상기 패턴 데이터가 깨지지 아니한 경우에는 상기 판매 데이터를 정산한 후에 그 결과를 회계용 메모리에 이월시키는 단계를 포함하여 이루어진 것을 특징으로 한다.The RAM data broken confirmation method of the cash register of the present invention for achieving the above-mentioned object is a cash register which is to be carried over to the accounting memory after largely calculating sales data temporarily stored in RAM, at the time of initialization of the system. Recording pattern data for checking data cracking at predetermined intervals of the sales data storage area of the RAM; Sequentially storing the sales data in the sales data storage area until the settlement time is reached; When the settlement time is reached, an error message is generated when the pattern data is broken in the step of checking or breaking the pattern data. If the pattern data is not broken, the error data is settled, and then the result is settled. To carry over to the accounting memory, characterized in that made.
도 1은 일반적인 금전 등록기의 시스템 블록도,1 is a system block diagram of a general cash register,
도 2는 본 발명의 금전 등록기의 램 데이터 깨짐 확인 방법을 설명하기 위한 플로우챠트,2 is a flowchart for explaining a method of confirming RAM data corruption of the cash register of the present invention;
도 3은 본 발명에 따른 메모리 맵의 예시도이다.3 is an exemplary view of a memory map according to the present invention.
*** 도면의 주요부분에 대한 부호의 설명 ****** Explanation of symbols for main parts of drawing ***
10: 중앙처리장치,20: 키입력부,10: central processing unit, 20: key input unit,
30: 디스플레이 유니트,40: 부저,30: display unit, 40: buzzer,
50: 서랍 구동부,60: 램,50: drawer drive, 60: ram,
70: 롬,80: 프린터,70: rom, 80: printer,
90: 회계용 메모리 제어부,92: 회계용 메모리90: accounting memory control unit 92: accounting memory
이하에는 첨부한 도면을 참조하여 본 발명의 양호한 실시예에 따른 금전 등록기의 램 데이터 깨짐 확인 방법에 대해서 상세하게 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail with respect to the RAM data broken confirmation method of the cash register according to a preferred embodiment of the present invention.
도 2는 본 발명의 금전 등록기의 램 데이터 깨짐 확인 방법을 설명하기 위한 플로우챠트이고, 도 3은 본 발명에 따른 메모리 맵의 예시도이다. 먼저, 도 2에 도시한 바와 같이 단계(S10)에서 시스템의 파워가 온되면 단계(S12)에서 중앙처리장치(10)는 데이터의 깨짐 여부를 확인하기 위한 패턴 데이터를 램(60)의 판매 내역 데이터 저장용으로 할당된 영역의 정해진 위치들에 기록한다. 이러한 패턴 데이터들의 반복 주기는 램(60)의 데이터 저장 공간을 크게 감소시키지 않는 조건 및 데이터의 깨짐 여부를 어느 정도 확실하게 체크할 수 있는 조건을 모두 고려하여 결정될 수 있을 것이다.FIG. 2 is a flowchart for explaining a method of confirming RAM data corruption of the cash register of the present invention, and FIG. 3 is an exemplary diagram of a memory map according to the present invention. First, as shown in FIG. 2, when the power of the system is turned on in step S10, the central processing unit 10 displays the pattern data for checking whether the data is broken in step S12. Write to fixed locations in the area allocated for data storage. The repetition period of the pattern data may be determined in consideration of both a condition that does not significantly reduce the data storage space of the RAM 60 and a condition that can be reliably checked to see if the data is broken.
이렇게 패턴 데이터를 기록한 상태에서 ECR의 동작 모드가 등록 모드로 전환되면 그 날의 판매에 따른 각종 데이터가 램(60)의 데이터 저장 영역에 순차적으로 저장되게 된다. 다음 단계(S14)에서는 일일 정산을 해야하는 지를 판단하는데, 단계(S14)에서 일일 정산을 수행할 시점이 아니라고 판단하면 단계(S16)로 진행하여 해당하는 기능, 즉 판매에 따른 금전 등록 기능을 수행한다.When the operation mode of the ECR is switched to the registration mode in the state where the pattern data is recorded in this way, various data according to the sale of the day are sequentially stored in the data storage area of the RAM 60. In the next step S14, it is determined whether the daily settlement is to be performed. If it is determined that it is not the time to perform the daily settlement in the step S14, the process proceeds to the step S16 to perform a corresponding function, that is, a money registration function according to the sale. .
한편, 단계(S16)에서 일일 정산을 해야할 시점에 도달한 경우에는 단계(S18)로 진행하여 시스템의 초기화 시에 기록한 패턴 데이터가 깨졌는 지의 여부를 판단한다. 단계(S18)에서 패턴 데이터가 깨지지 아니한 경우에는 이들 패턴 데이터 사이에 저장된 판매 데이터도 깨지지 않았다고 판단하고, 단계(S20)로 진행하여 이를 정산한 후에 그 결과를 회계용 메모리(92)에 기록하게 된다.On the other hand, if it is reached in the step S16 to the day to be settled daily, go to step S18 to determine whether the pattern data recorded at the time of initialization of the system is broken. If the pattern data is not broken at step S18, it is determined that the sales data stored between these pattern data are not broken, and the process proceeds to step S20 to settle the result and records the result in the accounting memory 92. .
반면에 단계(S18)에서 패턴 데이터가 깨진 것이 확인되면 이들 패턴 데이터 사이에 저장된 판매 데이터도 손상되었다고 판단하고 단계(S22)로 진행하여 에러 메시지를 발생하게 된다. 즉, 부저(40)를 구동하여 에러가 발생했음을 경고하고, 이외에도 이러한 에러 발생 사실을 프린터(80) 및 디스플레이 유니트(30)를 통하여 출력하게 된다. 따라서, 점원은 이러한 에러 메시지를 확인한 후에 키보드 상에 판매 내역 데이터의 소거용으로 정의된 키를 눌러서 이러한 데이터가 회계용 메모리(92)에 이월되지 못하도록 한다.On the other hand, if it is confirmed in step S18 that the pattern data is broken, it is determined that the sales data stored between these pattern data is also damaged, and the process proceeds to step S22 to generate an error message. That is, the buzzer 40 is driven to warn that an error has occurred, and in addition to this, the fact of the error is output through the printer 80 and the display unit 30. Thus, after confirming this error message, the clerk presses a key defined for erasing the sales history data on the keyboard to prevent such data from being carried over to the accounting memory 92.
본 발명의 금전 등록기의 램 데이터 깨짐 확인 방법은 전술한 실시예에 국한되지 않고 본 발명의 기술 사상이 허용하는 범위 내에서 다양하게 변형하여 실시할 수가 있다.The RAM data broken confirmation method of the cash register of the present invention is not limited to the above-described embodiment, and can be modified in various ways within the scope of the technical idea of the present invention.
이상에서 설명한 바와 같은 본 발명의 금전 등록기의 램 데이터 깨짐 확인 방법에 따르면, 정산 전에 램 데이터의 손상 여부를 손쉽게 체크하여 조치를 취할 수 있도록 하므로써 회계용 메모리에 그릇된 데이터가 기록되는 것을 방지하는 이외에 그릇된 데이터에 의해 회계용 메모리의 데이터가 손상되는 것을 방지하는 효과가 있다.According to the method of checking the RAM data broken by the cash register of the present invention as described above, it is possible to easily check whether the RAM data is damaged before the settlement, and take an action in addition to preventing the wrong data from being recorded in the accounting memory. There is an effect of preventing the data in the accounting memory from being corrupted by the data.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019970023170A KR19990000332A (en) | 1997-06-04 | 1997-06-04 | How to check for broken RAM data on cash register |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019970023170A KR19990000332A (en) | 1997-06-04 | 1997-06-04 | How to check for broken RAM data on cash register |
Publications (1)
Publication Number | Publication Date |
---|---|
KR19990000332A true KR19990000332A (en) | 1999-01-15 |
Family
ID=65999302
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019970023170A KR19990000332A (en) | 1997-06-04 | 1997-06-04 | How to check for broken RAM data on cash register |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR19990000332A (en) |
-
1997
- 1997-06-04 KR KR1019970023170A patent/KR19990000332A/en not_active Application Discontinuation
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH06251206A (en) | Processing system for card displaying plural functions | |
KR19990000332A (en) | How to check for broken RAM data on cash register | |
JP6987590B2 (en) | Tenant management server device and program | |
JPH0744671A (en) | Ic card | |
KR100285566B1 (en) | Method for managing practice mode of electronic cash register | |
KR100250876B1 (en) | A management method for program change history for ecr | |
JP3664659B2 (en) | Electronic payment method and system, and electronic payment terminal | |
JP3272176B2 (en) | Product sales registration data processing device | |
JP6421841B2 (en) | Sales data processing device, transaction data processing device, and program | |
KR100193721B1 (en) | Cash registers to automatically print customer demand | |
KR19990011615U (en) | Cash register with braille receipt | |
KR100286145B1 (en) | Method for limiting mode according to clerk of cash register | |
JPH09330434A (en) | Information storing processor and error information storing processor | |
JP2000076554A (en) | Method for processing card exerting plural functions | |
KR19990030681A (en) | Cash register with sales data retrieval and control method | |
JP2948017B2 (en) | Electronic cash register | |
KR19990009217A (en) | How to set the initial value of the electronic cash register automatically | |
KR100260915B1 (en) | A method of quering and printing card data in ecr | |
KR100263340B1 (en) | Clerk registration method of ecr | |
KR19990024374A (en) | How to Operate Electronic Journal by Electronic Cash Register | |
KR19980043686A (en) | Time-of-day sales management and methods | |
KR20000034628A (en) | Method for providing error message of cash register | |
KR19990047788A (en) | How to display the error of the electronic cash register | |
KR19990086436A (en) | How to manage household account book using cash register | |
KR19980078459A (en) | How to Run the Macro Function of a Cash Register |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WITN | Withdrawal due to no request for examination |