Claims (4)
RTC와 소정 상태의 데이터를 억세스하는 메모리를 내장하는 전자식 금전등록기의 시간단위 거래 내용 자동 처리 방법에 있어서, 현재의 모드가 프로그램 모드인가 등록모드인가를 검색하는 모드 검색 과정과, 상기 모드 검색 과정에서 현재의 모드가 프로그램 모드라 판단시에 시간단위의 거래 종류와 거래종류에 대한 단위 시간 및 기준금액을 설정하여 상기 메모리에 거래종류에 대한 단위시간 및 기준금액을 저장하는 거래 종류 단위시간 설정과정과, 상기 모드 검색 과정에서 현재의 모드가 등록모드라 판단시에 입력되는 숫자키의 데이터를 저장하고 시작, 종료 키데이터가 입력되는지 키입력을 검색하는 키입력 검색 과정과, 상기 키입력 검색과정에서 시작키가 입력되었다고 판단시 상기 메모리의 거래내용 저장영역에 상기 숫자키에 의해 설정 입력된 거래종류와 상기 RTC로 부터 현재의 시간을 거래 시작시간으로 저장하고 상기 키입력 검색과정으로 리턴하는 거래 개시 입력 과정과, 상기 키입력 검색과정에서 종료키가 입력되었다고 판단시 상기 RTC의 현재의 시간에서 상기 메모리에 저장된 거래시간을 감산하여 거래시간을 계산하는 거래시간 계산 과정과, 상기 거래시간 계산후 상기 메모리 영역을 체크하여 거래종류를 확인하고, 상기 거래종류에 대한 단위시간과 기준금액으로 거래 단위시간에 대한 실제 거래금액을 연산하는 시간단위 거래금액 연산과정으로 이루어짐을 특징으로 하는 방법.A method of automatically processing time-based transaction contents of an electronic cash register having an RTC and a memory for accessing data in a predetermined state, the method comprising: a mode searching process for searching whether a current mode is a program mode or a registration mode; When the current mode is the program mode, the transaction type unit time setting process of storing the unit time and the reference amount for the transaction type in the memory by setting the unit time and the reference amount for the transaction type and the transaction type of the time unit; And a key input search process for storing data of a numeric key input when it is determined that the current mode is a registered mode in the mode search process and searching for a key input whether a start or end key data is input, and in the key input search process. If it is determined that the start key is input, the number is set in the transaction contents storage area of the memory. A transaction start input process of storing the type of transaction and the current time from the RTC as a transaction start time and returning to the key input search process; and when it is determined that an end key is input in the key input search process, A transaction time calculation process of calculating a transaction time by subtracting a transaction time stored in the memory from a time; and checking the memory area after calculating the transaction time, confirming a transaction type, using unit time and a reference amount for the transaction type. Method of claim 1, characterized in that it consists of a time unit transaction amount calculation process for calculating the actual transaction amount for the transaction unit time.
제1항에 있어서, 시작 및 종료키의 이력을 검색하는 키입력 검색과정에 시계키와 입력을 검색하는 과정을 더 포함하는 과정임을 특징으로 하는 방법.The method of claim 1, further comprising: retrieving a clock key and an input in a key input retrieval process for retrieving the history of start and end keys.
제2항에 있어서, 상기 키입력 검색과정에서 시계키가 입력되었다고 판단되었을 때 상기 입력된 숫자데이터에 의한 고객번호에 해당하는 저장영역을 지정하고 키입력 검색과정으로 리턴하는 고객번호 입력과정을 더 포함하는 방법.The method of claim 2, further comprising: specifying a storage area corresponding to the customer number based on the input numeric data and returning to the key input search process when it is determined that the clock key is input in the key input search process. How to include.
제3항에 있어서, 거래종류 단위시간 설정과정이 입력되는 키의 상태를 검색하는 키분석 과정과, 상기 키분석 과정에서 숫자키가 입력되었다고 판단시에 숫자키의 데이터를 내부 메모리에 저장하고 상기 키분석 과정으로 리턴하는 키데이터 저장 과정과, 상기 키분석 과정에서 시작키가 입력되었다고 판단시에 거래종류의 번호 입력상태를 검색하고, 거래종류의 번호가 입력되었다고 판단시에 거래종류 표시플레그를 세트함과 동시에 입력된 거리 종류 번호를 저장하는 거래종류 번호 입력과정과, 상기 키분석 과정에서 시계키가 입력되었다고 판단시에 내부메모리에 내용으로 단위 시간이 입력되었는가를 검색하는 단위시간 입력 검색과정과, 상기 단위시간 입력 검색과정에서 단위시간이 미입력상태라 판단시에 에러 처리하고, 입력되었다고 판단시에 내부메모리에 거래 종류 번호 표시 플레그가 세트되었는가를 검색하는 제1플레그 검색 과정과, 상기 제1플레그 검색과정에서 거래종류 번호플레그가 리세트라고 판단시에 에러 처리하고, 세트되었다고 판단시에 입력된 단위시간을 저장함과 동시에 단위 시간 입력 표시 플레그를 세트하는 과정과, 상기 키분석 과정에서 종료키가 입력되었다고 판단시에 단위시간당 금액이 입력되고 단위시간 입력 표시 플레그가 세트되어 있는 가를 검색하는 제2플레그 검색 과정과, 상기 제2플레그 검색 과정에서 단위시간당 금액이 입력되지 않았거나 해당 플레그가 리세트되었다고 판단시 에러 처리하고, 해당 금액이 입력되고 플레그가 세트되었다고 판단시 단위시간과 단위시간당 금액을 거래종류번호 저장영역에 저장하는 저장과정으로 이루어짐을 특징으로 하는 방법.4. The method of claim 3, further comprising: a key analysis process for searching for a state of a key to which a transaction type unit time setting process is input, and storing data of a numeric key in an internal memory when determining that a numeric key is input in the key analysis process; A key data storage process for returning to the key analysis process and a transaction type number input state when the start key is determined in the key analysis process are searched, and a transaction type display flag is determined when the transaction type number is input. A transaction type number input process for storing the distance type number entered and set at the same time, and a unit time input search process for searching whether the unit time is input to the internal memory when it is determined that the clock key is input in the key analysis process. And error processing when it is determined that the unit time is not input in the unit time input search process, A first flag search process for searching whether or not a transaction type number display flag is set in the internal memory, and an error process when determining that the transaction type number flag is reset in the first flag search process, and inputting when it is determined that the transaction type number flag is set. Storing the stored unit time and setting the unit time input display flag, and searching whether the amount of money per unit time is input and the unit time input display flag is set when it is determined that the end key is input in the key analysis process. 2 flag search process, and if the amount per unit time is not entered or the corresponding flag is reset in the second flag search process error processing, if the amount is entered and the flag is set, the unit time and the amount per unit time To store the transaction type number in the storage area How to.
※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: The disclosure is based on the initial application.