KR920006281B1 - Circuit for queue maiutenance on pos terminal - Google Patents

Circuit for queue maiutenance on pos terminal Download PDF

Info

Publication number
KR920006281B1
KR920006281B1 KR1019900000499A KR900000499A KR920006281B1 KR 920006281 B1 KR920006281 B1 KR 920006281B1 KR 1019900000499 A KR1019900000499 A KR 1019900000499A KR 900000499 A KR900000499 A KR 900000499A KR 920006281 B1 KR920006281 B1 KR 920006281B1
Authority
KR
South Korea
Prior art keywords
signal
obr
interrupt
data
generated
Prior art date
Application number
KR1019900000499A
Other languages
Korean (ko)
Other versions
KR910014831A (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 KR1019900000499A priority Critical patent/KR920006281B1/en
Publication of KR910014831A publication Critical patent/KR910014831A/en
Application granted granted Critical
Publication of KR920006281B1 publication Critical patent/KR920006281B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Cash Registers Or Receiving Machines (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The circuit includes an interrupt control section, a processing section, and an interrupt generating section. The circuit further includes a means for receiving sales information and for generating OBR termination signals. Another means enables the OBR termination signals, and still another means latches a first control signals upon encountering an OBR termination signal. Further another means makes the first control signal transformed into a second control signal, and still further another means forms a signal path upon encountering the second control signal and blocks the signal path upon encountering the first control signal. With the circuit, the sales order is maintained regardless of the contents of the sales.

Description

포스터미널의 판매순서 유지회로Sales Order Maintenance Circuit of Poster Terminal

제1도는 종래의 판매정보에 대한 인터럽트 회로도.1 is an interrupt circuit diagram of conventional sales information.

제2도는 제1도의 동작파형도.2 is an operating waveform diagram of FIG.

제3도는 본 발명의 판매정보에 대한 인터럽트 회로도.3 is an interrupt circuit diagram for sales information of the present invention.

제4도는 제3도의 구체회로도.4 is a concrete circuit diagram of FIG.

제5도는 제3도 및 제4도의 동작 파형도.5 is an operational waveform diagram of FIGS. 3 and 4;

제6도는 본 발명에 따른 데이타 처리 흐름도.6 is a data processing flowchart according to the present invention.

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

10 : 키보드 12 : OBR10: keyboard 12: OBR

12 : MCR 13 : 직/병렬 변환부12: MCR 13: serial / parallel conversion unit

14 : 인터럽트 제어부 16 : 디코더14 interrupt control unit 16 decoder

16,17 : 오아게이트 18 : 앤드게이트16,17: Oagate 18: Andgate

19,22 : 3상태 버퍼 20 : 인버터19,22: 3 state buffer 20: Inverter

21 : 낸드게이트 23 : 카운터21: NAND Gate 23: Counter

24 : 플립플롭24: flip flop

본 발명은 포스터미널에 관한 것으로, 특히 다수개의 정보입력장치로 부터 발생되는 판매정보의 순서를 유지시킬 수 있는 회로에 관한 것이다.The present invention relates to a poster terminal, and more particularly to a circuit capable of maintaining the order of sales information generated from a plurality of information input devices.

일반적으로 포스터미널(Point of Sales terminal)이란 판매시점에서 발생되는 판매정보를 실시간으로 처리하는 장치를 말하는 것으로, 다수개의 입력장치에서 발생되는 정보를 처리할 수 있어야 한다.In general, a point of sales terminal refers to a device that processes sales information generated at a point of sale in real time, and should be able to process information generated from a plurality of input devices.

다수개의 입력장치에서 발생되는 정보를 처리할 수 있어야 한다. 상기 입력장치에서는 키보드(keyboard), OBR(Optrcar Barcode Reader), MCR(Magnctic Card Reader)등이 있는데, 키보드는 판매시점에서 발생하는 정보를 키를 통해 발생하는 장치이고, OBR은 상품에 표시된 바코드 정보를 분석하여 다수개의 바이트로 이루어진 데이타를 발생하는 장치이며, MCR은 신용카드(Credit card)등을 읽어내는 장치를 말한다.It should be possible to process information generated by multiple input devices. The input device includes a keyboard, an OBR (Optrcar Barcode Reader), an MCR (Magnctic Card Reader), and the keyboard is a device that generates information at the point of sale through a key, and the OBR is barcode information displayed on a product. It is a device that generates data consisting of multiple bytes by analyzing the data, and MCR refers to a device that reads a credit card.

종래에는 제1도와 같은 구성으로 제2도와 같은 키보드, OBR 및 MCR의 판매정보를 처리하여 왔다. 즉, 키보드(10), OBR(12) 및 MCR(13)등에서 판매정보 발생에 따른 인터럽트 요구신호(KBDREQ : OBRREQ, MCRREQ) 발생시 이들 신호는 오아게이트(14)를 통해 출력되며, 인터럽트 제어부를 통해 발생되는 인터럽트 인지신호(ACK)와 함께 앤드게이트(15)를 통해 CPU(6)의 인터럽트 단자(INT

Figure kpo00001
)로 공급된다. 이때(2f)와 같이 판매정보의 발생순서가 단품→OBR→소계→현금마감 순으로된 경우를 가정하면, 키보드(1)는 (2a)와 같이 판매정보 발생시점에서 인터럽트 요구신호(KBO REQ)를 발생하고, OBR(2)는 상기 키보드(1)에 출력이 없는 경우에 OBR데이타들을 처리하게 된다. 즉, 키보더(1)와 OBR(2)에서 CPU(6)로 인터럽트 요구신호를 발생하여 데이타 처리를 요구하는 경우, OBR데이타는 여러개의 데이타로 구성되어 있으므로, 여러번의 인터럽트 요구신호(PBR REQ)를 발생하게 된다. 그러나 이때(2a)와 같이 OBR데이타 처리 도중에서 키보드(1)의 인터럽트 요구신호(KBD REQ)가 발생되면, CPU(6)는 OBR데이타 수신도중에 키보드(1)의 1바이트 정보를 수신하게 된다. 예를들면, 제2도의 (A)시점에서 단품키가 눌려지면 단품판매에 대한 정보가 발생되며, (B)시점에서 OBR데이타 발생되면 CPU(6)는 수신되는 OBR데이타를 수신하고 있는 시점에서 다시 키보드(1)의 소제정보가 발생되며, CPU(6)는 OBR처리중에 키보드(1)의 정보를 수신하게 된다.Conventionally, the sales information of the keyboard, OBR, and MCR shown in FIG. 2 has been processed in the configuration of FIG. That is, when an interrupt request signal (KBDREQ: OBRREQ, MCRREQ) occurs in accordance with sales information in the keyboard 10, OBR 12, MCR 13, etc., these signals are output through the oragate 14, and through the interrupt control unit. The interrupt terminal (INT) of the CPU 6 through the AND gate 15 together with the generated interrupt acknowledgment signal ACK.
Figure kpo00001
Is supplied. In this case, assuming that the generation order of sales information is in the order of unit → OBR → subtotal → cash closing as shown in (2f), the keyboard (1) interrupt request signal (KBO REQ) at the point of sales information generation as shown in (2a) The OBR 2 processes the OBR data when there is no output on the keyboard 1. That is, when the interrupt request signal is generated from the keyboard 1 and the OBR 2 to the CPU 6 to request data processing, since the OBR data is composed of a plurality of data, the interrupt request signal PBR REQ ) Will occur. However, when the interrupt request signal KBD REQ of the keyboard 1 is generated during the OBR data processing as in (2a) at this time, the CPU 6 receives 1-byte information of the keyboard 1 during OBR data reception. For example, when the unit key is pressed at the time (A) of FIG. 2, information on the sale of the unit is generated. When the OBR data is generated at the time (B), the CPU 6 receives the received OBR data at the time of receiving the received OBR data. The cleaning information of the keyboard 1 is again generated, and the CPU 6 receives the information of the keyboard 1 during the OBR process.

이후 OBR데이타를 수신하는 (D)시점에서 키보드(1)의 현금마감키가 눌려지면, 상기와 같이 CPU(6)는이 신호를 OBR데이타 처리에 우선하여 처리한다. 따라서 키보드(1)의 판매정보 발생시에는 OBR(2)의 인터럽트에 우선하여 처리되는 결과적으로 CPU(6)에 수신하는 데이타의 형태는 (2e)와 같게 된다. 따라서 판매결과는 단품→소계→현금마감→OBR→데이타의 순이된다. 그러나 상기와 같은 종래의 방식은 OBR데이타 수신중에 키보드와 다른 입력기기들로부터 데이타가 들어오면, OBR데이타 수신의 수신하고 해당 데이타를 먼저 수신하게 되며, 이로인해 OBR데이타를 재동록 해야 하거나 또는 다른 고객이 판매과정에 포함될 수 있었으므로 판매 매장의 정확성을 유지할 수 없었던 문제점들이 있었다.Then, when the cash close key of the keyboard 1 is pressed at the time (D) of receiving the OBR data, the CPU 6 processes this signal prior to the OBR data processing as described above. Therefore, when the sales information of the keyboard 1 is generated, the type of data received by the CPU 6 as a result of being processed in preference to the interruption of the OBR 2 is equal to (2e). Therefore, the sales results are in the order of single item → subtotal → cash deadline → OBR → data. However, in the conventional method as described above, when data is input from the keyboard and other input devices during OBR data reception, the OBR data reception is received and the corresponding data is received first, which causes the OBR data to be reregistered or other customers. There were problems that could not be maintained in the accuracy of the sales store because it could be included in the sales process.

따라서 본 발명의 목적은 포스터미널에서 입력장치의 데이타길이에 관계없이 판매정보의 발생순서를 유지하며 데이타를 수신할 수 있도록 할 수 있는 판매순서 유지회로를 제공함에 있다.Accordingly, an object of the present invention is to provide a sales order maintenance circuit that can receive data while maintaining the generation order of sales information regardless of the data length of the input device in the poster terminal.

이하 본 발명을 도면을 참조하여 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the drawings.

제3도는 본 발명의 구성도로서, 입력장치와, 키보드(10), OBR(11), MCR(12)의 상기 입력장치들로부터 발생되는 판매정보 발생신호를 인터럽트 신호로 감지하여 처리하는 CPU(30)를 구비한 포스터미널에서 상기 입력장치들에서 발생되는 인터럽트 요구신호의 발생순서를 유지하며 상기 CPU(30)로 인터럽트 신호를 발생하는 인터럽트 제어회로(40)를 연결한다.3 is a configuration diagram of the present invention, including an input device, a CPU for detecting and processing a sales information generation signal generated from the input devices of the keyboard 10, the OBR 11, and the MCR 12 as an interrupt signal ( A poster terminal having 30) maintains the generation order of interrupt request signals generated by the input devices and connects the interrupt control circuit 40 to generate an interrupt signal to the CPU 30.

제4도는 제3도중 인터럽트 제어부의 구체회로도로서, 인버터(20) 및 낸드게이트(21)로 구성되어, 데이타 버스로 출력되는 데이타 중에서 OBR앤드게이타를 검출하여 OBR종료 신호를 발생하는 수단과, 9진 카운터(23) 및 3강태 버퍼(22)로 구성되어 상기 변환 클럭을 계수하여 OBR앤드데이타가 데이타 버스상에 출력완료시 사이 제2제어 신호의 톨로를 "온"시키는 수단과, 플립플롭(24)로서 OBR인지 신호 발생시 제1제어 신호를 래치하고, OBR종료신호 발생시 제1제어 신호를 중지시키고 제2제어 신호로 천이하는 수단과, 3상태 버퍼(19)로서 상기 제2제어 신호 발생시 키보드(10) 및 MCR(12)의 인터럽트 요구신호 통로를 형성하고 제1제어신호 발생시 키보드(10) 및 MCR(12)의 통로를 차단하는 수단으로 구성되어 있다.4 is a detailed circuit diagram of the interrupt controller in FIG. 3, which includes an inverter 20 and a NAND gate 21, means for generating an OBR end signal by detecting an OBR operator from data output to a data bus; Means comprising a hexadecimal counter 23 and a tertiary buffer 22 to count the conversion clock to " on " the toll of the second control signal between when the OBR & Means for latching a first control signal when an OBR acknowledgment signal is generated, and for stopping the first control signal and transitioning to a second control signal when an OBR termination signal is generated, and when the second control signal is generated as a three-state buffer 19 (24). And a means for forming an interrupt request signal path of the keyboard 10 and the MCR 12, and blocking the path of the keyboard 10 and the MCR 12 when the first control signal is generated.

제5도는 제4도와 같은 인터럽트 제어회로를 구성하였을시 판매정보 발생순서에 따라 데이타가 처리됨을 도시하는 파형도이다.FIG. 5 is a waveform diagram showing that data is processed in the order of generating sales information when the interrupt control circuit as shown in FIG.

제6도는 CPU(30)에서 인터럽트 발생에 따라 판매정보의 발생순서를 유지하면서 데이타를 처리하는 흐름도이다.6 is a flowchart in which the CPU 30 processes data while maintaining the generation order of sales information in accordance with the occurrence of an interrupt.

상술한 구성에 의거 본 발명을 제3,4,5,6도를 참조하여 상세히 설명한다. 먼저 포스터미널의 입력장치로는 키보드(10), OBR(11), MCR(12)등이 있는데, 이중 OBR(11)에 발생하는 바코드 정보는 스타트 및 앤드 OBR데이타(start, and OBR data) 2바이트를 포함하는 다수개의 바이트로 이루어진다. 따라서 CPU(30)는 OBR(11)의 데이타 수신시에 다른 입력장치로 부터 인터럽트 요구신호를 받지 못하도록 하여 OBR(11)의 데이타를 처리할 수 있도록 해야 한다. 먼저 키보드(10)에서 인터럽트 요구신호(이하 KBDREQ라 칭함) 발생시의 동작 과정을 살펴보자 키보드(10)에서 KBD REQ신호가 발생되면, 이 신호는 인터럽트 제어부(14) 및 3상태버퍼(19)로 인가된다. 이때 3상태버퍼(19)에는 플립플롭(25)에서 "하이"상태의 제2제어신호를 발생하고 있는 상태이므로, 상기 KBDREQ 신호는 오아게이트(17)를 통해 앤드게이트(18)의 일측 입력이 된다. 또한 인터럽트 제어부(14)는 상기 KBD REQ신호에 응답하여 KBDACK신호를 발생하며, 이로인해 디코더(15)를 출력하는 상기 KBD ACK신호는 오아게이트(16)를 통해 앤드게이트(18)의 타측 입력으로 인가된다.Based on the above configuration, the present invention will be described in detail with reference to FIGS. 3, 4, 5, and 6. FIG. First, the input device of the poster terminal includes the keyboard 10, the OBR 11, the MCR 12, and the bar code information generated in the OBR 11 is started and OBR data. It consists of a number of bytes including bytes. Therefore, the CPU 30 should be able to process the data of the OBR 11 by not receiving an interrupt request signal from another input device when receiving the data of the OBR 11. First, an operation process when an interrupt request signal (hereinafter referred to as KBDREQ) is generated in the keyboard 10 will be described. When a KBD REQ signal is generated in the keyboard 10, the signal is transferred to the interrupt control unit 14 and the tri-state buffer 19. Is approved. In this case, since the third control buffer 19 generates the second control signal of the "high" state in the flip-flop 25, the KBDREQ signal has one input of the AND gate 18 through the oragate 17. do. In addition, the interrupt control unit 14 generates a KBDACK signal in response to the KBD REQ signal, whereby the KBD ACK signal outputting the decoder 15 is transmitted to the other input of the AND gate 18 through the oragate 16. Is approved.

따라서 앤드게이트(18)는 CPU(30)로 인터럽트 신호를 발생하게 된다.Thus, the AND gate 18 generates an interrupt signal to the CPU 30.

두번째로 MCR(12)의 인터럽트 요구신호(이하 "MCR REQ"라 칭함)가 발생한 경우, 상기 OBR REQ신호는 오아게이트(17)를 통해 앤드게이트(18)의 일측 입력으로 인가되는 동시에 인터럽트 제어부(14)로 인가되며, 이때 인터럽트제어부(14)는 상기 OBR REQ신호에 의해 OBR ACK 신호를 발생한다. 그러면 디코더(15)는 상기 OBR ACK 신호를 오아게이트(16)를 통해 앤드게이트(18)의 타측입력으로 인가함으로서, CPU(20)은 인터럽트 신호가 공급된다.Secondly, when an interrupt request signal (hereinafter referred to as "MCR REQ") of the MCR 12 is generated, the OBR REQ signal is applied to the one side input of the AND gate 18 through the oragate 17 and at the same time the interrupt control unit ( 14), the interrupt control unit 14 generates an OBR ACK signal by the OBR REQ signal. The decoder 15 then applies the OBR ACK signal to the other input of the AND gate 18 through the oragate 16, so that the CPU 20 is supplied with an interrupt signal.

또한 상기 디코더(15)의 OBR ACK신호는 플립플롭(25)의 클럭단으로 인가되므로, 플립플롭(25)는 상기OBR ACK신호에 의해 동작되어 "로우"상태의 제1제어 신호를 반전출력 단자(Q)로 출력한다. 따라서 3상태버퍼(19)는 디스에이블 되어 KBD REQ 신호와 MCR REQ신호의 통로를 차단하게 된다.In addition, since the OBR ACK signal of the decoder 15 is applied to the clock end of the flip-flop 25, the flip-flop 25 is operated by the OBR ACK signal to convert the first control signal of the "low" state to the inverted output terminal. Output as (Q). Thus, the tri-state buffer 19 is disabled to block the passage of the KBD REQ signal and the MCR REQ signal.

따라서 OBR(12)에서 데이타 발생시 마다 앤드게이트(18)는 인터럽트 신호를 발생하게 되며, 키보드(10)및 MCR(11)의 판매정보는 잠시중단된다. 이때 OBR(11)을 출력하는 직렬 데이타는 직/병렬 변환부(Serial Input Parellall Output)(13)로 인가되며, 클럭(CK1)에 의해 직렬로 변환되어 데이타 버스에 실리게 된다. 이때 데이타 버스에 실린 데이타는 인버터(20)를 통해 낸드게이트(21)로 인가되는데, 이는 OBR의 앤드 데이타를 검출하기 위함이다. 이때 OBR(11)의 앤드데이타가 40H(0100.0000)라면 인버터(20)를 통해 FFH로 변환되고, 이로인해 낸드게이트(21)는 "로우"신호를 출력한다. 이때 9진 카운터(23)는 상기 직/병렬 변환부(13)의 클럭(CK1)과 동일한 클럭(CK1)을 카운트 하는데, 이는 8비트의 직렬 데이타가 병렬 데이타로 완전히 변환된 후에 3상태버퍼(22)를 열어 OBR 앤드데이타의 검출신호를 통과시키기 위함이다.Therefore, whenever the data is generated in the OBR 12, the AND gate 18 generates an interrupt signal, and the sales information of the keyboard 10 and the MCR 11 is temporarily interrupted. At this time, the serial data outputting the OBR 11 is applied to a serial input / parallel output unit 13, and is serially converted by the clock CK1 and loaded on the data bus. At this time, the data loaded on the data bus is applied to the NAND gate 21 through the inverter 20, in order to detect the AND data of the OBR. At this time, if the end data of the OBR 11 is 40H (0100.0000), it is converted into FF H through the inverter 20, whereby the NAND gate 21 outputs a "low" signal. At this time, the hexadecimal counter 23 counts the same clock CK1 as the clock CK1 of the serial / parallel conversion unit 13, which is a tri-state buffer (8-bit serial data) after being completely converted into parallel data. 22) to open the OBR and data detection signal.

이는 직/병렬 변환부(13)에서 병렬변환 종료시점에서 통로를 인에이블 시키므로서, 변환 과정에서의 발생할 수 있는 40H데이타는 OBR앤드데이타로 처리하지 않기 위함이다. 따라서 OBR앤드데이타 발생시 3상태버퍼(22)가 인에이블되면, "로우"상태의 신호가 플립플롭(24)의 클리어 단자로 인가된다. 그러면 플립플롭(24)의 반전 출력단자(Q)의 출력은 "로우"상태의 제1제어 신호에서 "하이"상태의 제2제어 신호로 천이되며, 이로인해 3상태버퍼(19)가 인에이블되어 KBD REQ 및 MCR REQ의 통로를 형성하여 준다. 여기서 제5도의 (5e)와 같이 판매순서가 단품→OBR→소계→현금마감 순으로 이루어진 경우를 살펴보면, t1시점에서 플립플롭(24)은 "하이"상태의 제2제어 신호를 발생하고 있는 상태이다.This is because the serial / parallel conversion unit 13 enables the passage at the end of the parallel conversion, so that 40H data that may occur in the conversion process is not treated as OBR end data. Therefore, when the tri-state buffer 22 is enabled at the time of OBR and data generation, a signal of the "low" state is applied to the clear terminal of the flip-flop 24. The output of the inverted output terminal Q of the flip-flop 24 then transitions from the first control signal in the "low" state to the second control signal in the "high" state, thereby enabling the three-state buffer 19 to be enabled. It forms the passage of KBD REQ and MCR REQ. Here, as shown in (5e) of FIG. 5, the sales order is in the order of single item → OBR → subtotal → cash close. At the time t1, the flip-flop 24 generates the second control signal in the “high” state. to be.

따라서 (5a)와 같은 키보드(10)의 KBD REQ 신호는 3상태버퍼(19) 및 오아게이트(17)를 통해 앤드게이트(18)로 인가되며, 또한 인터럽트제어부(14)는 상기 KBD REQ 신호에 의해 KBD ACK신호를 발생하여 앤드게이트(18)로 인가한다. 따라서 앤드게이트(18)는 CPU(30)로 (5c)와 같은 인터럽트 신호를 발생한다. 이때 키보드(10)를 출력하는 8비트 직렬 데이타는 직/병렬 변환부(13)를 통해 8비트 병렬 데이타로 변환되어 데이타 버스에 (5d)와 같이 실리게 되며, CPU(30)는 상기 인터럽트 신호에 의해 데이타 버스상에 실려있는 단품정보를 리드하여 버퍼에 저장한 후 처리하게 된다. 이때 t2시점에서 (5b)와 같이 OBR REQ 신호가 발생되면, 이 신호는 앤드게이트(18)로 인가되는 동시에 인터럽트 제어부(14)로 인가되며, 인터럽트 제어부(14)는 이 신호에 의해 OBR ACK신호를 발생하여 디코더(15) 및 오아게이트(16)를 통해 앤드게이트(18)로 인가한다. 이때 디코더(15)를 출력하는 OBR ACK 신호는 플립플롭(24)의 클럭으로 인가되므로, 플립플롭(24)은 상기 3상태버퍼(19)를 디스에이블 시키기 위한 제1제어 신호를 발생하며, 이로인해 KBD REQ 및 OBR REQ신호의 발생은 차단된다. 그러므로 앤드게이트(18)에서는 OBR(11)에서 발생하는 (5b)와 같은 OBR REQ신호에 의해(5c)와 같은 인터럽트 신호를 연속발상 시키며, CPU(30)는 상기 인터럽트신호에 의해 데이타 버스상에 실려있는 (5d)와 같은 데이타를 연속수신 하게 된다. 이때 인버터(20) 및 낸드게이트(21)는 OBR의 앤드데이타 발생유무를 검출하게 되는데, 앤드데이타 40H를 검출하면 "로우"상태를 발생한다. 따라서 상기 앤드 데이타 40H가 데이타 버스상에 완전히 실리게되면, 카운터(23)는 상기 3상태 버퍼(22)를 인에이블 시키며, 이로인해 낸드게이트(21)의 로우신호(OBR 데이타 종료신호)는 플립플롭(24)를 클리어 시키게 된다. 이때 플립플롭(24)은 제1제어 신호에서 "하이"상태의 제2제어신호로 천이되며, 이로인해 3상태 버퍼(19)가 인에이블 되어 다음에 발생할 수 있는 KBD REQ 및 MCR REQ의 통로를 형성한다.Accordingly, the KBD REQ signal of the keyboard 10 such as 5a is applied to the AND gate 18 through the tri-state buffer 19 and the oragate 17, and the interrupt controller 14 is connected to the KBD REQ signal. This generates a KBD ACK signal and applies it to the AND gate 18. Therefore, the AND gate 18 generates an interrupt signal such as 5c to the CPU 30. At this time, the 8-bit serial data outputting the keyboard 10 is converted into 8-bit parallel data through the serial / parallel converter 13 and loaded on the data bus as 5d, and the CPU 30 transmits the interrupt signal. This process reads the part information on the data bus, stores it in a buffer, and processes it. At this time, when the OBR REQ signal is generated as shown in (5b) at the time t2, this signal is applied to the AND gate 18 and to the interrupt control unit 14, and the interrupt control unit 14 generates the OBR ACK signal by this signal. Is generated and applied to the AND gate 18 through the decoder 15 and the oragate 16. At this time, since the OBR ACK signal outputting the decoder 15 is applied to the clock of the flip-flop 24, the flip-flop 24 generates a first control signal for disabling the three-state buffer 19, and thus As a result, the generation of the KBD REQ and OBR REQ signals is blocked. Therefore, the AND gate 18 continuously generates an interrupt signal such as 5c by an OBR REQ signal such as (5b) generated by the OBR 11, and the CPU 30 generates an interrupt signal on the data bus by the interrupt signal. Continuously receive data such as (5d). At this time, the inverter 20 and the NAND gate 21 detect the presence or absence of the end data of the OBR. When the end data 40H is detected, the inverter 20 and the NAND gate 21 generate a "low" state. Therefore, when the AND data 40H is completely loaded on the data bus, the counter 23 enables the tri-state buffer 22, whereby the low signal (OBR data end signal) of the NAND gate 21 is flipped. The flop 24 will be cleared. In this case, the flip-flop 24 transitions from the first control signal to the second control signal of the "high" state, thereby enabling the tri-state buffer 19 to enable passage of KBD REQ and MCR REQ which may occur next. Form.

따라서 T2시점에서 T3시점까지 연속적으로 발생되는 OBR의 데이타를 연속적으로 처리할 수 있으므로서 판매순서를 유지할 수 있다. 이때 CPU(30)는 인터럽트 발생시 마다 제6도와 같은 흐름을 수행하여, (A2)단계에서 인터럽트 종류(KBD REQ, OBR REQ, MCR REQ)를 분석한 후, KBD REQ 또는 MCR REQ 일시에는 (A3)단계에서 버퍼에 저장한다. 그리고(A4)단계에서 OBR플래그를 검사하여 리세트 상태일시에는 해당 수신데이타를 처리하고, 세트 상태일시에는 OBR데이타 수신을 위해 처리없이 리턴한다. 또한 OBR REQ 일시에는 (A5)단계에서 OBR플래그를 분석하며, 리세트 상태일시에는 OBR스타트 데이타가 입력된 경우이므로 (Ae)단계에서 OBR플래그를 세트시키고, 해당 데이타를 버퍼에 저장시킨후 리턴하고, OBR앤드 데이타가 수신될 때까지 연속 수신되는 데이타를 버퍼에 저장한다. 그러나 (A6)단계에서 OBR앤드데이타가 감지되며, (A7)단계에서 앤드데이타를 버퍼에 저장하고 OBR플래그를 리세트 시킨후 버퍼에 저장하고 있던 OBR데이타들은 읽어 처리한다.Therefore, the OBR data can be processed continuously from the time point T2 to the time point T3, thereby maintaining the sales order. At this time, the CPU 30 performs the flow as shown in FIG. 6 every time an interrupt occurs, analyzes the interrupt type (KBD REQ, OBR REQ, MCR REQ) in step (A2), and then executes (A3) at the time of KBD REQ or MCR REQ. Store in a buffer in a step. In step (A4), the OBR flag is checked to process the corresponding received data in the reset state, and returned without processing to receive the OBR data in the set state. In addition, the OBR flag is analyzed in the step (A5) at the OBR REQ date and time, and the OBR start data is entered in the reset state, so set the OBR flag in the step (Ae), save the data in the buffer, and return. In this case, the data is continuously stored in the buffer until the OBR end data is received. However, in step (A6), OBR end data is detected, and in step (A7), the end data is stored in the buffer, the OBR flag is reset, and the OBR data stored in the buffer are read and processed.

상술한 바와 같이 다수개의 입력 장치들을 사용하는 포스터미널에서, 입력되는 판매정보를 발생순서대로 처리할 수 있도록 유지할 수 있으므로, 판매 과정에서 발생될 수 있는 등록실수를 제거할 수 있어 재등록이나 정보의 혼란등을 방지할 수 있는 이점이 있다.In the poster terminal using a plurality of input devices as described above, it is possible to maintain the input sales information to be processed in the order of occurrence, thereby eliminating the registration errors that may occur during the sales process to re-registration or information There is an advantage that can prevent confusion.

Claims (1)

판매정보 발생장치인, 키보드.OBR,MCR등의 입력 장치와, 인터럽트 신호에 의해 데이타 버스상의 정보를 리드하여 처리하는 제어부, 상기 입력장치들로 부터 발생되는 인터럽트 요구신호에 대한 인지신호를 발생하는 동시에 상기 CPU로 이를 알리는 인터럽트 제어부와, 상기 인터럽트 요구신호와 인지신호 발생시 상기 CPU로 인터럽트 신호를 발생하는 수단을 구비한 포스터미널의 판매순서 유지회로에 있어서, 상기 데이타 버스상의 판매정보 데이타를 입력하여 OBR앤드데이타 검출시 OBR종료신호를 발생하는 수단과, 상기입력장치의 직렬데이타가 데이타 버스상에 병렬 데이타로 실리는 주기를 카운트하여 상기 OBR 종료신호의 통로를 인에이블 시키는 수단과, 상기 OBR의 인터럽트 인지신호 발생시 제1제어 신호를 래치하고, 상기 OBR 종료신호 발생시 제1제어 신호를 제2제어 신호로 천이하는 수단과, 상기 키보드 및 MCR과 인터럽트 신호발생 수단 사이에 연결되어 상기 제2제어 신호발생시 인터럽트 통로를 형성하고 제1제어 신호발생시 차단하는 수단을 구비하여 입력장치에서 발생하는 판매정보의 길이에 관계없이 발생순서를 유지시켜 정보를 처리할 수 있도록 동작함을 특징으로 하는 포스터미널의 판매순서 유지회로.An input device such as a keyboard, OBR, MCR, a sales information generating device, a control unit that reads and processes information on a data bus by means of an interrupt signal, and generates an acknowledgment signal for an interrupt request signal generated from the input devices. In the sales order maintaining circuit of Foster Terminal, which has an interrupt control unit for notifying the CPU of the same, and means for generating an interrupt signal to the CPU when the interrupt request signal and acknowledgment signal are generated, the sales information data on the data bus is inputted. Means for generating an OBR end signal upon detection of OBR end data, means for enabling the passage of the OBR end signal by counting a period in which serial data of the input device is carried as parallel data on a data bus, and When the interrupt acknowledgment signal is generated, the first control signal is latched, and when the OBR end signal is generated, the first control signal is latched. Means for translating a signal to a second control signal, and connected between the keyboard and the MCR and an interrupt signal generating means to form an interrupt passage when the second control signal is generated and to block when the first control signal is generated; A sales order maintenance circuit for poster terminal, characterized in that it operates to process information by maintaining a generation order regardless of the length of sales information that occurs.
KR1019900000499A 1990-01-17 1990-01-17 Circuit for queue maiutenance on pos terminal KR920006281B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019900000499A KR920006281B1 (en) 1990-01-17 1990-01-17 Circuit for queue maiutenance on pos terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019900000499A KR920006281B1 (en) 1990-01-17 1990-01-17 Circuit for queue maiutenance on pos terminal

Publications (2)

Publication Number Publication Date
KR910014831A KR910014831A (en) 1991-08-31
KR920006281B1 true KR920006281B1 (en) 1992-08-03

Family

ID=19295341

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019900000499A KR920006281B1 (en) 1990-01-17 1990-01-17 Circuit for queue maiutenance on pos terminal

Country Status (1)

Country Link
KR (1) KR920006281B1 (en)

Also Published As

Publication number Publication date
KR910014831A (en) 1991-08-31

Similar Documents

Publication Publication Date Title
USRE37635E1 (en) System for enabling decoding of bar code and other symbols with a digital microcomputer connected via the input/output port thereof to the scanner
JPS5836392B2 (en) Data signal processing method and processing device
EP0789304B1 (en) Interrupt signal protocol
KR920006281B1 (en) Circuit for queue maiutenance on pos terminal
NL8204870A (en) DEVICE WITH A CONTROLLER INDICATED BY A SAVED PROGRAM.
JPH034391A (en) Data input device and goods sale data processor using the same
CN101276292B (en) Interrupt synthetic method and apparatus as well as modularization host computer system
JP2584549B2 (en) Product sales data processing device
JPH04308995A (en) Cash register with memory card
JPH064331A (en) Decimal check circuit
JPH1011657A (en) Cash drawer controller
JP2549408B2 (en) POS terminal designated cancellation device
JP2753542B2 (en) Barcode detection device
SU526899A1 (en) Communication process
JPS6398081A (en) Bar code reader
JPS60218135A (en) Data processor
KR930003992B1 (en) Method of connecting terminals in electrical cash register
JPH0444112A (en) Key input processing circuit
JPH0355690A (en) Sales data processor
JPH0512013A (en) Data processor
JPS6227431B2 (en)
KR970049490A (en) Interrupt controller
JPH0546573B2 (en)
JPS62212891A (en) Code reading controller
JPH04104312A (en) Composite input device

Legal Events

Date Code Title Description
A201 Request for examination
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: 20000726

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee