KR960005289B1 - Remote control system and the method of a vending machine - Google Patents

Remote control system and the method of a vending machine Download PDF

Info

Publication number
KR960005289B1
KR960005289B1 KR1019930028356A KR930028356A KR960005289B1 KR 960005289 B1 KR960005289 B1 KR 960005289B1 KR 1019930028356 A KR1019930028356 A KR 1019930028356A KR 930028356 A KR930028356 A KR 930028356A KR 960005289 B1 KR960005289 B1 KR 960005289B1
Authority
KR
South Korea
Prior art keywords
coupler
vending machine
line
received
multiple access
Prior art date
Application number
KR1019930028356A
Other languages
Korean (ko)
Other versions
KR950020322A (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 KR1019930028356A priority Critical patent/KR960005289B1/en
Publication of KR950020322A publication Critical patent/KR950020322A/en
Application granted granted Critical
Publication of KR960005289B1 publication Critical patent/KR960005289B1/en

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F9/00Details other than those peculiar to special kinds or types of apparatus
    • G07F9/02Devices for alarm or indication, e.g. when empty; Advertising arrangements in coin-freed apparatus
    • G07F9/026Devices for alarm or indication, e.g. when empty; Advertising arrangements in coin-freed apparatus for alarm, monitoring and auditing in vending machines or means for indication, e.g. when empty
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/30Arrangements in telecontrol or telemetry systems using a wired architecture

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)

Abstract

The remote control system in a vending machine, comprises a plurality of vending machines for transferring, to transfer parts, state information showing a current operation state in response to the reception of requirement information used for requiring its own operation state; a plurality of couplers for transmitting the requirement information to the vending machine, scanning the operation state of the vending machine, storing the state information on abnormal state, and transmitting the stored information to a corresponding line in response to the reception of the requirement information; the plurality of couplers being connected in parallel with both of the lines and the vending machine; a line multi-connecting unit for selecting the lines in series, transmitting the selected line to the coupler, scanning the couplers, and receiving the stored requirement information from the corresponding coupler; a multiplexor for connecting the lines selected in series by the line multi-connecting unit to the line multi-connecting unit, the multiplexor being coupled with the line through a divider; and a system controlling unit for inputting and processing the state information from the line multi-connecting unit.

Description

자동판매기 원격관리시스템 및 그 방법Vending machine remote management system and method

제1도는 종래의 자동판매기 원격관리시스템의 시스템 구성도.1 is a system configuration of a conventional vending machine remote management system.

제2도는 종래의 원격정보처리시스템의 시스템 구성도.2 is a system configuration diagram of a conventional remote information processing system.

제3도는 제2도중 멀티플레서 및 선로다중접속장치의 블럭구성도.3 is a block diagram of a multiplexer and a line multiple access device in FIG.

제4도는 제2도중 커플러의 블럭구성도.4 is a block diagram of a coupler in FIG.

제5도는 본 발명에 따른 자동판매기 원격관리시스템의 시스템 구성도.5 is a system configuration of a vending machine remote management system according to the present invention.

제6도는 제5도중 멀티플렉서 및 선로다중접속장치의 블럭구성도.6 is a block diagram of a multiplexer and a line multiple access device of FIG.

제7도는 제5도중 커플러의 블럭구성도.7 is a block diagram of a coupler in FIG.

제8도는 제5도중 자동판매기의 블럭구성도.8 is a block diagram of a vending machine in FIG.

제9도 및 제10도는 본 발명에 따른 선로다중접속장치의 처리흐름도.9 and 10 are processing flow diagrams of the line multiple connection apparatus according to the present invention.

제11도 내지 제13도는 본 발명에 따른 커플러의 처리흐름도.11 to 13 show a flow chart of a coupler according to the present invention.

제14도는 본 발명에 따른 자동판매기의 처리흐름도.14 is a flow chart of the vending machine according to the present invention.

제15도 내지 제17도는 본 발명에 따른 원격관리정보의 처리흐름도.15 to 17 is a flow chart of the process of remote management information according to the present invention.

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

500 : 통신 네트 웍 501 : 분배기500: communication network 501: distributor

502 : 멀티플렉서 503 : 선로다중접속장치502: multiplexer 503: line multiple connection device

504 : 커플러 505 : 핸드셋504: coupler 505: handset

506 : 가입자선로 508 : 컴퓨터센터506: subscriber line 508: computer center

509 : 자판기관리 컴퓨터 512 : 자판기.509: vending machine management computer 512: vending machine.

본 발명은 자동판매기(이하 "자판기"라 칭함) 원격관리시스템 및 방법에 관한 것으로, 특히 공중통신망을 이용하여 다수의 자판기를 원격으로 관리하는 원격관리시스템 및 방법에 관한 것이다.The present invention relates to a vending machine (hereinafter referred to as a "vending machine") remote management system and method, and more particularly to a remote management system and method for remotely managing a plurality of vending machines using a public communication network.

현재 자판기는 시간과 장소에 구애받지 않고 각종 편의용품, 식품, 음료등을 구입할 수 있는 편리함때문에 그 사용범위가 급속하게 확산되고 있을 뿐만 아니라 그 수요도 급격히 증가하고 있는 추세이다. 이러한 추세에 따라 서로 다른 장소에 위치한 다수의 자판기를 효율적으로 관리할 수 있는 기술이 요구되어 왔다.Currently, the vending machine is not only time and place, but also the convenience of purchasing a variety of convenience products, food, beverages, etc. The range of use is rapidly spreading and the demand is increasing rapidly. According to this trend, a technology for efficiently managing a plurality of vending machines located in different places has been required.

이와같은 기술의 하나로서 공중통신망에 연결된 가입자선로를 이용하여 다수의 자판기를 관리하는 기술이 있었다. 이는 이재혁씨에 의해 발명되고 금성통신 주식회사에서 대한민국에 출원하여 1993년 7월 24일자로 공개된 특허공개번호 제15584호 "자판기시스템 관리방법 및 장치"가 있다.As one of such technologies, there has been a technology for managing a plurality of vending machines using subscriber lines connected to a public communication network. This is invented by Lee Jae-hyuk, and Patent Publication No. 15584, "Vending machine system management method and apparatus" filed in the Republic of Korea at the Geumseong Communications Co., Ltd. published on July 24, 1993.

제1도는 상기한 바와 같은 특허공개번호 제93-15584호에 개시된 자판기 관리시스템의 시스템 구성을 도시한 것으로, 특허공개번호 제93-15584호에 첨부도면 제1도로서 도시되어 있으며, 시스템의 각부 제어동작은 특허공개번호 제93-15584호에 첨부도면 제2(a)도-제2(c)도로서 도시되어 있다.FIG. 1 shows the system configuration of the vending machine management system disclosed in Patent Publication No. 93-15584, as shown in FIG. 1 as an accompanying drawing in Patent Publication No. 93-15584. The control operation is shown in FIGS. 2 (a) to 2 (c) in the accompanying patent publication No. 93-15584.

특허공개번호 제93-15584호를 참조하여 제1도의 구성을 살펴보면, 12개의 DTMF 톤 코드조합을 송수신하고 수신된 DTMF 톤을 디스플레이해주는 마스터 전화기(10)와, 마스터 전화기(10)를 유선전화선로로 다수개의 슬레이브 전화기(T1-Tn)와 연결해주는 교환국(20)과, DTMF 송수신이 가능하고 마스터 전화기(10)로부터 링접수시 자동으로 오프 훅크를 하며 각 자판기와 데이타를 주고받기 위한 송수신부를 포함하는 n개의 슬레이브 전화기(T1-Tn)와, 다수개의 슬레이브 전화기(T1-Tn)와 데이타 송수신 전용라인을 통하여 데이타를 송수신하고 센서수단을 이용하여 내부 점검을 하며 이를 콘트롤해주는 논리부를 포함하고 각 자판기마다 고유의 ID번호가 부여된 다수개의 자판기(JP1-JPnnn)로 구성되어 있다.Referring to the configuration of FIG. 1 with reference to Korean Patent Publication No. 93-15584, a master telephone 10 for transmitting and receiving twelve DTMF tone code combinations and displaying the received DTMF tones, and the master telephone 10 are wired telephone lines. Switching station 20 that connects to a plurality of slave telephones (T1-Tn), DTMF transmission and reception is possible, and automatically off-hook when receiving a ring from the master telephone 10 includes a transceiver for transmitting and receiving data with each vending machine Each of the vending machines includes a logic unit for transmitting and receiving data through an n-slave phone (T1-Tn), a plurality of slave phones (T1-Tn) and a dedicated data transmission / receiving line, and performing an internal check using a sensor means. It is composed of a plurality of vending machines (JP1-JPnnn) each having a unique ID number.

제1도와 같이 구성되는 시스템의 동작을 특허공개번호 제93-15584호를 참조하여 개략적으로 살펴보면 다음과 같다.Referring to Patent Publication No. 93-15584, the operation of the system configured as shown in FIG. 1 is as follows.

우선 자판기(JP1)를 체크하고자 할 경우에 마스터 전화기(10)가 자판기(JP1)와 연결되어 있는 슬레이브 전화기(T1)로 다이얼링하면, 슬레이브 전화기(T1)는 마스터 전화기(10)로부터의 다이얼링신호에 대한 자동 오프 훅크 응답신호를 마스터 전화기(10)로 전송한다. 그러면 마스터 전화기(10)는 자판기(JP1)의 상태를 체크하기 위한 DTMF 톤신호를 슬레이브 전화기(T1)로 전송한다. DTMF 톤신호를 수신한 슬레이브 전화기(T1)는 마스터 전화기(10)로부터의 자판기 상태체크명령 DTMF 톤신호를 엔코딩 분석하여 ID번호를 부여받은 자판기(JP1)로 상태체크명령과 ID번호로 구성된 데이타를 전송한다. 상기 데이타를 수신한 슬레이브 전화기(T1)는 동작 이상유무상태와 물류재고를 검출하여 점검하고 그 결과를 DTMF 톤신호로 디코딩하여 조합한 후, 마스터 전화기(10)로 전송한다. 이를 수신한 마스터 전화기(10)는 사용자에게 음성이나 디스플레이장치를 통해 알려준다. 이후 상기 한 동작을 각각의 자판기에 대하여 순차적으로 수행한다.First of all, when the user wants to check the vending machine JP1, the master phone 10 dials the slave phone T1 connected to the vending machine JP1, and the slave phone T1 responds to the dialing signal from the master phone 10. The automatic off hook response signal is transmitted to the master telephone 10. Then, the master telephone 10 transmits a DTMF tone signal for checking the state of the vending machine JP1 to the slave telephone T1. The slave phone T1 receiving the DTMF tone signal encodes the vending machine status check command from the master phone 10 and analyzes the DTMF tone signal and sends the data consisting of the status check command and the ID number to the vending machine JP1 assigned the ID number. send. Receiving the data, the slave telephone T1 detects and checks whether there is an abnormal operation condition and a distribution inventory, decodes the result into a DTMF tone signal, combines the result, and transmits the result to the master telephone 10. The master phone 10 receiving this informs the user through voice or display device. Thereafter, the above operation is sequentially performed for each vending machine.

그러나 상기와 같은 특허공개번호 제93-15584호는 각각의 자판기(JP1-JPnnn)의 상태를 체크하기 위하여 반드시 슬레이브 전화기(T1-Tn)마다 각각 다이얼링하여야만 함에 따라 많은 시간이 소요되는 문제점이 있었다. 또한 마스터 전화기(10)와 각 슬레이브 전화기(T1-Tn)간에 상태체크명령과 그 결과를 DTMF 톤신호로 송수신하여야만 함에 따라 전달할 수 있는 정보의 종류 및 내용이 크게 제한을 받을 뿐만 아니라 모든 자판기의 상태를 체크하기 위해서는 많은 시간이 소요되는 문제점이 있었따. 더우기 만일 통화중 상태인 가입자선로에 연결된 슬레이브 전화기가 있을 경우에는 마스터 전화기(10)와 해당 슬레이브 전화기간에 연결이 되지 못하므로 해당 슬레이브 전화기에 연결되어 있는 자판기의 상태를 체크할 수 없는 문제점이 있었다.However, Patent Publication No. 93-15584 described above has a problem in that it takes a lot of time because each slave phone T1-Tn must be dialed in order to check the state of each vending machine JP1-JPnnn. In addition, the status check command and the result between the master phone 10 and each slave phone (T1-Tn) must be transmitted / received as DTMF tone signals. Therefore, the type and content of information that can be transmitted are greatly limited, and the state of all vending machines. There was a problem that takes a lot of time to check. In addition, if there is a slave phone connected to the subscriber line in a busy state, there is a problem that the state of the vending machine connected to the slave phone cannot be checked because the master phone 10 and the slave phone cannot be connected. .

한편 각종 유저(user)단말들을 원격으로 관리하기 위한 기술로서 본원 출원인에 의해 1992년 출원된 특허출원번호 제9189호 "원격정보처리시스템"이 있다.On the other hand, there is a patent application No. 9189 "Remote information processing system" filed in 1992 by the applicant of the present application as a technique for remotely managing various user terminals.

제2도는 상기한 바와 같은 특허출원번호 제92-9189호에 개시된 원격정보처리시스템의 시스템 구성을 도시한 것으로, 특허출원번호 제92-9189호에 첨부도면 제2도로서 도시되어 있으며 상세한 설명란의 제67-8면 내지 제67-9면에 상세히 설명되어 있다.FIG. 2 shows the system configuration of the remote information processing system disclosed in Patent Application No. 92-9189 as described above, and is shown in FIG. 2 as an accompanying drawing in Patent Application No. 92-9189. Page 67-8 to pages 67-9 are described in detail.

특허출원번호 제92-9189호를 참조하여 제2도의 구성을 살펴보면 다음과 같다. 통신 네트웍(network)(200)은 기존의 음성 통신망으로 전화망 또는 인터폰망 등으로 구성될 수 있으며, 가입자의 핸드셋(205)까지의 가입자선로(206)를 연결하기 위해 사용되는 분배기(201)와 가입자선로(206)를 액세스할 수 있는 멀티플렉서(202)를 기구적으로 결합하고, 가입자선로(206)에 연결되는 핸드셋(205)과 병렬로 커플러(204)를 연결한다. 여기서 선로다중접속장치(203)를 가입자선로(206)와 용이하게 연결하여 원격정보처리시스템을 용이하게 설치하고 가입자의 증가에 따라 시스템을 유연성있게 확장할 수 있도록 하기 위해 멀티플렉서(202)를 분배기(201)에 기구적으로 결합한 것이다. 그리고 가입자의 핸드셋(205)은 전화기 또는 인터폰이 될 수 있다. 커플러(204)에는 실제 서비스를 담당하는 유저단말(212)이 접속된다. 유저단말(212)은 서비스 종류에 따라 알람(alarm)단말, 검침단말, 진료단말, 교통단말, 기타 여러가지 서비스단말등이 될 수 있다. 선로다중 접속장치(203)는 분배기(201)와 결합되는 멀티플렉서(202)를 제어하여 가입자선로(206)를 액세스함으로써 커플러(204)를 주기적으로 스캐닝하며 커플러(204)와 통신을 수행한다. 컴퓨터센터(208)는 선로다중접속장치(203)로 작업명령을 전송하고, 그 결과에 따른 작업결과 데이타 및 선로다중접속장치(203)에서 커플러(204)를 주기적으로 스캐닝한 정보를 수집한다. 공익회사(209)는 컴퓨터센서(208)로부터 수신되는 데이타를 처리하고 유저단말(212)의 모든 서비스를 관리한다.Referring to Patent Application No. 92-9189, the configuration of FIG. 2 is as follows. The communication network 200 may include a telephone network or an interphone network as an existing voice communication network, and a distributor 201 used to connect the subscriber line 206 to the subscriber's handset 205. A multiplexer 202 that can access the subscriber line 206 is mechanically coupled and couples 204 in parallel with a handset 205 that is connected to the subscriber line 206. Here, the multiplexer 202 is distributed to easily connect the line multiple access device 203 with the subscriber line 206 so that the remote information processing system can be easily installed and the system can be flexibly expanded as the number of subscribers increases. It is mechanically coupled to 201. And the subscriber's handset 205 can be a telephone or an interphone. The coupler 204 is connected to a user terminal 212 in charge of the actual service. The user terminal 212 may be an alarm terminal, a meter reading terminal, a medical examination terminal, a traffic terminal, or various other service terminals depending on the type of service. The line multiplexer 203 controls the multiplexer 202 coupled with the distributor 201 to access the subscriber line 206 to periodically scan the coupler 204 and communicate with the coupler 204. The computer center 208 transmits a work command to the line multiple access device 203, and collects work result data and information periodically scanned by the coupler 204 in the line multiple access device 203 according to the result. Utility company 209 processes the data received from computer sensor 208 and manages all services of user terminal 212.

상기한 제2도의 원격정보처리시스템을 공중통신망인 통신 네트웍(200)을 이용하여 다수의 자판기를 원격으로 관리하기 위한 자판기 원격관리시스템에 적용할 경우 각 자판기는 유저단말(212)에 해당되며 자판기 관리사의 자판기관리 컴퓨터는 공익사회(209)에 해당된다.When the remote information processing system of FIG. 2 is applied to a vending machine remote management system for remotely managing a plurality of vending machines using a communication network 200 which is a public communication network, each vending machine corresponds to a user terminal 212. The vending machine management computer of the manager corresponds to the public interest society 209.

이하 상기와 같이 구성되는 제2도의 개략적인 동작을 특허출원번호 제92-9189호를 참조하여 설명한다.Hereinafter, a schematic operation of FIG. 2 configured as described above will be described with reference to Patent Application No. 92-9189.

첫번째로 유저단말(212)에 대한 공익사호(209)의 데이타 요구가 없음에 따라 컴퓨터센터(208)로부터 작업 명령이 없는 경우, 선로다중접속장치(203)는 커플러(204)들을 순차적으로 스캐닝(scanning)한다. 이때 선로다중접속장치(203)는 멀티플렉서(202)를 제어하여 커플러(204)를 연결한 후 가입자선로(206)의 사용유무를 체크한다. 여기서 작업명령이라 함은 예를 들어 유저단말(212)의 검침값등을 요구하는 명령등을 말한다. 다음에 가입자선로(206)의 사용여부에 따라 가청주파수 및 비가청주파수를 이용하여 커플러(204) 및 유저단말(212)의 동작상태를 문의한다. 이때 필요시 커플러(204)로부터 이상상태정보를 수신하여 컴퓨터센터(208)로 통보한다. 여기서 유저단말(212)의 동작상태는 정상적으로 동작하는 정상상태와 이상이 발생한 이상상태로 구분된다. 이후 상기한 동작을 각각의 커플러(204)에 대하여 순차적으로 수행한다.First, when there is no work command from the computer center 208 due to the absence of the data request of the public service number 209 for the user terminal 212, the line multiple access device 203 sequentially scans the couplers 204 ( scanning). At this time, the line multiple access device 203 controls the multiplexer 202 to connect the coupler 204 and then checks whether the subscriber line 206 is used. Herein, the work command means, for example, a command for requesting a meter reading value or the like of the user terminal 212. Next, the operation state of the coupler 204 and the user terminal 212 is inquired using the audible frequency and the inaudible frequency depending on whether the subscriber line 206 is used. At this time, when necessary, abnormal state information is received from the coupler 204 and notified to the computer center 208. Here, the operating state of the user terminal 212 is divided into a normal state in which it normally operates and an abnormal state in which an abnormality has occurred. Thereafter, the above operation is sequentially performed for each coupler 204.

두번째로 공익사회(209)가 유저단말(212)에 대하여 데이타를 요구하는 경우, 컴퓨터센터(208)는 선로다중접속장치(203)로 작업명령메세지를 전송한다. 그러면 선로다중접속장치(203)는 멀티플렉서(202)를 제어하여 해당 유저단말(212)과 연결되어 있는 커플러(204)의 가입자선로(206)를 연결한 후 가입자선로(206)의 사용여부를 체크한다. 이때 사용중이 아닌 경우에 컴퓨터센터(208)로부터 수신한 작업명령메세지를 커플러(204)로 전송함으로써 커플러(204)와 유저단말(212)간의 통신을 통해 해당 유저단말(212)이 해당 작업을 수행토록 한다. 이후 유저단말(212)에서 해당 작업을 수행한 후 발생되는 작업결과 정보를 커플러(204)로부터 수신하여 컴퓨터센터(208)로 전송한다.Secondly, when the public interest society 209 requests data from the user terminal 212, the computer center 208 transmits a work instruction message to the line multiple access device 203. Then, the line multiple access device 203 controls the multiplexer 202 to connect the subscriber line 206 of the coupler 204 connected to the corresponding user terminal 212, and then the use of the subscriber line 206 is performed. Check At this time, when not in use, the user terminal 212 performs the operation through the communication between the coupler 204 and the user terminal 212 by transmitting the work command message received from the computer center 208 to the coupler 204. Do it. Thereafter, the user terminal 212 receives the work result information generated after performing the corresponding work from the coupler 204 and transmits the result to the computer center 208.

제3도는 제2도중 멀티플렉서(202) 및 선로다중접속장치(203)의 블럭구성도로서, 특허출원번호 제92-9189호에 첨부도면 제3a도로서 도시되어 있으며 상세한 설명란의 제67-10면 내지 제67-13면에 상세히 설명되어 있다. 특허출원번호 제92-9189호를 참조하여 제3도의 구성을 살펴보면 다음과 같다.FIG. 3 is a block diagram of the multiplexer 202 and the line multiplexing device 203 in FIG. 2, which is shown in FIG. 3A as an accompanying drawing in Patent Application No. 92-9189, and pages 67-10 in the detailed description. To pages 67-13. Looking at the configuration of Figure 3 with reference to the patent application No. 92-9189 as follows.

우선 멀티플렉서(202)의 구성을 살펴보면, 릴레이(312)들은 통신 네트웍(200)의 가입자선로(206)와 선로다중접속장치(203)의 통신선로(207) 사이에 연결되어 멀티플렉서 제어부(311)의 스캔제어신호에 의해 가입자선로(206)들을 선로다중접속장치(203)에 선택적으로 연결한다. 멀티플렉서 제어부(311)는 선로다중접속장치(203)의 멀티플렉싱 제어신호에 의해 가입자선로(206)들을 스캐닝하기 위한 스캔제어신호들을 순차적으로 출력한다.First, referring to the configuration of the multiplexer 202, the relays 312 are connected between the subscriber line 206 of the communication network 200 and the communication line 207 of the line multiple access device 203 is connected to the multiplexer control unit 311 The subscriber line 206 is selectively connected to the line multiple access device 203 by means of a scan control signal. The multiplexer controller 311 sequentially outputs scan control signals for scanning the subscriber lines 206 by the multiplexing control signal of the line multiple access device 203.

다음에 선로다중접속장치(203)의 구성을 살펴보면, 마이크로 콘트롤러(301)는 선로다중접속장치(203)의 각 부를 제어한다. 라인상태 감지부(306)는 가입자선로(206)의 사용여부를 감지하기 위해 선로다중접속장치(203)로 인입된 선로(207)의 사용여부를 감지하여 마이크로 콘트롤러(301)에 알린다. 가청주파수 발생부(302)는 가입자선로(206)를 사용하고 있지 않을때 컴퓨터센터(208)로부터의 작업요구에 따라 각 작업을 수행하기 위해 커플러(204)를 액세스하기 위한 신호를 발생한다. 가청주파수 검출부(303)는 가청주파수 발생부(302)에서 발생된 신호에 대해 커플러(204)로부터 수신되는 응답신호를 검출하여 마이크로 콘트롤러(301)에 알린다. 비가청주파수 검출부(304)는 가입자선로(206)가 사용중일 때 커플러(204)로부터 수신되는 비가청주파수를 검출하여 마이크로 콘트롤러(301)에 알린다. 커플러 통신부(305)는 필요시 커플러(204)와 통신을 수행하는 변복조장치로서 마이크로 콘트롤러(301)에 의해 제어된다. 컴퓨터 통신부(307)는 통신선로(210)를 통해 마이크로 콘트롤러(301)와 컴퓨터센터(208)간의 통신을 담당한다. 멀티플렉서 구동부(308)는 멀티플렉서 제어부(311)가 릴레이(312)들을 제어하도록 멀티플렉싱 제어신호를 발생한다.Next, the configuration of the line multiplexing device 203 will be described. The microcontroller 301 controls each part of the line multiplexing device 203. The line state detecting unit 306 detects the use of the line 207 introduced into the line multiple access device 203 to inform the microcontroller 301 of the use of the subscriber line 206. The audible frequency generator 302 generates a signal for accessing the coupler 204 to perform each task in accordance with a task request from the computer center 208 when the subscriber line 206 is not in use. The audible frequency detector 303 detects a response signal received from the coupler 204 with respect to the signal generated by the audible frequency generator 302 and informs the microcontroller 301. The inaudible frequency detector 304 detects and notifies the microcontroller 301 of the inaudible frequency received from the coupler 204 when the subscriber line 206 is in use. The coupler communication unit 305 is controlled by the microcontroller 301 as a demodulation device which communicates with the coupler 204 when necessary. The computer communication unit 307 is responsible for communication between the microcontroller 301 and the computer center 208 through the communication line 210. The multiplexer driver 308 generates a multiplexing control signal such that the multiplexer controller 311 controls the relays 312.

제4도는 제2도중 커플러(204)의 블럭구성도로서, 특허출원번호 제92-9189호에 첨부도면 제4a도로서 도시되어 있으며 상세한 설명란의 제67-13면 내지 제67-15면에 상세히 설명되어 있다. 특허출원번호 제92-9189호를 참조하여 제4도의 구성을 살펴보면 다음과 같다. 마이크로 콘트롤러(401)는 커플러(204)의 각부를 제어한다. 라인상태 감지부(406)는 커플러(204)와 병렬로 연결된 가입자선로(206)의 사용유무를 감지하여 마이크로 콘트롤러(401)에 알린다. 가청주파수 검출부(403)는 가입자선로(206)가 미사용중일 경우 선로다중접속장치(203)로부터 수신되는 가청주파수를 검출하여 마이크로 콘트롤러(401)에 알린다. 가청주파수 발생부(404)는 선로다중접속장치(203)로부터 수신되는 가청주파수에 대한 응답신호를 발생하여 선로다중접속장치(203)로 전송한다. 비가청주파수 발생부(405)는 가입자선로(206)가 사용중일 경우 커플러(204) 또는 유저단말(212)에 이상상태가 발생하거나 알람이 발생한 경우와 그렇지 않은 정상상태일 경우에 선로다중접속장치(203)로 그 상태를 전송하기 위해 비가청주파수를 발생한다. 선로다중접속장치 통신부(402)는 필요시 선로다중접속장치(203)와 통신을 하기 위한 변복조장치로서 마이크로 콘트롤러(401)에 의해 제어된다. 유저단말 접속부(407)는 서비스 단말인 유저단말(212)과의 통신을 담당하며 유저단말(212)의 상태 및 선로상태를 감지한다.4 is a block diagram of the coupler 204 of FIG. 2, which is shown in FIG. 4A as an accompanying drawing in Patent Application No. 92-9189, and is described in detail in FIGS. 67-13 to 67-67 in the detailed description. It is explained. Looking at the configuration of Figure 4 with reference to Patent Application No. 92-9189 as follows. The microcontroller 401 controls each part of the coupler 204. The line state detector 406 detects the use of the subscriber line 206 connected in parallel with the coupler 204 and informs the microcontroller 401. The audible frequency detector 403 detects an audible frequency received from the line multiple access device 203 and informs the microcontroller 401 when the subscriber line 206 is not in use. The audible frequency generator 404 generates a response signal corresponding to an audible frequency received from the line multiple access device 203 and transmits it to the line multiple access device 203. The inaudible frequency generator 405 is connected to the line multiplexing when an abnormal state occurs in the coupler 204 or the user terminal 212 when the subscriber line 206 is in use or when an alarm occurs and when the subscriber line 206 is in a normal state. Generates an inaudible frequency to transmit the state to device 203. The line multiple access device communication unit 402 is controlled by the microcontroller 401 as a modulation / demodulation device for communicating with the line multiple access device 203 when necessary. The user terminal connection unit 407 is in charge of communication with the user terminal 212, which is a service terminal, and detects the state of the user terminal 212 and the line state.

상기와 같이 구성되는 제3도의 선로다중접속장치(203)와 제4도의 커플러(204)의 개략적인 동작을 특허출원번호 제92-9189호를 참조하여 살펴보면 다음과 같다.A schematic operation of the line multiple connection device 203 of FIG. 3 and the coupler 204 of FIG. 4 configured as described above will be described with reference to Patent Application No. 92-9189.

우선 선로다중접속장치(203)에서 작업명령을 수행하지 않을 경우, 선로다중접속장치(203)는 커플러(204)에 대한 주기적인 스캐닝을 수행한다. 이때 마이크로 콘트롤러(301)는 멀티플렉서 구동부(308)를 제어하여 멀티플렉싱 제어신호를 멀트플렉서 제어부(311)로 출력함으로써 해당 릴레이(312)를 연결하여 가입자선로(206)를 전기적으로 접속한 후 라인상태 감지부(306)를 통해 가입자선로(206)의 사용여부를 검출한다.First, when the line multiple access device 203 does not perform a work command, the line multiple access device 203 performs periodic scanning of the coupler 204. At this time, the microcontroller 301 controls the multiplexer driver 308 to output the multiplexing control signal to the multiplexer controller 311 to connect the corresponding relay 312 to electrically connect the subscriber line 206 to a line. The state detecting unit 306 detects the use of the subscriber line 206.

이때 만일 미사용중이면 선로다중접속장치(203)는 가청주파수 발생부(302)를 통해 가청주파수(a)를 커플러(204)로 전송하여 상태를 문의한다. 여기서 커플러(204)는 평상시 유저단말(212)과 통신하여 유저단말(212)의 상태와 커플러(204) 자체의 상태정보를 보관하고 있게 된다. 만일 커플러(204) 또는 유저단말(212)의 상태가 정상상태일때 가청주파수(a)를 수신한 경우라면, 커플러(204)는 선로다중접속장치(203)로 가청주파수(b)를 전송한다. 그러면 선로다중접속장치(203)에서는 이를 가청주파수 검출부(303)를 통해 마이크로 콘트롤러(301)가 감지하여 정상상태로 판단하고 계속해서 다른 커플러(204)를 스캐닝한다. 그러너 커플러(204) 또는 유저단말(212)이 이상상태일때 컬플러(204)에서 가청주파수(a)를 수신한 경우라면, 커플러(204)는 가청주파수 발생부(404)를 통해 가청주파수(c)를 선로다중접속장치(203)로 일정시간 동안 전송한 후 선로다중접속장치(203)와 통신을 위한 준비를 한다. 선로다중접속장치(203)는 커플러(204)로부터 수신되는 가청주파수(c)를 가청주파수 검출부(303)를 통해 감지하면, 커플러 통신부(305)를 제어하여 커플러(204)로 이상상태의 종류를 문의하며, 문의에 따른 결과를 커플러 통신부(305)를 통해 수신하여 컴퓨터 통신부(307)를 통해 컴퓨터센터(208)로 통보한다.At this time, if not in use, the line multiple access device 203 transmits an audible frequency (a) to the coupler 204 via the audible frequency generator 302 to inquire the state. Here, the coupler 204 normally communicates with the user terminal 212 to store the state of the user terminal 212 and the state information of the coupler 204 itself. If the audible frequency a is received when the state of the coupler 204 or the user terminal 212 is in a normal state, the coupler 204 transmits the audible frequency b to the line multiple access device 203. Then, the line multiple access device 203 detects this by the audible frequency detector 303 and determines the normal state, and continuously scans the other coupler 204. However, if the coupler 204 or the user terminal 212 receives an audible frequency (a) from the coupler 204 when the abnormal state, the coupler 204 via the audible frequency generator 404 ( After c) is transmitted to the line multiple access device 203 for a predetermined time, it prepares for communication with the line multiple access device 203. When the line multiple access device 203 senses the audible frequency c received from the coupler 204 through the audible frequency detector 303, the line multiple access device 203 controls the coupler communication unit 305 to indicate the type of abnormal state to the coupler 204. Inquiries are received, and the result of the inquiry is received through the coupler communication unit 305 and notified to the computer center 208 through the computer communication unit 307.

상기한 바와 같이 선로다중접속장치(203)가 커플러(204)를 스캐닝하기 위해 가입자선로(206)를 연결하고 라인상태 감지부(306)를 통해 가입자선로(206)의 사용유무를 체크할때, 만일 사용중이면 선로다중접속장치(203)는 커플러(204)로부터 비가청주파수의 수신여부를 체크한다. 여기서 커플러(204) 또는 유저단말(212)의 상태가 정상상태라면 커플러(204)는 선로다중접속장치(203)로 비가청주파수(a)를 비가청주파수 발생부(405)를 통해 전송하여 정상상태임을 알린다. 그러면 선로다중접속장치(203)는 비가청주파수 검출부(304)를 통해 이를 수신하여 정상상태로 판단하고 다른 커플러(204)를 계속해서 스캐닝하게 된다. 그러나 커플러(204) 또는 유저단말(212)의 상태가 이상상태라면 커플러(204)는 이상상태의 중류에 해당되는 비가청주파수를 선로다중접속장치(203)로 전송하여 알린다. 그러면 선로다중접속장치(203)는 비가청주파수 검출부(304)를 통해 이를 수신하고 수신한 이상상태를 컴퓨터센터(208)로 통보한다.As described above, the line multiple access device 203 connects the subscriber line 206 to scan the coupler 204 and checks the use of the subscriber line 206 through the line state sensing unit 306. At this time, if in use, the line multiplexing device 203 checks the reception of the subaudible frequency from the coupler 204. If the coupler 204 or the user terminal 212 is in a normal state, the coupler 204 transmits the inaudible frequency (a) to the line multiple access device 203 through the inaudible frequency generator 405 to be normal. Announce the status. The line multiplexing device 203 then receives this via the inaudible frequency detector 304 to determine that it is in a steady state and continues scanning the other coupler 204. However, if the state of the coupler 204 or the user terminal 212 is in an abnormal state, the coupler 204 notifies the line multiple access device 203 by transmitting the inaudible frequency corresponding to the midstream of the abnormal state. Then, the line multiple access device 203 receives this via the inaudible frequency detection unit 304 and notifies the computer center 208 of the received abnormal state.

또한 공익회사(209)에서 커플러(204) 또는 유저단말(212)로 전송하고자 할 정보가 있을 경우에는 공익회사(209)는 컴퓨터센터(208)로 작업명령메세지를 전송한다. 컴퓨터센터(208)가 이를 수신하여 선로다중접속장치(203)로 전송하면, 선로다중접속장치(203)는 이를 분석한 후 작업명령메세지를 전송할 커플러(204)의 가입자선로(206)를 멀티플렉서(202)를 제어하여 연결한다. 이후 라인상태 감지부(306)를 통해 가입자선로(206)의 사용여부를 판단하게 되는데, 사용중이 아니면 가청주파수 발생부(303)를 통하여 가청주파수(d)를 커플러(204)로 전송하여 상태를 문의한다. 만일 커플러(204) 또는 유저단말(212)의 상태가 정상상태일때 커플러(204)에서 가청주파수(d)를 수신한 경우라면, 커플러(204)는 선로다중접속장치(203)로 가청주파수(b)를 전송한다. 그러면 선로다중접속장치(203)에서는 이를 가청주파수 검출부(303)를 통해 감지하여 정상상태로 판단하고 커플러 통신부(305)를 제어하여 커플러(204)로 작업명령메세지를 전송하고 그에 따른 결과를 커플러 통신부(305)를 통해 수신하여 컴퓨터센터(208)로 통보한 후 작업을 종료한다. 그러나 커플러(204) 또는 유저단말(212)이 이상상태일 경우 커플러(204)가 가청주파수(d)를 수신한 경우라면, 커플러(204)는 가청주파수(c)를 선로다중접속장치(203)로 일정시간 동안 전송한 후 선로다중접속장치(203)와 통신을 위한 준비를 한다. 선로다중접속장치(203)는 커플러(204)로부터 수신되는 가청주파수(c)를 가청주파수 검출부(303)를 통해 감지하면 커플러 통신부(305)를 제어하여 커플러(204)로 이상상태의 종류를 문의하며, 문의에 따른 결과를 커플러 통신부(305)를 통해 수신하여 컴퓨터 통신부(307)를 통해 컴퓨터센터(208)로 통보한다.In addition, when there is information to be transmitted from the utility company 209 to the coupler 204 or the user terminal 212, the utility company 209 transmits a work command message to the computer center (208). When the computer center 208 receives it and transmits it to the line multiplexer 203, the line multiplexer 203 analyzes it and multiplexes the subscriber line 206 of the coupler 204 to send a work command message. 202 to control and connect. Thereafter, it is determined whether the subscriber line 206 is used through the line state detecting unit 306. If the line is not in use, the audible frequency d is transmitted to the coupler 204 through the audible frequency generating unit 303. Contact. If the coupler 204 receives the audible frequency d when the state of the coupler 204 or the user terminal 212 is in a normal state, the coupler 204 sends the audible frequency b to the line multiple access device 203. ). Then, the line multiple access device 203 detects this through the audible frequency detection unit 303 and judges the normal state, controls the coupler communication unit 305 to transmit a work command message to the coupler 204, and sends the result accordingly to the coupler communication unit. Received through 305, notified to the computer center 208, the operation is terminated. However, if the coupler 204 receives the audible frequency d when the coupler 204 or the user terminal 212 is in an abnormal state, the coupler 204 sets the audible frequency c to the line multiple access device 203. After the transmission for a predetermined time to prepare for communication with the line multiple access device 203. When the line multiple access device 203 detects the audible frequency c received from the coupler 204 through the audible frequency detector 303, the line multiple access device 203 controls the coupler communication unit 305 to inquire the type of abnormal state to the coupler 204. The result of the inquiry is received through the coupler communication unit 305 and notified to the computer center 208 through the computer communication unit 307.

상기한 바와 같이 선로다중접속장치(203)가 커플러(204)로 작업명령메세지를 전송하기 위해 가입자선로(206)를 연결하고 라인상태 감지부(306)를 통해 가입자선로(206) 사용여부를 체크할때, 만일 사용중인 경우 선로다중접속장치(203)는 커플러(204)로부터 비가청주파수의 수신여부를 체크한다. 여기서 커플러(204) 또는 유저단말(212)의 상태가 정상상태이면 커플러(204)는 선로다중접속장치(203)로 비가청주파수(a)를 비가청주파수 발생부(404)를 통해 전송하여 정상상태임을 알린다. 그러면 선로다중접속장치(203)가 비가청주파수 검출부(304)를 통해 이를 수신하여 정상상태로 판단한다. 그리고 3회 동안 재시도하여 미사용중인 상태가 되었을 때 커플러 통신부(305)를 제어하여 커플러(204)로 작업명령메세지를 전송하고 그에 따른 결과를 커플러 통신부(305)를 통해 수신하여 컴퓨터센터(208)로 통보한 후 작업을 종료한다. 이와 달리 3회 동안 재시도하여 계속 사용중일 때에는 선로다중접속장치(203)는 가입자선로 사용중 상태를 컴퓨터센터(208)로 통보한다. 그러나 커플러(204) 또는 유저단말(212)의 상태가 이상상태라면 커플러(204)는 이상상태의 종류에 해당되는 비가청주파수를 선로다중접속장치(203)로 전송하여 알린다. 그러면 선로다중접속장치(203)는 비가청주파수 검출부(304)를 통해 이를 수신하여 이상상태를 컴퓨터센터(208)로 통보한다.As described above, the line multiple access device 203 connects the subscriber line 206 to transmit the work command message to the coupler 204 and uses the subscriber line 206 through the line state detection unit 306. When checking, the line multiple access device 203 checks whether or not the subaudible frequency is received from the coupler 204 when in use. If the coupler 204 or the user terminal 212 is in a normal state, the coupler 204 transmits the inaudible frequency a to the line multiple access device 203 through the inaudible frequency generator 404 to be normal. Announce the status. Then, the line multiple access device 203 receives this through the inaudible frequency detection unit 304 and determines that it is in a normal state. When retrying for three times, the coupler communication unit 305 is controlled to transmit a work command message to the coupler 204, and the result thereof is received through the coupler communication unit 305 to receive the result. The job is terminated after the notification. On the other hand, when retrying for 3 times and being in continuous use, the line multiple access device 203 notifies the computer center 208 of the busy state of the subscriber line. However, if the state of the coupler 204 or the user terminal 212 is an abnormal state, the coupler 204 notifies the line multiple access device 203 by transmitting the inaudible frequency corresponding to the kind of the abnormal state. The line multiplexing device 203 then receives this via the inaudible frequency detection unit 304 and notifies the computer center 208 of the abnormal condition.

따라서 상기한 특허출원번호 제92-9189호의 원격정보처리시스템을 자판기 원격관리시스템에 적용할 경우, 전술한 특허공개번호 제93-15584호에서 각각의 자판기(JP1-JPnnn)의 상태를 체크하기 위하여 반드시 슬레이브 전화기(T1-Tn)로 각각 다이얼링을 하여야 하는 것과, 통화중 상태인 가입자선로에 연결된 슬레이브 전화기가 있을 경우에 해당 슬레이브 전화기에 연결되어 있는 자판기의 상태를 체크할 수 없었던 문제점을 개선할 수 있었다.Therefore, when the remote information processing system of Patent Application No. 92-9189 is applied to the remote management system of the vending machine, in order to check the state of each vending machine (JP1-JPnnn) in the aforementioned Patent Publication No. 93-15584. It is necessary to dial each slave phone (T1-Tn) separately, and when there is a slave phone connected to a subscriber line in a busy state, it is possible to improve the problem of not being able to check the state of the vending machine connected to the slave phone. there was.

그러나 상기한 특허출원번호 제92-9189호는 선로다중접속장치와 커플러간에 통신을 하여 정보를 얻기 위해서 먼저 가청주파수와 비가청주파수를 이용하여 커플러 또는 자판기의 상태를 확인하여야만 함에 따라 여전히 많은 시간이 소요되는 문제점이 있었다. 또한 가입자선로가 사용중일 경우 커플러 또는 자판기의 상태가 이상상태이면 비가청주파수를 이용하여 그 상태를 전달함에 따라 여전히 전달할 수 있는 상태정보의 종류 및 내용이 크게 한정될 수밖에 없는 문제점이 있었다. 더우기 공익회사인 자판기 관리사에서 커플러 또는 자판기로 전송하고자 할 정보가 있을 경우에 가입자선로가 사용중일 동안에는 그 정보를 전송할 수 없는 문제점이 있었다. 그리고 항상 가입자선로의 사용상태를 검출해야만 하는 불편함이 있었을 뿐만 아니라 가입자선로의 사용상태를 감지하기 위한 라인상태 감지부, 가청주파수 발생부, 가청주파수 검출부, 비가청주파수 발생부, 비가청주파수 검출부등이 반드시 필요함으로써 시스템의 구성이 복잡해지며 그에 따른 비용이 상승할 수밖에 없는 문제점이 있었다.However, the above-mentioned patent application No. 92-9189 still requires a lot of time as it must first check the state of the coupler or vending machine using an audible frequency and an inaudible frequency in order to obtain information by communicating between the line multiple access device and the coupler. There was a problem. In addition, when the subscriber line is in use, if the state of the coupler or vending machine is in an abnormal state, there is a problem that the kind and contents of the state information that can still be transmitted can be largely limited as the state is transmitted using the inaudible frequency. In addition, when there is information to be transmitted to a coupler or vending machine from a vending machine management company which is a public service company, there is a problem that the information cannot be transmitted while the subscriber line is in use. In addition to the inconvenience of having to always detect the usage of the subscriber line, the line status detector, the audible frequency generator, the audible frequency detector, the inaudible frequency generator, the inaudible frequency detector The necessity of such a system complicates the configuration of the system, and there is a problem that the cost must increase.

따라서 본 발명의 목적은 각 자판기의 동작상태 확인에 소요되는 시간을 감소시킬 수 있는 자판기 원격관리시스템 및 그 방법을 제공함에 있다.Accordingly, an object of the present invention is to provide a vending machine remote management system and a method for reducing the time required for checking the operation status of each vending machine.

본 발명의 다른 목적은 공중통신망에 연결되는 가입자선로의 사용여부에 관계없이 자판기의 동작상태를 종류나 내용에 제한을 받지 않고 확인할 수 있는 자판기 원격관리시스템 및 그 방법을 제공함에 있다.Another object of the present invention is to provide a vending machine remote management system and method for checking the operating state of the vending machine without limitation on type or content regardless of the use of a subscriber line connected to a public communication network.

본 발명의 또다른 목적은 공중통신망에 연결되는 가입자선로의 사용여부에 관계없이 자판기의 각종 현황 정보를 종류나 내용에 제한을 받지 않고 확인할 수 있는 자판기 원격관리시스템 및 그 방법을 제공함에 있다.Another object of the present invention is to provide a vending machine remote management system and method that can check various status information of the vending machine without restriction on the type or content regardless of the use of the subscriber line connected to the public communication network.

본 발명의 또다른 목적은 대역확산통신방식을 이용하여 가입자선로의 사용에 영향을 주지 않고 선로다중접속장치와 커플러간에 쌍방향 통신을 할 수 있는 자판기 원격관리시스템 및 그 방법을 제공함에 있다.It is still another object of the present invention to provide a vending machine remote management system and method for bidirectional communication between a line multiple access device and a coupler without affecting the use of a subscriber line using a spread spectrum communication method.

본 발명의 또다른 목적은 가입자선로의 사용상태를 검출하고 가입자선로가 사용중일 경우 각종 정보를 송수신하기 위한 라인상태 감지부, 가청주파수 발생부, 가청주파수 검출부, 비가청주파수 발생부, 비가청주파수 검출부등을 사용치 않고 간단하게 자판기 원격관리시스템을 구성할 수 있는 자판기 원격관리시스템 및 그 방법을 제공함에 있다.Still another object of the present invention is to detect the state of use of the subscriber line and the line state detector for transmitting and receiving various information when the subscriber line is in use, audible frequency generator, audible frequency detector, inaudible frequency generator, inaudible frequency The present invention provides a vending machine remote management system and a method for configuring a vending machine remote management system without using a detection unit.

상기한 목적들을 달성하기 위한 본 발명의 시스템은 동작상태를 문의하는 문의정보의 수신에 응답하여 현재의 동작상태를 알리는 상태정보를 커플러로 전송하며 작업명령메세지의 수신에 응답하여 해당 작업을 처리한 후 처리결과를 알리는 작업결과메세지를 커플러로 전송하는 자판기와, 문의정보를 자판기들로 순차로 전송하는 것에 의해 자판기들의 동작상태를 스캐닝하여 이상상태를 나타내는 상태정보를 보관하며 보관된 상태정보를 가입자선로를 통한 문의정보의 수신에 응답하여 해당 가입자선로로 전송하며 가입자선로를 통해 수신되는 작업명령메세지를 해당 자판기로 전송한 후 자판기로부터 수신하는 작업결과메세지를 해당 가입자선로로 전송하는 커플러와, 커플러와 연결된 가입자선로들을 순차적으로 선택하며 선택한 가입자선로에 연결된 커플러로 문의정보를 전송하는 것에 의해 커플러들을 스캐닝하여 해당 커플러로부터 보관된 상태정보를 수신하며 작업명령메세지를 해당 커플러로 전송한 후 작업결과메세지를 수신하여 시스템 제어수단으로 전송하는 선로다중접속장치와, 자판기들의 각종 현황정보를 확인하기 위한 작업명령메세지를 발생하여 선로다중접속장치로 전송하며 선로다중접속장치로부터 작업결과메세지와 상태정보를 수신하여 처리하는 시스템 제어수단을 구비한다. 커플러 및 선로다중접속장치는 각각 상호간에 송수신되는 신호에 대하여 전송시에는 미리 설정된 의사잡음코드에 의해 대역확산시킨 후 전송하며 수신시에는 수신되는 신호를 역확산시키는 수단을 구비한다.The system of the present invention for achieving the above object transmits the status information indicating the current operation status to the coupler in response to the receipt of the inquiry information inquiring the operation status, and processes the operation in response to the reception of the operation command message. Vending machine that transmits the work result message to the coupler to inform the processing result afterwards, and by sending the inquiry information to the vending machines in sequence, scans the operating state of the vending machines to store the state information indicating the abnormal state and to store the stored state information. A coupler and coupler that transmits a work instruction message received through a subscriber line to a corresponding vending machine in response to receiving the inquiry information through the line, and then sends a work result message received from the vending machine to the corresponding subscriber line. Sequentially selects subscriber lines connected to the selected subscriber line The line multiple access device that scans the couplers by transmitting the inquiry information to the connected coupler, receives the stored state information from the coupler, transmits the work command message to the coupler, and then receives the work result message and transmits it to the system control means. And a system control means for generating a work command message for checking various status information of the vending machines, transmitting the work command message to the line multiple access device, and receiving and processing the work result message and status information from the line multiple access device. The coupler and the line multiple access device each have a means for spreading the signal transmitted and received by a preset pseudo noise code during transmission and then despreading the received signal upon reception.

그리고 상기한 목적들을 달성하기 위한 본 발명의 방법은 상기 선로다중접속장치가 커플러를 스캐닝하기 위해 멀티플렉서를 제어하여 커플러와 연결된 가입자선로를 선택 연결한 후 커플러로 보관된 정보가 있는지를 문의하는 스캐닝과정과, 스캐닝과정에서 커플러로부터 정상상태임을 나타내는 데이타가 수신될 경우 자판기의 상태를 정상상태로 판단하고 연결한 가입자선로를 절단하는 스캐닝완료과정과, 스캐닝과정에서 커플러로부터 자판기가 이상상태임을 나타내는 상태정보가 수신될 경우 수신한 상태정보를 시스템 제어수단으로 전송하는 상태정보 전송과정과, 선로다중접속장치가 시스템 제어수단으로부터 자판기들의 각종 현황정보를 확인하기 위한 작업명령메세지를 수신할 경우 멀티플렉서를 제어하여 해당 커플러와 연결된 가입자선로를 선택 연결한 후 작업명령메세지를 해당 커플러로 전송하는 작업명령전송과정과, 작업명령전송과정에서 전송한 작업명령메세지에 따라 자판기로부터 발생되는 작업결과메세지를 시스템 제어수단으로 전송하는 작업결과전송과정을 구비한다.In addition, the method of the present invention for achieving the above object is a scanning process in which the line multiple access device controls the multiplexer to scan the coupler and selects the subscriber line connected to the coupler and inquires whether there is information stored in the coupler And, if data indicating that the normal state is received from the coupler during the scanning process, the scanning completion process of determining the state of the vending machine to the normal state and cutting the connected subscriber line, and the status information indicating that the vending machine from the coupler abnormal state during the scanning process Is transmitted to the system control means when the received status information is received, and when the line multiple access device receives a work command message for checking the various status information of the vending machine from the system control means by controlling the multiplexer Subscriber line connected to the coupler After selecting the connection, send the work command message to the corresponding coupler, and send the work result message from the vending machine to the system control means according to the work command message sent in the work command transmission process. Process.

또한 상기한 목적들을 달성하기 위한 본 발명의 방법은 커플러가 자판기의 동작상태를 문의하기 위해 해당 자판기로 정보가 있는지를 문의하는 스캐닝과정과, 스캐닝과정에서 자판기로부터 정상상태임을 나타내는 데이타가 수신될 경우 해당 자판기의 상태를 정상상태로 판단하는 스캐닝완료과정과, 스캐닝과정에서 자판기로부터 이상상태임을 나타내는 상태정보가 수신될 경우 수신한 정보를 선로다중접속장치로부터의 상태문의 수신시에 선로다중접속장치로 전송하는 상태정보전송과정과, 커플러가 선로다중접속장치로부터 시스템 제어수단에서 발생된 작업명령메세지를 수신할 경우 해당 자판기로 전송하는 작업명령전송과정과, 작업명령전송과정에서 전송한 작업명령메세지에 따라 자판기에서 해당 작업을 처리한 후 처리결과를 알리기 위해 발생하는 작업결과메세지를 선로다중접속장치로 전송하는 작업결과전송과정을 구비한다.In addition, the method of the present invention for achieving the above object is a scanning process in which the coupler inquires whether there is information to the vending machine to inquire the operating state of the vending machine, and when the data indicating that the normal state is received from the vending machine in the scanning process The scanning completion process of determining the state of the vending machine as a normal state, and if the status information indicating abnormal state is received from the vending machine during the scanning process, the received information is sent to the line multiple access device upon receiving a status statement from the line multiplexing device. In the process of transmitting the status information, when the coupler receives the work command message generated by the system control means from the line multiple access device, the work command is transmitted to the corresponding vending machine, and the work command message transmitted in the work command transmission process. The vending machine will process the job and notify you of the result. The result of the operation and a message when the operation result transmission step of transmitting a multi-line connection.

또한 상기한 목적들을 달성하기 위한 본 발명의 방법은 자판기가 커플러로부 터 자신의 동작상태를 문의하는 문의정보가 수신되는 것에 응답하여 현재 동작상태가 정상상태일 경우에는 정상상태를 나타내는 데이타를 커플러로 전송하며 이상상태일 경우에는 이상상태를 나타내는 상태정보를 커플러로 전송하는 상태정보 전송과정과, 시스템 제어수단에서 발생된 작업명령메세지를 커플러로부터 수신할 경우 해당 작업을 처리한 후 작업결과메세지를 발생하여 커플러로 전송하는 작업명령처리과정을 구비한다.In addition, the method of the present invention for achieving the above object is a coupler for the data indicating the normal state when the current operating state is normal in response to the inquiry information received from the coupler inquiring its own operating state from the coupler In case of abnormal status, status information indicating abnormal status is transmitted to the coupler, and if the task command message generated by the system control means is received from the coupler, the task result message is processed after processing the relevant task. It generates a work command processing to generate and transmit to the coupler.

이하 본 발명의 바람직한 실시예를 첨부한 도면을 참조하여 상세히 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

하기 설명에서 도면들중 동일한 구성요소들은 가능한한 어느 곳에서든지 동일한 부호들을 나타내고 있음에 유의해야 한다.In the following description, it should be noted that like elements in the drawings represent like reference numerals wherever possible.

또한 하기 설명에서 구체적인 회로구성 및 부품들이나 동작시간들 등과 같은 많은 특정 상세들이 본 발명의 보다 전반적인 이해를 제공하기 위해 나타나 있다. 이들 특정 상세들 없이 본 발명이 실시될 수 있다는 것은 이 기술분야에서 통상의 지식을 가진 자에게 자명한 것이다.In addition, in the following description, numerous specific details such as specific circuit configurations and components or operating times are shown to provide a more general understanding of the invention. It will be apparent to those skilled in the art that the present invention may be practiced without these specific details.

우선 본 발명에 따른 자판기 원격관리시스템의 시스템 구성도를 보이면 제5도와 같다. 제5도는 전술한 제2도의 원격정보처리시스템에서와 달리 선로다중접속장치(503)과 커플러(504)를 각각 제6도 및 제7도와 같이 구성하는 동시에 유저단말(212)을 제8도와 같이 구성되는 자판기(512)로 대체하고 공익회사(209)를 자판기 관리사의 자판기관리 컴퓨터(509)로 대체한 것이다. 그러므로 통신 네트웍(500), 분배기(501), 멀티플렉서(502) 등은 전술한 제2도의 통신 네트웍(200), 분배기(201), 멀티플렉서(202)와 각각 동일하게 구성된다.First, the system configuration of the vending machine remote management system according to the present invention is shown in FIG. 5 is different from the above-described remote information processing system of FIG. 2, the line multiple access device 503 and the coupler 504 are configured as shown in FIGS. 6 and 7, respectively, and the user terminal 212 is shown in FIG. It is replaced by the vending machine 512 is configured and the public utility company 209 is replaced by the vending machine management computer 509 of the vending machine manager. Therefore, the communication network 500, the distributor 501, the multiplexer 502, etc. are configured in the same manner as the communication network 200, the distributor 201, the multiplexer 202 of FIG.

제5도에서 다수의 자판기관리 컴퓨터(509)는 통신선로(511)를 통해 자판기 관리시스템의 전반적인 제어를 수행하는 컴퓨터센터(508)에 접속되어 자판기(512)들의 각종 현황정보를 확인하기 위한 작업명령메세지를 발생하여 컴퓨터센터(508)를 거쳐 선로다중접속장치(503)로 전송한다. 여기서 자판기(512)의 각종 현황정보라 함은 판매금액, 잔여 컵수, 각종 코일(coin)의 잔량, 재료의 잔량 등이 될 수 있다. 작업명령메세지는 후술하는 바와 같이 선로다중접속장치(503)로부터 멀티플렉서(502)와 가입자선로(506)와 커플러(504)를 거쳐 해당 자판기(512)로 전송되며, 해당 자판기(512)에서는 작업명령메세지에 해당하는 작업을 처리한 후 처리결과를 알리는 작업결과메세지를 발생하게 된다. 자판기(512)에서 발생된 작업결과메세지는 커플러(504)에 의해 가입자선로(506)와 멀티플렉서(502)와 선로다중접속장치(503)를 거쳐 컴퓨터센터(508)로 전송됨으로써 자판기관리 컴퓨터(509)에 전송되게 된다. 이때 자판기(512)는 커플러(504)로부터 자신의 동작상태를 문의하는 문의정보가 수신되는 것에 응답하여 현재의 동작상태를 알리는 상태정보를 커플러(504)로 전송한다. 만일 상태정보가 이상상태를 나타내는 상태정보일 경우에는 작업결과메세지와 마찬가지로 커플러(504)에 의해 가입자선로(506)와 멀티플렉서(502)와 선로다중접속장치(503)를 거쳐 컴퓨터센터(508)로 전송됨으로써 자판기관리 컴퓨터(509)에 전송되게 된다. 이에따라 자판기관리 컴퓨터(509)는 선로다중접속장치(503)로부터 작업결과메세지와 자판기(512)의 이상상태를 나타내는 상태정보를 수신하여 처리함으로써 자판기 원격관리시스템을 관리한다. 여기서 컴퓨터센터(508)에서 자판기관리 컴퓨터(509)의 역할을 수행하도록 하여도 무방하다. 이러한 경우에도 자판기관리 컴퓨터(509)는 컴퓨터센터(508)로 대체됨으로써 시스템의 구성을 간단히 할 수 있게 된다.In FIG. 5, a plurality of vending machine management computers 509 are connected to a computer center 508 which performs overall control of the vending machine management system through a communication line 511 to check various status information of the vending machines 512. The command message is generated and transmitted to the line multiple access device 503 via the computer center 508. Here, the various status information of the vending machine 512 may be a sales amount, remaining cups, remaining amounts of various coils, remaining amounts of materials, and the like. The work command message is transmitted from the line multiplexing device 503 to the vending machine 512 via the multiplexer 502, the subscriber line 506, and the coupler 504, as described later. After processing a job corresponding to the command message, a job result message informing the processing result is generated. The operation result message generated by the vending machine 512 is transmitted by the coupler 504 to the computer center 508 via the subscriber line 506, the multiplexer 502, and the line multiple access device 503. 509). At this time, the vending machine 512 transmits the status information indicating the current operating status to the coupler 504 in response to receiving the inquiry information inquiring about its own operating status from the coupler 504. If the status information is status information indicating an abnormal condition, the computer center 508 passes through the subscriber line 506, the multiplexer 502, and the line multiple access device 503 by the coupler 504, similarly to the operation result message. By transmitting to the vending machine management computer 509 is transmitted. Accordingly, the vending machine management computer 509 manages the vending machine remote management system by receiving and processing the operation result message and the status information indicating the abnormal state of the vending machine 512 from the line multiple access device 503. Here, the computer center 508 may perform the role of the vending machine management computer 509. Even in this case, the vending machine management computer 509 can be replaced with the computer center 508 to simplify the configuration of the system.

선로다중접속장치(503)는 통신선로(510)를 통해 컴퓨터센터(508)와 접속되며 가입자선로(506)들 중 멀티플렉서(502)에 의해 선택 연결되는 가입자선로(506)에 접속된다. 선로다중접속장치(503)는 가입자선로(506)들을 순차적으로 선택하는 선태제어신호인 멀티플렉싱 제어신호를 발생하여 제어라인(613)을 통해 멀티플렉서(502)에 인가함으로써 가입자선로(506)들을 선택한다. 이때 선택한 가입자선로(506)에 연결된 커플러(504)로 문의정보를 전송하는 것에 의해 커플러(504)들을 스캐닝하여 후술하는 바와 같이 커플러(504)에 보관되는 상태정보를 수신하여 컴퓨터센터(508)로 전송한다. 또한 컴퓨터센터(508)로부터 수신되는 작업명령메세지를 해당 커플러(504)로 전송한 후 그에 따라 자판기(512)에서 발생되는 작업결과메세지를 커플러(504)로부터 수신하여 컴퓨터센터(508)로 전송한다.The line multiplexing device 503 is connected to the computer center 508 via the communication line 510 and to the subscriber line 506 which is selectively connected by the multiplexer 502 among the subscriber lines 506. The line multiplexing device 503 generates the multiplexing control signal, which is a selective control signal for sequentially selecting the subscriber lines 506, and applies the multiplexing control signals to the multiplexer 502 through the control line 613. Choose. At this time, by scanning the coupler 504 by transmitting the inquiry information to the coupler 504 connected to the selected subscriber line 506 to receive the status information stored in the coupler 504 as described below, the computer center 508 To send. In addition, the work command message received from the computer center 508 is transmitted to the coupler 504, and accordingly, the work result message generated by the vending machine 512 is received from the coupler 504 and transmitted to the computer center 508. .

다수의 커플러(504)는 가입자선로(506)들과 각각 병렬 접속되는 동시에 각각 해당하는 다수의 자판기(512)들에 연결된다. 그리고 문의정보를 자판기(512)들로 순차로 전송하는 것에 의해 자판기(512)들의 동작상태를 스캐닝하여 이상상태를 나타내는 상태정보를 보관하며, 보관된 상태정보를 가입자선로(506)를 통해 선로다중접속장치(503)로부터 문의정보가 수신되는 것에 응답하여 해당 가입자선로(506)를 통해 선로다중접속장치(503)로 전송한다. 그리고 가입자선로(506)를 통해 선로다중접속장치(503)로부터 수신되는 작업명령메세지를 해당 자판기(512)로 전송한 후 그에 따라 자판기(512)로부터 수신하는 작업결과메세지를 해당 가입자선로(506)를 통해 선로다중접속장치(503)로 전송한다.The plurality of couplers 504 are each connected in parallel with the subscriber lines 506 and are connected to the corresponding plurality of vending machines 512, respectively. In addition, the inquiry information is sequentially transmitted to the vending machines 512 to scan the operating states of the vending machines 512 to store the state information indicating an abnormal state, and the stored state information is stored in the line through the subscriber line 506. In response to receiving the inquiry information from the multiple access device 503, the multi-access device 503 transmits the inquiry information through the corresponding subscriber line 506. Then, the work result message received from the line multiple access device 503 through the subscriber line 506 is transmitted to the corresponding vending machine 512, and accordingly the work result message received from the vending machine 512 accordingly. 506 is transmitted to the line multiple access device 503.

자판기(512)는 자신의 동작상태를 문의하는 문의정보가 커플러(504)로부터 수신되는 것에 응답하여 현재의 동작상태를 알리는 상태정보를 문의정보 전송측인 커플러(504)로 전송하며, 커플러(504)로부터 작업명령메세지의 수신에 응답하여 해당 작업을 처리한 후 처리결과를 알리는 작업결과메세지를 작업명령메세지 전송측인 커플러(504)로 전송한다.The vending machine 512 transmits the status information indicating the current operation status to the coupler 504 which is the inquiry information transmitting side in response to the inquiry information inquiring about its operation state received from the coupler 504, and the coupler 504. In response to the reception of the work command message, the process of the corresponding job and the task result message informing the processing result is transmitted to the coupler 504, which is the task command message transmission side.

이하 상기한 바와 같이 구성되는 제5도의 동작예를 상세히 설명한다.Hereinafter, the operation example of FIG. 5 configured as described above will be described in detail.

먼저 자판기관리 컴퓨터(509)에서 자판기(512)의 현황정보에 대한 요구가 없는 경우를 살펴보면 다음과 같다. 선로다중접속장치(503)는 커플러(504)들을 순차적으로 스캐닝한다. 이때 선로다중접속장치(503)는 멀티플렉서(502)를 제어하여 커플러(504)를 연결한 다음에 커플러(504)로부터 자판기(512)의 이상상태정보를 가입자선로(506)의 사용여부와 무관하게 수신한다. 이후 선로다중접속장치(503)는 수신한 이상상태정보를 컴퓨터센터(508)로 통보함으로써 컴퓨터센터(508)가 이를 해당하는 자판기관리 컴퓨터(509)로 통보토록 한다.First, a case where there is no request for the status information of the vending machine 512 in the vending machine management computer 509 is as follows. The line multiplexer 503 sequentially scans the couplers 504. At this time, the line multiple access device 503 controls the multiplexer 502 to connect the coupler 504, and then, regardless of the use of the subscriber line 506, the abnormal state information of the vending machine 512 from the coupler 504. Receive it. Thereafter, the line multiple access device 503 notifies the computer center 508 of the received abnormal state information so that the computer center 508 notifies the corresponding vending machine management computer 509.

다음에 자판기관리 컴퓨터(509)에서 자판기(512)의 현황정보를 수신하고자 할 경우를 살펴보면 다음과 같다. 자판기관리 컴퓨터(509)에서는 컴퓨터센터(508)로 작업명령메세지를 전송하고 컴퓨터센터(508)가 이를 선로다중접속장치(503)로 전송한다. 그러면 선로다중접속장치(503)는 멀티플렉서(502)를 제어하여 해당 자판기(512)가 연결되어 있는 커플러(504)의 가입자선로(506)를 연결한 후 작업명령메세지를 해당 커플러(504)로 전송한다. 그러면 커플러(504)는 수신한 작업명령메세지를 해당하는 자판기(512)로 전송한 후 그 결과정보인 작업결과메세지를 자판기(512)로부터 수신하여 선로다중접속장치(503)로 전송한다. 선로다중접속장치(503)는 수신한 작업결과메세지를 컴퓨터센터(508)로 전송함으로써 컴퓨터센터(508)에서 자판기관리 컴퓨터(509)로 통보하여 서비스를 수행하게 된다.Next, a case where the vending machine management computer 509 wants to receive the status information of the vending machine 512 is as follows. The vending machine management computer 509 transmits a work instruction message to the computer center 508 and the computer center 508 transmits it to the line multiple access device 503. Then, the line multiplexer 503 controls the multiplexer 502 to connect the subscriber line 506 of the coupler 504 to which the vending machine 512 is connected, and then the work command message to the coupler 504. send. Then, the coupler 504 transmits the received work command message to the corresponding vending machine 512, and then receives the work result message, which is the result information, from the vending machine 512, and transmits the received work command message to the line multiple access device 503. The line multiple access device 503 transmits the received work result message to the computer center 508 to notify the vending machine management computer 509 from the computer center 508 to perform a service.

따라서 자판기관리 컴퓨터(509)에서는 자판기(512)의 동작상태 확인 및 관리를 원격지에서 실행할 수 있게 된다.Therefore, the vending machine management computer 509 can execute the operation state check and management of the vending machine 512 remotely.

제6도는 제5도중 멀티플렉서(502) 및 선로다중접속장치(503)의 블럭구성도로서, 멀티플렉서(502)는 전술한 제3도의 멀티플렉서(202)와 동일하게 구성하며, 선로다중접속장치(503)는 전술한 제3도에서 가청주파수 발생부(302), 가청주파수 검출부(303), 비가청주파수 검출부(304), 라인상태감지부(306)를 제거하는 동시에 커플러 통신부(305) 대신에 대역확산통신방식 데이타 변복조장치를 사용한 커플러 통신부(602)를 사용하여 구성한 것이다.6 is a block diagram of the multiplexer 502 and the line multiplexer 503 of FIG. 5, and the multiplexer 502 is configured in the same manner as the multiplexer 202 of FIG. In FIG. 3, the audible frequency generator 302, the audible frequency detector 303, the inaudible frequency detector 304, and the line state detector 306 are removed while the band is replaced by the coupler communication unit 305. It is configured using the coupler communication unit 602 using the spread communication system data modulation and demodulation device.

제6도에서 멀티플렉서 구동부(603)는 마이크로 콘트롤러(601)와 멀티플렉서 제어부(611) 사이에 접속되어 마이크로 콘트롤러(601)의 제어에 의해 가입자선로(506)들을 순차적으로 선택하기 위한 선택제어신호를 멀티플렉서 제어부(611)에 인가하여 릴레이(612)를 구동시킨다.In FIG. 6, the multiplexer driver 603 is connected between the microcontroller 601 and the multiplexer controller 611 to select a selection control signal for sequentially selecting the subscriber lines 506 under the control of the microcontroller 601. The relay 612 is driven by being applied to the multiplexer controller 611.

커플러 통신부(602)는 마이크로 콘트롤러(601)와 통신선로(507) 사이에 접속된다. 통신선로(507)는 릴레이(612)를 통해 가입자선로(506)와 연결된다. 커플러 통신부(602)는 본원출원인에 의해 1993년에 대한민국에 출원된 특허출원번호 제18994호 "대역확산통신방식 데이타 변복조장치"에 대시된 바와 같은 대역확산통신방식 데이타 변복조장치를 사용한다. 커플러 통신부(602)는 커플러(504)로 전송할 마이크로 콘트롤러(601)의 데이타를 미리 설정된 의사잡음(Pseudo Noise : 이하 "PN"이라 칭함)코드에 의해 대역확산시킨후 아나로그 신호를 변환하여 가입자선로(506)를 통해 커플러(504)로 전송하며, 가입자선로(506)를 통해 커플러(504)로부터 수신되는 신호를 디지탈 데이타로 변환한 후 PN코드에 의해 역확산시켜 복원하여 마이크로 콘트롤러(601)에 제공한다. 커플러 통신부(602)에 대한 보다 상세한 구성 및 동작은 특허출원번호 제93-18994호를 참조하면 된다.The coupler communication unit 602 is connected between the microcontroller 601 and the communication line 507. The communication line 507 is connected to the subscriber line 506 through the relay 612. The coupler communication unit 602 uses a spread spectrum communication method data modulation and demodulation device as dashed in patent application No. 18994 "Band spread communication method data modulation and demodulation device" filed in 1993 in the Republic of Korea by the present applicant. The coupler communication unit 602 spreads the data of the microcontroller 601 to be transmitted to the coupler 504 by using a preset pseudo noise (hereinafter referred to as "PN") code and converts the analog signal to a subscriber line. Transmitted to the coupler 504 through the furnace 506, the signal received from the coupler 504 through the subscriber line 506 is converted into digital data and then despread and restored by the PN code to the microcontroller 601 To provide. For more detailed configuration and operation of the coupler communication unit 602, see Patent Application No. 93-18994.

컴퓨터센터 통신부(604)는 마이크로 콘트롤러(601)와 컴퓨터센터(508) 사이에 접속되며 컴퓨터센터(508)과의 정보전송을 위한 통신을 수행한다.The computer center communication unit 604 is connected between the microcontroller 601 and the computer center 508 and performs communication for transmitting information with the computer center 508.

마이크로 콘트롤러(601)는 선로다중접속장치의 각 부를 전반적으로 제어하며 멀티플렉서 구동부(603)를 제어하여 멀티플렉서(502)를 통해 가입자선로(506)들을 순차적으로 선택하며 선택한 가입자선로(506)에 연결된 커플러(504)로 커플러 통신부(602)를 통해 문의정보를 전송하는 것에 의해 커플러(504)들을 스캐닝한다. 이때 해당 커플러(504)에 보관되어 있는 상태정보를 커플러 통신부(602)를 통해 수신하여 컴퓨터센터 통신부(604)를 통해 컴퓨터센터(508)로 전송한다. 또한 마이크로 콘트롤러(601)는 컴퓨터센터 통신부(604)를 통해 컴퓨터센터(508)로부터 작업명령메세지 수신시 멀티플렉서 구동부(603)를 제어하여 해당 커플러(504)와 연결된 가입자선로(506)를 선택하고 작업명령메세지를 커플러 통신부(602)를 통해 해당 커플러(504)로 전송한 후 커플러 통신부(602)를 통해 수신하는 작업결과메세지를 컴퓨터센터 통신부(604)를 통해 컴퓨터센터(508)로 전송한다.The microcontroller 601 generally controls each part of the line multiple access device and controls the multiplexer driver 603 to sequentially select the subscriber lines 506 through the multiplexer 502 and to the selected subscriber line 506. The couplers 504 are scanned by sending query information through the coupler communication unit 602 to the coupled coupler 504. At this time, the state information stored in the coupler 504 is received through the coupler communication unit 602 and transmitted to the computer center 508 through the computer center communication unit 604. In addition, the micro-controller 601 selects the subscriber line 506 connected to the coupler 504 by controlling the multiplexer driver 603 when receiving the work command message from the computer center 508 through the computer center communication unit 604. The work command message is transmitted to the corresponding coupler 504 through the coupler communication unit 602, and then the work result message received through the coupler communication unit 602 is transmitted to the computer center 508 through the computer center communication unit 604.

제7도는 제5도중 커플러(504)의 블럭구성도로서, 전술한 제4도에서 가청주파수 검출부(403), 가청주파수 발생부(404), 비가청주파수 발생부(405), 라인상태 감지부(406)를 제거하는 동시에 선로다중접속장치 통신부(402) 대신에 대역확산통신방식 데이타 변복조장치를 사용한 선로다중접속장치 통신부(702)를 사용하여 구성한 것이다. 여기서 선로다중접속장치 통신부(702)는 커플러 통신부(602)와 마찬가지로 특허출원번호 제93-18994호에 개시된 바와 같은 대역확산통신방식 데이타 변복조장치를 사용한다.FIG. 7 is a block diagram of the coupler 504 of FIG. 5. In FIG. 4, the audible frequency detector 403, the audible frequency generator 404, the inaudible frequency generator 405, and the line state detector are illustrated in FIG. 4. The line multiple access device communication unit 702 using the spread spectrum communication method data modulation and demodulation device is used instead of the line multiple access device communication unit 402 at the same time as 406 is removed. Here, the line multiple access device communication unit 702 uses a spread spectrum communication method data modulation and demodulation device as disclosed in Patent Application No. 93-18994, like the coupler communication unit 602.

선로다중접속장치 통신부(702)는 마이크로 콘트롤러(701)와 가입자선로(506) 사이에 접속되며 선로다중접속장치(503)로 전송할 마이크로 콘트롤러(701)의 데이타를 전술한 바와 같은 PN코드에 의해 대역확산시킨 후 아나로그 신호로 변환하여 가입자선로(506)를 통해 선로다중접속장치(503)로 전송하며, 가입자선로(506)를 통해 선로다중접속장치(503)로부터 수신되는 신호를 디지탈 데이타로 변환한 후 PN코드에 의해 역확산시켜 복원하여 마이크로 콘트롤러(701)에 제공한다.The line multiplexer communication unit 702 is connected between the microcontroller 701 and the subscriber line 506 and transmits data of the microcontroller 701 to the line multiplexer 503 by the PN code as described above. After spreading the bandwidth, the signal is converted into an analog signal and transmitted to the line multiple access device 503 through the subscriber line 506, and the signal received from the line multiple access device 503 through the subscriber line 506 is digital. The data is converted to data, despread by the PN code, restored, and provided to the microcontroller 701.

단말접속부(703)는 마이크로 콘트롤러(701)와 다수의 자판기(512) 사이에 접속되며 전술한 제4도의 유저단말 접속부(407)와 동일한 것으로 자판기(512)들과의 데이타 송수신을 인터페이스한다.The terminal connection unit 703 is connected between the microcontroller 701 and the plurality of vending machines 512 and interfaces the data transmission and reception with the vending machines 512 in the same manner as the user terminal connection part 407 of FIG.

마이크로 콘트롤러(701)는 선로다중접속장치 통신부(702)와 단말접속부(703)에 접속되어 커플러(504)의 각부를 전반적으로 제어하며 단말접속부(703)를 통해 자판기(512)들을 스캐닝하는 것에 따라 자판기(512)로부터 수신하는 상태정보의 데이타를 선로다중접속장치 통신부(702)를 통해 선로다중접속장치(503)로부터 수신되는 문의정보에 응답하여 선로다중접속장치 통신부(702)를 통해 선로다중접속장치(503)로 전송한다. 또한 마이크로 콘트롤러(701)는 선로다중접속장치 통신부(702)를 통해 선로다중접속장치(503)로부터 수신되는 작업명령메세지를 단말접속부(703)를 통해 해당 자판기(512)로 전송한 후 자판기(512)로부터 단말접속부(703)를 통해 수신되는 작업결과메세지를 선로다중접속장치 통신부(702)를 통해 선로다중접속장치(503)로 전송한다.The microcontroller 701 is connected to the line multiple access device communication unit 702 and the terminal connection unit 703 to control each part of the coupler 504 and scans the vending machines 512 through the terminal connection unit 703. In response to the inquiry information received from the line multiple access device 503 via the line multiple access device communication unit 702, the data of the status information received from the vending machine 512 is connected through the line multiple access device communication unit 702. Transmit to device 503. In addition, the microcontroller 701 transmits the work command message received from the line multiplexer 503 through the line multiplexer communication unit 702 to the corresponding vending machine 512 through the terminal connection unit 703 and then to the vending machine 512. The work result message received through the terminal connection unit 703 is transmitted to the line multiple access device 503 through the line multiple access device communication unit 702.

제8도는 제5도중 자판기(512)의 블럭구성도로서, 자판기(512)의 각 부를 제어하는 주제어부(801)와, 주제어부(801)에 접속되며 주제어부(801)의 수행 프로그램을 저장하는 롬(802)과, 주제어부(801)에 접속되며 주제어부(801)의 처리 데이타를 일시 저장하는 램(803)과, 주제어부(801)에 접속되며 커플러(504)와의 정보 송수신을 위한 통신 기능을 수행하는 통신부(804)와, 주제어부(801)에 접속되며 투입되는 코인을 식별 및 계수하는 코인 메카니즘(805)과, 주제어부(801)에 접속되며 자판기(512)의 각종 동작상태를 가시 및 가청으로 표시하는 상태표시부(806)와, 주제어부(801)에 접속되며 지폐를 식별하는 지폐식별기(807)와, 주제어부(801)에 접속되며 자판기(512)의 각종 값을 입력하여 셋트하기 위한 키입력장치(808)와, 주제어부(801)에 접속되며 자판기(512)에서 수용하는 각종 제품을 선별하여 송출하는 상품송출장치(809)로 구성된다. 제8도는 일반적인 자판기의 블럭구성도이다.FIG. 8 is a block diagram of the vending machine 512 of FIG. 5, which stores a main control unit 801 for controlling each unit of the vending machine 512, a main control unit 801, and an execution program of the main control unit 801. ROM 802, a RAM 803 connected to the main control unit 801 to temporarily store processing data of the main control unit 801, and a main control unit 801 connected to the main control unit 801 to transmit and receive information with the coupler 504. The communication unit 804 which performs a communication function, a coin mechanism 805 connected to the main control unit 801 to identify and count coins, and various operation states of the vending machine 512 connected to the main control unit 801. The status display unit 806 displaying the visible and audible, a banknote identifier 807 connected to the main controller 801 and identifying the banknote, and a variety of values of the vending machine 512 connected to the main controller 801. Connected to the key input device 808 and main controller 801 to be set by the vending machine 512. It consists of a product dispensing device (809) for selecting the dispensing of product. 8 is a block diagram of a general vending machine.

제9도는 선로다중접속장치(503)가 커플러(504)를 스캐닝하는 과정을 나타낸 흐름도로서, 자판기(512)의 상태가 정상상태일 경우와 이상상태일 경우에 처리하는 과정을 나타낸 것이다. 제9도의 편의상 제9a도와 제9b도로 나누어 도시하였으나 서로 연결된다.FIG. 9 is a flowchart illustrating a process in which the line multiple access device 503 scans the coupler 504, and illustrates a process in which the vending machine 512 is in a normal state and an abnormal state. 9A and 9B are illustrated for convenience of FIG. 9 but are connected to each other.

이하 제5도 내지 제7도와 제9도를 참조하여 선로다중접속장치(503)가 커플러(504)를 스캐닝하는 동작예를 상세히 설명한다.Hereinafter, an operation example in which the line multiple access device 503 scans the coupler 504 will be described in detail with reference to FIGS. 5 to 7 and 9.

먼저 선로다중접속장치(503)는 커플러(504)를 스캐닝하기 위해 (900)단계에서 멀티플렉서(502)를 제어하여 가입자선로(506)를 연결하고, (901)단계에서 커플러(504)와 프로토콜(protocol) 수행시 재시도하는 횟수를 카운트하기 위한 재시도 카운터값을 초기화한다. 다음에 (902)단계에서 커플러(504)로 상태를 문의하기 위한 문의정보인 문의코드 'ENQ'를 전송하고 (903)단계에서 문의코드 'ENQ'에 응답하여 수신되어야 할 긍정응답코드 'ACK' 또는 텍스트(text)시작코드 'STX'가 수신되어야 할 시간을 체크하기 위한 제1타이머를 구동한다.First, the line multiple access device 503 connects the subscriber line 506 by controlling the multiplexer 502 at step 900 to scan the coupler 504, and at step 901, the coupler 504 and the protocol are connected. (protocol) Initializes the retry counter value to count the number of retries during execution. Next, in step 902, the inquiry code 'ENQ', which is inquiry information for inquiring status to the coupler 504, is transmitted, and in step 903, the response code 'ACK' to be received in response to the inquiry code 'ENQ'. Or driving the first timer for checking the time when the text start code 'STX' should be received.

여기서 문의코드 'ENQ', 긍정응답코드 'ACK', 텍스트시작코드 'STX'는 통상적으로 사용되는 프로토콜 제어코드로서, 문의코드 'ENQ'는 상대국으로부터의 응답을 요구하는 프로토콜 제어코드이고, 긍정응답코드 'ACK'는 수신측이 전송측에 보내는 긍정응답을 의미하는 프로토콜 제어코드이며, 텍스트시작코드 'STX'는 텍스트의 최초의 캐릭터로서 사용되는 프로토콜 제어코드이다.Here, the inquiry code 'ENQ', the acknowledgment code 'ACK', and the text start code 'STX' are commonly used protocol control codes, and the inquiry code 'ENQ' is a protocol control code for requesting a response from the other station. The code 'ACK' is a protocol control code that means an acknowledgment that the receiver sends to the sender, and the text start code 'STX' is a protocol control code used as the first character of the text.

이후 (904)단계에서 커플러(504)로부터 긍정응답코드 'ACK'가 수신되었는가를 체크하여 긍정응답코드 'ACK'가 수신된 경우에는 (905)단계에서 자판기(512)의 동작상태를 정상상태로 판단하여, 연결했던 가입자선로(506)를 (906)단계에서 절단한 후 (907)단계에서 다음 커플러(504)에 대한 스캐닝을 준비한다.Thereafter, in step 904, if the acknowledgment code 'ACK' is received from the coupler 504, and when the acknowledgment code 'ACK' is received, the operation state of the vending machine 512 is returned to the normal state in step 905. In operation 906, the connected subscriber line 506 is cut in step 906, and the scanning of the next coupler 504 is prepared in step 907.

상기 (904)단계에서 커플러(504)로부터 긍정응답코드 'ACK'가 수신되지 않은 경우에는 (908)단계어서 텍스트시작코드 'STX'가 수신되었는가를 체크한다. 이때 커플러(504)로부터 텍스트시작코드 'STX'가 수신된 경우에는 (913)단계에서 재시도 카운터값을 초기화한 후, (914)단계에서 커플러(504)로부터 상태정보가 수신되어야 할 시간을 체크하기 위한 제2타이머를 구동한다.If the acknowledgment code 'ACK' is not received from the coupler 504 in step 904, it is checked in step 908 whether the text start code 'STX' is received. In this case, when the text start code 'STX' is received from the coupler 504, the retry counter value is initialized in step 913, and then in step 914, the time at which state information should be received from the coupler 504 is checked. To drive a second timer.

이후 (915)단계에서 커플러(504)로부터 상태정보 데이타가 수신되었는가를 체크하여 데이타가 수신되지 않은 경우에는 (916)단계에서 제2타이머가 타임아웃되었는가를 검사한다. 이때 제2타이머가 타임아웃된 경우에는 (912)단계에서 커플러(504)를 무응답상태로 판단하고 무응답상태에 대한 정보를 컴퓨터센터(508)로 통보한 후 상기 (906)단계를 수행하며, 타임아웃되지 않은 경우에는 상기 (915)단계를 반복 수행한다.Thereafter, in step 915, it is checked whether the state information data is received from the coupler 504, and if the data is not received, it is checked in step 916 whether the second timer has timed out. In this case, when the second timer is timed out, in operation 912, the coupler 504 is determined to be in an unresponsive state, the computer center 508 is notified of information on the non-responsive state, and then the operation is performed in step 906. If it is not out, the step 915 is repeated.

상기 (915)단계에서 데이타가 수신된 경우에는 (917)단계에서 정보를 모두 수신하였는가를 체크하여 수신 완료하지 않았으면 상기 (915)단계를 반복 수행하고 수신 완료한 경우에는 (918)단계에서 수신된 정보의 BCC(Block Check Code)값을 검사함으로써 백워드 에러 정정(backward error correction)을 수행하여 수신된 정보가 정확한가를 검사한다. 만일 BCC값이 맞지 않을 경우에는 (919)단계에서 재시도 카운터값을 증가시킨 후 (920)단계에서 재시도 카운터값이 3회가 되었는가를 검사한다. 이때 재시도 카운터값이 3회가 되지 않았을 경우에는 (921)단계에서 커플러(504)로 부정응답코드 "NACK'를 전송하여 정보에 대한 재전송을 요구하고 (922)단계에서 커플러(504)로부터 텍스트시작코드 'STX'가 수신되어야 할 시간을 체크하기 위한 제3타이머를 구동한다.If the data is received in step 915, if it is not completed by checking whether all the information has been received in step 917, if the reception is not completed, repeat step 915 and if the reception is completed, receive in step 918 By checking a block check code (BCC) value of the received information, backward error correction is performed to check whether the received information is correct. If the BCC value is not correct, the retry counter value is increased in step 919, and then, in step 920, it is checked whether the retry counter value is three times. In this case, when the retry counter value does not reach three times, a negative response code "NACK" is transmitted to the coupler 504 in step 921 to request retransmission of information, and the text from the coupler 504 in step 922. The third timer is driven to check the time when the start code 'STX' should be received.

여기서 부정응답코드 'NACK'는 수신측이 전송측에 보내는 부정응답을 의미하는 일반적인 프로토콜 제어코드이다.Here, the negative acknowledgment code 'NACK' is a general protocol control code that means a negative acknowledgment sent by the receiving side to the transmitting side.

다음에 (923)단계에서 커플러(504)로부터 텍스트시작코드 'STX'가 수신되었는가를 체크하여 텍스트시작코드 'STX'가 수신되지 않은 경우에는 (924)단계에서 제3타이머가 타임아웃되었는가를 검사한다. 만일 타임아웃된 경우에는 상기 (919)단계를 반복 수행하고 타임아웃되지 않은 경우에는 상기 (923)단계를 반복 수행한다. 상기 (923)단계에서 커플러(504)로부터 텍스트시작코드 'STX'가 수신된 경우에는 상기 (914)단계를 수행한다.Next, in step 923, if the text start code 'STX' is received from the coupler 504, and if the text start code 'STX' is not received, the third timer is timed out in step 924. do. If it is timed out, step 919 is repeated. If it is not timed out, step 923 is repeated. When the text start code 'STX' is received from the coupler 504 in step 923, step 914 is performed.

또한 상기 (918)단계에서 BCC값이 맞을 경우에는 (926)단계에서 커플러(504)로 긍정응답코드 'ACK'를 전송함으로써 정보를 정상적으로 수신했음을 알리고 (927)단계에서 상태정보를 컴퓨터센터(508)로 통보한 후 상기 (906)단계를 수행한다.In addition, if the BCC value is correct in step 918, the acknowledgment code 'ACK' is transmitted to the coupler 504 in step 926, indicating that the information is normally received. In step 927, the computer center 508 transmits the status information. After step 906, step 906 is performed.

제10도는 선로다중접속장치(503)가 컴퓨터센터(508)를 통한 자판기관리 컴퓨터(509)의 작업명령을 처리하는 과정을 나타낸 흐름도이다. 제10도는 편의상 제10a도와 제10b도로 나누어 도시하였으나 서로 연결된다.10 is a flowchart illustrating a process of the line multiple access device 503 processing a work command of the vending machine management computer 509 through the computer center 508. FIG. 10 is shown in FIG. 10A and FIG. 10B for convenience, but is connected to each other.

이하 제5도 내지 제7도와 제10도를 참조하여 선로다중접속장치(503)가 컴퓨터센터(508)를 통한 자판기관리(509)의 작업명령을 커플러(504)로 전송하고 자판기(512)의 작업결과를 컴퓨터센터(508)로 전송하는 동작예를 상세히 설명한다.5 through 7 and 10, the line multiplexing device 503 transmits a work command of the vending machine management 509 through the computer center 508 to the coupler 504 and the vending machine 512 of the vending machine 512. An operation example of transmitting the work result to the computer center 508 will be described in detail.

우선 선로다중접속장치(503)는 자판기관리 컴퓨터(509)의 작업명령을 처리하기 위한 작업명령메세지를 커플러(504)로 전송하기 위해 (1000)단계에서 멀티플렉서(502)를 제어하여 가입자선로(506)를 연결하고, (1001)단계에서 커플러(504)와 프로토콜 수행시 재시도하는 횟수를 카운트하기 위한 재시도 카운터값을 초기화한다.First, the line multiple access device 503 controls the multiplexer 502 at step 1000 to transmit a work command message for processing a work command of the vending machine management computer 509 to the coupler 504. 506 is connected, and in step 1001, the retry counter value for counting the number of times of retrying when performing the protocol with the coupler 504 is initialized.

다음에 (1002)단계에서 커플러(504)로 작업명령메세지를 전송하고 (1003)단계에서 커플러(504)로부터 긍정응답코드 'ACK'가 수신되어야 할 시간을 체크하기 위한 제1타이머를 구동한다.Next, in operation 1002, the operation command message is transmitted to the coupler 504, and in operation 1003, the first timer for checking the time when the positive response code 'ACK' should be received from the coupler 504 is driven.

이후 (1004)단계에서 커플러(504)로부터 긍정응답코드 'ACK'가 수신되었는가를 체크하여 긍정응답코드 'ACK'가 수신되지 않은 경우에는 (1005)단계에서 제1타이머가 타임아웃되었는가를 검사한다. 만일 제1타이머가 타임아웃된 경우에는 (1006)단계에서 재시도 카운터값을 증가시킨 후, (1007)단계에서 재시도 카운터값이 3회가 되었는가를 검사한다. 이때 재시도 카운터값이 3회가 되었을 경우에는 (1008)단계에서 커플러(504)를 무응답상태로 판단하고 무응답상태에 대한 정보를 컴퓨터센터(508)로 통보한 후, 연결했던 가입자선로(506)를 (1026)단계에서 절단하고 (1027)단계에서 다음 커플러(504)에 대한 스캐닝을 준비한다.Thereafter, in step 1004, if the acknowledgment code 'ACK' is received from the coupler 504, if the acknowledgment code 'ACK' is not received, the first timer is timed out in step 1005. . If the first timer has timed out, the retry counter value is increased in step 1006, and then, in step 1007, the retry counter value is checked three times. At this time, if the retry counter value is three times, the coupler 504 is determined as the non-response state in step 1008, and the information about the non-response state is notified to the computer center 508. ) Is cut in step 1026 and the scanning for the next coupler 504 is prepared in step 1027.

상기 (1007)단계에서 재시도 카운터값이 3회를 넘지 않았을 경우에는 상기 (1002)단계를 반복 수행한다. 또한 상기 (1005)단계에서 타임아웃되지 않은 경우에는 (1004)단계를 반복 수행한다.If the retry counter value does not exceed three times in step 1007, step 1002 is repeated. If the timeout is not performed in step 1005, step 1004 is repeated.

상기 (1004)단계에서 커플러(504)로부터 긍정응답코드 'ACK'가 수신된 경우에는 (1009)단계에서 재시도 카운터값을 초기화한 후, (1010)단계에서 커플러(504)로부터 작업결과정보가 수신되어야 할 시간을 체크하기 우한 제2타이머를 구동한다.If the positive response code 'ACK' is received from the coupler 504 in step 1004, after initializing the retry counter value in step 1009, the operation result information is received from the coupler 504 in step 1010. The second timer is driven to check the time to be received.

이후 (1011)단계에서 커플러(504)로부터 작업결과 정보의 첫 데이타인 텍스트시작코드 'STX'가 수신되었는가를 검사하여 텍스트시작코드 'STX'가 수신되지 않은 경우에는 (1014)단계에서 제2타이머가 타임아웃 되었는가를 검사한다. 이때 제2타이머가 타임아웃된 경우에는 (1023)단계에서 커플러(504)와의 프로토콜 에러로 판단하고 프로토콜 에러에 대한 정보를 컴퓨터센터(508)로 통보한 후 상기 (1026)단계를 수행하며, 타임아웃되지 않은 경우에는 상기 (1011)단계를 반복 수행한다. 상기 (1011)단계에서 텍스트시작코드 'STX'가 수신된 경우에는 (1012)단계에서 커플러(504)로부터 작업결과정보 데이타가 수신되었는가를 검사하여 데이타가 수신되지 않은 경우에는 (1013)단계에서 제2타이머가 타임아웃되었는가를 검사한다. 이때 제2타이머가 타임아웃된 경우에는 상기 (1008)단계를 수행하며 타임아웃되지 않은 경우에는 상기 (1012)단계를 반복 수행한다.Thereafter, in operation 1011, if the text start code 'STX', which is the first data of the operation result information, is received from the coupler 504, and the text start code 'STX' is not received, the second timer is performed in operation 1014. Checks if the timeout has occurred. In this case, when the second timer times out, it is determined as a protocol error with the coupler 504 in step 1023, the computer center 508 is notified of the protocol error information, and then step 1026 is performed. If it is not out, the step 1011 is repeated. If the text start code 'STX' is received in step 1011, it is determined whether the operation result information data is received from the coupler 504 in step 1012. 2 Check if the timer has timed out. In this case, if the second timer is timed out, step 1008 is performed, and if it is not timed out, step 1012 is repeated.

상기 (1012)단계에서 데이타가 수신된 경우에는 (1015)단계에서 커플러(504)로부터의 정보를 모두 수신하였는가를 검사하여 수신을 완료하지 않았으면 상기 (1012)단계를 반복 수행하고 수신 완료한 경우에는 (1016)단계에서 수신된 정보의 BCC값을 커플러 통신부(602)를 통해 검사함으로써 백워드 에러 정정을 수행하여 수신된 정보가 정확한가를 검사한다. 만일 BCC값이 맞지 않을 경우에는 (1017)단계에서 재시도 카운터값을 증가시킨 후 (1018)단계에서 재시도 카운터값이 3회가 되었는가를 검사한다. 이때 재시도 카운터값이 3회가 되지 않았을 경우에는 (1019)단계에서 커플러(504)로 부정응답코드 'NACK'를 전송하여 정보에 대한 재전송을 요구하고 (1020)단계에서 커플러(504)로부터 텍스트시작코드 'STX'가 수신되어야 할 시간을 체크하기 위한 제3타이머를 구동한다.If data is received in step 1012, if it is not completed by checking whether all the information from the coupler 504 has been received in step 1015, and repeats the step (1012) if the reception is completed. In step 1016, the BCC value of the received information is examined through the coupler communication unit 602 to perform backward error correction to check whether the received information is correct. If the BCC value is not correct, the retry counter value is increased in step 1017, and then in step 1018, the retry counter value is checked three times. At this time, if the retry counter value is not three times, a negative response code 'NACK' is transmitted to the coupler 504 in step 1019 to request retransmission of information, and the text from the coupler 504 in step 1020. The third timer is driven to check the time when the start code 'STX' should be received.

다음에 (1021)단계에서 커플러(504)로부터 텍스트시작코드 'STX'가 수신되었는가를 체크하여 텍스트시작코드 'STX'가 수신되지 않은 경우에는 (1022)단계에서 제3타이머가 타임아웃되었는가를 검사한다. 만일 타임아웃된 경우에는 상기 (1017)단계를 반복 수행하고 타임아웃되지 않은 경우에는 상기 (1021)단계를 반복 수행한다. 상기 (1021)단계에서 커플러(504)로부터 텍스트시작코드 'STX'가 수신된 경우에는 상기 (1010)단계를 수행한다.Next, in step 1021, if the text start code 'STX' is received from the coupler 504, and if the text start code 'STX' is not received, the third timer is timed out in step 1022. do. If it is timed out, step 1017 is repeated. If it is not timed out, step 1021 is repeated. When the text start code 'STX' is received from the coupler 504 in step 1021, step 1010 is performed.

제11도는 커플러(504)가 자판기(512)를 스캐닝하는 과정을 나타낸 흐름도로서, 자판기(512)의 상태가 정상상태일 경우와 이상상태일 경우에 처리하는 과정을 나타낸다. 제11도는 편의상 제11a도와 제11b도로 나누어 도시하였으나 서로 연결된다.FIG. 11 is a flowchart illustrating a process in which the coupler 504 scans the vending machine 512, and illustrates a process in which the vending machine 512 is in a normal state and an abnormal state. 11 is shown in FIG. 11A and FIG. 11B for convenience, but is connected to each other.

이하 제5도 내지 제8도와 제11도를 참조하여 커플러(504)가 자판기(512)를 스캐닝하는 동작예를 상세히 설명한다.Hereinafter, an operation example in which the coupler 504 scans the vending machine 512 will be described in detail with reference to FIGS. 5 to 8 and 11.

먼저 커플러(504)는 자판기(512)를 스캐닝하기 위해 (1100)단계에서 단말접속부(703)를 제어하여 자판기선로(513)를 연결하고, (1101)단계에서 자판기(512)와 프로토콜 수행시 재시도하는 횟수를 카운트하기 위한 재시도 카운터값을 초기화한다. 다음에 (1102)단계에서 자판기(512)로 상태를 문의하기 위한 문의정보인 문의코드 'ENQ'를 전송하고 (1103)단계에서 문의코드 'ENQ'에 응답하여 수신되어야 할 긍정응답코드 'ACK' 또는 텍스트(text)시작코드 'STX'가 수신되어야 할 시간을 체크하기 위한 제1타이머를 구동한다.First, the coupler 504 controls the terminal connection unit 703 in step 1100 to scan the vending machine 512, and connects the vending machine line 513, and performs the protocol with the vending machine 512 in step 1101. Initialize the retry counter value to count the number of attempts. Next, in step 1102, the inquiry code 'ENQ', which is inquiry information for inquiring status to the vending machine 512, is transmitted, and in step 1103, a positive response code 'ACK' to be received in response to the inquiry code 'ENQ'. Or driving the first timer for checking the time when the text start code 'STX' should be received.

이후 (1104)단계에서 자판기(512)로부터 긍정응답코드 'ACK'가 수신되었는가를 체크하여 긍정응답코드 'ACK'가 수신된 경우에는 (1105)단계에서 자판기(512)의 동작상태를 정상상태로 판단하여, 연결했던 자판기선로(513)를 (1106)단계에서 절단한 후 (1107)단계에서 다음 자판기(512)에 대한 스캐닝을 준비한다.Thereafter, in step 1104, if the acknowledgment code 'ACK' is received from the vending machine 512, and if the acknowledgment code 'ACK' is received, the operation state of the vending machine 512 is returned to the normal state in step 1105. After determining, the connected vending machine line 513 is cut in step 1106, and then scanning is performed for the next vending machine 512 in step 1107.

상기 (1104)단계에서 자판기(512)로부터 긍정응답코드 'ACK'가 수신되지 않은 경우에는 (1108)단계에서 자판기(512)로부터 텍스트시작코드 'STX'가 수신되었는가를 체크한다. 이때 텍스트시작코드 'STX'가 수신된 경우에는 (1113)단계에서 재시도 카운터값을 초기화한 후, (1114)단계에서 자판기(512)로부터 상태정보가 수신되어야 할 시간을 체크하기 위한 제2타이머를 구동한다.If the acknowledgment code 'ACK' is not received from the vending machine 512 in step 1104, it is checked whether the text start code 'STX' is received from the vending machine 512 in step 1108. In this case, when the text start code 'STX' is received, the second timer for checking the time at which state information should be received from the vending machine 512 is initialized in step 1114 after initializing the retry counter value in step 1113. To drive.

이후 (1115)단계에서 자판기(512)로부터 상태정보 데이타가 수신되었는가를 체크하여 데이타가 수신되지 않은 경우에는 (1116)단계에서 제2타이머가 타임아웃되었는가를 검사한다. 이때 제2타이머가 타임아웃된 경우에는 (1112)단계에서 자판기(512)를 무응답상태로 판단하고 무응답상태에 대한 정보를 보관한 후 상기 (1116)단계를 수행하며, 타임아웃되지 않은 경우에는 상기 (1115)단계를 반복 수행한다. 상기 (1115)단계에서 데이타가 수신된 경우에는 (1117)단계에서 정보를 무도 수신하였는가를 체크하여 수신 완료하지 않았으면 상기 (1115)단계를 반복 수행하고 수신 완료한 경우에는 (1118)단계에서 수신된 정보의 BCC값을 검사하여 백워드 에러 정정을 수행함으로써 수신된 정보가 정확한가를 검사한다. 만일 BCC값이 맞지 않을 경우에는 (1119)단계에서 재시도 카운터값을 증가시킨 후 (1120)단계에서 재시도 카운터값이 3회가 되었는가를 검사한다. 이때 재시도 카운터값이 3회가 되지 않았을 경우에는 (1121)단계에서 자판기(512)로 부정응답코드 'NACK'를 전송하여 정보에 대한 재전송을 요구하고 (1122)단계에서 자판기(512)로부터 텍스트시작코드 'STX'가 수신되어야 할 시간을 체크하기 위한 제3타이머를 구동한다.Thereafter, in step 1115, it is checked whether the state information data is received from the vending machine 512. If no data is received, it is checked in step 1116 whether the second timer has timed out. In this case, when the second timer is timed out, in operation 1112, the vending machine 512 is determined as the non-responsive state, and the information is stored in the non-responsive state, and then the operation 1116 is performed. Repeat step 1115. If the data is received in step 1115, check whether the information has been received in step 1117. If the reception is not completed, repeat step 1115. If the reception is completed, receive the data in step 1118. By checking the BCC value of the received information and performing backward error correction, it is checked whether the received information is correct. If the BCC value is not correct, the retry counter value is increased in step 1119 and then the retry counter value is checked three times in step 1120. In this case, when the retry counter value has not been three times, a negative response code 'NACK' is transmitted to the vending machine 512 in step 1121 to request retransmission of information, and the text from the vending machine 512 in step 1122. The third timer is driven to check the time when the start code 'STX' should be received.

다음에 (1123)단계에서 자판기(512)로부터 텍스트시작코드 'STX'가 수신되었는가를 체크하여 텍스트시작코트 'STX'가 수신되지 않은 경우에는 (1124)단계에서 제3타이머가 타임아웃되었는가를 검사한다. 만일 타임아웃된 경우에는 상기 (1119)단계를 반복 수행하고 타임아웃되지 않은 경우에는 상기 (1123)단계를 반복 수행한다. 상기 (1123)단계에서 자판기(512)로부터 텍스트시작코드 'STX'가 수신된 경우에는 상기 (1114)단계를 수행한다.Next, in step 1123, if the text start code 'STX' is received from the vending machine 512, and if the text start coat 'STX' is not received, it is checked in step 1124 whether the third timer has timed out. do. If it is timed out, the operation 1111 is repeated. If it is not timed out, the operation 1123 is repeated. When the text start code 'STX' is received from the vending machine 512 in step 1123, step 1114 is performed.

또한 상기 (1118)단계에서 BCC값이 맞을 경우에는 (1126)단계에서 자판기(512)로 긍정응답코드 'ACK'를 전송함으로써 정보를 정상적으로 수신했음을 알리고 (1127)단계에서 상태정보를 보관한 후 상기 (1106)단계를 수행한다.In addition, if the BCC value is correct in step 1118, the acknowledgment code 'ACK' is transmitted to the vending machine 512 in step 1126, indicating that the information is normally received, and the state information is stored in step 1127. Perform step 1106.

제12도는 커플러(504)가 선로다중접속장치(503)를 통한 자판기관리 컴퓨터(509)의 작업명령을 수신하고 자판기(512)의 작업결과를 선로다중접속장치(503)로 전송하는 과정을 나타낸 흐름도이다. 제12도는 편의상 제12a도와 제12b도로 나누어 도시하였으나 서로 연결된다.FIG. 12 illustrates a process in which the coupler 504 receives a work command of the vending machine management computer 509 through the line multiple access device 503 and transmits a work result of the vending machine 512 to the line multiple access device 503. It is a flow chart. 12 is shown in FIG. 12A and FIG. 12B for convenience, but is connected to each other.

이하 제5도 내지 제7도와 제12도를 참조하여 커플러(504)가 선로다중접속장치(503)를 통한 자판기관리 컴퓨터(509)의 작업명령을 수신하고 자판기(512)의 작업결과를 선로다중접속장치(503)로 전송하는 동작예를 상세히 설명한다.Hereinafter, referring to FIGS. 5 to 7 and 12, the coupler 504 receives a work command of the vending machine management computer 509 through the line multiple connection device 503 and multiplies the work result of the vending machine 512. An example of the operation of transmitting to the connection device 503 will be described in detail.

우선 커플러(504)는 (1200)단계에서 선로다중접속장치(503)로부터의 문의코드 'ENQ'가 수신되었는가를 검사하여 문의코드 'ENQ'가 수신된 경우에는 (1201)단계에서 자판기(512)의 상태정보가 있는지를 확인한다. 이때 상태정보가 없을 때에는 (1202)단계에서 선로다중접속장치(503)로 긍정응답코드 'ACK'를 전송하고 (1203)단계에서 평상상태로 복구하며, 상태정보가 있을 경우에는 (1204)단계에서 선로다중접속장치(503)와 프로토콜 수행시 재시도하는 횟수를 카운트하기 위한 재시도 카운터값을 초기화한다.First, the coupler 504 checks whether the inquiry code 'ENQ' is received from the line multiple access device 503 in operation 1200, and if the inquiry code 'ENQ' is received, the vending machine 512 in operation 1201. Check if there is status information. In this case, when there is no state information, the acknowledgment code 'ACK' is transmitted to the line multiple access device 503 in step 1202, and the state is restored to the normal state in step 1203, and in step 1204, if there is state information. The retry counter value for counting the number of retries to perform the protocol with the line multiple access device 503 is initialized.

다음에 (1205)단계에서 선로다중접속장치(503)로 상태정보를 전송하고 (1206)단계에서 상태정보에 응답하여 선로다중접속장치(503)로부터 긍정응답코드 'ACK' 또는 부정응답코드 'NACK'가 수신되어야 할 시간을 체크하기 위한 제1타이머를 구동한다. 이후 (1207)단계에서 선로다중접속장치(503)로부터 긍정응답코드 'ACK'가 수신되었는가를 검사하여 긍정응답코드 'ACK'가 수신된 경우는 선로다중접속장치(503)가 정상적으로 수신한 것으로 판단하고 상기 (1203)단계를 수행하여 평상상태로 복구하며, 긍정응답코드 'ACK'가 수신되지 않은 경우에는 (1208)단계에서 선로다중접속장치(503)로부터 부정응답코드 'NACK'가 수신되었는가를 검사한다. 이때 선로다중접속장치(503)로부터 부정응답코드 'NACK'가 수신되지 않은 경우에는 (1209)단게에서 제1타이머가 타임아웃되었는가를 검사한다. 만일 제1타이머가 타임아웃된 경우에는 (1210)단계에서 재시도 카운터값을 증가시킨 후 (1211)단계에서 재시도 카운터값이 3회가 되었는가를 검사한다. 이때 재시도 카운터값이 3회가 되었을 경우에는 (1203)단계를 수행하여 평상상태로 복구하며, 재시도 카운터값이 3회가 되지 않았을 경우에는 상기 (1205)단계를 수행하여 선로다중접속장치(503)로 상태정보를 재 전송하는 과정을 반복 수행한다. 또한 상기 (1209)단계에서 제1타이머가 타임아웃되지 않은 경우에는 상기 (1207)단계를 반복 수행하고, 상기 (1208)단계에서 선로다중접속장치(503)로부터 부정응답코드 'NACK'가 수신된 경우에는 상기 (1210)단계를 수행한다.Next, in step 1205, the state information is transmitted to the line multiple access device 503, and in response to the state information in step 1206, a positive response code 'ACK' or a negative response code 'NACK' is received from the line multiple access device 503. 'Drive a first timer to check the time that should be received. Thereafter, in step 1207, if the acknowledgment code 'ACK' is received from the line multiple access device 503, the acknowledgment code 'ACK' is determined to be normally received by the line multiple access device 503. In step 1203, if the acknowledgment code 'ACK' is not received, if the acknowledgment code 'NACK' is received from the line multiple access device 503 in step 1208. Check it. At this time, if the negative response code 'NACK' is not received from the line multiple access device 503, it is checked whether the first timer has timed out at step 1209. If the first timer has timed out, the retry counter value is increased in step 1210, and then, in step 1211, it is checked whether the retry counter value is three times. At this time, if the retry counter value is three times, perform the operation (1203) to recover to the normal state, and if the retry counter value is not three times, perform the step (1205) to the line multiple access device ( The process of retransmitting the state information is repeated. If the first timer has not timed out in step 1209, step 1207 is repeated, and in step 1208, a negative response code 'NACK' is received from the line multiple access device 503. In this case, step 1210 is performed.

한편 상기 (1200)단계에서 선로다중접속장치(503)로부터의 문의코드 'ENQ'가 수신되지 않은 경우에는 (1212)단계에서 선로다중접속장치(503)로부터 작업명령정보의 첫 데이타인 텍스트시작코드 'STX'가 수신되었는지를 검사하여 텍스트시작코드 'STK'가 수신되지 않은 경우는 (1200)단계를 반복 수행하며 텍스트시작코드 'STX'가 수신된 경우는 (1213)단계에서 선로다중접속장치(503)와 프로토콜 수행시 재시도하는 횟루를 카운트하기 위한 재시도 카운터값을 초기화한 후, (1214)단계에서 선로다중접속장치(503)로부터 작업명령정보다 수신되어야 할 시간을 체크하기 위한 제2타이머를 구동한다. 다음에 (1215)단계에서 선로다중접속장치(503)로부터 작업명령정보 데이타가 수신되었는가를 검사하여 데이타가 수신되지 않은 경우에는 (1216)단계에서 제2타이머가 타임아웃되었는가를 검사한다. 이때 제2타이머가 타임아웃된 경우에는 (1217)단계에서 재시도 카운터값을 증가시킨 후 (1218)단계에서 재시도 카운터값이 3회가 되었는가를 검사한다. 이때 재시도 카운터값이 3회가 되지 않았을 경우에는 (1219)단계에서 선로다중접속장치(503)로부터 작업명령정보의 첫 데이타인 텍스트시작코드 'STX'가 수신되어야 할 시간을 체크하기 위한 제3타이머를 구동한후 (1220)단계를 수행하며, 재시도 카운터값이 3회가 되었을 경우에는 상기 (1203)단계를 수행하여 평상상태로 복구한다. 상기 (1220)단계에서는 선로다중접속장치(503)로부터 텍스트시작코드 'STX'가 수신되었는가를 검사하여 텍스트시작코드 'STX'가 수신되지 않은 경우에는 (1221)단계에서 제3타이머가 타임아웃되었는가를 검사한다. 이때 제3타이머가 타임아웃된 경우에는 상기 (1217)단계를 반복 수행하며 타임아웃되지 않은 경우는 상기 (1220)단계를 반복 수행한다.On the other hand, if the inquiry code 'ENQ' is not received from the line multiplexing device 503 in step 1200, the text start code, which is the first data of the work command information from the line multiplexing device 503, in step 1212. If the text start code 'STK' is not received by checking whether the 'STX' is received, the process is repeated (1200). If the text start code 'STX' is received, the line multiple access device ( 503) and a second retry counter value for counting the number of retries to retry when the protocol is executed, and then, in operation 1214, a second time for checking the time when the work command information should be received from the line multiple access device 503. Run the timer. Next, in step 1215, it is checked whether work command information data is received from the line multiple access device 503. If data is not received, it is checked in step 1216 whether the second timer has timed out. In this case, when the second timer has timed out, the retry counter value is increased in step 1217, and then, in step 1218, it is checked whether the retry counter value is three times. At this time, if the retry counter value is not three times, in step 1219, a third time for checking the time when the text start code 'STX', which is the first data of the work command information, is received from the line multiple access device 503 is received. After driving the timer, the operation 1220 is performed. When the retry counter value is three times, the operation 1203 is performed to restore the normal state. In step 1220, if the text start code 'STX' is received from the line multiple access device 503, and if the text start code 'STX' is not received, is the third timer timed out in step 1221? Check it. In this case, if the third timer is timed out, the operation 1217 is repeated. If the third timer is not timed out, the operation 1220 is repeated.

또한 상기 (1215)단계에서 작업명령정보가 수신된 경우에는 (1222)단계에서 선로다중접속장치(503)로부터 정보를 모두 수신하였는가를 검사하여 수신 완료하지 않았으면 상기 (1215)단계를 반복 수행하며 수신 완료한 경우에는 (1223)단계에서 수신된 정보의 BCC값을 검사하여 백워드 에러 정정을 수행함으로써 수신된 정보가 정확한가를 검사한다. 만일 BCC값이 맞지 않을 경우는 상기 (1217)단계를 수행하며 BCC값이 맞을 경우에는 (1224)단계에서 선로다중접속장치(503)로 긍정응답코드 'ACK'를 전송함으로서 정상적으로 수신했음을 알리고 (1225)단계에서 재시도 카운터값을 초기화한다. 다움에 (1226)단계에서 자판기(512)의 작업수행에 따른 작업결정보를 선로다중접속장치(503)로 전송하고 (1227)단계에서 작업결과메세지에 응답하여 선로다중접속장치(503)로부터 긍정응답코드 'ACK' 또는 부정응답코드 'NACK'가 수신되어야 할 시간을 체크하기 위한 제4타이머를 구동한다. 이후 (1228)단계에서 선로다중접속장치(503)로부터 긍정응답코드 'ACK'가 수신되었는가를 검사하여 긍정응답코드 'ACK'가 수신된 경우에는 선로다중접속장치(503)가 정상 수신한 것으로 판단하고 상기 (1203)단계를 수행하여 평상상태로 복구하며 긍정응답코드 'ACK'가 수신되지 않은 경우에는 (1229)단계에서 선로다중접속장치(503)로부터 부정응답코드 'NACK'가 수신되었는가를 검사한다. 이때 선로다중접속장치(503)로부터 부정응답코드 'NACK'가 수신되지 않은 경우에는 (1230)단계에서 제4타이머가 타임아웃되었는가를 검사하여 타임아웃된 경우에는 (1231)단계에서 재시도 카운터값을 증가시킨 후, (1232)단계에서 재시도 카운터값이 3회가 되었는가를 검사하여 3회가 되었을 경우에는 상기 (1203)단계를 수행하여 평상상태로 복구하고 재시도 카운터값이 3회가 되지 않았을 경우에는 상기 (1226)단계를 반복 수행한다.In addition, when the operation command information is received in step 1215, it is checked whether all the information is received from the line multiple access device 503 in step 1222, and if the reception is not completed, the step 1215 is repeated. When the reception is completed, it is checked whether the received information is correct by performing backward error correction by checking the BCC value of the received information in step 1223. If the BCC value is not correct, the operation 1212 is performed. If the BCC value is correct, the acknowledgment code 'ACK' is transmitted to the line multiple access device 503 at step 1224, indicating that the reception is normally performed. In step), retry the counter value. In step 1226, the operation decision report according to the work performed by the vending machine 512 is transmitted to the line multiple access device 503, and the line multiple access device 503 is affirmed in response to the operation result message in step 1227. The fourth timer for checking the time when the response code 'ACK' or the negative response code 'NACK' should be received is driven. Thereafter, in step 1228, if the acknowledgment code 'ACK' is received from the line multiple access device 503, the acknowledgment code 'ACK' is received. In step 1229, if the acknowledgment code 'ACK' is not received, it is checked whether the negative acknowledgment code 'NACK' is received from the line multiple access device 503 in step 1229. do. In this case, when the negative response code 'NACK' is not received from the line multiple access device 503, it is checked whether the fourth timer has timed out in step 1230, and if it has timed out, the retry counter value in step 1231. After increasing the value, check in step 1232 whether the retry counter value has reached 3 times, and if there are 3 times, perform the above step 1203 to recover to the normal state, and the retry counter value does not reach 3 times. If not, the step 1226 is repeated.

제13도는 커플러(504)가 선로다중접속장치(503)를 통한 자판기관리 컴퓨터(509)의 작업명령을 해당 자판기(512)로 전송하고 작업명령에 따른 작업결과를 해당 자판기(512)로부터 수신하는 과정을 나타낸 흐름도이다. 제13도는 편의상 제13a도와 제13b도로 나누어 도시하였으나 서로 연결된다.FIG. 13 illustrates that the coupler 504 transmits a work command of the vending machine management computer 509 through the line multiple access device 503 to the corresponding vending machine 512 and receives a work result according to the work command from the vending machine 512. A flow chart showing the process. 13 is shown in FIG. 13A and FIG. 13B for convenience, but are connected to each other.

이하 제5도 내지 제8도와 제13도를 참조하여 커플러(504)가 선로다중접속장치(503)를 통한 자판기관 리검퓨터(509)의 작업명령을 해당 자판기(512)로 전송하고 작업명령에 따른 작업결과를 해당 자판기(512)로부터 수신하는 동작예를 상세히 설명한다.Hereinafter, referring to FIGS. 5 to 8 and 13, the coupler 504 transmits a work command of the vending machine rechecker 509 through the line multiple connection device 503 to the corresponding vending machine 512, and sends the work command to the work command. An operation example of receiving the operation result from the corresponding vending machine 512 will be described in detail.

우선 커플러(504)는 선로다중접속장치(503)를 통한 자판기관리 컴퓨터(503)의 작업명령을 처리하기 위한 작업명령메세지를 자판기(512)로 전송하기 위해 (1300)단계에서 단말접속부(703)를 제어하여 자판기선로(513)를 연결하고, (1301)단계에서 자판기(512)와 프로토콜 수행시 재시도하는 횟수를 카운트하기 위한 재시도 카운터값을 초기화한다. 다음에 (1302)단계에서 자판기(512)로 작업명령메세지를 전송하고 (1303)단계에서 자판기(512)로부터 긍정응답코드 'ACK'가 수신되어야 할 시간을 체크하기 위한 제1타이머를 구동한다. 이후 (1304)단계에서 자판기(512)로부터 긍정응답코드 'ACK'가 수신되었는가를 체크하여 긍정응답코드 'ACK'가 수신되지 않은 경우에는 (1305)단계에서 제1타이머가 타임아웃되었는가를 검사한다. 만일 제1타이머가 타임아웃된 경우에는 (1306)단계에서 재시도 카운터값을 증가시킨 후, (1307)단계에서 재시도 카운터값이 3회가 되었는가를 검사한다. 이때 재시도 카운터값이 3회가 되었을 경우에는 (1308)단계에서 자판기(512)를 무응답상태로 판단하고 무응답상태에 대한 정보를 보관한 후, 연결했던 자판기선로(513)를 (1326)단계에서 절단하고 (1327)단계에서 다음 자판기(512)에 대한 스캐닝을 준비한다. 상기 (1307)단계에서 재시도 카운터값이 3회를 넘지 않았을 경우에는 상기 (1302)단계를 반복 수행한다. 또한 상기 (1305)단계에서 타임아웃되지 않은 경우에는 (1304)단계를 반복 수행한다.First, the coupler 504 transmits a work command message for processing a work command of the vending machine management computer 503 through the line multiple access device 503 to the vending machine 512 in step 1300. The control unit connects the vending machine line 513 and initializes a retry counter value for counting the number of times of retrying when the protocol is performed with the vending machine 512 in step 1301. Next, in operation 1302, the operation command message is transmitted to the vending machine 512. In operation 1303, the first timer for checking the time when the acknowledgment code 'ACK' should be received from the vending machine 512 is driven. Thereafter, in step 1304, the acknowledgment code 'ACK' is received from the vending machine 512, and when the acknowledgment code 'ACK' is not received, the first timer is timed out in step 1305. . If the first timer has timed out, the retry counter value is increased in step 1306, and then, in step 1307, it is checked whether the retry counter value has reached three times. In this case, when the retry counter value is three times, the vending machine 512 is determined as the non-response state in step 1308, and the information on the non-response state is stored, and the connected vending machine line 513 is connected in step 1326. Cut and prepare scanning for the next vending machine 512 in step (1327). If the retry counter value does not exceed three times in step 1307, step 1302 is repeated. If the timeout does not occur in step 1305, step 1304 is repeated.

상기 (1304)단계에서 자판기(512)로부터 긍정응답코드 'ACK'가 수신된 경우에는 (1309)단계에서 재시도 카운터값을 초기화한 후, (1310)단계에서 자판기(512)로부터 작업결과정보가 수신되어야 할 시간을 체크하기 위한 제2타이머를 구동한다. 이후 (1311)단계에서 자판기(512)로부터 작업결과정보의 첫 데이타인 텍스트시작코드 'STX'가 수신되었는가를 검사하여 텍스트시작코드 'STX'가 수신되지 않은 경우에는 (1314)단계에서 제2타이머가 타임아웃되었는가를 검사한다. 이때 제2타이머가 타임아웃된 경우에는 (1323)단계에서 자판기(512)와의 프로토콜 에러로 판단하고 프로토콜 에러에 대한 상태정보를 보관한 후 상기 (1326)단계를 수행하며, 타임아웃되지 않은 경우에는 상기 (1311)단계를 반복 수행한다. 상기 (1311)단계에서 텍스트시작코드 'STX'가 수신된 경우에는 (1312)단계에서 자판기(512)로부터 작업결과정보 데이타가 수신되었는가를 검사하여 데이타가 수신되지 않은 경우에는 (1313)단계에서 제2타이머가 타임아웃되었는가를 검사한다. 이때 제2타이머가 타임아웃된 경우에는 상기 (1308)단계를 수행하며 타임아웃되지 않은 경우에는 상기 (1312)단계를 반복 수행한다.If the acknowledgment code 'ACK' is received from the vending machine 512 in step 1304, after initializing the retry counter value in step 1309, the operation result information from the vending machine 512 is entered in step 1310. Drive a second timer to check the time to be received. Thereafter, in operation 1311, if the text start code 'STX', which is the first data of the operation result information, is received from the vending machine 512, and the text start code 'STX' is not received, the second timer is input in step 1314. Checks if the timeout has occurred. In this case, when the second timer is timed out, it is determined as a protocol error with the vending machine 512 in step 1323, and after the state information on the protocol error is stored, the step 1326 is performed. Repeat step (1311). If the text start code 'STX' is received in step 1311, it is determined whether the operation result information data is received from the vending machine 512 in step 1312. 2 Check if the timer has timed out. In this case, if the second timer is timed out, step 1308 is performed, and if it is not timed out, step 1312 is repeated.

상기 (1312)단계에서 데이타가 수신된 경우에는 (1315)단계에서 자판기(512)로부터의 정보를 모두 수신하였는가를 검사하여 수신을 완료하지 않았으면 상기 (1312)단계를 반복 수행하고 수신 완료한 경우에는 (1316)단계에서 수신된 정보의 BCC값을 검사하여 백워드 에러 정정을 수행함으로써 수신된 정보가 정확한가를 검사한다. 만일 BCC값이 맞지 않을 경우에는 (1317)단계에서 재시도 카운터값을 증가시킨 후 (1318)단계에서 재시도 카운터값이 3회가 되었는가를 검사한다. 이때 재시도 카운터값이 3회가 되지 않았을 경우에는 (1319)단계에서 자판기(512)로 부정응답코드 'NACK'를 전송하여 정보에 대한 재전송을 요구하고 (1320)단계에서 자판기(512)로부터 텍스트시작코드 'STX'가 수신되어야 할 시간을 체크하기 위한 제3타이머를 구동한다. 다음에 (1321)단계에서 자판기(512)로부터 텍스트시작코드 'STX'가 수신되었는가를 체크하여 텍스트시작코드 'STX'가 수신되지 않은 경우에는 (1322)단계에서 제3타이머가 타임아웃되었는가를 검사한다. 만일 타임아웃된 경우에는 상기 (1317)단계를 반복 수행하고 타임아웃되지 않은 경우에는 상기 (1321)단계를 반복 수행한다. 상기 (1321)단계에서 자판기(512)로부터 텍스트시작코드 'STX'가 수신된 경우에는 상기 (1310)단계를 수행한다.When the data is received in step 1312, if it is not completed by checking whether all the information from the vending machine 512 is received in step 1315, and repeating the step (1312) after completing the reception. In step 1316, the BCC value of the received information is checked to perform backward error correction to check whether the received information is correct. If the BCC value is not correct, the retry counter value is increased in step 1317, and then in step 1318, the retry counter value is checked three times. In this case, when the retry counter value does not reach three times, a negative response code 'NACK' is transmitted to the vending machine 512 in step 1319, and the request for retransmission of information is requested. The third timer is driven to check the time when the start code 'STX' should be received. Next, it is checked whether the text start code 'STX' has been received from the vending machine 512 in step 1132, and if the text start code 'STX' is not received, the third timer has timed out in step 1322. do. If it is timed out, the operation 1317 is repeated. If it is not timed out, the operation 1321 is repeated. When the text start code 'STX' is received from the vending machine 512 in step 1321, the step 1310 is performed.

제14도는 자판기(512)의 처리 흐름도를 나타낸 것이다. 제14도는 편의상 제14a도와 제14b도로 나누어 도시하였으나 서로 연결된다.14 shows a processing flowchart of the vending machine 512. FIG. 14 is divided into FIGS. 14A and 14B for convenience, but is connected to each other.

이하 제5도 내지 제8도와 제14도를 참조하여 자판기(512)가 커플러(504)를 통한 자판기관리 컴퓨터(509)의 작업명령을 수신하여 처리하고 작업결과를 커플러(504)로 전송하는 동작예를 상세히 설명한다.Hereinafter, referring to FIGS. 5 to 8 and 14, the vending machine 512 receives and processes a work command of the vending machine management computer 509 through the coupler 504, and transmits the work result to the coupler 504. An example is explained in full detail.

우선 자판기(512)는 (1400)단계에서 커플러(504)로부터의 문자코드 'ENQ'가 수신되었는가를 검사하여 문의코드 'ENQ'가 수신된 경우에는 (1401)단계에서 자판기(512)의 상태정보가 있는지를 확인한다. 이때 상태정보가 없을 때에는 (1402)단계에서 커플러(504)로 긍정응답코드 'ACK'를 전송하고 (1403)단계에서 평상상태로 복구하며, 상태정보가 있을 경우에는 (1404)단계에서 커플러(504)와 프로토콜 수행시 재시도하는 횟수를 카운터하기 위한 재시도 카운터값을 초기화한다.First, the vending machine 512 checks whether the character code 'ENQ' is received from the coupler 504 in step 1400, and if the inquiry code 'ENQ' is received, the state information of the vending machine 512 in step 1401. Check if there is. In this case, when there is no state information, the acknowledgment code 'ACK' is transmitted to the coupler 504 in step 1402, and the state is restored to the normal state in step 1403, and when there is state information, the coupler 504 in step 1404. ) And the retry counter value to count the number of retries when the protocol is executed.

다음에 (1405)단계에서 커플러(504)로 상태정보를 전송하고 (1406)단계에서 상태정보에 응답하여 커플러(504)로부터 긍정응답코드 'ACK' 또는 부정응답코드 'NACK'가 수신되어야 할 시간을 체크하기 위한 제1타이머를 구동한다. 이후 (1407)단계에서 커플러(504)로부터 긍정응답코드 'ACK'가 수신되었는가를 검사하여 긍정응답코드 'ACK'가 수신된 경우는 커플러(504)가 정상적으로 수신한 것으로 판단하고 상기 (1403)단계를 수행하여 평상상태로 복구하며, 긍정응답코드 'ACK'가 수신되지 않은 경우에는 (1408)단계에서 커플러(504)로부터 부정응답코드 'NACK'가 수신되었는가를 검사한다. 이때 커플러(504)로부터 부정응답코드 'NACK'가 수신되지 않은 경우에는 (1409)단계에서 제1타이머가 타임아웃되었는가를 검사한다. 만일 제1타이머가 타임아웃된 경우에는 (1410)단계에서 재시도 카운터값을 증가시킨 후 (1411)단계에서 재시도 카운터값이 3회가 되었는가를 검사한다. 이때 재시도 카운터값이 3회가 되었을 경우에는 (1403)단계를 수행하여 평상상태로 복구하며, 재시도 카운터값이 3회가 되지 않았을 경우에는 상기 (1405)단계를 수행하여 커플러(504)로 상태정보를 재 전송하는 과정을 반복 수행한다.Next, in step 1405, the state information is transmitted to the coupler 504, and in response to the state information in step 1406, the positive response code 'ACK' or the negative response code 'NACK' should be received from the coupler 504. Drive the first timer to check. Thereafter, in step 1407, if the acknowledgment code 'ACK' is received from the coupler 504, the acknowledgment code 'ACK' is received. When the acknowledgment code 'ACK' is not received, it is checked whether the negative response code 'NACK' is received from the coupler 504 in step 1408. At this time, if the negative response code 'NACK' is not received from the coupler 504, it is checked in step 1409 whether the first timer has timed out. If the first timer has timed out, the retry counter value is increased in step 1410, and then in step 1411, it is checked whether the retry counter value is three times. At this time, if the retry counter value is three times, perform the operation (1403) to recover to the normal state, and if the retry counter value is not three times, perform the operation (1405) to the coupler 504. Repeat the process of retransmitting the status information.

또한 상기 (1409)단계에서 제1타이머가 타임아웃되지 않은 경우에는 상기 (1407)단계를 반복 수행하고, 상기 (1408)단계에서 커플러(504)로부터 부정응답코드 'NACK'가 수신된 경우에는 상기 (1410)단계를 수행한다.If the first timer has not timed out in step 1409, step 1407 is repeated, and if a negative response code 'NACK' is received from the coupler 504 in step 1408, Follow step 1410.

한편 상기 (1400)단계에서 커플러(504)로부터의 문의코드 'ENQ'가 수신되지 않은 경우에는 (1412)단계에서 커플러(504)로부터 작업명령정보의 첫 데이타인 텍스트시작코드 'STX'가 수신되었는지를 검사하여 텍스트시작코드 'STX'가 수신되지 않은 경우는 (1400)단계를 반복 수행하며 텍스트시작코드 'STX'가 수신된 경우는 (1413)단계에서 커플러(504)와 프로토콜 수행시 재시도하는 횟수를 카운트하기 위한 재시도 카운터값을 초기화한 후, (1414)단계에서 커플러(504)로부터 작업명령정보가 수신되어야 할 시간을 체크하기 위한 제2타이머를 구동한다.On the other hand, if the inquiry code 'ENQ' from the coupler 504 is not received in step 1400, the text start code 'STX', which is the first data of the work command information, is received from the coupler 504 in step 1412. If the text start code 'STX' is not received and the text start code 'STX' is received and the text start code 'STX' is received, the method is retried when the coupler 504 and the protocol are performed in step 1413. After initializing the retry counter value for counting the number of times, in operation 1414, the second timer for checking the time when the work command information should be received from the coupler 504 is driven.

다음에 (1415)단계에서 커플러(504)로부터 작업명령정보 데이타가 수신되었는가를 검사하여 데이타가 수신되지 않은 경우에는 (1416)단계에서 제2타이머가 타임아웃되었는가를 검사한다. 이때 제2타이머가 타임아웃된 경우에는 (1417)단계에서 재시도 카운터값을 증가시킨 후 (1418)단계에서 재시도 카운터값이 3회가 되었는가를 검사한다. 이때 재시도 카운터값이 3회가 되었을 경우에는 (1419)단계에서 커플러(504)로부터 작업명령정보의 첫 데이타인 텍스트시작코드 'STX'가 수신되어야 할 시간을 체크하기 위한 제3타이머를 구동한 후 (1420)단계를 수행하며, 재시도 카운터값이 3회가 되지 않았을 경우에는 상기 (1403)단계를 수행하여 평상상태로 복구한다.In operation 1415, it is checked whether work command information data is received from the coupler 504. If data is not received, it is checked in operation 1416 whether the second timer has timed out. In this case, when the second timer has timed out, the retry counter value is increased in step 1417 and then the retry counter value is checked three times in step 1418. At this time, when the retry counter value is three times, in operation 1419, the third timer for checking the time when the text start code 'STX', which is the first data of the work instruction information, is received from the coupler 504 is driven. After step 1420, if the retry counter value is not three times, the step 1403 is performed to recover the normal state.

상기 (1420)단계에서는 커플러(504)로부터 텍스트시작코드 'STX'가 수신되는가를 검사하여 텍스트시작코드 'STX'가 수신되지 않은 경우에는 (1421)단계에서 제3타이머가 타임아웃되었는가를 검사한다. 이때 제3타이머가 타임아웃된 경우에는 상기 (1417)단계를 반복 수행하며 타임아웃되지 않은 경우는 상기 (1420)단계를 반복수행한다.In operation 1420, if the text start code 'STX' is received from the coupler 504, and if the text start code 'STX' is not received, it is checked whether the third timer has timed out in operation 1421. . In this case, if the third timer is timed out, the operation 1417 is repeated. If the third timer is not timed out, the operation 1420 is repeated.

또한 상기 (1415)단계에서 작업명령정보가 수신된 경우에는 (1422)단계에서 커플러(504)로부터 정보를 모두 수신하였는가를 검사하여 수신 완료하지 않았으면 상기 (1415)단계를 반복 수행하며 수신 완료한 경우에는 (1423)단계에서 수신된 정보의 BCC값을 검사하여 백워드 에러 정정을 수행함으로써 수신된 정보가 정확한가를 검사한다. 만일 BCC값이 맞지 않을 경우는 상기 (1417)단계를 수행하며 BCC값이 맞을 경우에는 (1424)단계에서 커플러(504)로 긍정응답코드 'ACK'를 전송함으로써 정상적으로 수신했음을 알리고 (1425)단계에서 재시도 카운터값을 초기화한다.In addition, when the operation command information is received in step 1415, in step 1422, if all the information is received from the coupler 504, and if the reception is not completed, the operation 1414 is repeated. In the case of step 1423, the BCC value of the received information is examined to perform backward error correction to check whether the received information is correct. If the BCC value is not correct, the operation (1417) is performed. If the BCC value is correct, the acknowledgment code 'ACK' is transmitted to the coupler 504 in step 1424, and the signal is normally received. Initialize the retry counter value.

다음에 (1426)단계에서 자판기(512)의 작업수행에 따른 작업결과메세지를 커플러(504)로 전송하고 (1427)단계에서 작업결과메세지에 응답하여 커플러(504)로부터 긍정응답코드 'ACK' 또는 부정응답코드 'NACK'가 수신되어야 할 시간을 체크하기 위한 제4타이머를 구동한다.Next, in operation 1426, the operation result message according to the operation of the vending machine 512 is transmitted to the coupler 504, and in response to the operation result message in operation 1427, the positive response code 'ACK' or The fourth timer for checking the time when the negative response code 'NACK' should be received is driven.

이후(1428)단계에서 커플러(504)로부터 긍정응답코드 'ACK'가 수신되었는가를 검사하여 긍정응답코드 'ACK'가 수신된 경우에는 커플러(504)가 정상 수신한 것으로 판단하고 상기 (1403)단계를 수행하여 평상상태로 복구하며 긍정응답코드 'ACK'가 수신되지 않은 경우에는 (1429)단계에서 커플러(504)로부터 부정응답코드 'NACK'가 수신되었는가를 검사한다. 이때 커플러(504)로부터 부정응답코드 'NACK'가 수신되지 않은 경우에는 (1430)단계에서 제4타이머가 타임아웃되었는가를 검사하여 타임아웃된 경우에는 (1431)단계에서 재시도 카운터값을 증가시킨 후, (1431)단계에서 재시도 카운터값이 3회가 되었는가를 검사하여 3회가 되었을 경우에는 상기 (1403)단계를 수행하여 평상상태로 복구하고 재시도 카운터값이 3회가 되지 않았을 경우에는 상기 (1426)단계를 반복 수행한다.In operation 1428, when the acknowledgment code 'ACK' is received from the coupler 504, when the acknowledgment code 'ACK' is received, it is determined that the coupler 504 has been normally received. If it is restored to the normal state and the acknowledgment code 'ACK' is not received, it is checked in step 1429 whether the negative acknowledgment code 'NACK' is received from the coupler 504. In this case, if the negative response code 'NACK' is not received from the coupler 504, the first timer checks whether the fourth timer has timed out (step 1430). After that, in step (1431), it is checked whether the retry counter value has reached three times, and when there are three times, the process returns to the normal state by performing step (1403). When the retry counter value does not reach three times, Step 1426 is repeated.

제15도는 자판기관리 컴퓨터(509)에 의한 자판기의 정보(판매금액, 잔여컵수, 각 코인의 잔량, 재료의 잔량 등)수신을 위한 작업명령의 수행과정을 도시하고 있다.FIG. 15 shows a process of executing a work instruction for receiving information of the vending machine (sales amount, remaining cup number, remaining amount of each coin, remaining amount of material, etc.) by the vending machine management computer 509. FIG.

제16도는 자판기(512) 내부가 정상상태인 경우 자판기(512)와 커플러(504), 커플러(504)와 선로다중접속장치(503), 선로다중접속장치(503)와 컴퓨터센터(508), 컴퓨터센터(508)와 자판기관리 컴퓨터(509)간의 이상상태 발생정보를 수신처리하는 수행과정을 도시하고 있다.FIG. 16 illustrates the vending machine 512 and the coupler 504, the coupler 504 and the line multiplexer 503, the line multiplexer 503 and the computer center 508 when the inside of the vending machine 512 is in a normal state. A process of receiving and processing abnormal state occurrence information between the computer center 508 and the vending machine management computer 509 is shown.

제17도는 자판기(512) 내부에서 이상상태(제품품절, 컵품절, 물품절, 고장발생 등)가 발생한 경우 자판기(512)와 커플러(504), 커플러(504)와 선로다중접속장치(503), 선로다중접속장치(503)와 컴퓨터센터(508), 컴퓨터센터(508)와 자판기관리 컴퓨터(509)간의 이상상태 발생정보를 수신처리하는 수행과정을 도시하고 있다.FIG. 17 illustrates the vending machine 512, the coupler 504, the coupler 504, and the line multiple connection device 503 when an abnormal state (sold out of the product, sold out of the cup, sold out of the product, malfunction, etc.) occurs in the vending machine 512. The process of receiving and processing abnormal state occurrence information between the line multiple access device 503, the computer center 508, the computer center 508, and the vending machine management computer 509 is shown.

전술한 본 발명의 동작들을 제15도 내지 제17도를 참조하여 종합하여 살펴보면 다음과 같다.The above-described operations of the present invention will be described with reference to FIGS. 15 to 17 as follows.

먼저 자판기관리 컴퓨터(509)에서 자판기(512)들의 각종 현황정보를 확인하기 위한 작업명령메세지를 발생하여 컴퓨터센터(508)를 거쳐 선로다중접속장치(503)로 전송할 경우를 살펴보면, 작업명령메세지는 제15도와 같이 선로다중접속장치(503)에서 멀티플렉서(502)에 의해 가입자선로(506)를 통해 커플러(504)를 거쳐 해당 자판기(512)로 전송되며 자판기(512)에서는 작업명령메세지에 해당하는 작업을 처리한 후 처리결과를 알리는 작업결과메세지를 발생하게 된다. 자판기(512)에서 발생된 작업결과메세지는 커플러(504)에 의해 가입자선로(506)를 통해 멀티플렉서(502) 및 선로다중접속장치(503)를 거쳐 컴퓨터센터(508)로 전송됨으로써 자판기관리 컴퓨터(509)에 전송되게 된다.First of all, the operation command message for checking the various status information of the vending machine 512 in the vending machine management computer 509 is transmitted to the line multiple access device 503 via the computer center 508. As shown in FIG. 15, the multiplexer 502 is transmitted from the line multiple access device 503 to the corresponding vending machine 512 via the subscriber line 506 via the subscriber line 506, and the vending machine 512 corresponds to a work command message. After processing the job, a job result message indicating the result of the job is generated. The operation result message generated from the vending machine 512 is transmitted by the coupler 504 to the computer center 508 through the subscriber line 506 via the multiplexer 502 and the line multiple access device 503. To 509.

다음에 자판기(512)가 정상상태일때 선로다중접속장치(503)가 커플러(504)들은 순차적으로 스캐닝하고 커플러(504)기 자판기(512)들을 순차적으로 스캐닝하는 경우를 살펴보면, 제16도와 같이 자판기(512)는 커플러(504)로부터 자신의 동작상태를 문의하는 문의정보인 문의코드 'ENQ'가 수신되는 것에 응답하여 현재의 동작상태가 정상상태임을 알리는 상태정보인 긍정응답코드 'ACK'를 커플러(504)로 전송한다. 그러면 커플러(504)는 다음의 자판기(512)를 상기와 동일하게 스캐닝하게 된다.Next, when the vending machine 512 is in a normal state, the line multiple connection device 503 scans the couplers 504 sequentially and the couplers 504 sequentially scanning the vending machines 512. As shown in FIG. In response to receiving the inquiry code 'ENQ', which is inquiry information for inquiring about its own operation state from the coupler 504, the coupler couples an affirmative response code 'ACK' as state information indicating that the current operation state is normal. Send to 504. The coupler 504 then scans the next vending machine 512 in the same manner as above.

또한 커플러(504)는 선로다중접속장치(503)로부터 자판기(512)의 동작상태를 문의하는 문의정보인 문의코드 'ENQ'가 수신되는 것에 응답하여 현재의 동작상태가 정상상태임을 알리는 상태정보인 긍정응답코드 'ACK'를 커플러(504)로 전송한다. 그러면 선로다중접속장치(503)는 다음의 커플러(504)를 상기와 동일하게 스캐닝하게 된다.In addition, the coupler 504 is a state information indicating that the current operating state is normal in response to receiving the inquiry code 'ENQ', which is inquiry information for inquiring the operation state of the vending machine 512, from the line multiple access device 503. The acknowledgment code 'ACK' is transmitted to the coupler 504. The line multiplexer 503 then scans the next coupler 504 in the same manner as above.

또한 자판기(512)가 이상상태일때 선로다중접속장치(503)가 커플러(504)들을 순차적으로 스캐닝하고 커플러(504)가 자판기(512)들을 순차적으로 스캐닝하는 경우를 살펴보면, 제17도와 같이 자판기(512)는 커플러(504)로부터 자신의 동작상태를 문의하는 문의정보인 문의코드 'ENQ'가 수신되는 것에 응답하여 현재의 동작상태가 이상상태임을 알리는 상태정보를 커플러(504)로 전송한다. 상기 이상상태를 나타내는 상태정보는 작업결과메세지와 마찬가지로 커플러(504)에 의해 가입자선로(506)를 통해 멀티플렉서(502) 및 선로다중접속장치(503)를 거쳐 컴퓨터센터(508)로 전송됨으로써 자판기관리 컴퓨터(509)에 전송된다.In addition, when the vending machine 512 is in an abnormal state, the line multiple connection device 503 sequentially scans the couplers 504 and the coupler 504 sequentially scans the vending machines 512. In response to receiving the inquiry code 'ENQ', which is inquiry information for inquiring about its own operation state from the coupler 504, 512 transmits the state information to the coupler 504 indicating that the current operation state is abnormal. The state information indicating the abnormal state is transmitted to the computer center 508 through the multiplexer 502 and the line multiple access device 503 through the subscriber line 506 by the coupler 504 like the operation result message. Is sent to the management computer 509.

따라서 자판기관리 컴퓨터(509)는 선로다중접속장치(503)로부터 작업결과메세지와 자판기(512)의 이상상태를 나타내는 상태정보를 수신하여 처리함으로써 자동판매 원격관리시스템을 관리한다.Therefore, the vending machine management computer 509 manages the automatic sales remote management system by receiving and processing the job result message and the status information indicating the abnormal state of the vending machine 512 from the line multiple access device 503.

상술한 바와 같이 본 발명은 전술한 종래의 문제점을 모두 해결하고 가입자선로의 사용여부에 전혀 관계없이 자판기의 각종 현황정보를 종류나 내용에 제한을 받지 않고 자판기관리 컴퓨터로 전송하여 신속히 조치할 수 있도록 하며, 자판기관리 컴퓨터로부터 발생되는 작업명령에 대한 결과정보를 해당 자판기에서 자판기관리 컴퓨터로 전송할 수 있도록 할 뿐만 아니라 저렴하고 구성이 간단한 자판기의 원격관리시스템을 제공할 수 있는 잇점이 있다.As described above, the present invention solves all the above-mentioned problems and transmits various kinds of status information of the vending machine to the vending machine management computer without any limitations on the type or the contents without any use of the subscriber line. In addition, there is an advantage in that it is possible not only to transmit the result information on the work instruction generated from the vending machine management computer from the vending machine to the vending machine management computer, but also to provide a remote management system of the vending machine which is inexpensive and simple in configuration.

한편 상술한 본 발명의 설명에서는 구체적인 실시예에 관해 설명하였으나, 여러가지 변형이 본 발명의 범위에서 벗어나지 않고 실시할 수 있다. 특히 상술한 실시예에서는 자판기(512)의 동작상태와 각종 현황정보를 함께 확인하는 것을 예시하였으나 필요에 따라 어느 하나의 기능만을 수행하도록 할 수도 있다. 또한 선로다중접속장치(503)과 자판기(512) 사이에 커플러(504)를 사용하는 것을 예시하였으나 자판기(512)를 각각 가입자선로(506)에 직접 연결한다면 커플러(504)를 사용할 필요가 없을 것이다. 다만 이 경우에 자판기(512)의 통신부(804)는 전술한 특허출원번호 제93-18994호에 개시된 바와 같은 대역확산통신방식 데이타 변복조장치를 사용한다. 따라서 발명의 범위는 설명된 실시예에 의하여 정할 것이 아니고 특허 청구의 범위와 특허 청구의 범위의 균등한 것에 의해 정하여져야 한다.Meanwhile, in the above description of the present invention, specific embodiments have been described, but various modifications can be made without departing from the scope of the present invention. Particularly, in the above-described embodiment, the operation state of the vending machine 512 and the various status information are illustrated together. However, only one function may be performed as necessary. Also illustrated is the use of the coupler 504 between the line multiplexer 503 and the vending machine 512. However, if the vending machine 512 is directly connected to the subscriber line 506, the coupler 504 need not be used. will be. In this case, however, the communication unit 804 of the vending machine 512 uses a spread spectrum communication method data modulation and demodulation device as disclosed in the aforementioned patent application No. 93-18994. Therefore, the scope of the invention should not be defined by the described embodiments, but should be defined by the equivalents of the claims and the claims.

Claims (14)

공중통신망에 연결되는 가입자선로(506)들을 이용하여 다수의 자동판매기를 원격으로 관리하는 자동판매기 원격관리시스템에 있어서, 자신의 동작상태를 문의하는 문의정보의 수신에 응답하여 현재의 동작상태를 알리는 상태정보를 상기 문의정보 전송측으로 전송하는 다수의 자동판매기(512)와, 상기 가입자선로(506)들과 각각 병렬 접속되는 동시에 상기 자동판매기(512)들에 연결되며, 상기 문의정보를 상기 자동판매기(512)들로 순차로 전송하는 것에 의해 사익 자동판매기(512)들의 동작상태를 스캐닝하여 이상상태를 나타내는 상태정보를 보관하며 보관된 상태정보를 상기 가입자선로(506)를 통한 문의정보의 수신에 응답하여 해당 가입자선로(506)로 전송하는 다수의 커플러(504)와, 상기 가입자선로(506)들을 순차적으로 선택하며 선택한 가입자선로(506)에 연결된 커플러(504)로 상기 문의정보를 전송하는 것에 의해 상기 커플러(504)들을 스캐닝하여 해당 커플러(503)로부터 상기 보관된 상태정보를 수신하는 선로다중접속장치(503)와 상기 가입자선로(506)를 액세스할 수 있도록 상기 공중통신망의 분배기(501)를 통해 상기 가입자선로(506)에 접속되며, 상기 선로다중접속장치(503)에 의해 선택되는 가입자선로(506)들을 순차적으로 각각 상기 선로다중접속장치(503)에 연결하는 멀티플렉서(502)와, 상기 선로다중접속장치(503)로부터 상기 상태정보를 수신하여 처리하는 시스템 제어수단(508)으로 구성하는 것을 특징으로 하는 자동판매기 원격관리시스템.A vending machine remote management system for remotely managing a plurality of vending machines using subscriber lines 506 connected to a public communication network, wherein the present operating state is responded to in response to receipt of inquiry information inquiring about its own operation state. A plurality of vending machines 512 for transmitting informing status information to the inquiry information transmitting side, and connected in parallel with the subscriber lines 506, respectively, and connected to the vending machines 512. Scanning the operating state of the automatic vending machines 512 by sequentially transmitting them to the vending machines 512 to store the state information indicating an abnormal state and the stored state information to the inquiry information through the subscriber line 506. A plurality of couplers 504 for transmitting to the subscriber line 506 in response to the reception of the subscriber line, and the selected subscriber line 506 by sequentially selecting the subscriber line 506 The line multiple access device 503 and the subscriber line 506 which scan the couplers 504 and receive the stored state information from the coupler 503 by transmitting the inquiry information to the connected coupler 504. Is connected to the subscriber line 506 through the distributor 501 of the public telecommunication network, and sequentially each of the subscriber line 506 selected by the line multiple access device 503. A multiplexer 502 connected to the line multiplexer 503 and a system control means 508 for receiving and processing the status information from the line multiplexer 503. system. 제1항에 있어서, 상기 커플러(504)가, 상기 선로다중접속장치(503)로 전송할 데이타를 미리 설정된 의사잡음코드에 의해 대역확산시킨 후 상기 가입자선로(506)를 통해 상기 선로다중접속장치(503)로 전송하며, 상기 가입자선로(506)를 통해 상기 선로다중접속장치(503)로부터 수신되는 신호를 상기 의사잡음코드에 의해 역확산시켜 복원하는 선로다중접속장치 통신부(702)와, 상기 자동판매기(512)들과의 데이타 송수신을 인터페이스하는 단말접속부(703)와, 상기 선로다중접속장치 통신부(702)와 단말접속부(703)에 접속되며 상기 단말접속부(703)를 통해 자동판매기(512)들을 스캐닝하는 것에 따라 상기 자동판매기(512)로부터 수신하는 상기 상태정보의 데이타를 상기 선로다중접속장치 통신부(702)를 통해 상기 선로다중접속장치(503)로부터 수신되는 상기 문의정보에 응답하여 상기 선로다중접속장치 통신부(702)를 통해 상기 선로다중접속장치(503)로 전송하는 커플러 제어수단(701)으로 구성하는 것을 특징으로 하는 자동판매기 원격관리시스템.The line multiplexing device according to claim 1, wherein the coupler 504 spreads the data to be transmitted to the line multiplexing device 503 by a preset pseudo noise code, and then through the subscriber line 506. A line multiple access device communication unit 702 for transmitting to 503 and despreading and restoring a signal received from the line multiple access device 503 through the subscriber line 506 by the pseudo noise code; It is connected to the terminal connection unit 703 for interfacing data transmission and reception with the vending machines 512, the line multiple connection device communication unit 702 and the terminal connection unit 703, and through the terminal connection unit 703 The inquiry information received from the line multiple access device 503 through the line multiple access device communication unit 702 with the data of the state information received from the vending machine 512 in accordance with scanning 512. In response the remote vending machine management system, it characterized in that the coupler consists of a control means 701 for transmitting to the track multiple access apparatus 503 through the line multiple-access communication unit 702. The 제2항에 있어서, 상기 선로다중접속장치(503)가, 소정 제어에 의해 상기 가입자선로(506)들을 순차적으로 선택하기 위한 선택제어신호를 상기 멀티플렉서(502)에 인가하여 구동시키는 멀티플렉서 구동부(603)와, 상기 커플러(504)로 전송할 데이타를 상기 의사잡음코드에 의해 대역확산시킨 후 상기 가입자선로(506)를 통해 상기 커플러(504)로 전송하며, 상기 가입자선로(506)를 통해 상기 커플러(504)로부터 수신되는 신호를 상기 의사잡음코드를 의해 역확산시켜 복원하는 커플러 통신부(602)와, 상기 시스템 제어수단(508)과의 정보전송을 위한 통신을 수행하는 제어통신수단(604)과, 상기 멀티플렉서 구동부(603)를 제어하여 상기 멀티플렉서(502)를 통해 가입자선로(506)들을 순차적으로 선택하며 선택한 가입자선로(506)에 연결된 커플러(504)로 상기 커플러 통신부(602)를 통해 상기 문의정보를 전송하는 것에 의해 상기 커플러(504)들을 스캐닝하여 해당 커플러(504)로부터 상기 보관된 상태정보를 상기 커플러 통신부(602)를 통해 수신하여 상기 제어통신수단(604)을 통해 상기 시스템 제어수단(508)으로 전송하는 선로다중접속장치 제어수단(601)으로 구성하는 것을 특징으로 하는 자동판매기 원격관리시스템.The multiplexer driver of claim 2, wherein the line multiplexer 503 applies and drives a selection control signal for sequentially selecting the subscriber lines 506 by a predetermined control to the multiplexer 502. 603 and spread the data to be transmitted to the coupler 504 by the pseudo noise code, and then transmit the data to the coupler 504 through the subscriber line 506 and through the subscriber line 506. Coupler communication unit 602 for despreading and restoring the signal received from the coupler 504 by the pseudo noise code, and control communication unit 604 for performing communication for information transmission with the system control unit 508. And the coupler communication unit 602 by controlling the multiplexer driver 603 to sequentially select the subscriber lines 506 through the multiplexer 502 and couplers 504 connected to the selected subscriber line 506. The coupler 504 is scanned by transmitting the inquiry information through the coupler 504 to receive the stored state information from the coupler communication unit 602 and through the control communication means 604. Remote control system for a vending machine, characterized in that the track multiple connection device control means for transmitting to the system control means (508) (601). 공중통신망에 연결되는 가입자선로(506)들을 이용하여 다수의 자동판매기를 원격으로 관리하는 자동판매기 원격관리시스템에 있어서, 소정의 작업명령메세지의 수신에 응답하여 해당작업을 처리한 후 처리결과를 알리는 작업결과메세지를 상기 작업명령메세지 전송측으로 전송하는 다수의 자동판매기(512)와, 상기 가입자선로(506)들과 각각 병렬 접속되는 동시에 상기 자동판매기(512)들에 연결되며, 상기 가입자선로(506)를 통해 수신되는 작업명령메세지를 해당 자동판매기(512)로 전송한 후 그에 따라 상기 자동판매기(512)로부터 상기 작업결과메세지를 해당 가입자선로(506)로 전송하는 다수의 커플러(504)와, 상기 자동판매기(512)에 대한 상기 작업명령메세지 수신시 해당 커플러(504)와 연결된 상기 가입자선로(506)를 선택하여 상기 작업명령메세지를 해당 커플러(504)로 전송한 후 그에 따른 상기 작업결과메세지를 수신하여 상기 작업명령메세지 발생측으로 전송하는 선로다중접속장치(503)와, 상기 가입자산로(506)를 액세스할 수 있도록 상기 공중통신망의 분배기(501)와 기구적으로 접속되며, 상기 선로다중접속장치(503)의 의해 선택되는 가입자선로(506)를 상기 선로다중접속장치(503)에 선택 연결하는 멀티플렉서(502)와, 상기 자동판매기(512)들의 각종 현황정보를 확인하기 위한 상기 작업명령메세지를 발생하여 상기 선로다중접속장치(503)로 전송하며 상기 선로다중접속장치(503)로부터 상기 작업결과메세지를 수신하여 처리하는 시스템 제어수단(508)으로 구성하는 것을 특징으로 하는 자동판매기 원격관리시스템.In a vending machine remote management system that remotely manages a plurality of vending machines using subscriber lines 506 connected to a public communication network, a corresponding work is processed in response to the reception of a predetermined work command message and the processing result is then displayed. A plurality of vending machines 512 for transmitting a work result message for notifying to the work command message transmitting side, and are connected to the vending machines 512 at the same time as being connected in parallel with the subscriber lines 506, respectively. A plurality of couplers for transmitting a work command message received through the furnace 506 to the corresponding vending machine 512 and accordingly transmitting the work result message from the vending machine 512 to the corresponding subscriber line 506 ( 504 and the subscriber line 506 connected to the coupler 504 when the work instruction message is received for the vending machine 512 to solve the work instruction message. A line multiple access device 503 for transmitting the work result message to the coupler 504 and transmitting the work result message to the work command message generating side, and accessing the subscriber line 506. A multiplexer 502 that is mechanically connected to the distributor 501 and selectively connects the subscriber line 506 selected by the line multiplexer 503 to the line multiplexer 503, and the automatic The system control to generate the work command message for checking the various status information of the vending machine 512 to transmit to the line multiplexing device 503, and to receive and process the work result message from the line multiplexing device 503. Vending machine remote management system, characterized in that consisting of means (508). 제4항에 있어서, 상기 커플러(504)가, 상기 선로다중접속장치(503)로 전송할 데이타를 설정된 의사잡음코드에 의해 대역확산시킨 후 아나로그 신호로 변환하여 상기 가입자선로(506)를 통해 상기 선로다중접속장치(503)로 전송하며, 상기 가입자선로(506)를 통해 상기 선로다중접속장치(503)로부터 수신되는 신호를 디지탈 데이타로 변환한 후 상기 의사잡음코드에 의해 역확산시켜 복원하는 선로다중접속장치 통신부(702)와, 상기 자동판매기(512)들과의 데이타 송수신을 인터페이스하는 단말접속부(703)와, 상기 선로다중접속장치 통신부(702)와 단말접속부(703)에 접속되며 상기 선로다중접속장치 통신부(702)를 통해 상기 선로다중접속장치(503)로부터 수신되는 작업명령메세지를 상기 단말접속부(703)를 통해 해당 자판기(512)로 전송한후 상기 자동판매기(512)로부터 상기 단말접속부(703)를 통해 수신되는 상기 작업결과메세지를 상기 선로다중접속장치 통신부(702)를 통해 상기 선로다중접속장치(503)로 전송하는 커플러 제어수단(701)으로 구성하는 것을 특징으로 하는 자동판매기 원격관리시스템.5. The method of claim 4, wherein the coupler 504 spreads the data to be transmitted to the line multiplexing device 503 by a set pseudo noise code, and then converts the data into an analog signal to convert the data into an analog signal. The signal is transmitted to the line multiplexer 503, and the signal received from the line multiplexer 503 through the subscriber line 506 is converted into digital data and then despread by the pseudo noise code to be restored. A line multiple connection device communication unit 702, a terminal connection unit 703 for interfacing data transmission and reception with the vending machines 512, and a line multiple connection device communication unit 702 and a terminal connection unit 703. The work command message received from the line multiplexing device 503 through the line multiplexing device communication unit 702 is transmitted to the vending machine 512 via the terminal connecting unit 703 to the vending machine 512. And a coupler control means 701 for transmitting the operation result message received through the terminal connection unit 703 to the line multiple access device 503 through the line multiple connection device communication unit 702. Vending machine remote management system. 제5항에 있어서, 상기 선로다중접속장치(503)가, 소정 제어에 의해 상기 가입자선로(506)들을 선택하기 위한 선택제어신호를 상기 멀티플렉서(502)에 인가하여 구동시키는 멀티플렉서 구동부(603)와, 상기 커플러(504)로 전송할 데이타를 상기 의사잡음코드에 의해 대역확산시킨 후 상기 가입자선로(506)를 통해 상기 커플러(504)로 전송하며, 상기 가입자선로(506)를 통해 상기 커플러(504)로부터 수신되는 신호를 상기 의사잡음코드에 의해 역확산시켜 복원하는 커플러 통신부(602)와, 상기 시스템 제어수단(508)과의 정보전송을 위한 통신을 수행하는 제어통신수단(604)과, 상기 시스템 제어수단(508)으로부터 상기 제어통신수단(604)을 통해 상기 작업명령메세지 수신이 상기 멀티플렉서 구동부(603)를 제여하여 상기 멀티플렉서(502)를 통해 해당 커플러(504)와 연결된 가입자선로(506)를 선택하여 상기 수신한 작업명령메세지를 상기 커플러 통신부(602)를 통해 해당 커플러(504)로 전송한후 상기 커플러 통신부(602)를 통해 수신하는 상기 작업결과메세지를 상기 제어통신수단(604)을 통해 상기 시스템 제어수단(508)으로 전송하는 선로다중접속장치 제어수단(601)으로 구성하는 것을 특징으로 하는 자동판매기 원격관리시스템.The multiplexer driver 603 of claim 5, wherein the line multiplexer 503 applies and drives a selection control signal for selecting the subscriber lines 506 to the multiplexer 502 by a predetermined control. After spreading the data to be transmitted to the coupler 504 by the pseudo noise code, the data is transmitted to the coupler 504 through the subscriber line 506, and the coupler through the subscriber line 506. A coupler communication unit 602 for despreading and restoring a signal received from 504 by the pseudo noise code, and control communication means 604 for performing communication for information transmission with the system control unit 508; The reception of the work command message from the system control means 508 via the control communication means 604 is provided to the multiplexer driver 603 to be connected to the coupler 504 through the multiplexer 502. Selecting the particle line 506 and transmitting the received work command message to the coupler 504 through the coupler communication unit 602 and then the work result message received through the coupler communication unit 602 the control communication A line multiple access device control means (601) for transmitting to said system control means (508) via means (604). 공중통신망에 연결되는 가입자선로(506)들을 이용하여 다수의 자동판매기를 원격으로 관리하는 자동판매기 원격관리시스템에 있어서, 자신의 동작상태를 문의하는 문의정보의 수신에 응답하여 현재의 동작상태를 알리는 상태정보를 상기 문의정보 전송측으로 전송하며, 소정의 작업명령메세지의 수신에 응답하여 해당 작업을 처리한 후 처리결과를 알리는 작업결과메세지를 상기 작업명령메세지 전송측으로 다수의 자동판매기(512)와, 상기 가입자선로(506)들과 각각 병렬 접속되는 동시에 상기 자동판매기(512)들에 연결되며, 상기 문의정보를 상기 자동판매기(512)들로 순차로 전송하는 것에 의해 상기 자동판매기(512)들의 동작상태를 스캐닝하여 이상상태를 나타내는 상태정보를 보관하며 보관된 상태정보를 상기 가입자선로를 통한 문의정보의 수신에 응답하여 해당 가입자선로(506)로 전송하며, 상기 가입자선로(506)를 통해 수신되는 작업명령메세지를 해당 자동판매기(512)로 전송한 후 그에 따라 상기 자동판매기(512)로부터 수신하는 상기 작업결과메세지를 해당가입자선로(506)로 전송하는 다수의 커플러(504)와, 상기 가입자선로(506)들을 순차적으로 선택하며 선택한 가입자선로(506)에 연결된 커플러(504)로 상기 문의정보를 전송하는 것에 의해 상기 커플러(504)들을 스캐닝하여 해당 커플러(504)로부터 상기 보관된 상태정보를 수신하며, 상기 작업명령메세지를 해당 커플러(504)로 전송한 후 그에 따른 상기 작업결과메세지를 수신하여 상기 작업명령메세지 발생측으로 전송하는 선로다중접속장치(503)와, 상기 가입자선로(506)를 액세스할 수 있도록 상기 공중통신망의 분배기(501)와 기구적으로 접속되며, 상기 선로다중접속장치(503)에 의해 선택되는 상기 가입자선로(506)들을 순차적으로 각각 상기 선로다중접속장치(503)에 선택 연결하는 멀티플렉서(502)와, 상기 자동판매기(512)들의 각종 현황정보를 확인하기 위한 상기 작업명령메세지를 발생하여 상기 선로다중접속장치(503)로 전송하며 상기 선로다중접속장치(503)로부터 상기 작업결과메세지와 상태정보를 수신하여 처리하는 시스템 제어수단(503)으로 구성하는 것을 특징으로 하는 자동판매기 원격관리시스템.A vending machine remote management system for remotely managing a plurality of vending machines using subscriber lines 506 connected to a public communication network, wherein the present operating state is responded to in response to receipt of inquiry information inquiring about its own operation state. Transmits the informing status information to the inquiry information transmitting side, processes the corresponding work in response to the reception of a predetermined work instruction message, and then sends a work result message to the work instruction message transmitting side to inform the processing result of the plurality of vending machines 512. And are respectively connected in parallel with the subscriber lines 506 and simultaneously connected to the vending machines 512, by sequentially transmitting the inquiry information to the vending machines 512. Scans the operating status of the device and stores the status information indicating the abnormal status and stores the stored status information in the receipt of the inquiry information through the subscriber line. In response to transmission to the corresponding subscriber line 506, the work command message received through the subscriber line 506 to the corresponding vending machine 512, and accordingly received from the vending machine 512. The plurality of couplers 504 for transmitting the work result message to the corresponding subscriber line 506 and the coupler 504 connected to the selected subscriber line 506 sequentially select the subscriber lines 506 and the inquiry. Scan the couplers 504 by transmitting the information to receive the stored state information from the coupler 504, transmit the work command message to the coupler 504, and the work result message accordingly. It is mechanically connected to the line multiple access device 503 for receiving and transmitting the work command message generation side and the distributor 501 of the public communication network to access the subscriber line 506. The multiplexer 502 for selectively connecting the subscriber line 506 selected by the line multiplexer 503 to the line multiplexer 503, respectively, and the various statuses of the vending machines 512. System control means 503 for generating the work command message for confirming the information and transmitting the work command message to the line multiple access device 503 and receiving and processing the work result message and status information from the line multiple access device 503. Vending machine remote management system, characterized in that configured to. 제7항에 있어서, 상기 커플러(504) 및 선로다중접속장치(503)가, 각각 상호간에 송수신되는 신호에 대하여 전송시에는 미리 설정된 의사잡음코드에 의해 대역확산시킨 후 전송하며 수신시에는 수신되는 신호를 역확산시키는 수단(702,602)을 구비하는 것을 특징으로 하는 자동판매기 원격관리시스템.8. The method of claim 7, wherein the coupler 504 and the line multiplexing device 503 respectively spread and transmit the signals after being spread by a preset pseudo noise code when the signals are transmitted / received to each other. Means (702, 602) for despreading the signal. 제8항에 있어서, 상기 시스템 제어수단(508)이, 상기 자동판매기(512)로부터 발생된 작업결과메세지와 상태정보에 의해 상기 자동판매기(512)를 관리하기 위한 자동판매기 관리컴퓨터(509)를 포함하는 것을 특징으로 하는 자동판매기를 원격관리시스템.The vending machine management computer 509 according to claim 8, wherein the system control means 508 manages the vending machine management computer 509 for managing the vending machine 512 based on the operation result message and the status information generated from the vending machine 512. Remote management system for a vending machine comprising a. 공중통신망에 연결되는 가입자선로(506)를 통해 상호간에 전송신호에 대하여 대역확산시킨 후 전송하며 수신신호를 역확산시키는 수단(702,602)을 각각 구비한 커플러(504) 및 선로다중접속장치(503)와, 상기 선로다중접속장치(503)에 의해 상기 커플러(504)와 연결되는 상기 가입자선로(506)를 상기 선로다중접속장치(503)에 선택 연결하는 멀티플렉서(502)와, 상기 커플러(504)에 접속되는 다수의 자동판매기(512)와, 상기 선로다중접속장치(503)에 접속되며 상기 자동판매기(512)를 원격으로 관리하기 위한 시스템 제어수단(508)을 구비한 자동판매기 원격관리시스템에서 상기 자동판매기를 원격으로 관리하는 방법에 있어서, 상기 선로다중접속장치(503)가 상기 커플러(504)를 스캐닝하기 위해 상기 멀티플렉서(502)를 제어하여 상기 커플러(504)와 연결된 상기 가입자선로(506)를 선택 연결한 후 상기 커플러(504)로 보관된 정보가 있는지를 문의하는 스캐닝과정(900∼904,908∼912)과, 상기 스캐닝과정(900∼904,908∼912)에서 상기 커플러(504)로부터 정상상태임을 나타내는 데이타가 수신될 경우 상기 자동판매기(512)의 상태를 정상상태로 판단하고 상기 연결한 가입자선로(506)를 절단하는 스캐닝완료과정(904∼906)과, 상기 스캐닝과정(900∼904,908∼912)에서 상기 커플러(504)로부터 상기 자동판매기(512)가 이상상태임을 나타내는 상태정보가 수신될 경우 수신한 상태정보를 상기 시스템 제어수단(508)으로 전송하는 상태정보전송과정(908,913∼927,906)과, 상기 선로다중접속장치(503)가 상기 시스템 제어수단(508)으로부터 상기 자동판매기(512)들의 각종 현황정보를 확인하기 위한 작업명령메세지를 수신할 경우 상기 멀티플렉서(502)를 제어하여 해당 커플러(504)와 연결된 상기 가입자선로(506)를 선택 연결한 후 상기 작업명령메세지를 해당 커플러(504)로 전송하는 작업명령전송과정(1000∼1011,1014,1023,1026)과, 상기 작업명령전송과정(1000∼1011,1014,1023,1026)에서 전송한 상기 작업명령메세지에 따라 상기 자동판매기(512)로부터 해당 작업을 처리한 후 처리결과를 알리기 위해 발생되는 작업결과메세지를 상기 시스템 제어수단(508)으로 전송하는 작업결과전송과정(1011∼1026)으로 이루어지는 것을 특징으로 하는 자동판매기 원격관리방법.A coupler 504 and a line multiple access device 503 each having means 702 and 602 for spreading and then spreading the received signal through the subscriber line 506 connected to the public telecommunication network and transmitting and spreading the received signal. And a multiplexer 502 for selectively connecting the subscriber line 506 connected to the coupler 504 to the line multiple access device 503 by the line multiple access device 503, and the coupler ( A vending machine remote management having a plurality of vending machines 512 connected to 504 and a system control means 508 connected to the line multiple access device 503 for remotely managing the vending machine 512. A method of remotely managing the vending machine in a system, wherein the line multiplexer 503 controls the multiplexer 502 to scan the coupler 504 to the subscriber line connected to the coupler 504. in Scanning process (900 to 904, 908 to 912) to inquire whether there is information stored in the coupler (504) after selectively connecting 506, and from the coupler (504) in the scanning process (900 to 904, 908 to 912). When the data indicating the normal state is received, the state of the vending machine 512 is determined as the normal state and scanning completion processes 904 to 906 for cutting the connected subscriber line 506, and the scanning process 900 When the status information indicating that the vending machine 512 is abnormal from the coupler 504 is received from 904,908 to 912, the status information transmission process of transmitting the received status information to the system control means 508 (908, 913). 927 and 906, and the line multiplexer 503 controls the multiplexer 502 when the line multiple access device 503 receives a work instruction message for confirming various status information of the vending machines 512 from the system control means 508. So A work command transmission process (1000 to 1011, 1014, 1023, 1026) for selectively connecting the subscriber line (506) connected to the coupler (504) and then transmitting the work command message to the coupler (504); The work result message generated to notify the processing result after processing the job from the vending machine 512 according to the work command message transmitted in the work command transmission process (1000 to 1011, 1014, 1023, 1026). A remote control method for a vending machine comprising a job result transmitting process (1011 to 1026) for transmitting to a control means (508). 제10항에 있어서, 상기 스캐닝완료과정(904∼906)이, 상기 가입자선로(506)를 절단한 후 다음 커플러(504)에 대하여 스캐닝을 준비하는 과정(907)을 포함함을 특징으로 하는 자동판매기 원격관리방법.11. The method of claim 10, wherein the scanning completion process (904 to 906) comprises the step 907 of preparing for scanning for the next coupler 504 after cutting the subscriber line (506). Vending machine remote management method. 공중통신망에 연결되는 가입자선로(506)를 통해 상호간에 전송신호에 대하여 대역확산시킨 후 전송하며 수신신호를 역확산시키는 수단(702,602)을 각각 구비한 커플러(504) 및 선로다중접속장치(503)와 상기 선로다중접속장치(503)에 의해 상기 커플러(504)와 연결되는 상기 가입자선로(506)를 상기 선로다중접속장치(503)에 선택 연결하는 멀티플렉서(502)와,상기 커플러(504)에 접속되는 다수의 자동판매기(512)와, 상기 선로다중접속장치(503)에 접속되며 상기 자동판매기(512)를 원격으로 관리하기 위한 시스템 제어수단(508)을 구비한 자동판매기 원격관리시스템에서 상기 자동판매기(512)를 원격으로 관리하는 방법에 있어서, 상기 커플러(504)가 상기 자동판매기(512)의 동작상태를 문의하기 위해 해당 자동판매기(512)로 정보가 있는지를 문의하는 스캐닝과정(1100∼1104,1106∼1112)과, 상기 스캐닝과정(110∼1104,1106∼1112)에서 상기 자동판매기(512)로부터 정상상태임을 나타내는 데이타가 수신될 경우 해당 자동판매기(512)의 상태를 정상상태로 판단하는 스캐닝완료과정(1104∼1106)과, 상기 스캐닝과정(1100∼1104,1106∼1112)에서 상기 자동판매기(512)로부터 이상상태임을 나타내는 상태정보가 수신될 경우 수신한 정보를 상기 선로다중접속장치(503)로부터의 상태문의 수신시에 상기 선로다중접속장치(503)로 전송하는 상태정보전송과정(1108,1113∼1125,1106)과, 상기 커플러(504)가 상기 선로다중접속장치(503)로부터 상기 시스템 제어수단(508)에서 발생되는 상기 자동판매기(512)들의 각종 현황정보를 확인하기 위한 작업명령메세지를 수신할 경우 해당 자동판매기(512)로 전송하는 작업명령전송과정(1200,1212∼1232,1203,1300∼1314,1323,1326)과, 상기 작업명령전송과정(1200,1212∼1232,1203,1300∼1314,1323,1326)에서 전송한 상기 작업명령메세지에 따라 상기 자동판매기(512)에서 해당작업을 처리한 후 처리결과를 알리기 위해 발생되는 작업결과메세지를 상기 선로다중접속장치(503)로 전송하는 작업결과전송과정(1312∼1313,1315∼1326,1200∼1211)으로 이루어지는 것을 특징으로 하는 자동판매기 원격관리방법.A coupler 504 and a line multiple access device 503 each having means 702 and 602 for spreading and then spreading the received signal through the subscriber line 506 connected to the public telecommunication network and transmitting and spreading the received signal. And the multiplexer 502 for selectively connecting the subscriber line 506 connected to the coupler 504 to the line multiple access device 503 by the line multiple access device 503, and the coupler 504. A vending machine remote management system having a plurality of vending machines 512 connected to the system, and a system control means 508 for remotely managing the vending machine 512 connected to the line multiple access device 503. In the method of remotely managing the vending machine 512 in the scanning process, the coupler 504 inquires whether the vending machine 512 has information to inquire the operation state of the vending machine 512. (1100-1104 1106 to 1112, and when the data indicating the normal state is received from the vending machine 512 in the scanning process (110 to 1104, 1106 to 1112), the state of the vending machine 512 is determined to be normal. In the scanning completion processes 1104 to 1106 and the status information indicating that an abnormal state is received from the vending machine 512 in the scanning processes 1100 to 1104 and 1106 to 1112, the received line multiple access device ( Status information transmission process (1108, 1113 to 1125, 1106) for transmitting to the line multiplexing device (503) upon reception of a status statement from the 503, and the coupler (504) from the line multiplexing device (503). Receiving a work command message for checking the various status information of the vending machine 512 generated by the system control means 508, the work command transmission process (1200, 1212 to 1232 to transmit to the corresponding vending machine 512) , 1203,1300 ~ 1314,1323,1326), and Generated to notify the processing result after processing the job in the vending machine 512 according to the job command message transmitted in the previous job command transmission process (1200,1212 to 1232,1203,1300 to 1314,1323,1326). And a work result transmission process (1312 to 1313, 1315 to 1326, 1200 to 1211) for transmitting the work result message to the line multiple access device (503). 공중통신망에 연결되는 가입자선로(506)를 통해 상호간에 전송신호에 대하여 대역확산시킨 후 전송하며 수신신호를 역확산시키는 수단(702,602)을 각각 구비한 커플러(504) 및 선로다중접속장치(503)와, 상기 선로다중접속장치(503)에 의해 상기 커플러(504)와 연결되는 상기 가입자선로(506)를 상기 선로다중접속장치(503)에 선택 연결하는 멀티플렉서(502)와, 상기 커플러(504)에 접속되는 다수의 자동판매기(512)와, 상기 선로다중접속장치(503)에 접속되며 상기 자동판매기(512)를 원격으로 관리하기 위한 시스템 제어수단(508)을 구비한 자동판매기 원격관리시스템에서 상기 자동판매기(512)를 원격으로 관리하는 방법에 있어서, 상기 자동판매기(512)가 상기 커플러(504)로부터 자신의 동작상태를 문의하는 문의정보가 수신되는 것에 응답하여 현재 동작상태가 정상상태일 경우에는 정상상태를 나타내는 데이타를 상기 커플러(504)로 전송하며 이상상태일 경우에는 이상상태를 나타내는 상태정보를 상기 커플러(504)로 전송하는 상태 정보전송과정(1400∼1411)과, 상기 자동판매기(512)가 상기 시스템 제어수단(508)에서 발생되는 자동판매기(512)들의 각종 현황정보를 확인하기 위한 작업명령메세지를 상기 커플러(504)로부터 수신할 경우 해당 작업을 처리한 후 그에 따른 작업결과메세지를 발생하여 상기 커플러(504)로 전송하는 작업명령처리과정(1400,1412∼1432,1403)으로 이루어지는 것을 특징으로 하는 자동판매기 원격관리방법.A coupler 504 and a line multiple access device 503 each having means 702 and 602 for spreading and then spreading the received signal through the subscriber line 506 connected to the public telecommunication network and transmitting and spreading the received signal. And a multiplexer 502 for selectively connecting the subscriber line 506 connected to the coupler 504 to the line multiple access device 503 by the line multiple access device 503, and the coupler ( A vending machine remote management having a plurality of vending machines 512 connected to 504 and a system control means 508 connected to the line multiple access device 503 for remotely managing the vending machine 512. In the method for remotely managing the vending machine 512 in the system, the vending machine 512 is in normal operation in response to receiving the inquiry information from the coupler 504 to inquire its own operating state. Prize In this case, data indicating a normal state is transmitted to the coupler 504, and in case of an abnormal state, the state information transmitting process 1400 to 1411 for transmitting the state information indicating the abnormal state to the coupler 504, and the automatic When the vending machine 512 receives a work command message for confirming various status information of the vending machines 512 generated by the system control unit 508 from the coupler 504, the vending machine processes the corresponding job and then performs the corresponding job. Remote control method for a vending machine comprising a work command processing process (1400, 1412 ~ 1432, 1403) for generating a result message and transmitting it to the coupler (504). 공중통신망에 연결되는 가입자선로(506)를 통해 상호간에 전송신호에 대하여 대역환산시킨 후 전송하며 수신신호를 역확산시키는 수단(702,602)을 각각 구비한 커플러(504) 및 선로다중접속장치(503)와, 상기 선로다중접속장치(503)에 의해 상기 커플러(504)와 연결되는 상기 가입자선로(506)를 상기 선로다중접속장치(503)에 선택 연결하는 멀티플렉서(502)와, 상기 커플러(504)을 접속되는 다수의 자동판매기(512)와, 상기 선로다중접속장치(503)에 접속되며 상기 자동판매기(512)를 원격으로 관리하기 위한 시스템 제어수단(508)을 구비한 자동판매기 원격관리시스템에서 상기 자동판매기(512)를 원격으로 관리하는 방법에 있어서, 상기 선로다중접속장치(503)가 상기 커플러(504)를 스캐닝하기 위해 상기 멀티플렉서(502)를 제어하여 상기 커플러(504)와 연결된 상기 가입자선로(506)를 선택 연결한 후 상기 커플러(504)로 보관된 정보가 있는지를 문의하는 제1스캐닝과정(900∼904,908∼912)과, 상기 제1스캐닝과정(900∼904,908∼912)에서 상기 커플러(504)로부터 정상상태임을 나타내는 수신될 경우 상기 자동판매기(512)의 상태를 정상상태로 판단하고 상기 연결한 가입자선로(506)를 절단하는 제1스캐니완료과정(904∼906)과, 상기 제1스태닝과정(900∼904,908∼912)에서 상기 커플러(504)로부터 상기 자동판매기(512)가 이상상태임을 나타내는 상태정보가 수신될 경우 수신한 상태정보를 상기 시스템 제어수단(508)으로 전송하는 제1상태정보전송과정(908,913∼927,906)과, 상기 선로 다중접속장치(903)가 상기 시스템 제어수단(503)가 상기 시스템 제어수단(508)으로부터 상기 자동판매기(512)들의 각종 현황정보를 확인하기 위한 작업명령메세지를 수신할 경우 멀티플렉서(502)를 제어하여 해당 커플러(504)와 연결된 상기 가입자선로(506)를 선택 연결한후 상기 작업명령메세지를 해당 커플러(504)로 전송하는 제1작업명령전송과정(1000∼1011,1014,1023,1026)과, 상기 제1작업명령전송과정(1000∼1011,1014,1023,1026)과, 상기 제1작업명령전송과정(1000∼1011,1014,1023,1026)에서 전송한 상기 작업명령메세지에 따라 상기 자동판매기(512)로부터 발생되는 작업결과메세지를 상기 시스템 제어수단(508)으로 전송하는 제1작업결과전송과정(1011∼1026)과, 상기 커플러(504)가 상기 자동판매기(512)의 동작상태를 문의하기 위해 해당 자동판매기(512)로 정보가 있는지를 문의하는 제2스캐닝과정(1100∼1104,1106∼1112)과, 상기 제2스캐닝과정(1100∼1104,1106∼1112)에서 상기 자동판매기(512)로부터 정상상태임을 나타내는 데이타가 수신될 경우 해당 자동판매기(512)의 상태를 정상상태로 판단하는 제2스캐닝완료과정(1104∼1106)과, 상기 제2스캐닝과정(1100∼1104,1106∼1112)에서 상기 자동판매기(512)로부터 이상상태임을 나타내는 상태정보가 수신될 경우 수신한 정보를 상기 선로다중접속장치(503)로부터의 상태문의 수신시에 상기 선로다중접속장치(503)로 전송하는 제2상태정보전송과정(1108,1113∼1125,1106)과, 상기 커플러(504)가 상기 선로다중접속장치(503)로부터 상기 시스템 제어수단(508)에서 발생된 상기 작업명령메세지를 수신할 경우 해당 자동판매기(512)로 전송하는 제2작업명령전송과정(1200,1212∼1232,1203,1300∼1314,1323,1326)과, 상기 제2작업명령전송과정(1200,1212∼1232,1203,1300∼1314,1323,1326)에서 전송한 상기 작업명령메세지에 따라 상기 자동판매기(512)에서 해당 작업을 처리한 후 처리결과를 알리기 위해 발생하는 작업결과메세지를 상기 선로다중접속장치(503)로 전송하는 제2작업결과전송과정(1312∼1313,1315∼1326,1200∼1211)과, 상기 자동판매기(512)가 상기 커플러(504)로부터 자신의 동작상태를 문의하는 문의정보가 수신된 것에 응답하여 현재 동작상태가 정상상태일 경우에는 정상상태를 나타내는 데이타를 상기 커플러(504)로 전송하며 이상상태일 경우에는 이상상태를 나타내는 상태정보를 상기 커플러(504)로 전송하는 제3상태정보전송과정(1400∼1411)과, 상기 시스템 제어수단(508)에서 발생된 상기 작업명령메세지를 상기 커플러(504)로부터 수신할 경우 해당 작업을 처리한 후 상기 작업결과메세지를 발생하여 상기 커플러(504)로 전송하는 작업명령처리과정(1400,1412∼1432,1403)으로 이루어지는 것을 특징으로 하는 자동판매기 원격관리방법.Coupler 504 and line multiple access device 503 each having means 702 and 602 for transmitting and then spreading bands of transmission signals through subscriber lines 506 connected to the public telecommunication network and despreading the reception signals. And a multiplexer 502 for selectively connecting the subscriber line 506 connected to the coupler 504 to the line multiple access device 503 by the line multiple access device 503, and the coupler ( A vending machine remote management having a plurality of vending machines 512 connected to the 504, and a system control means 508 for remotely managing the vending machine 512 connected to the line multiple access device 503. In the system for remotely managing the vending machine 512, the line multiplexer 503 is connected to the coupler 504 by controlling the multiplexer 502 to scan the coupler 504. The subscriber In the first scanning process (900 to 904,908 to 912), and the first scanning process (900 to 904,908 to 912) to inquire whether there is information stored in the coupler 504 after the connection of the furnace 506 is selected A first scan completion process 904 to 906 in which the state of the vending machine 512 is judged as a normal state when the coupler 504 is received from the coupler 504, and the disconnected subscriber line 506 is cut off; The system control means 508 receives the state information received when the state information indicating that the vending machine 512 is in an abnormal state is received from the coupler 504 in the first scanning process 900 to 904, 908 to 912. The first state information transmission process (908, 913 to 927, 906), and the line multiple access device (903), the system control means (503) from the system control means (508) to the various status of the vending machine (512) Receive work order messages to verify information In this case, the first work command transmission process 1000 to 1011 for controlling the multiplexer 502 to selectively connect the subscriber line 506 connected to the coupler 504 and then transmit the work command message to the coupler 504. 1014, 1023, 1026, the first work command transmission process (1000 to 1011, 1014, 1023, 1026), and the first work command transmission process (1000 to 1011, 1014, 1023, 1026) First operation result transmission processes 1011 to 1026 for transmitting the operation result message generated from the vending machine 512 to the system control means 508 according to the operation command message, and the coupler 504 automatically performs the operation. Second scanning process (1100-1104,1106-1111) and the second scanning process (1100-1104,1106) for inquiring whether the vending machine 512 has information to inquire the operation state of the vending machine 512. 11-12), when data indicating that the device is in a normal state is received from the vending machine 512. The second scanning completion process 1104-1106 for determining the state of the vending machine 512 as a normal state and the abnormal state from the vending machine 512 in the second scanning processes 1100-1104, 1106-1112. When the status information is received, the second status information transmission process (1108, 1113 to 1125, 1106) for transmitting the received information to the line multiple access device (503) upon receiving a status message from the line multiple access device (503). And a second work command transmitted to the vending machine 512 when the coupler 504 receives the work command message generated by the system control means 508 from the line multiple access device 503. Process (1200,1212 to 1232,1203,1300 to 1314,1323,1326), and the work command transmitted in the second process command transmission process (1200,1212 to 1232,1203,1300 to 1314,1323,1326). Generated to notify the processing result after processing the job in the vending machine 512 according to the message Second operation result transmission processes (1312 to 1313, 1315 to 1326, 1200 to 1211) for transmitting the operation result message to the line multiple access device (503), and the vending machine (512) from the coupler (504). In response to receiving the inquiry information inquiring about its own operation state, if the current operation state is normal, the data indicating the normal state is transmitted to the coupler 504. The third state information transmission process (1400-1411) for transmitting to the coupler 504, and when receiving the operation command message generated by the system control means 508 from the coupler 504 to process the operation And a work command processing process (1400, 1412 to 1432, 1403) for generating the work result message and transmitting the work result message to the coupler (504).
KR1019930028356A 1993-12-18 1993-12-18 Remote control system and the method of a vending machine KR960005289B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019930028356A KR960005289B1 (en) 1993-12-18 1993-12-18 Remote control system and the method of a vending machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019930028356A KR960005289B1 (en) 1993-12-18 1993-12-18 Remote control system and the method of a vending machine

Publications (2)

Publication Number Publication Date
KR950020322A KR950020322A (en) 1995-07-24
KR960005289B1 true KR960005289B1 (en) 1996-04-23

Family

ID=19371550

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019930028356A KR960005289B1 (en) 1993-12-18 1993-12-18 Remote control system and the method of a vending machine

Country Status (1)

Country Link
KR (1) KR960005289B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100397636B1 (en) * 2000-07-27 2003-09-13 (주) 하우텔 A communication controller device for remote management of vending machine

Also Published As

Publication number Publication date
KR950020322A (en) 1995-07-24

Similar Documents

Publication Publication Date Title
US6430268B1 (en) Systems for requesting service of a vending machine
US6272395B1 (en) System and method for reporting vending status
US4953198A (en) Public cordless telephone
EP0701381B1 (en) Method and telephone for determining the features assigned to a telephone subscriber
US5878344A (en) Module for selectively providing wireless and wireless call communication services
US7020488B1 (en) Communications unit, system and methods for providing multiple access to a wireless transceiver
KR100216363B1 (en) Credit query service system and method
AU718505B2 (en) Remote control system
KR960005289B1 (en) Remote control system and the method of a vending machine
US5633911A (en) Method and apparatus for reserving a telephone line in a telepoint communication system
KR20010006526A (en) Connection time free data messaging through telephone networks
EP0427760B1 (en) Method and apparatus for accessing a facsimile store and forward network
EP0999682A1 (en) Cordless telephone system
KR0143169B1 (en) Method of service call using communication terminals
JP3564017B2 (en) Data communication method
KR100202380B1 (en) Facsimile charging method
JP4530560B2 (en) A communication system using a telephone network that enables an arbitrary incoming call to a data communication terminal device
GB2363030A (en) Caller ID service
KR19990065397A (en) Vending Machine Remote Control Method Using Single-professional Service of Mobile Communication System
KR100329461B1 (en) Method of facsimile status involved in PABX
WO1996021306A1 (en) An improved telephone extension unit and system for use therewith
JP2001358843A (en) Remote management system
KR19990015773A (en) Receiving mode automatic switching in wireless fax machine
KR20010059639A (en) Transmission test device of calling identity delivery in eletronic switching system and method thereof
JPH04120858A (en) Remote receiver

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: 20080306

Year of fee payment: 13

LAPS Lapse due to unpaid annual fee