KR930003992B1 - Method of connecting terminals in electrical cash register - Google Patents

Method of connecting terminals in electrical cash register Download PDF

Info

Publication number
KR930003992B1
KR930003992B1 KR1019900009162A KR900009162A KR930003992B1 KR 930003992 B1 KR930003992 B1 KR 930003992B1 KR 1019900009162 A KR1019900009162 A KR 1019900009162A KR 900009162 A KR900009162 A KR 900009162A KR 930003992 B1 KR930003992 B1 KR 930003992B1
Authority
KR
South Korea
Prior art keywords
master
program
data
terminal
buffer
Prior art date
Application number
KR1019900009162A
Other languages
Korean (ko)
Other versions
KR920001402A (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 KR1019900009162A priority Critical patent/KR930003992B1/en
Publication of KR920001402A publication Critical patent/KR920001402A/en
Application granted granted Critical
Publication of KR930003992B1 publication Critical patent/KR930003992B1/en

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/12Cash registers electronically operated
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units

Abstract

The method providing the tansmitting/receiving function to ECR comprises: a process for classifying whether the selection key is terminal function or previous ECR, which is called as ECR having a simple function, after operating for initialization; a process for down-loading the program from the master if the terminal mode is set; a process for transmitting the registered data to the master in the case of executing the registering process by the down-loaded program. If the error is generated during the program down-loading, the demanding signal for re-receiving is transmitted to the master, followed by down-loading the corresponding program re-received from the master.

Description

금전등록기의 터미널화 방법How to terminalize a cash register

제 1 도는 본 발명에 따른 금전등록기의 구성도.1 is a block diagram of a cash register according to the present invention.

제 2 도는 본 발명의 흐름도.2 is a flow chart of the present invention.

제 3 도는 금전등록기의 데이타 통신 개략도.3 is a data communication schematic diagram of a cash register.

본 발명은 전자식 금전등록기에 있어서 기능 확장 방법에 관한 것으로, 특히 단능기 금전등록기의 터미널화 방법에 관한 것이다.The present invention relates to a function expansion method in an electronic cash register, and more particularly, to a terminalization method of a single-function cash register.

일반적으로 산업사회의 가속화 및 전자산업의 급속한 발전과 아울러 대부분의 사무자동화 제품이 시스템화 하는 추세에 맞추어 상품판매 관리를 위해 금전등록기(이하 ECR이라 함) 및 판매시점관리시스템(Point Of Sales System ; 이하 POS라 함)을 사용하기에 이르렀다.In general, the cash register (hereinafter referred to as the ECR) and the point of sales system (hereinafter referred to as ECR) are used to manage the merchandise sales in line with the acceleration of the industrial society and the rapid development of the electronic industry, and the systemization of most office automation products. Called POS).

상기 POS는 기본적으로 포스터미널(POS terminal)과 저장제어기로 구성된다. 그리고 때에 따라서는 이를 종합하여 관리하는 중앙의 호스트컴퓨터와 연결될 수도 있다. 여기서 상기 저장제어기는 미리 저장하여 기억시켜둔 상품정보 화일이 있는데, 그 화일내에 미리 입력되어 있는 정보와 그 상품의 종류, 단가, 품명, 부문별 코드가 일치하면 그에 해당되는 정보를 읽어 상기 포스터미널로 다시 전송시키는 역할을 수행한다.The POS basically consists of a POS terminal and a storage controller. In some cases, it may be connected to a central host computer that aggregates and manages this. Here, the storage controller has a product information file stored in advance and stored. If the information previously entered in the file matches the product type, unit price, product name, and section code, the corresponding information is read. Send back to the server.

상기 ECR은 작은 업소에서 하나만을 사용하거나 혹은 여러대를 시스템화 하지 않고 각각 단독으로 운용하기 위한 것이다. 상기 각 ECR은 상품 가격이나 수량등과 같은 정보입력 혹은 동작처리 및 거래내역의 레포트 발행을 독립적으로 수행하고 다른 ECR에 영향을 미치지 않았다. 그래서 비록 다소 큰 업소에서 여러대를 사용하더라도 전체 매장관리는 상기 각 ECR에서 발생된 내용을 취합하여 수작업으로 실시할 수 밖에 없었다. 이와같은 종래의 ECR을 편의상 '단능기ECR'이라 칭한다.The ECR is intended to be used independently of each other without using only one or several systems in a small business. Each ECR independently performs information input or operation processing such as commodity price or quantity, and issuance of report of transaction history, and does not affect other ECR. Therefore, even if a large number of companies use several units, the whole store management was forced to collect the contents generated in each of the ECRs by hand. Such a conventional ECR is referred to as a "functional group ERC" for convenience.

예를들어 상기 POS만을 설치해둔 업소에서 단능기ECR 정도로도 충분히 처리할 수 있는 작업들만 계속해서 발생하고 있다고 가정할 때 상기 업소에서는 포스 터미널로 그 작업을 처리하거나 단능기ECR을 별도로 구입할 수밖에 없을 것이다. 그러나 단능기 ECR을 별도로 구입하는 것은 경제적 측면에서 부담이 되는 단점이 있다. 또한 포스 터미널을 이용하는 경우도 POS의 효율적인 운용 측면에서 바람직하지 못하다 하겠다. 왜냐하면 POS의 각 슬레이브 터미널은 그 구성적인 측면에서 볼때 물론 시스템을 총괄하는 마스터 터미널과 같을 수는 없지만 시스템을 총괄하는 기능을 제외하면 거의 그에 준하는 구성요소를 갖춘 것이기 때문이다.For example, assuming that only the POS-only establishments continue to generate jobs that can handle enough ERCs, the establishments will have no choice but to process the work with the POS terminal or purchase the EECs separately. . However, separately purchasing a monofunctional ECR has a disadvantage in terms of economic burden. In addition, using a POS terminal is not preferable in terms of efficient operation of POS. This is because each slave terminal in the POS, of course, cannot be the same as the master terminal that oversees the system in terms of its configuration, but with almost the same components except for the oversight of the system.

따라서 본 발명의 목적은 ECR에 데이타 송수신 기능을 갖도록 하는 방법을 제공함에 있다.Accordingly, an object of the present invention is to provide a method for having a data transmission / reception function in an ECR.

본 발명의 다른 목적은 ECR이 사용자의 선택에 따라 단능기 혹은 시스템의 터미널 역할을 할 수 있도록 하는 방법을 제공함에 있다.Another object of the present invention is to provide a method for enabling an ECR to function as a terminal or a terminal of a system according to a user's selection.

상기한 목적을 달성하기 위한 본 발명은 전원 입력시 초기화 작업 후 용도 선택키를 스캔 및 분석하여 단능기 혹은 터미널 중 어느 용도인지 구분하기 위한 터미널 모드 선택과정과, 상기 터미널모드로 설정되면 마스터로부터 프로그램을 다운 로드하기 위한 프로그램 다운로드과정과, 상기 다운로드된 프로그램에 의해 등록처리를 실시한 경우 그 등록된 데이타를 마스터로 전송하는 등록데이타 전송과정으로 이루어짐을 특징으로 한다.In order to achieve the above object, the present invention provides a terminal mode selection process for distinguishing between a single function or a terminal by scanning and analyzing a use selection key after an initialization operation upon power input, and when the terminal mode is set, a program from a master It is characterized in that it comprises a program download process for downloading the file, and a registration data transmission process for transmitting the registered data to the master when the registration process is performed by the downloaded program.

이하 본 발명을 첨부한 도면을 참조하여 설명한다.Hereinafter, the present invention will be described with reference to the accompanying drawings.

제 1 도는 본 발명에 따른 ECR의 구성도로서,1 is a configuration diagram of an ECR according to the present invention,

상품판매 관리를 위한 각종 프로그램 및 초기데이타를 내장하는 롬(10)과, 상품판매에 따른 처리 데이타를 일시적으로 저장하는 램(20)과, 상품판매와 그에 따른 관리를 위한 각종 명령 및 데이타등을 입력하는 키보드(30)와, 거래 결과에 따른 영수증 및 감사지를 인자하는 프린트부(40)와, 현재의 처리 상태 및 각종 데이타를 나타내 주는 표시부(50)와, ECR의 전반적인 동작을 총괄적으로 제어하며 외부 시스템가의 데이타 송수신도 제어하는 마이컴(60)으로 구성된다.ROM 10, which contains various programs and initial data for merchandise sales management, RAM 20 temporarily storing processing data according to merchandise sales, and various orders and data for merchandise sales and management thereof. The keyboard 30 to input, the print unit 40 for printing receipts and audit papers according to the transaction results, the display unit 50 for displaying the current processing status and various data, and the overall operation of the ECR are collectively controlled. The microcomputer 60 also controls data transmission and reception by an external system.

제 2 도는 본 발명에 따른 ECR의 데이타 송수신의 흐름도이다.2 is a flowchart of data transmission and reception of an ECR according to the present invention.

제 3 도는 마스터 및 슬레이브터미널 간의 통신 기능 블럭도로서, (3a)는 마스터로 부터 슬레이브로의 데이타 전송 개략도이고, (3b)는 슬레이브에서 마스터로부터 품목 프로그램 데이타를 수신하는 예를 도시한 개략도이다.3 is a communication functional block diagram between a master and a slave terminal, where 3a is a schematic diagram of data transmission from a master to a slave, and 3b is a schematic diagram illustrating an example of receiving item program data from a master at a slave.

상술한 구성에 의거 본 발명을 상세히 설명한다.The present invention will be described in detail based on the above configuration.

ECR에서의 통신을 ECR에 관리되는 데이타를 마스터와 슬레이브에서 공유하기 위해 이용되며 통신의 기본적인 기능은 마이컴에 내장된 송수신용 버퍼와 상태(status)레지스터를 이용하고, 전송을 원하는 데이타를 마스터와 슬레이브간에 약속된 프로토콜에서 규정된 제어 코드를 이용하여 송수신을 실현한다. 이때 마스터와 슬레이브 각 단에서는 프로그램에서 캐릭터단위의 송수신 에러체크, 블럭단위의 에러체크, 데이타 블럭구분등의 송수신 제어를 통해 통신을 실현시킨다.Communication in ECR is used to share data managed in ECR between master and slave. The basic function of communication is to use the sending / receiving buffer and status register built in the microcomputer and to transfer data to master and slave. The transmission and reception is realized by using the control code specified in the protocol promised. At this time, each stage of the master and slave realizes communication by sending / receiving control such as character transmission / reception error check, block unit error check, and data block classification.

제 3 도의 (3a)를 참조하여 상기 슬레이브에서의 데이타 수신 동작을 구체적으로 설명하면 다음과 같다. 즉 마스터로부터 데이터전송 상태를 상기 슬레이브의 마이컴에 내장된 상태 레지스터를 읽어(read)수신의 시작을 판정하고 수신이 시작되면 전술한 바와같이 캐릭터 단위 혹은 블럭단위 에러체크와 수신데이타 블럭 구분 등을 통해 입력된 데이타를 사용자 버퍼에 세이브시키고 수신종료가 되면 입력된 데이타 내부의 지정된 포인트의 데이타 종류 구분 영역을 읽어 약속된 위치에 데이타를 저장시켜 주게되는 것이다. 일예로써 품목 프로그램 데이타 수신의 경우를 도시하면(3b)와 같다.Referring to (3a) of FIG. 3, the data reception operation in the slave will be described in detail. That is, the data transfer status is read from the master and the status register built into the microcomputer of the slave is read to determine the start of reception, and when reception is started, the character unit or block unit error check and the reception data block classification are performed as described above. When the received data is saved in the user buffer and the reception is completed, the data type division area of the designated point in the input data is read and the data is stored in the promised position. As an example, the case of item program data reception is shown (3b).

상기와 같은 ECR통신 기능을 전제로 단능기 ECR에 터미널 기능을 부여하는 방법을 설명하면 하기와 같다.A method of assigning a terminal function to a multifunctional ECR on the premise of the above ECR communication function is as follows.

먼저 시스템에 전원이 공급되면 마이컴(60)은 제 2 도의 (I)단계에서 초기화 작업을 실시한다. 상기 시스템 초기화 후에는 (2)단계에서 키 스캔하여 사용자에 의해 입력되는 용도 선택키를 감지한다. 상기 키를 감지하면 이를 분석하여 터미널모드 요구 상태인지 검사한다. 즉 사용자가 ECR을 단능기 혹은 터미널 중 어느 용도로 사용하기를 원하는지 체크한다. 상기 체크 결과 터미널모드 요구 상태임이 판명되면 (3)단계로 진행하여 버퍼 포인트를 클리어한 다음(4) 단계에서 시스템상의 데이타 영역을 모두 클리어하고 (5)단계로 진행하여 터미널 플래그(TF)를 세트한다.(상기와 같은 용도 구분 절차는 시스템 설치시 한번만 시도하는 것으로 한다.) 여기서 상기 버퍼는 등록시 수행되는 등록데이타의 송신작업에 문제가 발생할 경우 정상적인 재전송을 위해 준비된 영역으로서, 전체 시스템의 구성에 따라 일정 크기를 갖게 되며 상기 버퍼에 쌓인 데이타는 후술한 동작 수순에 의거하여 일정 시점에서 재전송을 시도하게 되며, 전송될 등록 데이타는 사전에 약속된 종류, 내용등의 양식을 갖추어 송수신 된다. 또한 상기 터미널 플레그(TF)는 세트 혹은 리세트 상태에 따라 ECR을 단능기 역할과 아울러 마스터(마스터 ECR혹은 컴퓨터)와의 통신기능을 실시하는 슬레이브 터미널의 역할을 함께 수행하도록 하든지 단능기로만 사용하도록 함을 표시하기 위한 것이다. 이상은 터미널 모드 선택과정에 해당한다.First, when power is supplied to the system, the microcomputer 60 performs an initialization operation in step (I) of FIG. After the system initialization, in step (2), a key scan is detected to detect a usage selection key input by the user. When the key is detected, the key is analyzed and the terminal mode is requested. That is, it checks whether the user wants to use the ECR for a function or a terminal. If the check indicates that the terminal mode is required, go to step (3) to clear the buffer point, (4) clear all data areas on the system, and proceed to step (5) to set the terminal flag (TF). (The above-mentioned use classification procedure shall be attempted only once when installing the system.) Here, the buffer is an area prepared for normal retransmission when a problem occurs in the transmission of the registration data performed during registration. According to the operation procedure described below, the data accumulated in the buffer will be retransmitted at a certain point in time, and the registration data to be transmitted will be transmitted and received in the form of a predetermined type, content, and the like. In addition, the terminal flag (TF) may be used as a single function or as a slave terminal that performs an ECR function as a single function and a communication function with a master (master ECR or computer) according to a set or reset state. It is to display. The above corresponds to the terminal mode selection process.

한편 상기 터미널 플래그(TF)가 세트된 경우에는 크게 3가지 통신기능을 수행하게 된다. 첫번째로, 마스터로 부터의 ECR기능 수행을 위한 프로그램 다운 로딩(down-loading)수신 기능이 있다. 두번째로, 등록 수행시 변경되는 등록내용(마스터에서 관리를 필요로 하는 데이타)을 상기 마스터로 전송하는 기능이 있다. 세번째로 상기 버퍼에 쌓인 내용을 전송하는 기능이 있다.Meanwhile, when the terminal flag TF is set, three communication functions are performed. First, there is a program down-loading reception function to perform the ECR function from the master. Secondly, there is a function of transmitting registration contents (data requiring management at the master) to the master, which are changed when performing registration. Third, there is a function of transmitting the contents accumulated in the buffer.

이하 상기 세가지 통신기능에 대하여 제 2 도의 동작 수순에 의거 구체적으로 설명하면 다음과 같다. 상기 (5)단계 수행 완료 후 상기 마이컴(60)은 (6)단계로 진행하여 마스터로 부터 프로그램 다운요구 명령이 발생되었는지 체크한다. 상기 체크결과 마스터로 부터 프로그램 다운요구 명령이 발생되었음이 확인되면 (7) 단계로 진행하여 터미널 플레그(TF)의 상태를 조사하여 세트여부를 확인한다. 상기 확인결과 터미널 플레그(TF)가 세트상태이면 전술한 바와같이 마스터와의 통신 가능 상태임을 의미하므로(8)단계에서 표시부(50)를 제어하여 수신 시작을 표시하고 다른 동작을 멈춘 상태에서 (9)단계로 진행하여 상기 마스터로 부터 입력되는 데이타(프로그램 내용)를 수신하여 일정 양식에 맞도록 터미널의 해당 프로그램 영역에 저장한다.Hereinafter, the three communication functions will be described in detail based on the operation procedure of FIG. 2. After completing step (5), the microcomputer 60 proceeds to step (6) and checks whether a program down request command is generated from the master. If the check result confirms that a program down request command has been generated from the master, the process proceeds to step (7) to check the state of the terminal flag TF to determine whether the program is set. If the terminal flag TF is set as the result of the check, it means that the communication with the master is possible as described above. In step 8, the control unit 50 controls the display unit 50 to indicate the reception start and stops other operations (9). In step), data (program contents) input from the master are received and stored in the corresponding program area of the terminal in accordance with a predetermined form.

상기 수신데이타 저장 후(10)단계로 진행하여 수신 작업이 정상적으로 완료되었는가 여부를 확인하여 수신이 정상적으로 종료되었을 경우에는 (11)단계에서 상기 표시부(50)를 통해 수신이 끝났음을 표시하고 리턴한다. 반면에 수신상에 문제가 발생하였을 때에는 (12)단계로 진행하여 상기 표시부(50)를 통해 수신 에러상태를 표시하도록 제어한 후 (13)단계에서 적절한 에러처리를 수행한다.After the reception data is stored, the process proceeds to step 10 to check whether the reception operation is completed normally. If the reception is normally completed, the display unit 50 indicates that the reception is completed and returns. On the other hand, when a problem occurs in the reception, the control proceeds to step (12) to display the reception error state through the display unit 50, and then performs appropriate error processing in step (13).

상기 에러 처리 후(14)단계에서 전원 온/오프동작 등 터미널 자체의 리세트 요구 여부를 환인하여 터미널 자체의 리세트 요구상태가 아니면(15)단계로 진행하여 상기 마스터에 다시 한번 데이타를 수신할 수 있도록 해달라는 요구를 할 수 있고, 만약 재 수신을 요구하면 상기 (8)단계로 루핑하여 전술한 동작과정을 반복 수행한다. 반면에 상기(14)단계에서 터미널 자체의 리세트 요구임이 판명된 경우에는 전술한 (1)단계로 루핑하여 시스템 초기 상태로 복귀한다. 상기와 같은 프로그램의 다운로딩 동작은 다른 동작기능이 멈춘 상태에서 수행되어야 하며 이는 프로그램 내용 변경시 등록되는 내용의 혼란을 방지하기 위함이다. 이상은 프로그램 다운로딩 과정이다.After the error processing (14), if the reset request state of the terminal itself, such as power on / off operation is acknowledged, if the terminal itself is not in the reset request state (15) to proceed to receive data to the master once again If a request for re-receipt is requested, looping to step (8) is repeated to repeat the above-described operation. On the other hand, if it is determined in step (14) that the terminal itself is a reset request, the process returns to the system initial state by looping to step (1). The downloading operation of the above program should be performed while other operation functions are stopped. This is to prevent confusion of contents registered when changing program contents. The above is the program downloading process.

한편 상기 (6) 단계에서 프로그램 다운 요구 상태가 아닐시에는 미체 전송되지 못한 데이타에 대한 재전송를 시도하거나 등록, 프로그램, 레포트 등 기타 기능을 처리하게 된다. 즉 상기 (6)단계에서 마스터로 부터의 프로그램 다운 요구상태가 아니라고 판명되었을 경우에는 (16)단계로 진행하여 에러플레그 세트 여부를 검사한다. 상기 검사 결과 에러플레그가 세트되지 않았을 경우에는 (17)단계에서 버퍼 포인트가 풀(pull)인지 확인한다. 만약 상기 버퍼포인트가 풀이 아닐 경우에는 (18)단계를 진행하여 0인지 검사한다. 상기 검사 결과 상기 버퍼포인트가 0일 경우에는 (37)단계에서 키 스캔 작업을 실시한 후(38)단계에서 상기 스캔한 키를 분석하여 등록 기능기인지 검사한다. 이때 등록기능기가 아니면(50) 단계로 진행하여 프로그램 기능기인지 검사한다. 상기 검사 결과 프로그램 기능기일 경우에는 (51)단계에서 프로그램 처리 후 전술한 (6)단계로 루핑하도록 한다. 여기서 상기 프로그램 처리 동작은 품목 명칭, 품목단가, 세율, 할인율, 할증율 및 시스템 선택(option)등의 내용을 각 해당되는 키가 입력되었을 때 메모리에 원하는 정보를 입력시키는 동작을 의미한다.On the other hand, in the step (6), if it is not the program down request state, it attempts to retransmit the data that has not been transferred in advance, or processes other functions such as registration, program, and report. In other words, if it is determined in step (6) that the program is not in a program down request state from the master, the process proceeds to step (16) to check whether an error flag is set. If the error flag is not set as a result of the check, it is checked in step (17) whether the buffer point is pulled. If the buffer point is not a pool, the process proceeds to step 18 to check whether it is zero. When the buffer point is 0 as a result of the check, after the key scan operation is performed in step 37, the scanned key is analyzed in step 38 to check whether it is a registered functional group. At this time, if it is not the registration function (50) proceeds to check whether the program function. In the case where the result of the check is a program functional unit, the process loops to step (6) described above after the program processing in step (51). Herein, the program processing operation refers to an operation of inputting desired information into a memory when a corresponding key is inputted, such as item name, item price, tax rate, discount rate, premium rate, and system option.

상기 (50)단계에서 프로그램 기능기도 아니라고 판명된 경우에는(52) 단계에서 레포트 기능기인지 검사하여 레포트 기능기이면 (53)단계에서 레포트 처리 후 상기(6)단계로 루핑한다. 여기서 상기 레포트 처리 동작은 등록된 내용을 일일 마감 후 점검 및 정산하는 것으로 일일 판매내역, 시간대 별 판매내역, 품목별 판매내역, 담당자별 판매내역등으로 분류하여 각 해당하는 메모리의 내용을 프린팅 및 정산시켜주는 동작을 의미한다.If it is determined in step (50) that the program function is not a check function in step (52), and if it is a report function, in step (53) after the report processing looping to step (6). Here, the report processing operation is to check and settle the registered contents after daily closing and classify them into daily sales history, sales history by time period, sales history by item, sales history by person in charge, and print and settle the contents of each corresponding memory. Note means action.

상기 (52)단계에서 레포트 기능기도 아니라고 판단되면 (54)단계로 진행하여 해당 기능 처리 후 상기 (6)단계로 루핑한다.If it is determined in step (52) that the report function is not also the process proceeds to step (54) and loops to step (6) after processing the function.

그러나 상기 (38)단계에서 등록기능기로 판명되었을 경우에는 (39)단계로 진행하여 등록 처리한 후 (40)단계에서 상기 표시 및 프리팅 동작을 실시하게 한다. 상기 (40)단계 수행후(41)단계에서 터미널 플레그(TF)세트여부를를 검사하여 상기 터미널 플레그(TF)가 세트되지 않았으면 상기 (6)단계로 루핑한다. 반면에 상기 (41)단계에서 터미널 플레그(TF)가 세트되었으면(42)단계에서 상기 표시부(50)를 통해 전송시작을 표시하도록 제어한 다음(43)단계에서 라인체크 작업을 실시한다. (44)단계에서 상기 라인 체크 결과를 분석하여 정상 상태로 판명되면 (45)단계로 진행하여 등록된 데이타를 전송한 후 (46)단계에서 데이타 전송이 정상적으로 종료되었는지 여부를 조사하여 정상 종료임이 판명되면 (47)단계로 진행하여 상기 표시부(70)가 전송종료 사항을 표시하도록 제어한 후 리턴한다. 그러나 상기(44)단계에서 라인에러가 발생했을시 혹은 상기 (46)단계에서 전송상 에러가 발생했음이 판명되었을시에는 (48)단계로 진행하여 일단 등록된 데이타를 버퍼에 일시 저장하고 (49)단계에서 버퍼 포인트를 증가시킨 다음 리턴한다.However, if it is determined in step (38) that the registration function, proceed to step (39) to perform the registration process (40) to perform the display and fritting operation. After performing step (40), in step 41, the terminal flag TF is checked to be set, and if the terminal flag TF is not set, the process loops to step (6). On the other hand, if the terminal flag TF is set in step (41) (step 42), the display unit 50 is controlled to display the start of transmission, and then in step 43, the line check operation is performed. If it is determined that the normal state is obtained by analyzing the line check result in step (44), the process proceeds to step (45), and after the registered data is transmitted, it is determined whether the data transmission is normally completed in step (46). When the process proceeds to step 47, the display unit 70 controls to display the transmission end point and returns. However, when a line error occurs in step (44) or when a transmission error occurs in step (46), go to step (48) to temporarily store the registered data in the buffer (49). In step), the buffer point is increased and then returned.

한편 상기 (18)단계에서 버퍼 포인트가 0가 아닌 경우에는 전송되지 못한 데이타가 있는 경우이므로 재전송을 시도하게 된다. 즉 (19)단계에서 전송에러 카운트를 클리어하고 (20) 단계에서 표시부(50)를 통해 전송시작을 표시하도록 제어한 다음 (21)단계에서 라인 체크작업을 실시한다. 상기 라인 체크결과 이상이 없으면 (23)단계에서 상기 버퍼에 저장된 데이타를 마스터로 전송한 후 (24)단계에서의 정상적인 전송인지 검사하여 정상전송이면 (25)단계에서 버퍼포인트를 감소하는 동작을 (26)단계에서의 버퍼 포인트 검사 결과 0가 될 때 까지 반복 수행함으로써 상기 버퍼의 내용을 차례로 전송한다. 상기 (26)단계에서 버퍼 포인트가 0임이 검출되면 (27)단계에서 상기 표시부(50)를 통해 전송 종료를 표시하도록 제어한 후 리턴한다. 이때 데이타의 전송은 버퍼의 크기에 따라 시스템의 속도를 고려하여 전체 버퍼 내용을 한번에 모두 보내거나 혹은 분할하여 보낼 수 있다.On the other hand, if the buffer point is not 0 in step (18), since there is data that has not been transmitted, an attempt is made to retransmit. That is, in step (19), the transmission error count is cleared, and in step (20), the display unit 50 is controlled to display the start of transmission, and then in step (21), the line check operation is performed. If there is no abnormality in the line check result, the data stored in the buffer is transmitted to the master in step (23), and then, in step (24), it is checked whether the transmission is normal. The contents of the buffer are sequentially transmitted by repeating until the buffer point check result in step 26 is zero. If it is detected in step (26) that the buffer point is 0, in step (27), the display unit 50 controls to indicate the end of the transmission and returns. At this time, the data can be sent all at once or divided by considering the speed of the system depending on the size of the buffer.

그러나 상기 (22)단계에서의 라인 체크결과 에러가 발생했음이 판명되었을 경우에는 (28)단계로 진행하여 전송에러 카운트를 증가시킨 후 (29)단계에서 카운트 값이 일정 횟수(N)가 되지 않은 경우에는 상기 (21)단계로 루핑하여 전술한 라인 체크작업을 재실시하도록 한다. 반면에 상기 카운트 값이 일정 회수가 될 때까지 계속 에러가 발생할 경우에는 (30)단계에서 에러플레그를 세트하고(31)단계에서 에러 카운트를 클리어 한 다음 (32)단계에서 상기 표시부(50)를 제어하여 전송에러 발생을 표시한 다음 리턴하여 터미널 자체를 홀딩(holding)시킴과 동시에 진단키 요구 상태로 들어가게 된다. 이후 수동으로 터미널을 수리한 후 진단키가 입력되면 다시 재전송 동작을 수행하도록 하며 시스템 리세트동작이 이루어지면 시스템 초기화 부터 다시 수행하도록 한다. 즉 상기 (16)단계에서 에러플레그가 세트되었음이 판명된 경우나 상기 (17)단계에서 버퍼 포인트가 풀이라(33)단계에서 표시부(50)를 통해 전송에러를 표시한 경우에는 (34)단계로 진행하여 진단키 입력여부를 체크한다. 상기 체크결과 진단키가 입력되었으면 (35)단계에서 라인 체크후 상기 (22)단계로 루핑하고 상기 (34)단계에서 진단키가 입력되지 않았을 경우에는 (36)단계에서 시스템 리세트 여부를 검사하여 리세트시는 전술한 (1)단계로 루핑하며 리세트 상태도 아닐시에는 상기(34)단계로 루핑하여 다시 진단키 입력 여부를 체크한다. 이상은 등록데이타 전송과정이다. 단, 기능기의 입력에 의한 프로그램처리 혹은 레포트 발행 및 등록작업은 공지의 내용이고 본 실시예에서 설명하고 있는 ECR은 터미널 역할을 수행하는 ECR이므로 상기 등록작업 후 마스터로 그 등록된 데이타를 전송하는 과정을 추가로 갖는 것임을 밝혀둔다.However, if it is determined that an error has occurred as a result of the line check in step (22), the process proceeds to step (28) to increase the transmission error count and then the count value does not become a predetermined number (N) in step (29). In this case, looping to step (21) is performed to repeat the above-described line check operation. On the other hand, if an error continues until the count value reaches a certain number of times, an error flag is set in step 30, the error count is cleared in step 31, and then the display unit 50 is turned on in step 32. The control indicates the occurrence of a transmission error and returns to hold the terminal itself and enter the diagnostic key request state. After repairing the terminal manually, if the diagnostic key is inputted, the retransmission operation is performed again. If the system reset operation is performed, the system reset is performed again. That is, when it is determined that the error flag is set in step (16) or when the buffer point is pulled in step (17), the transmission error is displayed through the display unit 50 in step (33) (step 34). Proceed to check the diagnosis key input status. If the diagnostic key is input as a result of the check, looping to the step (22) after checking the line in step (35). If the diagnostic key is not input in the step (34), the system reset is checked in step (36). When resetting, looping is performed in the above-described step (1), and when it is not in the reset state, the looping is performed in step 34 to check whether the diagnosis key is input again. The above is the registration data transmission process. However, the program processing or report issuance and registration work by the input of the functional group is well known and the ECR described in the present embodiment is an ECR serving as a terminal, so the registered data is transmitted to the master after the registration work. Note that it has an additional process.

상술한 바와같은 본 발명은 ECR에 간단한 데이타 송수신 기능을 갖추어 사용자의 요구에 따라 단능기 혹은 터미널 양용으로 사용할 수 있도록 함으로써 POS에서의 터미널 역할을 수행할 수 있어 효과적일 뿐만 아니라 소규모 단위의 시스템 구축시 원가를 최소화 할 수 있는 장점도 있다.As described above, the present invention is equipped with a simple data transmission / reception function in the ECR, so that it can be used as a terminal or a terminal according to a user's request. It also has the advantage of minimizing costs.

Claims (3)

데이타 송수신 기능을 갖는 금전등록기의 터미널화 방법에 있어서, 전원 입력시 초기화 작업 후 용도 선택키를 스캔 및 분석하여 단능기 혹은 터미널 중 어느 용도인지 구분하기 위한 터미널 모드 선택과정과, 상기 터미널모드로 설정되면 마스터로 부터 프로그램을 다운 로드하기 위한 프로그램 다운로드과정과, 상기 다운로드된 프로그램에 의해 등록처리를 실시한 경우 그 등록된 데이타를 마스터로 전송하는 등록데이타 전송과정으로 이루어짐을 특징으로 하는 방법.A method of terminalizing a cash register having a data transmitting / receiving function, comprising: a terminal mode selection process for distinguishing between a single function or a terminal by scanning and analyzing a use selection key after an initialization operation upon power input; and setting the terminal mode to the terminal mode And a program download process for downloading a program from the master, and a registration data transfer process for transmitting the registered data to the master when registration processing is performed by the downloaded program. 제 2 항에 있어서, 프로그램 다운로드 중 에러가 발생하면 마스터로 재수신 요구신호를 송출하여 상기 마스터에서 해당 프로그램을 재송신하면 이를 다운로드함을 특징으로 하는 방법.3. The method of claim 2, wherein if an error occurs during program download, a re-receive request signal is sent to the master, and if the corresponding program is retransmitted by the master, the method is downloaded. 제 2 항 혹은 제 3 항에 있어서, 등록데이타 전송 중 라인의 이상 상태를 검출하면 상기 등록된 데이타를 버퍼에 일시적으로 저장하고 버퍼포인터를 증가시킨 후 라인이 정상상태로 환원되면 상기 버퍼 포인트를 감소시켜 가면서 상기 버퍼로 부터 데이타를 독출하여 재전송함을 특징으로 하는 방법.4. The method of claim 2 or 3, wherein when detecting an abnormal state of a line during registration data transmission, the registered data is temporarily stored in a buffer, the buffer pointer is increased, and the buffer point is decreased when the line is returned to a normal state. And read data from the buffer and retransmit.
KR1019900009162A 1990-06-21 1990-06-21 Method of connecting terminals in electrical cash register KR930003992B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019900009162A KR930003992B1 (en) 1990-06-21 1990-06-21 Method of connecting terminals in electrical cash register

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019900009162A KR930003992B1 (en) 1990-06-21 1990-06-21 Method of connecting terminals in electrical cash register

Publications (2)

Publication Number Publication Date
KR920001402A KR920001402A (en) 1992-01-30
KR930003992B1 true KR930003992B1 (en) 1993-05-19

Family

ID=19300335

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019900009162A KR930003992B1 (en) 1990-06-21 1990-06-21 Method of connecting terminals in electrical cash register

Country Status (1)

Country Link
KR (1) KR930003992B1 (en)

Also Published As

Publication number Publication date
KR920001402A (en) 1992-01-30

Similar Documents

Publication Publication Date Title
US4855908A (en) POS system
US10686881B2 (en) Transmission system, transmission device, and data transmission method
US4879649A (en) Transaction processing apparatus having PLU function
KR930003992B1 (en) Method of connecting terminals in electrical cash register
JP3097744B2 (en) Cash transaction device management system
JPH10320465A (en) Card crediting and settlement system
KR970004527B1 (en) Order guest checking device
JPS62127998A (en) Electronic cash register
JP7189379B2 (en) Information terminal and its program
JPH079661B2 (en) Transaction processor
JPH04107034A (en) Retry frequency learning device
JP2010072769A (en) Slip processing system, slip processing device and slip processing method
JPH0346095A (en) Sale register
JPH05232757A (en) Pos system for control of copying machine
JPS61226875A (en) Transaction processor
JP2000076550A (en) Plu file updation management system
JPH06195568A (en) Electronic cash register device
JP2021015648A (en) Product registration device
JPS60114958A (en) Data cancelling control system
JPH049351B2 (en)
JPH11328540A (en) Sales data processor and its program recording medium
JPH0535976A (en) Product sales data processor
JPS61148570A (en) Management device of card certificating terminal group
JPH0355690A (en) Sales data processor
JPH04217100A (en) Commodity sales data processor

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
G160 Decision to publish patent application
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20030512

Year of fee payment: 11

LAPS Lapse due to unpaid annual fee