KR101206231B1 - Network system and data transmitting method using half duplex - Google Patents

Network system and data transmitting method using half duplex Download PDF

Info

Publication number
KR101206231B1
KR101206231B1 KR1020100132652A KR20100132652A KR101206231B1 KR 101206231 B1 KR101206231 B1 KR 101206231B1 KR 1020100132652 A KR1020100132652 A KR 1020100132652A KR 20100132652 A KR20100132652 A KR 20100132652A KR 101206231 B1 KR101206231 B1 KR 101206231B1
Authority
KR
South Korea
Prior art keywords
control
slave
master
control right
slaves
Prior art date
Application number
KR1020100132652A
Other languages
Korean (ko)
Other versions
KR20120071064A (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 KR1020100132652A priority Critical patent/KR101206231B1/en
Publication of KR20120071064A publication Critical patent/KR20120071064A/en
Application granted granted Critical
Publication of KR101206231B1 publication Critical patent/KR101206231B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/14Two-way operation using the same type of signal, i.e. duplex
    • H04L5/16Half-duplex systems; Simplex/duplex switching; Transmission of break signals non-automatically inverting the direction of transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/33Director till display
    • G05B2219/33187Serial transmission rs232c, rs422, rs485 communication link

Abstract

반이중 방식의 네트워크 시스템이 제공된다. 본 발명의 일실시예에 따른 반이중 방식의 네트워크 시스템은 마스터, 및 마스터와 반이중 방식으로 연결되는 복수의 슬레이브를 포함하고, 마스터는 복수의 슬레이브에 순차적으로 제어권 요청이 있는지 여부를 확인하고, 복수의 슬레이브 중에서 제어권 요청을 전송하는 슬레이브에 제어권을 부여하고, 상기 제어권을 부여받은 제어 슬레이브와 1:1 통신을 수행하고, 복수의 슬레이브 중에서 제어 슬레이브를 제외한 나머지 슬레이브는 사용 불능 상태로 전환된다. A half duplex network system is provided. The half-duplex network system according to an embodiment of the present invention includes a master and a plurality of slaves connected to the master in a half-duplex manner, and the master checks whether the plurality of slaves sequentially request control rights, A control right is granted to a slave that transmits a control right request among slaves, performs 1: 1 communication with the control slave granted the control right, and the remaining slaves except the control slave among the plurality of slaves are switched to an unusable state.

Description

반이중 방식의 네트워크 시스템 및 데이터 전송 방법{Network system and data transmitting method using half duplex}Network system and data transmission method using half duplex {Network system and data transmitting method using half duplex}

본 발명은 반이중 방식의 네트워크 시스템 및 데이터 전송 방법에 관한 것이다. The present invention relates to a half-duplex network system and a data transmission method.

홈네트워크 시스템은 유무선 통신을 이용하여 가정 내에 설치되는 컴퓨터, TV 등의 정보 가전 기기와 세탁기, 냉장고 등의 생활 가전 기기 및 전동 도어, 자동 조명 등의 홈오토메이션 기기 등을 모니터링하고 제어하는 기술이다. 홈네트워크가 갖춰지면 사용자는 원거리에서도 통신망을 통하여 홈네트워크 시스템에 접속하여 가정 내 전자제품을 제어할 수 있게 된다. 또한, 가전제품을 통해 가정 내외부에서 인터넷 접속, 동영상 전송, e-메일 송수신이 가능해져 진정한 사이버 홈 구축이 가능하게 된다. The home network system is a technology for monitoring and controlling information appliances such as computers and TVs installed in homes, household appliances such as washing machines and refrigerators, and home automation appliances such as electric doors and automatic lighting, using wired and wireless communication. When the home network is equipped, the user can access the home network system through a communication network and control electronic appliances in the home even from a long distance. In addition, home appliances allow users to access the Internet, send videos, and send and receive e-mail both inside and outside their homes, enabling a true cyber home.

홈네트워크 관련 기술에는 액세스 네트워크 기술, 유무선 홈네트워크 기술, 홈게이트웨이 기술, 미들웨어 기술 등이 있다. Home network related technologies include access network technology, wired and wireless home network technology, home gateway technology and middleware technology.

액세스 네트워크 기술은 ADSL(Asymmetric Digital Subscriber Line)/VDSL(Very high-data rate Digital Subscriber Line), 동축케이블을 이용하는 케이블모뎀(Cable Modem), 위성관련 기술, 광케이블을 이용하는 FTTH(Fiber to the Home) 기술 등이 있다. Access network technologies include Asymmetric Digital Subscriber Line (ADSL) / Very High-data Rate Digital Subscriber Line (VDSL), Cable Modem using coaxial cable, Satellite related technology, and Fiber to the Home (FTTH) technology using optical cable Etc.

유선 홈네트워크 기술에는 전화선을 이용하는 HomePNA(Home Phoneline Networking Alliance), RS485, 전력선 배선을 이용하는 PLC(Power Line Communication), 이더넷(Ethernet) 등이 있으며, 무선 홈네트워크 기술에는 무선랜(wireless LAN), 지그비(ZigBee), 블루투스(Bluetooth), HomeRF(Home Radio Frequency) 등 있다. Wired home network technologies include Home Phoneline Networking Alliance (HomePNA) using telephone lines, RS485, Power Line Communication (PLC) and Ethernet using power line wiring.Wireless LAN and Zigbee are used for wireless home network technologies. (ZigBee), Bluetooth (Bluetooth), HomeRF (Home Radio Frequency).

홈게이트웨이 기술은 서비스 사업자 및 가정내의 사용자를 위하여 홈네트워크에 접속된 각종 댁내기기의 제어 및 관리 기능을 제공하는 기술이다. Home gateway technology is a technology that provides the control and management of various home appliances connected to the home network for service providers and users in the home.

미들웨어 기술은 다양한 시스템 간의 상호운용성(interoperability)을 제공해 주고 하부의 하드웨어나 네트워크 구성 요소와는 독립적인 응용 프로그램의 구현을 가능하게 하는 기술이다. Middleware technology is a technology that provides interoperability between various systems and enables the implementation of applications that are independent of underlying hardware or network components.

홈네트워크 시스템에는 가정 내의 기기들을 효율적으로 관리할 수 있는 마스터(mater) 기기가 마련되어, 가정 내의 슬레이브(slave) 기기들을 모니터링하고 제어한다. 마스터 기기는 홈네트워크 시스템의 일부 기기들을 관리할 수도 있고, 가정 내의 모든 기기들을 관리하는 홈서버가 될 수도 있다. The home network system is provided with a master device that can efficiently manage devices in the home, and monitors and controls slave devices in the home. The master device may manage some devices of the home network system or may be a home server that manages all devices in the home.

유선 홈네트워크 기술 중에서 RS485는 시리얼 통신 규격으로, 다수의 기기 간에 반이중(half duplex) 방식의 다자간 통신이 가능하다. 반이중 방식의 다자간 통신은 하나의 기기가 데이터를 전송할 때 다른 기기들은 송신을 하지 않고 수신만 하는 통신 방식이다.Among the wired home network technologies, RS485 is a serial communication standard, which enables half duplex multi-party communication between multiple devices. Half-duplex multi-party communication is a communication method in which one device transmits data while another device does not transmit.

RS485에서는 원활한 데이터 송수신을 위하여 마스터/슬레이브 구조의 폴링(polling) 방식, 충돌 감지 알고리즘을 포함한 이벤트 방식을 이용한 데이터 전송이 수행된다.In RS485, data transmission using an event method including a polling method of a master / slave structure and a collision detection algorithm is performed for smooth data transmission and reception.

마스터/슬레이브 구조의 폴링 방식은 하나의 마스터가 요청하는 경우에만 슬레이브가 응답할 수 있는 방식이다. 마스터에 다수의 슬레이브가 연결된 경우 마스터는 다수의 슬레이브에 순차적으로 데이터 전송을 요청하고, 이에 각 슬레이브가 응답하여야 하므로 데이터 전송이 지연될 수 있다. 그러나 폴링 방식은 구현이 용이하고 신뢰성이 높아 가장 많이 이용되는 방식이다. The polling method of the master / slave structure allows the slave to respond only when one master requests it. When a plurality of slaves are connected to the master, the master requests data transmissions sequentially to the plurality of slaves, and since each slave must respond, the data transmission may be delayed. However, polling is the most widely used method because it is easy to implement and reliable.

이벤트 방식은 RS485의 통신선에 연결된 모든 단말이 필요에 따라 데이터를 전송할 수 있는 방식이다. 2 이상의 단말이 동시에 데이터를 전송하는 경우 충돌이 발생할 수 있어, 이벤트 방식은 복잡한 충돌 감지 및 회피 알고리즘을 적용되거나 통신 빈도가 낮아 충돌 확률이 낮은 상황에서 사용된다. The event method is a method in which all terminals connected to the communication line of RS485 can transmit data as needed. When two or more terminals transmit data at the same time, collision may occur, and the event method is used in a situation where a collision probability is low because a complicated collision detection and avoidance algorithm is applied or communication frequency is low.

반이중 방식의 네트워크 시스템에서 전송 지연을 줄이고 신뢰성 있는 데이터를 전송할 수 있는 방법이 필요하다. In a half-duplex network system, there is a need for a method of reducing transmission delay and transmitting reliable data.

본 발명의 일 실시예는 전송 지연을 줄이고 신뢰성 있는 데이터를 전송할 수 있는 반이중 방식의 네트워크 시스템 및 데이터 전송 방법을 제공하고자 한다.An embodiment of the present invention is to provide a half-duplex network system and a data transmission method capable of reducing transmission delay and transmitting reliable data.

본 발명의 일 실시예에 따른 반이중 방식의 네트워크 시스템은 마스터, 및 상기 마스터와 반이중 방식으로 연결되는 복수의 슬레이브를 포함하고, 상기 마스터는 복수의 슬레이브에 순차적으로 제어권 요청이 있는지 여부를 확인하고, 상기 복수의 슬레이브 중에서 제어권 요청을 전송하는 슬레이브에 제어권을 부여하고, 상기 제어권을 부여받은 제어 슬레이브와 1:1 통신을 수행하고, 상기 복수의 슬레이브 중에서 상기 제어 슬레이브를 제외한 나머지 슬레이브는 사용 불능 상태로 전환된다. The half-duplex network system according to an embodiment of the present invention includes a master and a plurality of slaves connected to the master in a half-duplex manner, wherein the master checks whether a plurality of slaves sequentially request control rights, Granting a control right to a slave transmitting a control right request among the plurality of slaves, performing 1: 1 communication with the control slave granted the control right, and remaining slaves except the control slave among the plurality of slaves are in an unusable state. Is switched.

상기 마스터는 상기 제어 슬레이브로부터 제어권 주기 신호가 수신되는지 여부를 확인하고, 정해진 주기 동안 상기 제어권 주기 신호가 수신되지 않으면 상기 제어 슬레이브로부터 상기 제어권을 회수할 수 있다. The master may determine whether a control right cycle signal is received from the control slave, and may recover the control right from the control slave if the control right cycle signal is not received for a predetermined period.

상기 제어권 주기 신호는 상기 제어 슬레이브에서 상기 마스터로 전송할 데이터가 남아있는 동안 주기적으로 전송되는 제어신호일 수 있다. The control right cycle signal may be a control signal periodically transmitted while data to be transmitted from the control slave to the master remains.

상기 제어권 주기 신호는 상기 마스터와 상기 제어 슬레이브 간에 송수신되는 데이터일 수 있다. The control right cycle signal may be data transmitted and received between the master and the control slave.

상기 제어 슬레이브는 상기 마스터와 데이터를 송수신한 후 제어권 반환 신호를 상기 마스터에 전송하고, 상기 마스터는 제어권 반환 신호를 수신하면 상기 제어 슬레이브로부터 상기 제어권을 회수할 수 있다. The control slave transmits a control right return signal to the master after transmitting and receiving data with the master, and the master may recover the control right from the control slave when receiving the control right return signal.

상기 제어 슬레이브에 제어권을 부여한 마스터는 상기 제어 슬레이브의 슬레이브로서 구동할 수 있다. The master granting the control right to the control slave can drive as a slave of the control slave.

본 발명의 다른 실시예에 따른 마스터와 반이중 방식으로 연결되는 복수의 슬레이브를 포함하는 네트워크 시스템에서 데이터를 전송하는 방법은 상기 마스터가 폴링 목록에 따라 상기 복수의 슬레이브에 순차적으로 제어권 요청이 있는지 여부를 확인하는 단계, 상기 마스터가 상기 복수의 슬레이브 중에서 제어권 요청을 전송하는 슬레이브에 제어권을 부여하는 단계, 상기 제어권을 요청한 슬레이브에 제어권이 부여되면, 상기 마스터가 마스터 변경 신호를 브로드캐스팅하여 상기 제어권을 부여받은 제어 슬레이브를 제외한 나머지 슬레이브를 사용 불능 상태로 전환시키는 단계, 및 상기 마스터와 상기 제어 슬레이브 간에 1:1 통신을 수행하는 단계를 포함한다.According to another embodiment of the present invention, a method for transmitting data in a network system including a plurality of slaves connected in a half-duplex manner to a master includes whether the master sequentially requests control rights to the plurality of slaves according to a polling list. Confirming, the master granting a control right to a slave transmitting a control right request among the plurality of slaves, and when the control right is granted to the slave requesting the control right, the master broadcasts a master change signal to grant the control right. Switching the remaining slaves except the control slave to the unusable state, and performing 1: 1 communication between the master and the control slave.

상기 사용 불능 상태로 전환된 나머지 슬레이브는 사용자의 사용 요청에 대해 사용 불가를 표시하는 단계를 더 포함할 수 있다. The remaining slaves that have been switched to the unusable state may further include indicating unavailability for the user's use request.

상기 제어권 요청에는 상기 제어 슬레이브의 고유 번호가 포함될 수 있다.The control right request may include a unique number of the control slave.

상기 마스터 변경 신호는 상기 제어 슬레이브의 고유 번호를 포함하고, 상기 나머지 슬레이브는 상기 제어 슬레이브의 고유 번호와 자신의 고유 번호가 일치하지 않으면 사용 불능 상태로 전환될 수 있다.The master change signal includes a unique number of the control slave, and the remaining slaves may be switched to an unusable state if the unique number of the control slave and its own number do not match.

상기 제어권을 부여하는 단계 이후에, 상기 마스터가 상기 제어 슬레이브에서 정해진 주기 동안 제어권 주기 신호가 수신되는지 여부를 판단하는 단계, 및 상기 정해진 주기 동안 상기 제어권 주기 신호가 수신되지 않으면, 상기 마스터가 상기 제어 슬레이브로부터 상기 제어권을 회수하는 단계를 더 포함할 수 있다. After the granting of the control right, the master determining whether the control right cycle signal is received for a predetermined period in the control slave, and if the control right cycle signal is not received during the predetermined period, the master controls the control. The method may further include recovering the control right from the slave.

상기 제어 슬레이브로부터 상기 제어권을 회수한 후, 상기 마스터가 제어권 회수 신호를 브로드캐스팅하는 단계를 더 포함하고, 상기 제어권 회수 신호를 수신한 상기 나머지 슬레이브는 사용 가능 상태로 전환될 수 있다. After recovering the control right from the control slave, the master may further include broadcasting a control right recovery signal, and the remaining slaves receiving the control right recovery signal may be switched to an available state.

상기 마스터가 상기 제어 슬레이브로부터 제어권 반환 신호를 수신하는 단계, 및 상기 마스터가 상기 제어 슬레이브로부터 상기 제어권을 회수하는 단계를 더 포함할 수 있다.The master may further include receiving a control right return signal from the control slave, and the master recovering the control right from the control slave.

상기 제어권을 회수하는 단계 이후에, 상기 제어 슬레이브가 상기 제어권 반환 신호를 브로드캐스팅하는 단계, 및 상기 제어권 반환 신호를 수신한 상기 나머지 슬레이브는 사용 가능 상태로 전환되는 단계를 더 포함할 수 있다. After the step of recovering the control right, the control slave may further include broadcasting the control right return signal, and the remaining slave receiving the control right return signal may be switched to an available state.

본 발명의 일 실시예에 따른 반이중 방식의 네트워크 시스템은 많은 데이터를 자주 송수신하여야 하는 슬레이브는 마스터로부터 제어권을 부여받아 모든 데이터를 지연없이 송수신할 수 있고, 데이터 송수신 과정에서 다른 슬레이브와 충돌하지 않으므로 송수신 데이터의 신뢰성을 확보할 수 있다. In the half-duplex network system according to an embodiment of the present invention, a slave that needs to frequently transmit and receive a lot of data can receive and receive all data without delay by receiving a control right from the master and do not collide with other slaves in the process of data transmission and reception. The reliability of the data can be secured.

도 1은 본 발명의 일 실시예에 따른 반이중 방식의 네트워크 시스템을 나타내는 블록도이다.
도 2는 본 발명의 일 실시예에 따른 반이중 방식의 네트워크 시스템에서 마스터의 데이터 송수신 방법을 나타내는 흐름도이다.
도 3은 본 발명의 일 실시예에 따른 반이중 방식의 네트워크 시스템에서 제어권을 부여받는 슬레이브의 데이터 송수신 방법을 나타내는 흐름도이다.
도 4는 본 발명의 일 실시예에 따른 반이중 방식의 네트워크 시스템에서 제어권을 부여받지 않은 슬레이브의 동작 방법을 나타내는 흐름도이다.
1 is a block diagram illustrating a half-duplex network system according to an embodiment of the present invention.
2 is a flowchart illustrating a data transmission / reception method of a master in a half-duplex network system according to an embodiment of the present invention.
3 is a flowchart illustrating a data transmission / reception method of a slave to which a control right is granted in a half-duplex network system according to an embodiment of the present invention.
4 is a flowchart illustrating a method of operating a slave that is not given control right in a half-duplex network system according to an embodiment of the present invention.

이하, 첨부한 도면을 참고로 하여 본 발명의 실시예들에 대하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다. 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시예들에 한정되지 않는다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art may easily implement the present invention. The present invention may be embodied in many different forms and is not limited to the embodiments described herein.

또한, 여러 실시예들에 있어서, 동일한 구성을 가지는 구성요소에 대해서는 동일한 부호를 사용하여 대표적으로 제1 실시예에서 설명하고, 그 외의 실시예에서는 제1 실시예와 다른 구성에 대해서만 설명하기로 한다.In addition, in the various embodiments, components having the same configuration are represented by the same reference symbols in the first embodiment. In the other embodiments, only components different from those in the first embodiment will be described .

본 발명을 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 동일 또는 유사한 구성요소에 대해서는 동일한 참조 부호를 붙이도록 한다.In order to clearly illustrate the present invention, parts not related to the description are omitted, and the same or similar components are denoted by the same reference numerals throughout the specification.

도 1은 본 발명의 일 실시예에 따른 반이중 방식의 네트워크 시스템을 나타내는 블록도이다.1 is a block diagram illustrating a half-duplex network system according to an embodiment of the present invention.

도 1을 참조하면, 반이중 방식의 네트워크 시스템은 마스터(10) 및 복수의 슬레이브(20-1, 20-2, ..., 20-n)를 포함한다. Referring to FIG. 1, a half-duplex network system includes a master 10 and a plurality of slaves 20-1, 20-2,..., 20-n.

마스터(10)는 복수의 슬레이브(20-1, 20-2, ..., 20-n)와 RS485로 연결될 수 있다. RS485는 2 와이어(wire)로 연결되는 반이중(half duplex) 방식이다. 반이중 방식은 하나의 기기가 데이터를 전송할 때에 다른 기기는 수신만을 하여야 하는 방식이다. 마스터(10)와 복수의 슬레이브(20-1, 20-2, ..., 20-n)는 다자간 통신이 가능하다. The master 10 may be connected to the plurality of slaves 20-1, 20-2,..., 20-n by RS485. RS485 is a half duplex with two wires. Half duplex is a method in which one device only needs to receive data when one device transmits data. The master 10 and the plurality of slaves 20-1, 20-2,..., 20-n are capable of multilateral communication.

여기서는 마스터(10)와 복수의 슬레이브(20-1, 20-2, ..., 20-n)가 RS485로 연결되는 것으로 나타내었으나, 마스터(10)와 복수의 슬레이브(20-1, 20-2, ..., 20-n)를 연결하는 물리매체는 RS485에 한정되지 않으며, 반이중 방식을 이용하는 다양한 유무선 통신 방식이 포함될 수 있다.Although the master 10 and the plurality of slaves 20-1, 20-2,..., 20-n are shown to be connected by RS485, the master 10 and the plurality of slaves 20-1, 20-are shown. 2, ..., 20-n) to connect the physical medium is not limited to RS485, may include a variety of wired and wireless communication methods using a half-duplex method.

마스터(10)는 복수의 슬레이브(20-1, 20-2, ..., 20-n)를 모니터링하고 제어하는 제어권을 갖는다. 제어권은 네트워크 시스템 상에서 정보 처리(process), 관리(manage), 저장(storage), 접속(access), 제어(control), 다중 컴퓨팅의 통합(integration), 기기 간의 통신(communication) 등이 이루어지도록 하는 마스터(10)의 주요 기능을 제어할 수 있는 권리를 의미한다. The master 10 has a control right to monitor and control the plurality of slaves 20-1, 20-2, ..., 20-n. The control right enables information processing, management, storage, access, control, integration of multiple computing, and communication between devices on a network system. Means the right to control the main functions of the master (10).

마스터(10)는 폴링(polling) 방식으로 복수의 슬레이브(20-1, 20-2, ..., 20-n)에 제어권 요청이 있는지 확인한다. 폴링 방식은 마스터(10)가 복수의 슬레이브(20-1, 20-2, ..., 20-n)에 송신할 데이터가 있는지 순차적으로 확인하는 방식이다. 폴링의 순서는 미리 지정된 폴링 목록(polling list)에 따라 순차적으로 이루어질 수 있다. 복수의 슬레이브(20-1, 20-2, ..., 20-n)는 송신할 데이터가 있으면 마스터(10)에 제어권 요청을 전송한다. The master 10 checks whether there is a control right request to the plurality of slaves 20-1, 20-2,..., 20-n in a polling manner. The polling method is a method in which the master 10 sequentially checks whether there is data to be transmitted to the plurality of slaves 20-1, 20-2, ..., 20-n. The polling order may be sequentially performed according to a predetermined polling list. The plurality of slaves 20-1, 20-2,..., 20-n transmit a control right request to the master 10 when there is data to be transmitted.

마스터(10)는 송신할 데이터가 있는 슬레이브로부터 제어권 요청을 수신하면, 해당 슬레이브에 제어권을 부여한다. 제어권이 부여된 슬레이브를 제어 슬레이브라 한다. 마스터(10)와 제어 슬레이브 간에는 1:1 통신이 수행된다. 마스터(10)와 제어 슬레이브 간의 1:1 통신은 제어 슬레이브로부터 제어권이 마스터(10)로 반환될 때까지 지속된다. 이 경우, 마스터(10)와 제어 슬레이브 간에 1:1 통신이 수행되므로 폴링 방식에 따른 전송 지연이 발생하지 않는다. When the master 10 receives a control right request from a slave having data to transmit, the master 10 grants control right to the slave. A slave granted control right is called a control slave. 1: 1 communication is performed between the master 10 and the control slave. 1: 1 communication between the master 10 and the control slave continues until control is returned from the control slave to the master 10. In this case, since 1: 1 communication is performed between the master 10 and the control slave, transmission delay according to the polling scheme does not occur.

제어 슬레이브에 제어권을 부여한 마스터(10)는 슬레이브처럼 구동한다. 즉, 마스터는 제어 슬레이브의 슬레이브로서 구동한다. 이 경우, 제어권을 부여한 마스터(10)는 제어 슬레이브로부터 제어권 주기 신호가 수신되는지 여부를 확인한다. 제어권 주기 신호는 제어 슬레이브에서 마스터(10)로 전송할 데이터가 남아있는 동안 마스터(10)로 주기적으로 전송되는 제어신호일 수 있다. 또는 제어권 주기 신호는 마스터(10)와 제어 슬레이브 간에 송수신되는 데이터 자체가 될 수 있다.The master 10 that gives control to the control slave drives like a slave. In other words, the master drives as a slave of the control slave. In this case, the master 10 granting the control right checks whether the control right cycle signal is received from the control slave. The control right cycle signal may be a control signal periodically transmitted to the master 10 while data to be transmitted from the control slave to the master 10 remains. Alternatively, the control right cycle signal may be data itself transmitted and received between the master 10 and the control slave.

마스터(10)는 제어 슬레이브로부터 정해진 주기 동안 제어권 주기 신호가 수신되지 않으면 제어 슬레이브로부터 제어권을 회수한다. 또는 마스터(10)는 제어 슬레이브로부터 제어권 반환 신호를 수신하면 제어 슬레이브로부터 제어권을 회수한다. The master 10 recovers the control right from the control slave when the control right cycle signal is not received for a predetermined period from the control slave. Alternatively, when the master 10 receives the control right return signal from the control slave, the master 10 recovers the control right from the control slave.

한편, 마스터(10)는 특정 슬레이브에 제어권을 부여한 후 마스터 변경 신호를 브로드캐스팅(broadcasting)한다. 마스터 변경 신호는 마스터의 제어권이 제어 슬레이브에 부여되었음을 나타내는 신호이다. 마스터 변경 신호는 제어 슬레이브의 고유번호를 포함할 수 있다. Meanwhile, the master 10 broadcasts a master change signal after granting control to a specific slave. The master change signal is a signal indicating that the control right of the master has been granted to the control slave. The master change signal may include a unique number of the control slave.

마스터 변경 신호를 수신한 나머지 슬레이브들은 사용 불능 상태로 전환된다. 사용 불능 상태의 슬레이브는 어떠한 데이터 송수신도 수행하지 않으며, 사용자의 사용 요청에 대해 사용 불가를 표시한다. 사용 불능 상태의 슬레이브들은 제어권이 마스터(10)에 반환되었는지 여부를 모니터링하고, 제어권이 마스터(10)에 반환되면 사용 가능 상태로 전환된다. 즉, 마스터(10)와 제어 슬레이브 간의 1:1 통신이 수행되는 동안 나머지 슬레이브들은 데이터 송수신을 수행하지 않는다. 따라서, 마스터(10)와 제어 슬레이브 간의 신뢰성 있는 데이터 전송이 수행될 수 있다.Upon receiving the master change signal, the remaining slaves are disabled. The slave in the disabled state does not perform any data transmission and reception and indicates that the user cannot use the request. The slaves in the unusable state monitor whether the control right is returned to the master 10 and switch to the available state when the control right is returned to the master 10. That is, while 1: 1 communication between the master 10 and the control slave is performed, the remaining slaves do not perform data transmission / reception. Thus, reliable data transmission between the master 10 and the control slave can be performed.

상술한 반이중 방식의 네트워크 시스템은 반이중 방식의 홈네트워크 시스템일 수 있다. 이때, 마스터(10)는 게이트웨이가 되고 복수의 슬레이브(20-1, 20-2, ..., 20-n)는 게이트웨이에 반이중 방식으로 연결되는 복수의 디스플레이 단말이 될 수 있다. 디스플레이 단말은 디스플레이 패널에 영상을 표시하는 기기를 의미한다. 예를 들어, 디스플레이 단말은 홈게이트웨이에 연결되는 TV, DVD(digital versatile disc) 플레이어, 영상 게임기 등을 포함한다. The half-duplex network system may be a half-duplex home network system. In this case, the master 10 may be a gateway and the plurality of slaves 20-1, 20-2,..., 20-n may be a plurality of display terminals connected to the gateway in a half-duplex manner. The display terminal refers to a device for displaying an image on the display panel. For example, the display terminal includes a TV, a digital versatile disc (DVD) player, a video game machine, or the like connected to a home gateway.

반이중 방식의 홈네트워크 시스템에 포함되는 다수의 디스플레이 단말 중에서 사용자가 특정 디스플레이 단말을 사용하는 경우, 상술한 방식에 따라 특정 디스플레이 단말은 게이트웨이의 제어권을 부여받아 게이트웨이와 1:1 통신을 수행한다. 그리고 나머지 디스플레이 단말은 게이트웨이나 다른 단말로 데이터를 전송하지 않는다. 따라서, 반이중 방식의 홈네트워크 시스템에서 게이트웨이와 디스플레이 단말 간의 전송 지연을 줄이고 신뢰성 있는 데이터 전송을 수행할 수 있다. When a user uses a specific display terminal among a plurality of display terminals included in the half-duplex home network system, the specific display terminal is given a control right of the gateway and performs 1: 1 communication with the gateway according to the above-described method. The remaining display terminals do not transmit data to the gateway or other terminals. Therefore, in the half-duplex home network system, transmission delay between the gateway and the display terminal can be reduced and reliable data transmission can be performed.

도 2는 본 발명의 일 실시예에 따른 반이중 방식의 네트워크 시스템에서 마스터의 데이터 송수신 방법을 나타내는 흐름도이다. 2 is a flowchart illustrating a data transmission / reception method of a master in a half-duplex network system according to an embodiment of the present invention.

도 2를 참조하면, 마스터는 지정된 폴링 목록에 따라 순차적으로 폴링 신호를 복수의 슬레이브에 전송하기 위하여 폴링 시작시에 폴링 순번 K를 0으로 지정한다(K=0)(S110). 폴링 순번은 폴링 목록에 따라 폴링 신호를 전송할 슬레이브의 번호를 의미할 수 있다. Referring to FIG. 2, the master designates polling sequence K as 0 at the start of polling in order to sequentially transmit polling signals to a plurality of slaves according to a designated polling list (K = 0) (S110). The polling sequence number may refer to a number of a slave to transmit a polling signal according to a polling list.

마스터는 폴링 순번에 1을 더하여 폴링 순번을 증가시킨다(K=K+1)(S120). The master increases the polling sequence by adding 1 to the polling sequence (K = K + 1) (S120).

마스터는 폴링 순번 K에 대응하는 K 번째 슬레이브에 폴링 신호를 전송하고 K 번째 슬레이브로부터 제어권 요청이 있는지 여부를 판단한다(S130). K 번째 슬레이브로부터 제어권 요청이 없는 경우, 마스터는 폴링 순번 증가 단계(S120)로 되돌아가 폴링 순번을 다시 1 증가시킨다. The master transmits a polling signal to the K-th slave corresponding to the polling sequence K and determines whether there is a control right request from the K-th slave (S130). If there is no control right request from the K-th slave, the master returns to the polling sequence increasing step S120 and increments the polling sequence by one again.

즉, 마스터는 폴링 순번 증가 단계(S120) 및 제어권 요청 판단 단계(S130)를 반복하여 첫 번째 슬레이브부터 마지막 슬레이브까지 폴링 방식으로 각각의 슬레이브에 제어권 요청이 있는지 여부를 판단할 수 있다. That is, the master may repeat the polling order increment step S120 and the control right request determination step S130 to determine whether each slave has a control right request in a polling manner from the first slave to the last slave.

K 번째 슬레이브로부터 제어권 요청이 있는 경우, 마스터는 K 번째 슬레이브에 제어권을 부여한다(S140). 제어권 요청에는 K 번째 슬레이브의 고유 번호가 포함될 수 있으며, 마스터는 K 번째 슬레이브의 고유 번호를 확인하여 제어권 요청의 유효성을 확인할 수 있다. 마스터는 제어권 요청의 유효성이 확인되면 K 번째 슬레이브에 제어권을 부여할 수 있다. K 번째 슬레이브가 제어 슬레이브가 된다.If there is a control right request from the K-th slave, the master grants control to the K-th slave (S140). The control right request may include the unique number of the Kth slave, and the master may check the validity of the control right request by checking the unique number of the Kth slave. The master may grant control to the Kth slave when the control request is validated. Kth slave becomes control slave.

K 번째 슬레이브에 제어권이 부여되면, 마스터는 마스터 변경 신호를 브로드캐스팅한다(S150). 마스터 변경 신호는 마스터의 제어권이 K 번째 슬레이브에 부여되었음을 나타내는 신호로서, 제어 슬레이브의 고유번호가 포함될 수 있다. 마스터 변경 신호는 제어 슬레이브를 제외한 나머지 슬레이브들이 사용 불능 상태로 전환되도록 하는 신호이다. 즉, 마스터 변경 신호를 수신한 나머지 슬레이브들은 사용 불능 상태로 전환된다. If control is granted to the K-th slave, the master broadcasts a master change signal (S150). The master change signal is a signal indicating that the control right of the master is assigned to the K-th slave, and may include a unique number of the control slave. The master change signal is a signal that causes the remaining slaves except the control slave to be in an unusable state. That is, the remaining slaves that receive the master change signal are switched to the unusable state.

마스터는 K 번째 슬레이브와 데이터 송수신을 수행한다(S160). 이때, K 번째 슬레이브를 제외한 나머지 슬레이브들은 데이터를 송수신하지 않는 사용 불능 상태가 되고, 마스터와 K 번째 슬레이브는 1:1 통신을 수행한다. The master performs data transmission and reception with the K-th slave (S160). At this time, the remaining slaves, except the K-th slave, become unusable without transmitting or receiving data, and the master and the K-th slave perform 1: 1 communication.

마스터는 K 번째 슬레이브에서 제어권 주기 신호가 수신되는지 여부를 판단한다(S170). 제어권 주기 신호는 제어 슬레이브에서 마스터로 주기적으로 전송되는 신호일 수 있으며, 이때 K 번째 슬레이브는 마스터에 전송할 데이터가 남아있는 동안 제어권 주기 신호를 주기적으로 전송한다. 또는, 제어권 주기 신호는 마스터와 제어 슬레이브 간에 송수신되는 데이터 자체가 될 수 있으며, 이때 K 번째 슬레이브는 마스터로 데이터를 전송하거나 마스터로부터 수신된 데이터에 대한 ACK(acknowledgment) 신호를 전송하여 전송할 데이터가 남아있음을 나타낼 수 있다. The master determines whether a control right cycle signal is received at the K-th slave (S170). The control right cycle signal may be a signal periodically transmitted from the control slave to the master, where the Kth slave periodically transmits the control right cycle signal while data to be transmitted to the master remains. Alternatively, the control right cycle signal may be data itself transmitted and received between the master and the control slave, where the K-th slave transmits data to the master or transmits an acknowledgment (ACK) signal for the data received from the master, thereby remaining data to be transmitted. It may indicate that there is.

K 번째 슬레이브로부터 제어권 주기 신호가 수신되면, 마스터는 K 번째 슬레이브와 지속적으로 데이터 송수신을 수행한다. When the control right cycle signal is received from the K-th slave, the master continuously transmits and receives data with the K-th slave.

K 번째 슬레이브로부터 제어권 주기 신호가 수신되지 않으면, 마스터는 K 번째 슬레이브로부터 제어권을 회수한다(S180). 즉, 마스터는 K 번째 슬레이브로부터 제어권이 회수되면, K 번째 슬레이브와의 데이터 송수신을 중단한다. 마스터는 K 번째 슬레이브로부터 제어권을 회수하면, 제어권이 회수되었음을 알리는 제어권 회수 신호를 브로드캐스팅할 수 있다. 한편, K 번째 슬레이브는 전송할 데이터가 남아있지 않으면 마스터에 제어권 반환 신호를 전송할 수 있다. 마스터는 K 번째 슬레이브로부터 제어권 반환 신호를 수신하면 제어권을 회수한다. 제어권 반환 신호는 브로드캐스팅될 수 있다. 나머지 슬레이브들은 브로드캐스팅되는 제어권 회수 신호 또는 제어권 반환 신호를 수신하면, 사용 가능 상태로 전환된다. If the control right cycle signal is not received from the K-th slave, the master recovers the control right from the K-th slave (S180). That is, when the control right is recovered from the K-th slave, the master stops data transmission and reception with the K-th slave. When the master recovers the control right from the K-th slave, the master may broadcast a control right recovery signal indicating that the control right has been recovered. Meanwhile, if there is no data to transmit, the K-th slave may transmit a control right return signal to the master. When the master receives the control right return signal from the K-th slave, the master takes back the control right. The control right return signal may be broadcast. The remaining slaves are switched to the available state upon receiving the broadcasted control right return signal or the control right return signal.

상술한 바와 같이, 마스터와 K 번째 슬레이브 간에 1:1 통신이 수행됨에 따라, 네트워크 시스템은 폴링 방식에 의한 전송 지연을 줄일 수 있고 데이터의 충돌이 발생하지 신뢰성있는 통신을 수행할 수 있다. As described above, as 1: 1 communication is performed between the master and the K-th slave, the network system may reduce transmission delay due to a polling scheme and perform reliable communication without data collision.

도 3은 본 발명의 일 실시예에 따른 반이중 방식의 네트워크 시스템에서 제어권을 부여받는 슬레이브의 데이터 송수신 방법을 나타내는 흐름도이다. 3 is a flowchart illustrating a data transmission / reception method of a slave to which a control right is granted in a half-duplex network system according to an embodiment of the present invention.

도 3을 참조하면, 슬레이브는 마스터로부터 폴링 신호를 수신한다(S210). 폴링 신호는 복수의 슬레이브 중에서 특정 슬레이브를 지시하는 슬레이브 고유 번호를 포함할 수 있다. 슬레이브는 폴링 신호에 포함된 슬레이브 고유 번호가 자신의 고유 번호인지 여부를 확인할 수 있다.Referring to FIG. 3, the slave receives a polling signal from the master (S210). The polling signal may include a slave unique number indicating a specific slave among a plurality of slaves. The slave may check whether the slave unique number included in the polling signal is its own unique number.

슬레이브는 폴링 신호가 수신되면 마스터에 제어권 요청이 필요한지 여부를 판단한다(S220). 즉, 슬레이브는 마스터와 송수신할 데이터가 있는지 여부를 판단한다. 마스터와 송수신할 데이터가 없는 경우, 슬레이브는 마스터에 NACK(non-acknowledgment) 신호를 전송하거나 아무런 신호도 전송하지 않을 수 있다.If the slave signal is received, the slave determines whether a control right request is required to the master (S220). That is, the slave determines whether there is data to be transmitted or received with the master. If there is no data to transmit and receive with the master, the slave may transmit a non-acknowledgment (NACK) signal or no signal to the master.

마스터와 송수신할 데이터가 있는 경우, 슬레이브는 마스터에 제어권 요청 신호를 전송한다(S230). 제어권 요청 신호는 슬레이브의 고유 번호를 포함할 수 있다. If there is data to be transmitted and received with the master, the slave transmits a control right request signal to the master (S230). The control right request signal may include a unique number of the slave.

슬레이브는 마스터로부터 제어권 요청 신호에 대한 응답으로 제어권을 수신한다(S240). 마스터는 제어권 요청 신호에 포함된 슬레이브의 고유 번호를 확인하여 제어권 요청 신호의 유효성을 확인할 수 있다. 마스터는 제어권 요청 신호의 유효성이 확인되면 슬레이브에 제어권을 부여할 수 있다. The slave receives the control right in response to the control right request signal from the master (S240). The master may check the validity of the control right request signal by checking the unique number of the slave included in the control right request signal. The master may grant control to the slave when the control right request signal is verified.

슬레이브는 마스터와 데이터 송수신을 수행한다(S250). 이때, 마스터는 제어 슬레이브를 제외한 나머지 슬레이브들에 마스터 변경 신호를 브로드캐스팅하여 나머지 슬레이브들이 사용 불능 상태가 되도록 한다. 따라서, 슬레이브는 마스터와 1:1 통신을 수행할 수 있다. The slave performs data transmission and reception with the master (S250). At this time, the master broadcasts the master change signal to the remaining slaves except the control slave so that the remaining slaves are disabled. Therefore, the slave may perform 1: 1 communication with the master.

슬레이브는 소정의 데이터를 송수신한 후 송수신 데이터가 남아 있는지 여부를 판단한다(S260). The slave determines whether data remains after the transmission and reception of predetermined data (S260).

송수신 데이터가 남아 있는 경우, 슬레이브는 마스터에 제어권 주기 신호를 전송한다(S270). 슬레이브는 마스터에 전송할 데이터가 남아있는 동안 마스터에 제어권 주기 신호를 주기적으로 전송할 수 있다. 또는 슬레이브는 마스터에 데이터를 전송하거나 수신된 데이터에 대한 ACK 신호를 전송함으로써 제어권 주기 신호을 전송을 대신할 수 있다. If transmission / reception data remains, the slave transmits a control right cycle signal to the master (S270). The slave may periodically transmit a control right cycle signal to the master while data to be transmitted to the master remains. Alternatively, the slave may replace the control right cycle signal by transmitting data to the master or transmitting an ACK signal for the received data.

송수신 데이터가 남아 있지 않은 경우, 슬레이브는 마스터에 제어권 반환 신호를 전송한다(S280). 제어권 반환 신호는 마스터 및 나머지 슬레이브들에게 브로드캐스팅될 수 있다. 제어권 반환 신호를 수신한 마스터는 제어 슬레이브로부터 제어권을 회수한다. 제어권 반환 신호를 수신한 나머지 슬레이브들은 사용 불능 상태에서 사용 가능 상태로 전환한다. If the transmission and reception data does not remain, the slave transmits a control right return signal to the master (S280). The control right return signal may be broadcast to the master and the remaining slaves. Upon receiving the control right return signal, the master recovers the control right from the control slave. Upon receiving the control return signal, the remaining slaves transition from the disabled state to the available state.

도 4는 본 발명의 일 실시예에 따른 반이중 방식의 네트워크 시스템에서 제어권을 부여받지 않은 슬레이브의 동작 방법을 나타내는 흐름도이다.4 is a flowchart illustrating a method of operating a slave that is not given control right in a half-duplex network system according to an embodiment of the present invention.

도 4를 참조하면, 마스터의 제어권이 제어 슬레이브에 부여될 때, 제어권을 부여받지 않은 나머지 슬레이브는 마스터에서 브로드캐스팅되는 마스터 변경 신호를 수신한다(S310). 마스터 변경 신호는 제어 슬레이브의 고유 번호를 포함할 수 있다. Referring to FIG. 4, when the control right of the master is granted to the control slave, the remaining slaves not receiving the control right receive a master change signal broadcasted from the master (S310). The master change signal may include the unique number of the control slave.

나머지 슬레이브는 마스터 변경 신호를 수신하면 사용 불능 상태로 처리된다(S320). 즉, 나머지 슬레이브는 어떠한 데이터 송수신도 수행하지 않는 사용 불능 상태로 전환된다. 나머지 슬레이브는 마스터 변경 신호에 포함된 제어 슬레이브의 고유 번호를 확인할 수 있으며, 제어 슬레이브의 고유 번호가 자신의 고유 번호가 일치하지 않으면 사용 불능 상태로 전환될 수 있다.The remaining slaves are processed into an unusable state when receiving the master change signal (S320). That is, the remaining slaves are switched to an unusable state in which no data is transmitted or received. The remaining slaves can check the unique number of the control slave included in the master change signal, and if the unique number of the control slave does not match its own number, it can be switched to an unusable state.

사용 불능 상태의 나머지 슬레이브는 사용자로부터 사용 요청이 수신되는지 여부를 판단한다(S330). The remaining slaves in the disabled state determine whether a use request is received from the user (S330).

사용 불능 상태의 나머지 슬레이브는 사용자로부터 사용 요청이 수신되면, 사용이 불가함을 표시한다(S340). 사용 불능 상태의 나머지 슬레이브는 사용자의 사용 요청에 대해 사용 불가 표시 이외의 데이터 송수신 등의 다른 기능을 수행하지 않는다. 즉, 사용 불능 상태의 나머지 슬레이브는 마스터와 제어 슬레이브 간의 1:1 통신이 원활하게 이루어지도록 데이터를 송수신하지 않는다. 사용 불능 상태의 나머지 슬레이브는 사용 요청이 수신되지 않으면 사용 불가 표시를 하지 않는다.The remaining slaves in the disabled state indicate that the use is impossible when the use request is received from the user (S340). The remaining slaves in the disabled state do not perform other functions such as sending and receiving data other than the unavailable indication for the user's use request. That is, the remaining slaves in the disabled state do not transmit or receive data to facilitate 1: 1 communication between the master and the control slave. The remaining slaves in the disabled state do not indicate unavailable unless a use request is received.

사용 불능 상태의 나머지 슬레이브는 제어 슬레이브에 부여된 제어권이 반환되는지 여부를 판단한다(S350). 사용 불능 상태의 나머지 슬레이브는 제어 슬레이브에서 전송되는 제어권 반환 신호 또는 마스터에서 전송되는 제어권 회수 신호의 수신 여부를 모니터링한다. The remaining slaves in the disabled state determine whether the control right granted to the control slave is returned (S350). The remaining slaves in the disabled state monitor whether the control right return signal transmitted from the control slave or the control right recovery signal transmitted from the master is received.

사용 불능 상태의 나머지 슬레이브는 제어권 반환 신호 또는 제어권 회수 신호를 수신하면 사용 가능 상태로 처리된다(S360). 즉, 나머지 슬레이브는 데이터를 송수신할 수 있는 사용 가능 상태로 전환된다.The remaining slaves in the disabled state are processed to the available state when receiving the control right return signal or the control right recovery signal (S360). That is, the remaining slaves are switched to an available state capable of transmitting and receiving data.

다수의 슬레이브 중에서 특정 슬레이브에서 많은 데이터를 자주 송수신하여야 하는 경우, 본 발명의 실시예에 따른 데이터 전송 방법이 더욱 유용하다. 기존의 폴링 방식을 이용하는 경우, 많은 데이터를 자주 송수신하여야 하는 슬레이브는 매번 마스터가 폴링 신호를 전송할 때까지 기다려야 하므로 데이터 전송에 지연이 발생한다. 그러나, 본 발명의 실시예에 따른 데이터 전송 방법을 이용하는 경우, 많은 데이터를 자주 송수신하여야 하는 슬레이브는 마스터로부터 제어권을 부여받아 모든 데이터를 지연없이 송수신할 수 있고, 데이터 송수신 과정에서 다른 슬레이브와 충돌하지 않는다. If a large number of data must be frequently transmitted and received from a specific slave among a plurality of slaves, the data transmission method according to an embodiment of the present invention is more useful. In case of using the existing polling scheme, a slave that needs to transmit and receive a lot of data frequently has to wait until the master transmits a polling signal each time, thereby causing a delay in data transmission. However, when using the data transmission method according to an embodiment of the present invention, a slave that needs to transmit and receive a lot of data frequently can receive all data without delay by being given a control right from the master and do not collide with another slave in the data transmission and reception process. Do not.

지금까지 참조한 도면과 기재된 발명의 상세한 설명은 단지 본 발명의 예시적인 것으로서, 이는 단지 본 발명을 설명하기 위한 목적에서 사용된 것이지 의미 한정이나 특허청구범위에 기재된 본 발명의 범위를 제한하기 위하여 사용된 것은 아니다. 그러므로 본 기술 분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시 예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호 범위는 첨부된 특허청구범위의 기술적 사상에 의해 정해져야 할 것이다. It is to be understood that both the foregoing general description and the following detailed description of the present invention are illustrative and explanatory only and are intended to be illustrative of the invention and are not to be construed as limiting the scope of the invention as defined by the appended claims. It is not. Therefore, those skilled in the art will understand that various modifications and equivalent other embodiments are possible. Accordingly, the true scope of the present invention should be determined by the technical idea of the appended claims.

10 : 마스터(게이트웨이)
20 : 슬레이브(디스플레이 단말)
10: master (gateway)
20: slave (display terminal)

Claims (14)

마스터; 및
상기 마스터와 반이중 방식으로 연결되는 복수의 슬레이브를 포함하고,
상기 마스터는 복수의 슬레이브에 순차적으로 제어권 요청이 있는지 여부를 확인하고, 상기 복수의 슬레이브 중에서 제어권 요청을 전송하는 슬레이브에 제어권을 부여하고, 상기 제어권을 부여받은 제어 슬레이브와 1:1 통신을 수행하고,
상기 복수의 슬레이브 중에서 상기 제어 슬레이브를 제외한 나머지 슬레이브는 사용 불능 상태로 전환되고,
상기 제어 슬레이브에 제어권을 부여한 마스터는 상기 제어 슬레이브의 슬레이브로서 구동하는 것을 특징으로 하는 반이중 방식의 네트워크 시스템.
master; And
And a plurality of slaves connected to the master in a half duplex manner.
The master checks whether a plurality of slaves sequentially have a control right request, grants a control right to a slave transmitting a control right request among the plurality of slaves, and performs 1: 1 communication with the control slave granted the control right. ,
Among the plurality of slaves, the remaining slaves except the control slave are switched to an unusable state,
And a master granting the control right to the control slave runs as a slave of the control slave.
제1 항에 있어서,
상기 마스터는 상기 제어 슬레이브로부터 제어권 주기 신호가 수신되는지 여부를 확인하고, 정해진 주기 동안 상기 제어권 주기 신호가 수신되지 않으면 상기 제어 슬레이브로부터 상기 제어권을 회수하는 것을 특징으로 하는 반이중 방식의 네트워크 시스템.
The method according to claim 1,
And the master checks whether a control right cycle signal is received from the control slave, and recovers the control right from the control slave if the control right cycle signal is not received for a predetermined period.
제2 항에 있어서,
상기 제어권 주기 신호는 상기 제어 슬레이브에서 상기 마스터로 전송할 데이터가 남아있는 동안 주기적으로 전송되는 제어신호인 것을 특징으로 하는 반이중 방식의 네트워크 시스템.
The method of claim 2,
And the control right cycle signal is a control signal transmitted periodically while data to be transmitted from the control slave to the master remains.
제2 항에 있어서,
상기 제어권 주기 신호는 상기 마스터와 상기 제어 슬레이브 간에 송수신되는 데이터인 것을 특징으로 하는 반이중 방식의 네트워크 시스템.
The method of claim 2,
The control right cycle signal is a half-duplex network system, characterized in that the data transmitted and received between the master and the control slave.
제1 항에 있어서,
상기 제어 슬레이브는 상기 마스터와 데이터를 송수신한 후 제어권 반환 신호를 상기 마스터에 전송하고,
상기 마스터는 제어권 반환 신호를 수신하면 상기 제어 슬레이브로부터 상기 제어권을 회수하는 것을 특징으로 하는 반이중 방식의 네트워크 시스템.
The method according to claim 1,
The control slave sends and receives data with the master and transmits a control right return signal to the master,
And the master recovers the control right from the control slave when receiving the control right return signal.
삭제delete 마스터와 반이중 방식으로 연결되는 복수의 슬레이브를 포함하는 네트워크 시스템에서 데이터를 전송하는 방법에 있어서,
상기 마스터가 폴링 목록에 따라 상기 복수의 슬레이브에 순차적으로 제어권 요청이 있는지 여부를 확인하는 단계;
상기 마스터가 상기 복수의 슬레이브 중에서 제어권 요청을 전송하는 슬레이브에 제어권을 부여하는 단계;
상기 제어권을 요청한 슬레이브에 제어권이 부여되면, 상기 마스터가 마스터 변경 신호를 브로드캐스팅하여 상기 제어권을 부여받은 제어 슬레이브를 제외한 나머지 슬레이브를 사용 불능 상태로 전환시키는 단계; 및
상기 마스터와 상기 제어 슬레이브 간에 1:1 통신을 수행하는 단계를 포함하고,
상기 제어 슬레이브에 제어권을 부여한 마스터는 상기 제어 슬레이브의 슬레이브로서 구동하는 데이터 전송 방법.
In the method for transmitting data in a network system including a plurality of slaves connected to the master in a half-duplex method,
Checking, by the master, whether a plurality of slaves sequentially request control rights according to a polling list;
Granting, by the master, a control right to a slave transmitting a control right request among the plurality of slaves;
When the control right is granted to the slave requesting the control right, the master broadcasting a master change signal to switch the remaining slaves except the control slave granted the control right to an unusable state; And
Performing 1: 1 communication between the master and the control slave,
And a master granting the control right to the control slave drives as a slave of the control slave.
제7 항에 있어서,
상기 사용 불능 상태로 전환된 나머지 슬레이브는 사용자의 사용 요청에 대해 사용 불가를 표시하는 단계를 더 포함하는 데이터 전송 방법.
The method of claim 7, wherein
And displaying the remaining unavailable for the use request of the user.
제7 항에 있어서,
상기 제어권 요청에는 상기 제어 슬레이브의 고유 번호가 포함되는 것을 특징으로 하는 데이터 전송 방법.
The method of claim 7, wherein
The control right request includes a unique number of the control slave.
제9 항에 있어서,
상기 마스터 변경 신호는 상기 제어 슬레이브의 고유 번호를 포함하고,
상기 나머지 슬레이브는 상기 제어 슬레이브의 고유 번호와 자신의 고유 번호가 일치하지 않으면 사용 불능 상태로 전환되는 데이터 전송 방법.
10. The method of claim 9,
The master change signal includes a unique number of the control slave,
And the remaining slaves are switched to an unusable state if the unique numbers of the control slaves and their unique numbers do not match.
제7 항에 있어서, 상기 제어권을 부여하는 단계 이후에,
상기 마스터가 상기 제어 슬레이브에서 정해진 주기 동안 제어권 주기 신호가 수신되는지 여부를 판단하는 단계; 및
상기 정해진 주기 동안 상기 제어권 주기 신호가 수신되지 않으면, 상기 마스터가 상기 제어 슬레이브로부터 상기 제어권을 회수하는 단계를 더 포함하는 데이터 전송 방법.
The method of claim 7, after the step of granting the control right,
Determining, by the master, whether a control right cycle signal is received for a predetermined period in the control slave; And
If the control right period signal is not received during the predetermined period, the master further recovering the control right from the control slave.
제11 항에 있어서,
상기 제어 슬레이브로부터 상기 제어권을 회수한 후, 상기 마스터가 제어권 회수 신호를 브로드캐스팅하는 단계를 더 포함하고,
상기 제어권 회수 신호를 수신한 상기 나머지 슬레이브는 사용 가능 상태로 전환되는 데이터 전송 방법.
12. The method of claim 11,
After the control right is recovered from the control slave, the master broadcasting the control right recovery signal;
And receiving the control right recovery signal, the remaining slaves are converted into a usable state.
제7 항에 있어서,
상기 마스터가 상기 제어 슬레이브로부터 제어권 반환 신호를 수신하는 단계; 및
상기 마스터가 상기 제어 슬레이브로부터 상기 제어권을 회수하는 단계를 더 포함하는 데이터 전송 방법.
The method of claim 7, wherein
The master receiving a control right return signal from the control slave; And
And the master recovering the control right from the control slave.
제13 항에 있어서, 상기 제어권을 회수하는 단계 이후에,
상기 제어 슬레이브가 상기 제어권 반환 신호를 브로드캐스팅하는 단계; 및
상기 제어권 반환 신호를 수신한 상기 나머지 슬레이브는 사용 가능 상태로 전환되는 단계를 더 포함하는 데이터 전송 방법.
The method of claim 13, wherein after the step of recovering the control right,
The control slave broadcasting the control right return signal; And
The remaining slave receiving the control right return signal further comprises the step of transitioning to an available state.
KR1020100132652A 2010-12-22 2010-12-22 Network system and data transmitting method using half duplex KR101206231B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020100132652A KR101206231B1 (en) 2010-12-22 2010-12-22 Network system and data transmitting method using half duplex

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020100132652A KR101206231B1 (en) 2010-12-22 2010-12-22 Network system and data transmitting method using half duplex

Publications (2)

Publication Number Publication Date
KR20120071064A KR20120071064A (en) 2012-07-02
KR101206231B1 true KR101206231B1 (en) 2012-11-28

Family

ID=46706205

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020100132652A KR101206231B1 (en) 2010-12-22 2010-12-22 Network system and data transmitting method using half duplex

Country Status (1)

Country Link
KR (1) KR101206231B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101488817B1 (en) * 2014-04-21 2015-02-04 유비스선우 주식회사 Distributed control system and method for using a controller for monitoring the broadcasting scheme

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070186020A1 (en) 2006-02-06 2007-08-09 Standard Microsystems Corporation Method for changing ownership of a bus between master/slave devices
JP2010136286A (en) 2008-12-08 2010-06-17 Denso Corp Onboard communication network system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070186020A1 (en) 2006-02-06 2007-08-09 Standard Microsystems Corporation Method for changing ownership of a bus between master/slave devices
JP2010136286A (en) 2008-12-08 2010-06-17 Denso Corp Onboard communication network system

Also Published As

Publication number Publication date
KR20120071064A (en) 2012-07-02

Similar Documents

Publication Publication Date Title
CN102713814B (en) Apparatus for controlling multimedia device and method for providing graphic user interface
JP4852246B2 (en) COMMUNICATION DEVICE, INTEGRATED CIRCUIT, AND COMMUNICATION METHOD
KR100565487B1 (en) Home appliance network system and its method for the same
KR101430781B1 (en) Frequency scanning to form a communication network
CN1985471A (en) Home network management system
JP5295662B2 (en) CEC communication apparatus, audiovisual apparatus using the same, and CEC communication method
US7886338B2 (en) System and method for controlling access to local services without losing failover capibilty
EP0537814B1 (en) Multi-station bus system having means for polling and updating of globally relevant information, in particular a station address, and station for use in such system
JPWO2008149550A1 (en) Power line communication apparatus and power line communication method
CN105703992A (en) Variable data rate control protocol
JP2008525878A (en) Apparatus, system, and method for providing failure information in an XHT network
KR101206231B1 (en) Network system and data transmitting method using half duplex
US7738480B2 (en) Hybrid access to a contention-free period channel
EP2819336B1 (en) Wireless communication apparatus and retransmission control method thereof
US20020106011A1 (en) Communication system, communication device, and communication method
KR100386595B1 (en) communication apparatus and method for supporting to Carrier Sense Multiple Access/Collision Detection
KR20170005542A (en) FAULT DIAGNOSSIS AND REPAIR APPARATUS OF HDbaseT NETWORK SYSTEM AND METHOD THEREOF
US10200210B2 (en) Electronic device and communications method thereof
JP2009060362A (en) Relay wireless apparatus, relay wireless method and program
JP5125368B2 (en) Semiconductor device, communication system and transmission / reception amplitude optimization method,
JP4912161B2 (en) Coaxial line communication device automatic setting method, gateway, master coaxial line communication apparatus, and program
JP5595344B2 (en) COMMUNICATION DEVICE, INTEGRATED CIRCUIT, AND COMMUNICATION METHOD
KR100425762B1 (en) Control System for Home Appliance Network
KR100520705B1 (en) Method for preventing clash of bridge function in home network
KR20060118148A (en) Home network system using the rs-485 and method for operating the same

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee