KR20180105452A - A method of determining a duplicate address of a terminal device, a method of updating address and duplicate address determination and address update system - Google Patents

A method of determining a duplicate address of a terminal device, a method of updating address and duplicate address determination and address update system Download PDF

Info

Publication number
KR20180105452A
KR20180105452A KR1020170032534A KR20170032534A KR20180105452A KR 20180105452 A KR20180105452 A KR 20180105452A KR 1020170032534 A KR1020170032534 A KR 1020170032534A KR 20170032534 A KR20170032534 A KR 20170032534A KR 20180105452 A KR20180105452 A KR 20180105452A
Authority
KR
South Korea
Prior art keywords
address
electronic price
unique
signal including
terminal device
Prior art date
Application number
KR1020170032534A
Other languages
Korean (ko)
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 KR1020170032534A priority Critical patent/KR20180105452A/en
Priority to PCT/KR2018/001638 priority patent/WO2018169211A1/en
Publication of KR20180105452A publication Critical patent/KR20180105452A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5046Resolving address allocation conflicts; Testing of addresses
    • H04L61/2046
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Small-Scale Networks (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The present invention relates to a method, an electronic price indicator, and a terminal device for allocating an address to an electronic price indicator I2C-commnicating with a terminal device and, more specifically, to a method, an electronic price indicator, and a terminal device which recognize a case where an address of a newly coupled electronic price indicator is identical to an address of a previously coupled electronic price indicator in a process of newly coupling an electronic price indicator I2C-commnicating with a terminal device to an I2C bus to allocate a new address to any one of the electronic price indicators having the identical address. An objective of the present invention is to allow only a terminal device, which is an electronic price indicator responsible for a section in a store, to wirelessly communicate with a gateway to receive product-related information, and allow electronic price indicators, which are a plurality of electronic price indicators, to receive the product-related information from the terminal device via wired communication to reduce costs by building an electronic price indicator system.

Description

단말장치의 중복주소 판단방법, 주소 갱신 방법, 중복주소 판단 및 주소 갱신 시스템{A method of determining a duplicate address of a terminal device, a method of updating address and duplicate address determination and address update system} BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to a duplicated address determination method, a duplicate address determination method,

본 발명은 단말장치의 중복주소 판단방법, 주소 갱신 방법, 중복주소 판단 및 주소 갱신 시스템에 관한 것으로, 단말장치와 I2C 통신을 하는 전자 가격 표시기를 I2C 버스에 새롭게 결합하는 과정에서 새롭게 결합된 전자 가격 표시기의 주소가 이미 결합된 전자 가격 표시기의 주소와 동일한 경우를 인지하여, 동일한 주소를 가지는 어느 하나의 전자 가격 표시기로 새로운 주소를 할당하는 방법, 전자 가격 표시기 및 단말장치다.The present invention relates to a duplicate address determination method, an address update method, a duplicate address determination and an address update system of a terminal device, and more particularly, to an electronic price indicator An electronic price indicator, and a terminal device to recognize a case where an address of an indicator is identical to an address of an associated electronic price indicator, and to assign a new address to an electronic price indicator having the same address.

유통매장 등 일정한 공간 내에 상당 수의 물품을 전시하고 판매하기 위하여 상품의 정보와 가격을 표시해주는 전자 가격 표시기가 사용될 수 있다.An electronic price indicator may be used to display the information and price of goods in order to display and sell a large number of items in a certain space such as a retail store.

이 경우, 모든 전자 가격 표시기가 게이트웨이와 통신을 하면 전자 가격 표시기의 전력 소모가 많아지고, 전자 가격 표시기가 통신을 하는 과정에서 전파 간섭으로 인해 통신 상태가 불안정해 질 수 있다. 또한 모든 전자 가격 표시기가 무선 통신 모듈을 구비해야 하기 때문에 전자 가격 표시기의 단가도 올라가는 문제가 생긴다.In this case, if all the electronic price indicators communicate with the gateway, the power consumption of the electronic price indicator increases, and the communication state may become unstable due to radio interference in the course of the electronic price indicator communication. Also, since all the electronic price indicators have to include the wireless communication module, the price of the electronic price indicator is also increased.

이러한 문제점을 극복하기 위해 하나의 매대 또는 하나의 섹션에 하나의 전자 가격 표시기인 단말장치만이 게이트웨이와 무선 통신하여 상품 관련 정보를 수신하고 상기 단말장치와 연결된 매대 또는 섹션에 위치한 복수개의 전자 가격 표시기인 전자 가격 표시기는 유선 통신으로 단말장치로부터 상품 관련 정보를 수신할 필요가 있다.In order to overcome such a problem, only a terminal device which is one electronic price indicator in one shop or one section wirelessly communicates with the gateway to receive merchandise related information, and a plurality of electronic price indicators It is necessary to receive merchandise related information from the terminal device by wire communication.

단말장치와 전자 가격 표시기가 유선 통신을 하는 경우, 상기 유선 통신을 하는 새로운 전자 가격 표시기가 추가되는 과정에서 새로운 전자 가격 표시기와 기존의 전자 가격 표시기의 주소가 같아지는 문제점이 생길 수 있다.When the terminal device and the electronic price indicator are in a wired communication, a new electronic price indicator and a conventional electronic price indicator may become the same in the process of adding a new electronic price indicator for wired communication.

이러한 문제점을 극복하기 위해 딥(Dip) 스위치를 사용하면 딥 스위치 자체의 기구적인 제약이 발생할 수 있다. 즉, 딥 스위치에서 변경 가능한 주소의 개수 만큼만 전자 가격 표시기를 추가할 수 밖에 없고, 딥 스위치의 사용에 따른 비용 및 전자 가격 표시기 시스템을 구현하기 위한 하드웨어 구성의 크기가 커지는 문제가 생긴다. 또한 딥 스위치는 사람이 조작하는 것이기 때문에 오작동으로 인한 오류를 발생시킬 수 있다. If a dip switch is used to overcome this problem, a mechanical limitation of the dip switch itself may occur. That is, it is necessary to add the electronic price indicator only to the number of changeable addresses in the dip switch, and there arises a problem that the cost due to the use of the dip switch and the hardware configuration for realizing the electronic price indicator system become large. In addition, since the dip switch is operated by a person, an error due to a malfunction may occur.

본 발명이 해결하고자 하는 하나의 과제는 매장 내의 하나의 섹션을 담당하는 하나의 전자 가격 표시기인 단말장치만이 게이트웨이와 무선 통신하여 상품 관련 정보를 수신하고 상기 단말장치와 연결된 복수개의 전자 가격 표시기인 전자 가격 표시기는 유선 통신으로 단말장치로부터 상품 관련 정보를 수신하도록 하여, 전자 가격 표시기 시스템 구축에 따른 비용을 절감시키는 것이다.One problem to be solved by the present invention is that only a terminal device, which is an electronic price indicator for one section in a store, wirelessly communicates with a gateway to receive merchandise related information, and a plurality of electronic price indicators The electronic price indicator is to receive goods-related information from the terminal device through wire communication, thereby reducing the cost of constructing the electronic price indicator system.

본 발명이 해결하고자 하는 다른 과제는 단말장치와 전자 가격 표시기가 I2C 통신을 하여 딥 스위치 사용에 따른 기구적인 제약을 극복하는 것이다.Another problem to be solved by the present invention is to overcome the mechanical limitations of using the dip switch by performing I2C communication between the terminal device and the electronic price indicator.

본 발명이 해결하고자 하는 또 다른 과제는 단말장치와 I2C 통신을 하는 전자 가격 표시기를 I2C 버스에 새롭게 결합하는 과정에서 새롭게 결합된 전자 가격 표시기의 주소가 이미 결합된 전자 가격 표시기의 주소와 동일한 경우를 인지하고, 동일한 주소를 가지는 어느 하나의 전자 가격 표시기로 새로운 주소를 할당하는 것이다.Another problem to be solved by the present invention is to provide an electronic price indicator which is newly combined in an I2C bus when an electronic price indicator for I2C communication with a terminal device is newly connected to an address of an electronic price indicator And assigns a new address to any electronic price indicator having the same address.

본 발명이 해결하고자 하는 또 다른 과제는 단말장치는 전자 가격 표시기의 유니크 아이디에 따른 순환 중복 검사값과 전자 가격 표시기로부터 수신한 순환 중복 검사 값을 비교하여 하나의 주소에 둘 이상의 전자 가격 표시기가 할당되어 있는지 판단하는 것이다.Another object of the present invention is to provide a terminal device which compares a cyclic redundancy check value according to a unique ID of an electronic price indicator with a cyclic redundancy check value received from an electronic price indicator and assigns two or more electronic price indicators to one address Is determined.

본 발명이 해결하고자 하는 또 다른 과제는 같은 주소를 가지는 복수의 전자 가격 표시기가 유니크 아이디와 주소 요청명령을 포함하는 신호 송신할 때, 상기 복수의 전자 가격 표시기 중 데이터 라인이 0인 경우 1을 송신하는 전자 가격 표시기는 전송을 중단하는 과정을 통해 단 하나의 전자 가격 표시기만이 유니크 아이디와 주소 요청명령을 포함하는 신호를 단말장치로 송신하게 되고, 결국 상기 단 하나의 전자 가격 표시기가 먼저 새주소를 할당받는 것이다.It is another object of the present invention to provide a method and apparatus for transmitting a signal including a unique ID and an address request command to a plurality of electronic price indicators having the same address, The electronic price indicator causes the electronic price indicator to transmit a signal including the unique ID and the address request command to the terminal device through the process of stopping transmission so that the single electronic price indicator is first transmitted to the new address .

한편, 본 발명이 해결하고자 하는 기술적 과제는 위에서 언급한 과제들로만 제한되지는 않으며, 이하에서 설명할 내용으로부터 통상의 기술자에게 자명한 범위 내에서 다양한 기술적 과제들이 더 포함될 수 있다.It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are intended to provide further explanation of the invention as claimed.

복수의 전자가격 표시기와 I2C통신하는 단말장치의 중복주소 판단 방법에 있어서, 단말장치의 중복주소 판단방법은 제1 주소와 유니크 아이디 요청 명령을 포함하는 신호를 송신하는 단계; 유니크 아이디와 오류 검출 코드를 포함하는 신호를 수신하는 단계; 상기 오류 검출코드를 이용하여 수신된 신호의 오류를 판단하는 단계; 및 상기 수신된 신호가 오류인 경우 상기 제1 주소를 중복된 주소로 판단하는 단계를 포함한다.A method of determining a duplicate address of a terminal apparatus that performs I2C communication with a plurality of electronic price indicators, the method comprising: transmitting a signal including a first address and a unique ID request command; Receiving a signal including a unique ID and an error detection code; Determining an error of the received signal using the error detection code; And determining that the first address is a duplicate address if the received signal is erroneous.

단말장치의 중복주소 판단방법은 상기 단말장치는 마스터 모드로 동작하고, 상기 제1 주소와 주소할당 시작 명령을 포함하는 신호를 송신하는 단계; 상기 마스터 모드에서 슬래이브 모드로 변경하는 단계; 상기 유니크 아이디와 주소 요청명령을 포함하는 신호를 수신하는 단계; 및 상기 슬래이브 모드에서 상기 마스터 모드로 변경하는 단계; 상기 유니크 아이디 및 제2 주소가 포함된 신호를 송신하는 단계를 더 포함하고, 상기 제2 주소는 상기 제1 주소와 다른 값을 포함한다.A method of determining a duplicate address of a terminal device, the terminal device operating in a master mode and transmitting a signal including the first address and an address allocation start command; Changing from the master mode to the slave mode; Receiving a signal including the unique ID and an address request command; And changing from the slave mode to the master mode; And transmitting a signal including the unique ID and the second address, wherein the second address includes a value different from the first address.

제1 주소와 유니크 아이디를 포함하는 슬레이브 모드인 전자가격 표시기의 주소 갱신 방법에 있어서, 주소 갱신 방법은 상기 제1 주소와 주소할당 시작 명령을 포함하는 신호를 수신하는 단계; 상기 슬레이브 모드에서 마스터 모드로 변경하는 단계; 상기 유니크 아이디와 주소 요청명령을 포함하는 신호를 송신하는 단계; 및 상기 마스터 모드에서 상기 슬레이브 모드로 변경하는 단계; 상기 유니크 아이디 및 제2 주소가 포함된 신호를 수신하여 상기 제1 주소를 상기 제2 주소로 변경하는 단계를 포함한다.A method for updating an address of an electronic price indicator, which is a slave mode including a first address and a unique ID, comprising the steps of: receiving a signal including the first address and an address allocation start command; Changing from the slave mode to the master mode; Transmitting a signal including the unique ID and an address request command; And changing from the master mode to the slave mode; Receiving the signal including the unique ID and the second address, and changing the first address to the second address.

상기 유니크 아이디와 주소 요청명령을 포함하는 신호를 송신하는 단계는 SDA 라인을 감지하는 단계; 상기 SDA(Serial data) 라인으로부터 low 신호가 감지되는 동안 High 신호를 전송하는 단계;및 상기 유니크 아이디와 주소 요청명령을 포함하는 신호의 송신을 중단하는 단계를 포함한다.Transmitting a signal including the unique ID and an address request command includes sensing an SDA line; Transmitting a high signal while a low signal is sensed from the SDA (Serial Data) line, and stopping transmission of the signal including the unique ID and the address request command.

중복주소 판단 및 주소 갱신 시스템은 단말 장치; 및 상기 단말 장치와 I2C 통신하는 전자 가격 표시기;를 포함하고, 상기 단말 장치는 제1 주소와 유니크 아이디 요청 명령을 포함하는 신호를 송신하고, 유니크 아이디와 오류 검출 코드를 포함하는 신호를 수신하며, 상기 오류 검출코드를 이용하여 수신된 신호의 오류를 판단하고, 상기 수신된 신호가 오류인 경우 상기 제1 주소를 중복된 주소로 판단한다.A duplicate address determination and address updating system comprises: a terminal device; And an electronic price indicator for I2C communication with the terminal device, wherein the terminal device transmits a signal including a first address and a unique ID request command, receives a signal including a unique ID and an error detection code, Determines an error of the received signal by using the error detection code, and determines that the first address is a duplicated address if the received signal is an error.

상기 단말 장치는, 마스터 모드로 동작하여 상기 제1 주소와 주소할당 시작 명령을 포함하는 신호를 송신하고, 상기 마스터 모드에서 슬래이브 모드로 변경하여 상기 유니크 아이디와 주소 요청명령을 포함하는 신호를 수신하고, 상기 슬래이브 모드에서 상기 마스터 모드로 변경하여 상기 유니크 아이디 및 제2 주소가 포함된 신호를 송신하며, 상기 유니크 아이디 및 제2 주소가 포함된 신호를 송신하며, 상기 제2 주소는, 상기 제1 주소와 다른 값을 포함한다.The terminal device operates in a master mode and transmits a signal including the first address and an address allocation start command, changes the master mode to a slave mode, and receives a signal including the unique ID and an address request command And transmits the signal including the unique ID and the second address, and transmits the signal including the unique ID and the second address, and the second address is a signal for transmitting the signal including the unique ID and the second address, And contains a value different from the first address.

상기 전자 가격 표시기는 상기 제1 주소와 유니크 아이디를 포함하고, 슬레이브 모드로 동작하여 상기 제1 주소와 주소할당 시작 명령을 포함하는 신호를 수신하고, 상기 슬레이브 모드에서 마스터 모드로 변경하여 상기 유니크 아이디와 주소 요청명령을 포함하는 신호를 송신하고 상기 마스터 모드에서 상기 슬레이브 모드로 변경하여, 상기 유니크 아이디 및 제2 주소가 포함된 신호를 수신하여 상기 제1 주소를 상기 제2 주소로 변경한다.Wherein the electronic price indicator includes a first address and a unique ID, and operates in a slave mode to receive a signal including the first address and an address allocation start command, change from the slave mode to the master mode, And transmits the signal including the address request command and changes the master mode to the slave mode to receive the signal including the unique ID and the second address to change the first address to the second address.

상기 전자 가격 표시기는 SDA(Serial data) 라인을 감지하고, 상기 SDA(Serial data) 라인으로부터 low 신호가 감지되는 동안 High 신호를 전송하는 경우, 상기 유니크 아이디와 주소 요청명령을 포함하는 신호의 송신을 중단한다.The electronic price indicator senses an SDA line and transmits a signal including the unique ID and an address request command when transmitting a High signal while sensing a low signal from the SDA line Stop.

본 발명은 매장 내의 하나의 섹션을 담당하는 하나의 전자 가격 표시기인 단말장치만이 게이트웨이와 무선 통신하여 상품 관련 정보를 수신하고 상기 단말장치와 연결된 복수개의 전자 가격 표시기인 전자 가격 표시기는 유선 통신으로 단말장치로부터 상품 관련 정보를 수신하도록 하여, 전자 가격 표시기 시스템 구축에 따른 비용을 절감시킨다.The present invention is characterized in that only a terminal device, which is an electronic price indicator for one section in a store, wirelessly communicates with a gateway to receive merchandise related information, and a plurality of electronic price indicators, which are connected to the terminal device, Related information from the terminal device, thereby reducing the cost of constructing the electronic price indicator system.

본 발명은 단말장치와 전자 가격 표시기가 I2C 통신을 하여 딥 스위치 사용에 따른 기구적인 제약을 극복한다.The present invention overcomes the mechanical limitations associated with the use of a dip switch by performing an I2C communication with a terminal device and an electronic price indicator.

본 발명은 단말장치와 I2C 통신을 하는 전자 가격 표시기를 I2C 버스에 새롭게 결합하는 과정에서 새롭게 결합된 전자 가격 표시기의 주소가 이미 결합된 전자 가격 표시기의 주소와 동일한 경우를 인지하고, 동일한 주소를 가지는 어느 하나의 전자 가격 표시기로 새로운 주소를 할당한다.The present invention recognizes when an address of a newly combined electronic price indicator is identical to an address of an electronic price indicator that is newly combined in the process of newly combining an electronic price indicator communicating with the terminal device with an I2C bus, A new address is assigned to one of the electronic price indicators.

본 발명에서 단말장치는 전자 가격 표시기의 유니크 아이디에 따른 순환 중복 검사값과 전자 가격 표시기로부터 수신한 순환 중복 검사 값을 비교하여 하나의 주소에 둘 이상의 전자 가격 표시기가 할당되어 있는지 판단한다.In the present invention, the terminal device compares the cyclic redundancy check value according to the unique ID of the electronic price indicator with the cyclic redundancy check value received from the electronic price indicator, and determines whether two or more electronic price indicators are assigned to one address.

본 발명은 같은 주소를 가지는 복수의 전자 가격 표시기가 유니크 아이디와 주소 요청명령을 포함하는 신호 송신할 때, 상기 복수의 전자 가격 표시기 중 데이터 라인이 0인 경우 1을 송신하는 전자 가격 표시기는 전송을 중단하는 과정을 통해 단 하나의 전자 가격 표시기만이 유니크 아이디와 주소 요청명령을 포함하는 신호를 단말장치로 송신하게 되고, 결국 상기 단 하나의 전자 가격 표시기가 먼저 새주소를 할당받는다.When a plurality of electronic price indicators having the same address transmit a signal including a unique ID and an address request command, an electronic price indicator for transmitting 1 when the data line of the plurality of electronic price indicators is 0, Only one electronic price indicator transmits a signal including a unique ID and an address request command to the terminal device through the interruption process, and the single electronic price indicator is finally assigned a new address.

본 발명의 효과는 이상에서 언급한 효과들로 제한되지 않으며, 이하에서 설명할 내용으로부터 통상의 기술자에게 자명한 범위 내에서 다양한 효과들이 더 포함될 수 있다.The effects of the present invention are not limited to the above-mentioned effects, and various effects can be further included within the scope that is obvious to a person skilled in the art from the following description.

도 1은 I2C통신에서 시작 조건(Start condition) 및 정지 조건(Stop condition)인 경우의 SDA 라인 및 SCL 라인 상의 시그널 상태를 도시한다.
도 2는 I2C통신에서 데이터가 전송되는 경우의 SDA 라인 및 SCL 라인 상의 시그널 상태를 도시한다.
도 3은 I2C통신에서 시작 조건, 데이터 전송 및 정지 조건에 따른 SDA 라인 및 SCL 라인 상의 시그널 상태를 도시한다.
도 4는 복수의 마스터가 동시에 데이터를 전송한 경우, 슬레이브가 수신한 데이터를 설명하기 위한, SDA 라인 및 SCL 라인 상의 시그널 상태를 도시한다.
도 5는 복수의 마스터가 동시에 데이터를 전송한 경우, 슬레이브가 수신한 데이터를 도시한다.
도 6은 I2C 통신을 하는 마스터가 동일한 주소를 가지는 슬레이브로 데이터를 쓰기하는 과정을 도시한다.
도 7은 I2C 통신을 하는 마스터가 동일한 주소를 가지는 슬레이브로 데이터를 읽기하는 과정을 도시한다.
도 8은 단말장치의 중복주소 판단방법의 흐름도이다.
도 9는 주소 갱신 방법의 흐름도이다.
도 10은 주소 갱신 방법에서 유니크 아이디와 주소 요청명령을 포함하는 신호를 송신하는 단계의 세부 흐름도이다.
도 11은 중복주소 판단 및 주소 갱신 시스템의 전체 구성을 도시한다.
도 12는 중복주소 판단 및 주소 갱신 시스템의 전체 구성을 도시한다.
도 13은 서버, 게이트 웨이, 단말 장치 및 전자 가격 표시기를 포함하는 전자 가격 표시기 시스템을 도시한다.
도 14는 단말장치의 전체적인 구성을 도시한 블록도이다.
도 15는 전자 가격 표시기의 전체적인 구성을 도시한 블록도이다.
도 16은 단말장치가 생성한 주소 테이블을 도시한다.
1 shows signal states on the SDA line and the SCL line in the case of a start condition and a stop condition in I2C communication.
Fig. 2 shows signal states on the SDA line and the SCL line when data is transmitted in I2C communication.
3 shows signal states on the SDA line and the SCL line according to the start condition, the data transmission and the stop condition in I2C communication.
4 shows signal states on the SDA line and the SCL line for explaining data received by the slave when a plurality of masters transmit data at the same time.
FIG. 5 shows data received by the slave when a plurality of masters simultaneously transmit data.
FIG. 6 shows a process in which a master that performs I 2 C communication writes data to a slave having the same address.
7 shows a process in which a master performing I2C communication reads data into a slave having the same address.
8 is a flowchart of a method of determining a duplicate address of a terminal apparatus.
Figure 9 is a flow diagram of an address update method.
10 is a detailed flowchart of a step of transmitting a signal including a unique ID and an address request command in an address update method.
11 shows the overall configuration of a duplicate address determination and address update system.
12 shows the overall configuration of a duplicate address determination and address updating system.
13 shows an electronic price indicator system including a server, a gateway, a terminal device and an electronic price indicator.
14 is a block diagram showing the overall configuration of the terminal device.
15 is a block diagram showing the overall configuration of the electronic price indicator.
16 shows an address table generated by the terminal device.

본 발명에 따른 반도체 소자와 반도체 소자 제조 방법은 첨부된 도면을 참조하여 설명하는 실시예들을 통해 구체화된다. 각 실시예들의 구성 요소들은 다른 언급이나 상호간에 모순이 없는 한 실시예 내에서 다양한 조합이 가능한 것으로 이해된다. 나아가 제안된 발명은 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시예에 한정되지 않는다.The semiconductor device and the semiconductor device manufacturing method according to the present invention are embodied through the embodiments described with reference to the accompanying drawings. It is to be understood that the components of each embodiment are capable of various combinations within an embodiment as long as no other mention or mutual contradiction exists. Furthermore, the proposed invention may be embodied in many different forms and is not limited to the embodiments described herein.

그리고, 어떤 구성 요소를 "포함"한다고 할 때, 이는 다른 구성요소들과는 상관없이 이 구성요소를 반드시 포함한다는 의미이지 다른 구성 요소들의 포함 가능성을 배제하고자 하는 것이 아니다.When an element is referred to as "including ", it is meant to include the element regardless of other elements, and does not exclude the possibility of including other elements.

또한, 명세서 전체에서, 어떤 부분이 다른 부분과 "연결"되어 있다고 할 때, 이는 "직접적으로 연결"되어 있는 경우뿐 아니라, 그 중간에 다른 소자를 사이에 두고 "전기적으로 연결"되어 있는 경우도 포함한다. 나아가, 명세서 전체에서 신호는 전압이나 전류 등의 전기량을 의미한다.In addition, throughout the specification, when a part is referred to as being "connected" to another part, it is not limited to a case where it is "directly connected", but also an "electrically connected" . Further, in the specification, a signal means a quantity of electricity such as a voltage or a current.

도 1은 I2C통신에서 시작 조건(Start condition) 및 정지 조건(Stop condition)인 경우의 SDA 라인 및 SCL 라인 상의 시그널 상태를 도시한다.1 shows signal states on the SDA line and the SCL line in the case of a start condition and a stop condition in I2C communication.

시작 조건은 현재의 I2C 버스(132) 마스터가 데이터를 송신하는 것을 허용하도록 정의된다. 시작 조건은 SCL 라인이 하이인 동안 SDA 라인이 하이로부터 로우로 천이할 때 발생한다. The start condition is defined to allow the current I2C bus 132 master to transmit data. The start condition occurs when the SDA line transitions from high to low while the SCL line is high.

시작 조건에 충족된 이후에 데이터가 송신되고, 정지 조건이 충족되면 데이터 송신은 완료된다. 정지 조건은 SCL 라인이 하이인 동안 SDA 라인이 로우에서 하이로 천이할 때 발생한다. The data is transmitted after the start condition is satisfied, and the data transmission is completed when the stop condition is satisfied. The stop condition occurs when the SDA line transitions from low to high while the SCL line is high.

즉, 시작 조건 및 정지 조건은 SDA 라인의 천이가 SCL 라인 가 로우일 때 발생하는 것을 요구한다. 다만, 예외적인 상황이 시작 조건 또는 정지 조건으로서 취급될 수도 있다.That is, the start and stop conditions require that the transition of the SDA line occurs when the SCL line is low. However, an exceptional situation may be treated as a start condition or a stop condition.

도 2는 I2C통신에서 데이터가 전송되는 경우의 SDA 라인 및 SCL 라인 상의 시그널 상태를 도시한다.Fig. 2 shows signal states on the SDA line and the SCL line when data is transmitted in I2C communication.

SCL 라인이 데이터 송신 동안 하이 상태에 있는 경우, SDA 라인상의 상태는 변하지 않는다. 즉, SCL 라인이 하이 상태에 있는 경우, 도 2에 도시된 것처럼 SDA 라인상의 상태는 하이 또는 로우를 유지한다.When the SCL line is in a high state during data transmission, the state on the SDA line remains unchanged. That is, when the SCL line is in a high state, the state on the SDA line remains high or low, as shown in FIG.

SDA 라인상의 상태는 오로지 SCL 라인이 로우 상태에 있는 경우 변할 수 있다.The state on the SDA line may change only when the SCL line is in the low state.

도 3은 I2C통신에서 시작 조건, 데이터 전송 및 정지 조건에 따른 SDA 라인 및 SCL 라인 상의 시그널 상태를 도시한다.3 shows signal states on the SDA line and the SCL line according to the start condition, the data transmission and the stop condition in I2C communication.

도 3에 도시된 것처럼, I2C 프로토콜은 8비트 데이터 및 7비트 어드레스들의 송신을 제공한다. As shown in FIG. 3, the I2C protocol provides for transmission of 8-bit data and 7-bit addresses.

I2C 마스터는 시작 조건 이후에 데이터를 교환(송신 또는 수신)하려는 I2C 슬레이브 디바이스의 7비트 어드레스를 송신한다. 마스터가 상기 7비트의 어드레스를 송신하고, 마스터가 쓰기 또는 읽기 동작을 나타내는 단일의 비트가 후속된다. The I2C master sends a 7-bit address of the I2C slave device to exchange (send or receive) data after the start condition. The master transmits the 7-bit address, followed by a single bit indicating the master write or read operation.

어드레싱된 I2C 슬레이브 디바이스는 상기 마스터의 동작에 대응할 수 있는 경우 ACK 비트로 응답한다. 어드레싱된 I2C 슬레이브 디바이스는 상기 마스터의 동작에 대응할 수 없는 경우 NACK 비트로 응답한다.The addressed I2C slave device responds with an ACK bit if it can respond to the operation of the master. The addressed I2C slave device responds with a NACK bit if it can not respond to the operation of the master.

도 4는 복수의 마스터가 동시에 데이터를 전송한 경우, 슬레이브가 수신한 데이터를 설명하기 위한, SDA 라인 및 SCL 라인 상의 시그널 상태를 도시한다. 도 5는 복수의 마스터가 동시에 데이터를 전송한 경우, 슬레이브가 수신한 데이터를 도시한다.4 shows signal states on the SDA line and the SCL line for explaining data received by the slave when a plurality of masters transmit data at the same time. FIG. 5 shows data received by the slave when a plurality of masters simultaneously transmit data.

I2C 통신에서 마스터는 복수개 일 수 있고, 이 경우 복수의 데이터가 동시에 전송될 수 있다. 이 경우, 도 4 및 도 5에 도시된 것처럼 중재 스킴(Arbitration scheme)이 적용되어 복수의 마스터 중 어느 하나의 마스터가 전송한 데이터만 슬레이브가 수신한다.In the I2C communication, a plurality of masters can be provided, and in this case, a plurality of data can be simultaneously transmitted. In this case, as shown in FIG. 4 and FIG. 5, an arbitration scheme is applied so that only the data transmitted by any one of the plurality of masters is received by the slave.

도 4에 따르면 시작조건을 충족시키는 두개의 마스터가 존재한다. 시작 조건이 충족된 이후에 데이터 1을 전송하는 마스터 1 및 데이터 2를 전송하는 마스터 2는 같은 신호를 출력한다.According to Fig. 4, there are two masters satisfying the start condition. After the start condition is satisfied, master 1 transmitting data 1 and master 2 transmitting data 2 output the same signal.

하지만, 상기 같은 신호를 출력한 이후에 데이터 1을 전송하는 마스터 1이 하이 신호를 출력하는 동안 데이터 2를 전송하는 마스터 2가 로우 신호를 출력하는 구간이 존재한다.However, there exists a period in which the master 1 transmitting the data 1 outputs the high signal while the master 2 transmitting the data 2 outputs the row signal after outputting the same signal.

도 4에서 "master 1 loses arbitration"이라고 표시된 부분 이후부터 마스터 1은 중재를 잃고 전송을 중단한다.In FIG. 4, after the portion indicated as "master 1 loses arbitration ", the master 1 loses the arbitration and stops the transmission.

즉, 어느 하나의 마스터가 하이 신호를 전송하였는데, SDA 신호 라인이 로우이면 상기 어느 하나 마스터는 마스터로서의 기능을 포기하고 전송을 중단한다. 어느 하나의 마스터가 하이 신호를 전송하였는데, SDA 신호 라인이 로우라는 것은 다른 하나 이상의 마스터가 로우 신호를 전송했음을 의미한다.That is, when one of the masters transmits a high signal and the SDA signal line is low, the one of the masters abandons the function as a master and stops transmission. When one of the masters transmits a high signal, the SDA signal line is low meaning that one or more masters have transmitted a low signal.

도 5에 따르면 마스터 1, 마스터 3의 순서로 데이터 전송을 포기하고, 마스터 2의 데이터인 1001이 전송된다.According to FIG. 5, data transmission is abandoned in the order of master 1 and master 3, and data 1001 of master 2 is transmitted.

도 6은 I2C 통신을 하는 마스터가 동일한 주소를 가지는 슬레이브로 데이터를 쓰기하는 과정을 도시한다.FIG. 6 shows a process in which a master that performs I 2 C communication writes data to a slave having the same address.

도 6에 도시된 것처럼 마스터가 1010이라는 데이터를 쓰기하면 동일한 주소를 가지는 슬레이브는 모두 1010이라는 동일한 데이터를 수신합니다.As shown in FIG. 6, when the master writes data 1010, slaves having the same address all receive the same data 1010.

도 7은 I2C 통신을 하는 마스터가 동일한 주소를 가지는 슬레이브로 데이터를 읽기하는 과정을 도시한다.7 shows a process in which a master performing I2C communication reads data into a slave having the same address.

도 7에 도시된 것처럼 3개의 전자 가격 표시기(310) 각각은 1101, 1001, 1010을 동시에 송신한 경우 단말 장치(300)는 1000을 수신한다. 즉, 단말 장치(300)는 1101, 1001, 1010가 And 연산된 1000을 수신한다.As shown in FIG. 7, when each of the three electronic price indicators 310 transmits 1101, 1001, and 1010 at the same time, the terminal device 300 receives 1000. That is, the terminal device 300 receives the number 1000 obtained by calculating 1101, 1001, and 1010.

도 8은 단말 장치(300)의 중복주소 판단방법의 흐름도이다.FIG. 8 is a flowchart of a duplicate address determination method of the terminal device 300. FIG.

본 발명에 따른 중복주소 판단방법은 동일한 주소가 할당된 복수의 디바이스 중 어느 하나의 디바이스에 새로운 주소를 할당하는 과정을 반복하여, 모든 디바이스가 서로 상이한 주소를 갖도록 하는 중복주소 판단방법에 관한 것이다.A redundant address determination method according to the present invention relates to a redundant address determination method in which all devices allocate a different address by repeating the process of allocating a new address to any one of a plurality of devices to which the same address is allocated.

전술한 디바이스는 전자 가격 표시기(310)로, 하나 이상 존재한다. 하나 이상의 전자 가격 표시기(310)는 단말 장치(300)와 통신하는데, 구체적으로는 I2C 프로토콜을 통해 통신한다. The above-described devices are one or more electronic price indicators 310. One or more electronic price indicators 310 communicate with the terminal device 300, specifically through the I2C protocol.

I2C 버스(132)로 지칭될 수 있는 집적회로간 시리얼 버스는 직렬 단일??종단 버스이다. I2C 버스(132)는 각각의 디바이스가 I2C 버스(132)상에서 송신되는 상이한 메시지들에 대한 마스터 및 슬레이브로서 작용할 수 있는 멀티??마스터 버스이다. The inter-integrated serial bus, which may be referred to as the I2C bus 132, is a serial single-ended bus. The I2C bus 132 is a multi-master bus in which each device can act as a master and a slave to different messages transmitted on the I2C bus 132. [

I2C 버스(132)는 시리얼 데이터 라인인 SDA 라인 및 시리얼 클록 라인인 SCL 라인을 포함하는, 2 개의 양방향 오픈 드레인 커넥터들만을 사용하여 데이터를 송신할 수 있다. 커넥터들은 통상적으로 풀업 저항들에 의해 종단되는 라인들을 포함한다, I2C 통신에 대한 다른 상세한 설명은 전술하였다.The I2C bus 132 can transmit data using only two bidirectional open-drain connectors, including an SDA line, which is a serial data line, and an SCL line, which is a serial clock line. The connectors typically include lines terminated by pull-up resistors. Other details of the I2C communication have been described above.

도 8에 따른 중복주소 판단방법은 단말 장치(300)가 주체가 되어 수행되는 방법으로, 제1 주소와 유니크 아이디 요청 명령을 포함하는 신호를 송신하는 단계(S100); 유니크 아이디와 오류 검출 코드를 포함하는 신호를 수신하는 단계(S105); 상기 오류 검출코드를 이용하여 수신된 신호의 오류를 판단하는 단계(S106); 및 상기 수신된 신호가 오류인 경우 상기 제1 주소를 중복된 주소로 판단하는 단계를 포함한다.The method for determining a duplicate address according to FIG. 8 is a method performed by the terminal device 300 as a subject, including: transmitting a signal including a first address and a unique ID request command (S100); Receiving a signal including a unique ID and an error detection code (S105); Determining an error of the received signal using the error detection code (S106); And determining that the first address is a duplicate address if the received signal is erroneous.

제1 주소와 유니크 아이디 요청 명령을 포함하는 신호를 송신하는 단계(S100)에서 단말 장치(300)는 전자 가격 표시기(310)로 제1 주소와 유니크 아이디 요청 명령을 포함하는 신호를 송신한다.The terminal device 300 transmits a signal including a first address and a unique ID request command to the electronic price indicator 310 in step S100 of transmitting a signal including the first address and the unique ID request command.

단말 장치(300)는 브로드캐스팅으로 제1 주소와 유니크 아이디 요청 명령을 포함하는 신호를 모든 전자 가격 표시기(310)로 송신한다. 즉, 단말 장치(300)는 브로드캐스팅으로 제1 주소와 유니크 아이디 요청 명령을 포함하는 신호를 모든 전자 가격 표시기(310)로 쓰기 한다. 모든 전자 가격 표시기(310)는 단말 장치(300)와 I2C 통신을 하는 전자 가격 표시기(310)다.The terminal device 300 transmits a signal including a first address and a unique ID request command to all the electronic price indicators 310 by broadcasting. That is, the terminal device 300 writes a signal including a first address and a unique ID request command to all the electronic price indicators 310 by broadcasting. The electronic price indicator 310 is an electronic price indicator 310 for performing I 2 C communication with the terminal device 300.

제1 주소와 유니크 아이디 요청 명령을 포함하는 신호를 송신하는 단계(S100)는 하나의 주소에 둘 이상의 전자 가격 표시기(310)가 할당되어 있는지 여부를 확인하는 첫 단계이다.The step S100 of transmitting a signal including the first address and the unique ID request command is a first step for confirming whether two or more electronic price indicators 310 are assigned to one address.

단말 장치(300)는 주소 테이블에 포함된 주소의 개수만큼 특정 주소와 유니크 아이디 요청 명령을 포함하는 신호를 생성하여 송신한다. 전자 가격 표시기(310)는 주소의 개수만큼 생성된 제1 주소와 유니크 아이디 요청 명령을 포함하는 신호를 수신한다. 여기서 제1 주소는 다수의 전자 가격 표시기(310) 중 어느 하나의 전자 가격 표시기(310)의 주소이다.The terminal device 300 generates and transmits a signal including a specific address and a unique ID request command by the number of addresses included in the address table. The electronic price indicator 310 receives a signal including a first address generated by the number of addresses and a unique ID request command. Here, the first address is the address of one of the plurality of electronic price indicators 310.

유니크 아이디와 오류 검출 코드를 포함하는 신호를 수신하는 단계(S105)는 상기 단말 장치(300)가 상기 제1 주소에 할당된 전자 가격 표시기(310)로부터 유니크 아이디와 오류 검출 코드를 포함하는 신호를 수신한다.The step S105 of receiving the signal including the unique ID and the error detection code is performed by the terminal device 300 receiving a signal including the unique ID and the error detection code from the electronic price indicator 310 allocated to the first address .

유니크 아이디와 오류 검출 코드를 포함하는 신호를 수신한다는 것은 단말 장치(300)가 유니크 아이디와 오류 검출 코드를 전자 가격 표시기(310)로부터 읽기(Write)한다는 것이다.Receiving a signal including a unique ID and an error detection code means that the terminal device 300 reads a unique ID and an error detection code from the electronic price indicator 310.

여기서 오류 검출 코드는 순환 중복 검사(CRC: Cyclic Redundancy Checking)값이다. 순환 중복 검사는 순환 중복 검사값을 전송할 때 전송된 데이터에 오류가 있는지를 확인하기 위한 체크값을 결정하는 방식이다.Here, the error detection code is a CRC (Cyclic Redundancy Checking) value. The cyclic redundancy check is a method of determining a check value to check whether there is an error in the transmitted data when transmitting the cyclic redundancy check value.

상기 오류 검출코드를 이용하여 수신된 신호의 오류를 판단하는 단계(S106)는 단말 장치(300)가 전자 가격 표시기(310)로부터 수신된 신호의 오류를 판단한다.The step of determining the error of the received signal using the error detection code (S106) determines the error of the signal received from the electronic price indicator 310 by the terminal device 300. [

동일한 유니크 아아디를 기초로 계산된 순환 중복 검사 값은 동일하다. 즉, 전자 가격 표시기(310)가 유니크 아아디를 기초로 계산한 순환 중복 검사 값은 단말 장치(300)가 동일한 유니크 아이디를 기초로 계산한 순환 중복 검사 값과 동일하다.The cyclic redundancy check values calculated based on the same unique ID are the same. That is, the cyclic redundancy check value calculated by the electronic price indicator 310 based on the unique ID is the same as the cyclic redundancy check value calculated by the terminal 300 based on the same unique ID.

만약 하나의 주소에 둘 이상의 전자 가격 표시기(310)가 할당되어 있는 경우 상기 하나의 주소를 포함하는 유니크 아이디 요청 명령을 수신한 둘 이상의 전자 가격 표시기(310)는 유니크 아이디와 오류 검출 코드를 포함하는 신호를 각각 동시에 송신하게 된다.If two or more electronic price indicators 310 are assigned to one address, the two or more electronic price indicators 310 receiving the unique ID request command including the one address include a unique ID and an error detection code Signal at the same time.

상기 오류 검출코드를 이용하여 수신된 신호의 오류를 판단하는 단계(S106)는 단말 장치(300)가 산출한 유니크 아이디에 대한 오류 검출코드 및 상기 유니크 아이디를 가지는 전자 가격 표시기(310)로부터 수신한 오류 검출코드을 비교하여 일치 여부를 판단한다. 일치하지 않으면 오류라고 판단한다.The step of determining the error of the received signal using the error detection code (S106) may include the step of detecting the error code of the unique ID calculated by the terminal device 300 and the error code And compares the error detection codes with each other to determine whether or not they match. If they do not match, it is determined to be an error.

상기 수신된 신호가 오류인 경우 상기 제1 주소를 중복된 주소로 판단하는 단계에서 단말 장치(300)는 산출한 유니크 아이디에 대한 오류 검출코드 및 상기 유니크 아이디를 가지는 전자 가격 표시기(310)로부터 수신한 오류 검출코드을 비교하여 일치하지 않는 경우 상기 제1 주소에 두개 이상의 전자 가격 표시기(310)가 할당되어있다고 판단한다.If the received signal is an error, the terminal device 300 determines that the first address is a duplicate address and receives an error code for the calculated unique ID from the electronic price indicator 310 having the unique ID And determines that two or more electronic price indicators 310 are allocated to the first address if they do not coincide with each other.

이러한 판단은 모든 주소에 대해 이루어진다. 하나의 주소에 둘 이상의 전자 가격 표시기(310)가 존재한다고 판단하는 경우, 단말 장치(300)는 전술한 주소 테이블에서 상기 주소의 상태를 2로 갱신한다. 주소의 상태가 2라는 것은 상기 주소에 둘 이상의 전자 가격 표시기(310)가 할당되었다는 것이다.This judgment is made for all addresses. If it is determined that there is more than one electronic price indicator 310 in one address, the terminal device 300 updates the state of the address to 2 in the address table described above. If the state of the address is 2, it means that two or more electronic price indicators 310 have been assigned to the address.

하나의 주소에 둘이상의 전자 가격 표시기(310)가 할당 되어 있다고 판단하면, 후술할 상기 제1 주소와 주소할당 시작 명령을 포함하는 신호를 송신하는 단계(S120); 상기 마스터 모드에서 슬래이브 모드로 변경하는 단계(S130); 상기 유니크 아이디와 주소 요청명령을 포함하는 신호를 수신하는 단계(S140); 및 상기 슬래이브 모드에서 상기 마스터 모드로 변경하는 단계(S150);를 수행한다.If it is determined that two or more electronic price indicators 310 are allocated to one address, transmitting a signal including the first address and an address allocation start command, which will be described later, (S120); Changing from the master mode to the slave mode (S130); Receiving a signal including the unique ID and an address request command (S140); And changing the mode from the slave mode to the master mode (S150).

모든 주소에 대하여, 하나의 주소에 하나의 전자 가격 표시기(310)만이 할당되어 있는 경우 중복주소 판단방법은 종료된다.If only one electronic price indicator 310 is assigned to one address for all addresses, the redundant address determination method ends.

둘 이상의 전자 가격 표시기(310)가 동일한 SDA 라인을 통해 둘 이상의 전자 가격 표시기(310) 각각이 생성한 유니크 아이디와 오류 검출 코드를 포함하는 신호를 단말 장치(300)로 송신하는 경우, 둘 이상의 전자 가격 표시기(310) 각각이 생성한 유니크 아이디와 오류 검출 코드를 포함하는 신호가 비트 연산이 돼서 단말 장치(300)로 전송된다. When two or more electronic price indicators 310 transmit a signal including the unique ID and error detection code generated by each of two or more electronic price indicators 310 to the terminal device 300 via the same SDA line, The signal including the unique ID and the error detection code generated by each of the price indicators 310 is transmitted as a bit operation to the terminal device 300.

비트 연산 중 AND 연산이 수행되는데, AND 연산은 둘 이상의 유니크 아이디와 오류 검출 코드를 포함하는 신호의 각 자릿수를 비교해, 각 자리수 모두에 1이 있을 때에는 1, 나머지 경우에는 0으로 연산한다. An AND operation is performed during a bit operation. The AND operation compares the number of digits of a signal including two or more unique IDs and an error detection code. When the digits are both 1, the AND operation computes 1 and the remaining digits are 0.

AND 연산된 결과는 단말 장치(300)로 전송된다. 단말 장치(300)가 비트 연산된 유니크 아이디와 오류 검출 코드를 포함하는 신호를 수신하면 자신이 계산한 오류 검출 코드가 다르기 때문에, 주소에 둘 이상의 전자 가격 표시기(310)가 할당되었다고 판단한다.The result of the AND operation is transmitted to the terminal device 300. When the terminal device 300 receives a signal including a bit-operated unique ID and an error detection code, it determines that two or more electronic price indicators 310 are assigned to the address because the calculated error detection code is different.

단말 장치(300)가 복수의 전자 가격 표시기(310)로부터 비트 연산된 데이터를 수신하는 과정은 도 7에서 설명하였다.The process in which the terminal device 300 receives the bit-operated data from the plurality of electronic price indicators 310 has been described with reference to FIG.

단말 장치(300)는 비트 연산된 유니크 아이디와 오류 검출 코드를 포함하는 신호를 수신하고, 상기 비트 연산된 오류 검출 코드와 단말 장치(300)가 유니크 아이디에 기초하여 계산한 오류 검출 코드를 비교한다. The terminal device 300 receives the signal including the bit-processed unique ID and the error detection code, and compares the bit-operated error detection code with the error detection code calculated by the terminal 300 based on the unique ID .

결국 단말 장치(300)는 유니크 아이디에 기초하여 계산한 오류 검출 코드와 수신한 오류 검출 코드가 다른 경우 상기 주소에는 둘 이상의 전자 가격 표시기(310)가 할당되어 있다고 판단한다.As a result, if the error detection code calculated based on the unique ID is different from the received error detection code, the terminal device 300 determines that two or more electronic price indicators 310 are allocated to the address.

중복주소 판단방법은 상기 단말 장치(300)는 마스터 모드로 동작하고, 상기 제1 주소와 주소할당 시작 명령을 포함하는 신호를 송신하는 단계(S120); 상기 마스터 모드에서 슬래이브 모드로 변경하는 단계(S130); 상기 유니크 아이디와 주소 요청명령을 포함하는 신호를 수신하는 단계(S140); 및 상기 슬래이브 모드에서 상기 마스터 모드로 변경하는 단계(S150); 상기 유니크 아이디 및 제2 주소가 포함된 신호를 송신하는 단계를 더 포함하고, 상기 제2 주소는 상기 제1 주소와 다른 값을 포함한다.In the duplicate address determination method, the terminal device 300 operates in a master mode and transmits a signal including the first address and an address allocation start command (S120); Changing from the master mode to the slave mode (S130); Receiving a signal including the unique ID and an address request command (S140); And changing from the slave mode to the master mode (S150); And transmitting a signal including the unique ID and the second address, wherein the second address includes a value different from the first address.

여기부터!From here!

상기 단말 장치(300)는 마스터 모드로 동작하고, 상기 제1 주소와 주소할당 시작 명령을 포함하는 신호를 송신하는 단계(S120)는 하나의 주소에 할당된 전자 가격 표시기(310)가 복수개인 경우를 전제로 전술한 상기 수신된 신호가 오류인 경우 상기 제1 주소를 중복된 주소로 판단하는 단계(S110) 이후에 수행된다.The terminal device 300 operates in the master mode and transmits a signal including the first address and the address allocation start command in step S120. In the case where there are a plurality of electronic price indicators 310 assigned to one address If the received signal is an error, it is determined that the first address is a duplicate address (S110).

상기 제1 주소와 주소할당 시작 명령을 포함하는 신호를 송신하는 단계(S120)는 하나의 주소에 두개 이상의 전자 가격 표시기(310)가 할당되어 있는 경우를 전제로 한다. 이러한 전제를 기초로, 단말 장치(300)는 하나의 주소에 단 하나의 전자 가격 표시기(310)만 할당될 수 있도록 제1 주소와 주소할당 시작 명령을 포함하는 신호를 모든 전자 가격 표시기(310)로 송신한다.The step of transmitting a signal including the first address and an address allocation start command (S120) assumes that two or more electronic price indicators 310 are allocated to one address. Based on this premise, the terminal device 300 transmits a signal including a first address and an address allocation start command to all the electronic price indicators 310 so that only one electronic price indicator 310 can be allocated to one address, .

단말 장치(300)가 송신하는 제1 주소와 주소할당 시작 명령을 포함하는 신호에 포함된 주소는 두개 이상의 전자 가격 표시기(310)가 할당되어 있는 주소이다. 단말 장치(300)는 주소 테이블을 관리한다. 주소 테이블은 주소, 주소의 상태, 상기 주소를 가지는 전자 가격 표시기(310)의 유니크 아이디(Unique ID)를 포함한다. 주소의 상태는 상기 주소에 몇 개의 전자 가격 표시기(310)가 할당되어 있는지를 보여준다. 단말 장치(300)는 상기 주소 테이블을 통해 두개 이상의 전자 가격 표시기(310)가 할당된 주소를 추출하여, 두개 이상의 전자 가격 표시기(310)가 할당된 제1 주소와 주소할당 시작 명령을 포함하는 신호를 생성하여 전자 가격 표시기(310)로 송신한다.An address included in a signal including a first address and an address allocation start command transmitted by the terminal 300 is an address to which two or more electronic price indicators 310 are allocated. The terminal device 300 manages the address table. The address table includes an address, a status of the address, and a unique ID of the electronic price indicator 310 having the address. The status of the address shows how many electronic price indicators 310 are assigned to the address. The terminal device 300 extracts an address to which two or more electronic price indicators 310 are allocated through the address table and generates a signal including a first address allocated to two or more electronic price indicators 310 and an address assignment start command And transmits it to the electronic price indicator 310.

단말 장치(300)는 모든 전자 가격 표시기(310)로 제1 주소와 주소할당 시작 명령을 포함하는 신호를 송신하지만, 상기 제1 주소를 가지는 전자 가격 표시기(310)만이 후술할 유니크 아이디와 주소 요청명령을 포함하는 신호를 생성한다.  The terminal device 300 transmits a signal including a first address and an address allocation start command to all the electronic price indicators 310. However, only the electronic price indicator 310 having the first address transmits a unique ID and an address request And generates a signal including an instruction.

상기 마스터 모드에서 슬래이브 모드로 변경하는 단계(S130)에서 제1 주소와 주소할당 시작 명령을 포함하는 신호를 송신하는 단계(S120) 이후에 단말 장치(300)는 마스터 모드에서 슬레이브 모드로 변경한다.In the step S130 of changing from the master mode to the slave mode, the terminal device 300 changes from the master mode to the slave mode after transmitting the signal including the first address and the address allocation start command (S120) .

상기 유니크 아이디와 주소 요청명령을 포함하는 신호를 수신하는 단계(S140)에서 슬레이브 모드로 변경된 단말 장치(300)는 전자 가격 표시기(310)로부터 유니크 아이디와 주소 요청명령을 포함하는 신호를 수신한다.The terminal device 300 changed to the slave mode in the step of receiving the signal including the unique ID and the address request command receives the signal including the unique ID and the address request command from the electronic price indicator 310.

단말 장치(300)는 제 1 주소에 할당된 둘 이상의 전자 가격 표시기(310) 중 어느 하나의 전자 가격 표시기(310)로부터 유니크 아이디와 주소 요청명령을 포함하는 신호를 수신한다.The terminal device 300 receives a signal including a unique ID and an address request command from one of the two or more electronic price indicators 310 assigned to the first address.

상기 제 1 주소에 할당된 둘 이상의 전자 가격 표시기(310)가 유니크 아이디와 주소 요청명령을 포함하는 신호를 생성한다. 단말 장치(300)로부터 모든 전자 가격 표시기(310)가 전술한 제1 주소와 주소할당 시작 명령을 포함하는 신호를 수신하지만, 제1 주소를 가지는 전자 가격 표시기(310)들만 유니크 아이디와 주소 요청명령을 포함하는 신호를 생성한다.Two or more electronic price indicators 310 assigned to the first address generate a signal including a unique ID and an address request command. All the electronic price indicator 310 receives a signal including the first address and the address allocation start command from the terminal 300. However, only the electronic price indicator 310 having the first address receives the unique ID and the address request command ≪ / RTI >

전술한 제1 주소와 주소할당 시작 명령을 포함하는 신호에 포함된 제1 주소를 가지는 전자 가격 표시기(310)들은 제1 주소와 주소할당 시작 명령을 포함하는 신호를 수신한 후에 마스터 모드로 전환된다. 전자 가격 표시기(310)가 마스터 모드로 전환된다는 것은 단말 장치(300)처럼 다른 장치로 특정 정보를 요청할 수 있음을 의미한다. The electronic price indicators 310 having the first address included in the signal including the first address and the address allocation start command are switched to the master mode after receiving the signal including the first address and the address allocation start command . The switching of the electronic price indicator 310 to the master mode means that the terminal 300 can request specific information from another device.

즉, 마스터 모드로 전환된 전자 가격 표시기(310)는 유니크 아이디와 주소 요청명령을 포함하는 신호와 같은 요청 명령을 임의의 장치, 예를 들어 단말 장치(300) 또는 다른 전자 가격 표시기(310)로 송신할 수 있다.That is, the electronic price indicator 310, which has been switched to the master mode, transmits a request command, such as a signal including a unique ID and an address request command, to an arbitrary device such as the terminal device 300 or another electronic price indicator 310 Can be transmitted.

상기 둘 이상의 전자 가격 표시기(310)는 제1 주소와 주소할당 시작 명령을 포함하는 신호에 포함된 제1 주소를 가지는 전자 가격 표시기(310)다. The electronic price indicator 310 is an electronic price indicator 310 having a first address included in a signal including a first address and an address allocation start command.

둘 이상의 전자 가격 표시기(310)는 동일한 데이터 라인을 통해 둘 이상의 전자 가격 표시기(310) 각각이 생성한 유니크 아이디와 주소 요청명령을 포함하는 신호를 단말 장치(300)로 송신한다. 둘 이상의 전자 가격 표시기(310) 각각이 생성한 유니크 아이디와 주소 요청명령을 포함하는 신호는 비트 연산이 돼서 단말 장치(300)로 전송된다. 비트 연산 중 AND 연산이 수행되는데, AND 연산은 둘 이상의 유니크 아이디와 주소 요청명령을 포함하는 신호의 각 자릿수를 비교해, 각 자리수 모두에 1이 있을 때에는 1, 나머지 경우에는 0으로 연산한다. AND 연산된 결과는 단말 장치(300)로 전송된다.More than one electronic price indicator 310 transmits a signal including a unique ID and an address request command generated by each of two or more electronic price indicators 310 to the terminal device 300 through the same data line. The signal including the unique ID and the address request command generated by each of the two or more electronic price indicators 310 is bit-processed and transmitted to the terminal device 300. An AND operation is performed during a bit operation. The AND operation compares the number of digits of a signal including two or more unique IDs and an address request command, and when the number of digits is 1, 1 is calculated. The result of the AND operation is transmitted to the terminal device 300.

이때 상기 둘 이상의 전자 가격 표시기(310) 중 어느 하나의 전자 가격 표시기(310)가 1을 송신할 때 데이터 라인이 0인 경우 상기 어느 하나의 전자 가격 표시기(310)는 송신을 중단한다. 어느 하나의 전자 가격 표시기(310)가 1을 송신할 때 데이터 라인이 0이라는 것은 다른 하나의 전자 가격 표시기(310)가 상기 데이터 라인으로 0을 송신했음을 의미한다.At this time, when one of the two or more electronic price indicators 310 transmits 1, if the data line is 0, the one of the electronic price indicators 310 stops the transmission. When one of the electronic price indicators 310 transmits 1, the data line is 0, which means that the other electronic price indicator 310 has transmitted 0 to the data line.

상기 둘 이상의 전자 가격 표시기(310) 중 어느 하나의 전자 가격 표시기(310)가 예를 들어 n 비트인 유니크 아이디와 주소 요청명령을 포함하는 신호를 송신할 때 다른 하나 이상의 전자 가격 표시기(310)도 n 비트인 유니크 아이디와 주소 요청명령을 포함하는 신호를 송신한다. When one electronic price indicator 310 of the two or more electronic price indicators 310 transmits a signal including a unique ID and an address request command of, for example, n bits, the other electronic price indicator 310 and transmits a signal including a unique ID that is n bits and an address request command.

상기 둘 이상의 전자 가격 표시기(310)가 n 비트의 유니크 아이디와 주소 요청명령을 포함하는 신호를 각 비트별로 순차적으로 동일한 데이터 라인을 통해 송신하는 과정에서, 어느 하나의 전자 가격 표시기(310)가 1을 송신할 때 데이터 라인이 0인 경우 상기 어느 하나의 전자 가격 표시기(310)는 상기 1 다음 비트를 송신하지 않고 송신을 중단한다.In the process in which the two or more electronic price indicators 310 sequentially transmit the signal including the n-bit unique ID and the address request command through the same data line for each bit, When the data line is 0, the electronic price indicator 310 stops transmission without transmitting the next bit.

유니크 아이디와 주소 요청명령을 포함하는 신호는 단말 장치(300)의 주소, 읽기 또는 쓰기를 의미하는 정보, 명령을 의미하는 정보 및 전자 가격 표시기(310)의 유니크 아이디를 포함한다. 상기 둘 이상의 전자 가격 표시기(310)는 같은 단말 장치(300)로 자신의 유니크 아이디를 포함하는 유니크 아이디와 주소 요청명령을 포함하는 신호를 전달하면서 새로운 주소를 요청한다. The signal including the unique ID and the address request command includes the address of the terminal 300, the information indicating the reading or writing, the information indicating the command, and the unique ID of the electronic price indicator 310. The two or more electronic price indicator 310 requests a new address while transmitting a signal including a unique ID including its own unique ID and an address request command to the same terminal device 300.

결국, 상기 둘 이상의 전자 가격 표시기(310)가 생성한 유니크 아이디와 주소 요청명령을 포함하는 신호는 동일한 단말 장치(300)의 주소, 쓰기를 의미하는 정보, 명령을 의미하는 정보를 포함한다. 다만, 상기 둘 이상의 전자 가격 표시기(310)가 생성한 유니크 아이디와 주소 요청명령을 포함하는 신호는 각각 자신의 유니크 아이디를 포함하기 때문에 상이한 유니크 아이디를 포함한다.As a result, the signal including the unique ID and the address request command generated by the two or more electronic price indicators 310 includes the address of the same terminal 300, information indicating the writing, and information indicating the command. However, since the signals including the unique ID and the address request command generated by the two or more electronic price indicators 310 include their own unique IDs, they include different unique IDs.

상기 둘 이상의 전자 가격 표시기(310)가 생성한 유니크 아이디와 주소 요청명령을 포함하는 신호는 유니크 아이디만 상이하기 때문에, 자신의 유니크 아이디에 기초하여 1을 더 늦게 출력하는 전자 가격 표시기(310)는 송신을 중단하지 않게 된다. 전자 가격 표시기(310)는 유니크 아이디의 각 비트를 첫번째 자리수부터 마지막 자리수까지 순차적으로 전송하기 때문에, 1을 더 후순위의 자리수에 포함하는 전자 가격 표시기(310)가 송신을 중단하지 않게 된다.Since the signals including the unique ID and the address request command generated by the two or more electronic price indicators 310 differ from each other by unique IDs, the electronic price indicator 310 for outputting 1 later on the basis of the own unique ID The transmission is not interrupted. Since the electronic price indicator 310 sequentially transmits each bit of the unique ID from the first digit to the last digit, the electronic price indicator 310 including 1 in the subordinate digits does not stop the transmission.

반대로 1을 더 선순위의 자리수에 포함하는 유니크 아이디를 가지는 전자 가격 표시기(310)는 1을 전송할 때, 다른 전자 가격 표시기(310)가 0을 전송함에 따라 데이터 라인이 0 이기 때문에, 전송을 중단한다.On the contrary, when the electronic price indicator 310 having a unique ID that includes 1 in the higher priority digit transmits 1, the transmission is stopped because the data line is 0 as the other electronic price indicator 310 transmits 0 .

결국, 같은 주소를 가지는 복수의 전자 가격 표시기(310) 중 단 하나의 전자 가격 표시기(310)만이 단말 장치(300)로 유니크 아이디와 주소 요청명령을 포함하는 신호가 포함하는 각 비트를 처음부터 끝까지 송신하게 된다.As a result, only a single electronic price indicator 310 among the plurality of electronic price indicators 310 having the same address can transmit each bit included in the signal including the unique ID and address request command to the terminal device 300 from the beginning to the end .

단말 장치(300)를 기준으로 설명하면, 단말 장치(300)는 단 하나의 전자 가격 표시기(310)로부터 유니크 아이디와 주소 요청명령을 포함하는 신호를 수신한다.Referring to the terminal device 300, the terminal device 300 receives a signal including a unique ID and an address request command from a single electronic price indicator 310.

상기 슬래이브 모드에서 상기 마스터 모드로 변경하는 단계(S150)에서 단말 장치(300)는 유니크 아이디와 주소 요청명령을 포함하는 신호를 수신하는 단계(S140) 이후에 슬래이브 모드에서 마스터 모드로 변경한다.In the step of changing from the slave mode to the master mode (S150), the terminal device 300 changes from the slave mode to the master mode after receiving the signal including the unique ID and the address request command .

상기 유니크 아이디 및 제2 주소가 포함된 신호를 송신하는 단계에서 단말 장치(300)는 유니크 아이디 및 제2 주소가 포함된 신호를 전자 가격 표시기(310)로 송신한다.In the step of transmitting the signal including the unique ID and the second address, the terminal device 300 transmits a signal including the unique ID and the second address to the electronic price indicator 310.

상기 유니크 아이디 및 제2 주소가 포함된 신호를 수신하는 전자 가격 표시기(310)는 단말 장치(300)와 통신하는 모든 전자 가격 표시기(310)다. 단말 장치(300)는 브로드 캐스팅으로 유니크 아이디 및 제2 주소가 포함된 신호를 송신하여, 모든 전자 가격 표시기(310)는 유니크 아이디 및 제2 주소가 포함된 신호를 수신한다.The electronic price indicator 310 receiving the signal including the unique ID and the second address is all the electronic price indicator 310 communicating with the terminal 300. The terminal device 300 transmits a signal including the unique ID and the second address by broadcasting, and all the electronic price indicators 310 receive the signal including the unique ID and the second address.

상기 유니크 아이디는 상기 둘 이상의 전자 가격 표시기(310) 중 송신을 중단하지 않고 유니크 아이디와 주소 요청명령을 포함하는 신호를 송신한 전자 가격 표시기(310)의 유니크 아이디이다. 즉, 상기 전자 가격 표시기(310)는 전술한 제1 주소와 주소할당 시작 명령을 포함하는 신호에 포함된 주소를 가지는 전자 가격 표시기(310) 중 생성한 유니크 아이디와 주소 요청명령을 포함하는 신호에서 1을 더 후순위의 자리수에 포함하는 전자 가격 표시기(310)다.The unique ID is a unique ID of the electronic price indicator 310 that transmits a signal including a unique ID and an address request command without stopping transmission among the two or more electronic price indicators 310. That is, the electronic price indicator 310 includes a unique ID and an address request command generated from the electronic price indicator 310 having the address included in the signal including the first address and the address allocation start command, 1 in the number of subordinate digits.

단말 장치(300)가 생성한 유니크 아이디 및 제2 주소가 포함된 신호는 상기 단 하나의 전자 가격 표시기(310)의 주소 및 유니크 아이디뿐만 아니라 상기 단 하나의 전자 가격 표시기(310)가 갱신할 새주소인 제 2 주소도 포함한다. 제 2 주소는 전술한 주소 테이블에 포함된 주소 중 하나로 전자 가격 표시기(310)가 하나도 할당되지 않은 주소이다.The signal including the unique ID and the second address generated by the terminal device 300 is transmitted to the electronic price indicator 310 through the electronic price indicator 310, It also includes the second address. The second address is an address in which no electronic price indicator 310 is assigned to one of the addresses included in the address table.

즉, 제2 주소는 상기 제1 주소와 다른 값을 포함한다.That is, the second address includes a value different from the first address.

단말 장치(300)는 상기 전자 가격 표시기(310)가 하나도 할당되지 않은 주소가 복수개인 경우 비트값이 가장 작은 주소를 새주소로 결정할 수 있다.The terminal device 300 can determine that the address having the smallest bit value is a new address when there are a plurality of addresses to which the electronic price indicator 310 is not assigned.

단말 장치(300)와 통신하는, 구체적으로 I2C통신하는 모든 전자 가격 표시기(310)가 유니크 아이디 및 제2 주소가 포함된 신호를 수신하지만, 유니크 아이디에 대응하는 전자 가격 표시기(310)만 자신의 주소를 상기 유니크 아이디 및 제2 주소가 포함된 신호에 포함된 제2 주소로 갱신한다. All of the electronic price indicators 310 communicating with the terminal 300, specifically the I2C communication, receive signals including the unique ID and the second address, but only the electronic price indicator 310 corresponding to the unique ID And updates the address to the second address included in the signal including the unique ID and the second address.

전자 가격 표시기(310)는 유니크 아이디 및 제2 주소가 포함된 신호에 포함된 유니크 아이디가 자신의 유니크 아이디가 아닌 경우 상기 유니크 아이디 및 제2 주소가 포함된 신호를 무시한다.The electronic price indicator 310 ignores signals including the unique ID and the second address when the unique ID included in the signal including the unique ID and the second address is not the unique ID.

전술한 제1 주소와 주소할당 시작 명령을 포함하는 신호를 송신하는 단계(S120) 내지 유니크 아이디 및 제2 주소가 포함된 신호를 송신하는 단계를 통해 하나의 주소에 할당된 둘 이상의 전자 가격 표시기(310) 중 하나의 전자 가격 표시기(310)는 자신의 주소를 새로운 주소로 갱신하여 주소 중복의 문제를 해결하게 된다.(S120) transmitting a signal including the first address and the address allocation start command, and transmitting a signal including a unique ID and a second address to the at least two electronic price indicators 310 may update the address of the electronic price indicator 310 to a new address to solve the problem of address duplication.

도 9는 주소 갱신 방법의 흐름도이다. 도 9에 따른 조소 갱신 방법은 전자 가격 표시기(310)를 주체로한 방법이다.Figure 9 is a flow diagram of an address update method. The landscape updating method according to Fig. 9 is a method mainly made up of the electronic price indicator 310.

제1 주소와 유니크 아이디를 포함하는 슬레이브 모드인 전자가격 표시기의 주소 갱신 방법은 상기 제1 주소와 주소할당 시작 명령을 포함하는 신호를 수신하는 단계(S200); 상기 슬레이브 모드에서 마스터 모드로 변경하는 단계(S205); 상기 유니크 아이디와 주소 요청명령을 포함하는 신호를 송신하는 단계(S210); 및 상기 마스터 모드에서 상기 슬레이브 모드로 변경하는 단계(S220); 상기 유니크 아이디 및 제2 주소가 포함된 신호를 수신하여 상기 제1 주소를 상기 제2 주소로 변경하는 단계를 포함한다.A method of updating an address of an electronic price indicator, which is a slave mode including a first address and a unique ID, includes receiving a signal including the first address and an address allocation start command (S200); Changing from the slave mode to the master mode (S205); Transmitting a signal including the unique ID and an address request command (S210); And changing the master mode to the slave mode (S220). Receiving the signal including the unique ID and the second address, and changing the first address to the second address.

상기 제1 주소와 주소할당 시작 명령을 포함하는 신호를 수신하는 단계(S200)는 하나의 주소에 두개 이상의 전자 가격 표시기(310)가 할당되어 있는 경우를 전제로 한다. 이러한 전제를 기초로, 단말 장치(300)는 하나의 주소에 단 하나의 전자 가격 표시기(310)만 할당될 수 있도록 제1 주소와 주소할당 시작 명령을 포함하는 신호를 모든 전자 가격 표시기(310)로 송신한다.The step S200 of receiving the signal including the first address and the address allocation start command assumes that two or more electronic price indicators 310 are allocated to one address. Based on this premise, the terminal device 300 transmits a signal including a first address and an address allocation start command to all the electronic price indicators 310 so that only one electronic price indicator 310 can be allocated to one address, .

전자 가격 표시기(310)가 수신하는 제1 주소와 주소할당 시작 명령을 포함하는 신호에 포함된 주소는 두개 이상의 전자 가격 표시기(310)가 할당되어 있는 주소이다. 단말 장치(300)는 주소 테이블을 관리한다. 주소 테이블은 주소, 주소의 상태, 상기 주소를 가지는 전자 가격 표시기(310)의 유니크 아이디(Unique ID)를 포함한다. 주소의 상태는 상기 주소에 몇 개의 전자 가격 표시기(310)가 할당되어 있는지를 보여준다. 단말 장치(300)는 상기 주소 테이블을 통해 두개 이상의 전자 가격 표시기(310)가 할당된 주소를 추출하여, 두개 이상의 전자 가격 표시기(310)가 할당된 제1 주소와 주소할당 시작 명령을 포함하는 신호를 생성하여 전자 가격 표시기(310)로 송신한다.An address included in a signal including a first address and an address allocation start command received by the electronic price indicator 310 is an address to which two or more electronic price indicators 310 are allocated. The terminal device 300 manages the address table. The address table includes an address, a status of the address, and a unique ID of the electronic price indicator 310 having the address. The status of the address shows how many electronic price indicators 310 are assigned to the address. The terminal device 300 extracts an address to which two or more electronic price indicators 310 are allocated through the address table and generates a signal including a first address allocated to two or more electronic price indicators 310 and an address assignment start command And transmits it to the electronic price indicator 310.

단말 장치(300)는 모든 전자 가격 표시기(310)로 제1 주소와 주소할당 시작 명령을 포함하는 신호를 송신하지만, 상기 제1 주소를 가지는 전자 가격 표시기(310)만이 후술할 유니크 아이디와 주소 요청명령을 포함하는 신호를 생성한다.  The terminal device 300 transmits a signal including a first address and an address allocation start command to all the electronic price indicators 310. However, only the electronic price indicator 310 having the first address transmits a unique ID and an address request And generates a signal including an instruction.

상기 슬레이브 모드에서 마스터 모드로 변경하는 단계(S205)에서 제1 주소와 주소할당 시작 명령을 포함하는 신호를 수신하는 단계(S200) 이후에 전자 가격 표시기(310)는 슬레이브 모드에서 마스터 모드로 변경한다.In step S205 of changing from the slave mode to the master mode, the electronic price indicator 310 changes from the slave mode to the master mode after the step S200 of receiving the signal including the first address and the address allocation start command .

상기 유니크 아이디와 주소 요청명령을 포함하는 신호를 송신하는 단계(S210)에서 마스터 모드로 변경된 전자 가격 표시기(310)는 단말 장치(300)로 유니크 아이디와 주소 요청명령을 포함하는 신호를 송신한다.The electronic price indicator 310 changed to the master mode in step S210 of transmitting a signal including the unique ID and the address request command transmits a signal including a unique ID and an address request command to the terminal device 300. [

제 1 주소에 할당된 전자 가격 표시기(310)는 유니크 아이디와 주소 요청명령을 포함하는 신호를 송신한다.The electronic price indicator 310 assigned to the first address transmits a signal including a unique ID and an address request command.

제 1 주소에 할당된 둘 이상의 전자 가격 표시기(310)가 유니크 아이디와 주소 요청명령을 포함하는 신호를 생성한다. 단말 장치(300)로부터 모든 전자 가격 표시기(310)가 전술한 제1 주소와 주소할당 시작 명령을 포함하는 신호를 수신하지만, 제1 주소를 가지는 전자 가격 표시기(310)들만 유니크 아이디와 주소 요청명령을 포함하는 신호를 생성한다.Two or more electronic price indicators 310 assigned to the first address generate a signal including a unique ID and an address request command. All the electronic price indicator 310 receives a signal including the first address and the address allocation start command from the terminal 300. However, only the electronic price indicator 310 having the first address receives the unique ID and the address request command ≪ / RTI >

전술한 제1 주소와 주소할당 시작 명령을 포함하는 신호에 포함된 제1 주소를 가지는 전자 가격 표시기(310)들은 제1 주소와 주소할당 시작 명령을 포함하는 신호를 수신한 후에 마스터 모드로 전환된다. 전자 가격 표시기(310)가 마스터 모드로 전환된다는 것은 단말 장치(300)처럼 다른 장치로 특정 정보를 요청할 수 있음을 의미한다. The electronic price indicators 310 having the first address included in the signal including the first address and the address allocation start command are switched to the master mode after receiving the signal including the first address and the address allocation start command . The switching of the electronic price indicator 310 to the master mode means that the terminal 300 can request specific information from another device.

즉, 마스터 모드로 전환된 전자 가격 표시기(310)는 유니크 아이디와 주소 요청명령을 포함하는 신호와 같은 요청 명령을 임의의 장치, 예를 들어 단말 장치(300) 또는 다른 전자 가격 표시기(310)로 송신할 수 있다.That is, the electronic price indicator 310, which has been switched to the master mode, transmits a request command, such as a signal including a unique ID and an address request command, to an arbitrary device such as the terminal device 300 or another electronic price indicator 310 Can be transmitted.

상기 둘 이상의 전자 가격 표시기(310)는 제1 주소와 주소할당 시작 명령을 포함하는 신호에 포함된 제1 주소를 가지는 전자 가격 표시기(310)다. The electronic price indicator 310 is an electronic price indicator 310 having a first address included in a signal including a first address and an address allocation start command.

둘 이상의 전자 가격 표시기(310)는 동일한 데이터 라인을 통해 둘 이상의 전자 가격 표시기(310) 각각이 생성한 유니크 아이디와 주소 요청명령을 포함하는 신호를 단말 장치(300)로 송신한다. 둘 이상의 전자 가격 표시기(310) 각각이 생성한 유니크 아이디와 주소 요청명령을 포함하는 신호는 비트 연산이 돼서 단말 장치(300)로 전송된다. 비트 연산 중 AND 연산이 수행되는데, AND 연산은 둘 이상의 유니크 아이디와 주소 요청명령을 포함하는 신호의 각 자릿수를 비교해, 각 자리수 모두에 1이 있을 때에는 1, 나머지 경우에는 0으로 연산한다. AND 연산된 결과는 단말 장치(300)로 전송된다.More than one electronic price indicator 310 transmits a signal including a unique ID and an address request command generated by each of two or more electronic price indicators 310 to the terminal device 300 through the same data line. The signal including the unique ID and the address request command generated by each of the two or more electronic price indicators 310 is bit-processed and transmitted to the terminal device 300. An AND operation is performed during a bit operation. The AND operation compares the number of digits of a signal including two or more unique IDs and an address request command, and when the number of digits is 1, 1 is calculated. The result of the AND operation is transmitted to the terminal device 300.

이때 상기 둘 이상의 전자 가격 표시기(310) 중 어느 하나의 전자 가격 표시기(310)가 1을 송신할 때 데이터 라인이 0인 경우 상기 어느 하나의 전자 가격 표시기(310)는 송신을 중단한다. 어느 하나의 전자 가격 표시기(310)가 1을 송신할 때 데이터 라인이 0이라는 것은 다른 하나의 전자 가격 표시기(310)가 상기 데이터 라인으로 0을 송신했음을 의미한다.At this time, when one of the two or more electronic price indicators 310 transmits 1, if the data line is 0, the one of the electronic price indicators 310 stops the transmission. When one of the electronic price indicators 310 transmits 1, the data line is 0, which means that the other electronic price indicator 310 has transmitted 0 to the data line.

상기 둘 이상의 전자 가격 표시기(310) 중 어느 하나의 전자 가격 표시기(310)가 예를 들어 n 비트인 유니크 아이디와 주소 요청명령을 포함하는 신호를 송신할 때 다른 하나 이상의 전자 가격 표시기(310)도 n 비트인 유니크 아이디와 주소 요청명령을 포함하는 신호를 송신한다. When one electronic price indicator 310 of the two or more electronic price indicators 310 transmits a signal including a unique ID and an address request command of, for example, n bits, the other electronic price indicator 310 and transmits a signal including a unique ID that is n bits and an address request command.

상기 둘 이상의 전자 가격 표시기(310)가 n 비트의 유니크 아이디와 주소 요청명령을 포함하는 신호를 각 비트별로 순차적으로 동일한 데이터 라인을 통해 송신하는 과정에서, 어느 하나의 전자 가격 표시기(310)가 1을 송신할 때 데이터 라인이 0인 경우 상기 어느 하나의 전자 가격 표시기(310)는 상기 1 다음 비트를 송신하지 않고 송신을 중단한다.In the process in which the two or more electronic price indicators 310 sequentially transmit the signal including the n-bit unique ID and the address request command through the same data line for each bit, When the data line is 0, the electronic price indicator 310 stops transmission without transmitting the next bit.

유니크 아이디와 주소 요청명령을 포함하는 신호는 단말 장치(300)의 주소, 읽기 또는 쓰기를 의미하는 정보, 명령을 의미하는 정보 및 전자 가격 표시기(310)의 유니크 아이디를 포함한다. 상기 둘 이상의 전자 가격 표시기(310)는 같은 단말 장치(300)로 자신의 유니크 아이디를 포함하는 유니크 아이디와 주소 요청명령을 포함하는 신호를 전달하면서 새로운 주소를 요청한다. The signal including the unique ID and the address request command includes the address of the terminal 300, the information indicating the reading or writing, the information indicating the command, and the unique ID of the electronic price indicator 310. The two or more electronic price indicator 310 requests a new address while transmitting a signal including a unique ID including its own unique ID and an address request command to the same terminal device 300.

결국, 상기 둘 이상의 전자 가격 표시기(310)가 생성한 유니크 아이디와 주소 요청명령을 포함하는 신호는 동일한 단말 장치(300)의 주소, 쓰기를 의미하는 정보, 명령을 의미하는 정보를 포함한다. 다만, 상기 둘 이상의 전자 가격 표시기(310)가 생성한 유니크 아이디와 주소 요청명령을 포함하는 신호는 각각 자신의 유니크 아이디를 포함하기 때문에 상이한 유니크 아이디를 포함한다.As a result, the signal including the unique ID and the address request command generated by the two or more electronic price indicators 310 includes the address of the same terminal 300, information indicating the writing, and information indicating the command. However, since the signals including the unique ID and the address request command generated by the two or more electronic price indicators 310 include their own unique IDs, they include different unique IDs.

상기 둘 이상의 전자 가격 표시기(310)가 생성한 유니크 아이디와 주소 요청명령을 포함하는 신호는 유니크 아이디만 상이하기 때문에, 자신의 유니크 아이디에 기초하여 1을 더 늦게 출력하는 전자 가격 표시기(310)는 송신을 중단하지 않게 된다. 전자 가격 표시기(310)는 유니크 아이디의 각 비트를 첫번째 자리수부터 마지막 자리수까지 순차적으로 전송하기 때문에, 1을 더 후순위의 자리수에 포함하는 전자 가격 표시기(310)가 송신을 중단하지 않게 된다.Since the signals including the unique ID and the address request command generated by the two or more electronic price indicators 310 differ from each other by unique IDs, the electronic price indicator 310 for outputting 1 later on the basis of the own unique ID The transmission is not interrupted. Since the electronic price indicator 310 sequentially transmits each bit of the unique ID from the first digit to the last digit, the electronic price indicator 310 including 1 in the subordinate digits does not stop the transmission.

반대로 1을 더 선순위의 자리수에 포함하는 유니크 아이디를 가지는 전자 가격 표시기(310)는 1을 전송할 때, 다른 전자 가격 표시기(310)가 0을 전송함에 따라 데이터 라인이 0 이기 때문에, 전송을 중단한다.On the contrary, when the electronic price indicator 310 having a unique ID that includes 1 in the higher priority digit transmits 1, the transmission is stopped because the data line is 0 as the other electronic price indicator 310 transmits 0 .

결국, 같은 주소를 가지는 복수의 전자 가격 표시기(310) 중 단 하나의 전자 가격 표시기(310)만이 단말 장치(300)로 유니크 아이디와 주소 요청명령을 포함하는 신호가 포함하는 각 비트를 처음부터 끝까지 송신하게 된다.As a result, only a single electronic price indicator 310 among the plurality of electronic price indicators 310 having the same address can transmit each bit included in the signal including the unique ID and address request command to the terminal device 300 from the beginning to the end .

단말 장치(300)를 기준으로 설명하면, 단말 장치(300)는 단 하나의 전자 가격 표시기(310)로부터 유니크 아이디와 주소 요청명령을 포함하는 신호를 수신한다.Referring to the terminal device 300, the terminal device 300 receives a signal including a unique ID and an address request command from a single electronic price indicator 310.

상기 마스터 모드에서 상기 슬레이브 모드로 변경하는 단계(S220)에서 전자 가격 표시기(310)는 유니크 아이디와 주소 요청명령을 포함하는 신호를 송신하는 단계(S210) 이후에 마스터 모드에서 상기 슬레이브 모드로 변경한다.In step S220 of changing from the master mode to the slave mode, the electronic price indicator 310 changes from the master mode to the slave mode after transmitting the signal including the unique ID and the address request command .

유니크 아이디 및 제2 주소가 포함된 신호를 수신하여 상기 제1 주소를 상기 제2 주소로 변경하는 단계에서, 상기 유니크 아이디를 가지는 전자 가격 표시기(310)는 제 1 주소를 제 2 주소로 변경한다.In the step of receiving the signal including the unique ID and the second address and changing the first address to the second address, the electronic price indicator 310 having the unique ID changes the first address to the second address .

상기 유니크 아이디 및 제2 주소가 포함된 신호를 수신하는 전자 가격 표시기(310)는 단말 장치(300)와 통신하는 모든 전자 가격 표시기(310)다. 단말 장치(300)는 브로드 캐스팅으로 유니크 아이디 및 제2 주소가 포함된 신호를 송신하여, 모든 전자 가격 표시기(310)는 유니크 아이디 및 제2 주소가 포함된 신호를 수신한다.The electronic price indicator 310 receiving the signal including the unique ID and the second address is all the electronic price indicator 310 communicating with the terminal 300. The terminal device 300 transmits a signal including the unique ID and the second address by broadcasting, and all the electronic price indicators 310 receive the signal including the unique ID and the second address.

상기 유니크 아이디는 상기 둘 이상의 전자 가격 표시기(310) 중 송신을 중단하지 않고 유니크 아이디와 주소 요청명령을 포함하는 신호를 송신한 전자 가격 표시기(310)의 유니크 아이디이다. 즉, 상기 전자 가격 표시기(310)는 전술한 제1 주소와 주소할당 시작 명령을 포함하는 신호에 포함된 주소를 가지는 전자 가격 표시기(310) 중 생성한 유니크 아이디와 주소 요청명령을 포함하는 신호에서 1을 더 후순위의 자리수에 포함하는 전자 가격 표시기(310)다.The unique ID is a unique ID of the electronic price indicator 310 that transmits a signal including a unique ID and an address request command without stopping transmission among the two or more electronic price indicators 310. That is, the electronic price indicator 310 includes a unique ID and an address request command generated from the electronic price indicator 310 having the address included in the signal including the first address and the address allocation start command, 1 in the number of subordinate digits.

단말 장치(300)가 생성한 유니크 아이디 및 제2 주소가 포함된 신호는 상기 단 하나의 전자 가격 표시기(310)의 주소 및 유니크 아이디뿐만 아니라 상기 단 하나의 전자 가격 표시기(310)가 갱신할 새주소인 제 2 주소도 포함한다. 제 2 주소는 전술한 주소 테이블에 포함된 주소 중 하나로 전자 가격 표시기(310)가 하나도 할당되지 않은 주소이다.The signal including the unique ID and the second address generated by the terminal device 300 is transmitted to the electronic price indicator 310 through the electronic price indicator 310, It also includes the second address. The second address is an address in which no electronic price indicator 310 is assigned to one of the addresses included in the address table.

즉, 제2 주소는 상기 제1 주소와 다른 값을 포함한다.That is, the second address includes a value different from the first address.

단말 장치(300)는 상기 전자 가격 표시기(310)가 하나도 할당되지 않은 주소가 복수개인 경우 비트값이 가장 작은 주소를 새주소로 결정할 수 있다.The terminal device 300 can determine that the address having the smallest bit value is a new address when there are a plurality of addresses to which the electronic price indicator 310 is not assigned.

단말 장치(300)와 통신하는, 구체적으로 I2C통신하는 모든 전자 가격 표시기(310)가 유니크 아이디 및 제2 주소가 포함된 신호를 수신하지만, 유니크 아이디에 대응하는 전자 가격 표시기(310)만 자신의 주소를 상기 유니크 아이디 및 제2 주소가 포함된 신호에 포함된 제2 주소로 갱신한다. All of the electronic price indicators 310 communicating with the terminal 300, specifically the I2C communication, receive signals including the unique ID and the second address, but only the electronic price indicator 310 corresponding to the unique ID And updates the address to the second address included in the signal including the unique ID and the second address.

전자 가격 표시기(310)는 유니크 아이디 및 제2 주소가 포함된 신호에 포함된 유니크 아이디가 자신의 유니크 아이디가 아닌 경우 상기 유니크 아이디 및 제2 주소가 포함된 신호를 무시한다.The electronic price indicator 310 ignores signals including the unique ID and the second address when the unique ID included in the signal including the unique ID and the second address is not the unique ID.

전술한 상기 제1 주소와 주소할당 시작 명령을 포함하는 신호를 수신하는 단계(S200) 내지 유니크 아이디 및 제2 주소가 포함된 신호를 수신하여 상기 제1 주소를 상기 제2 주소로 변경하는 단계를 통해 하나의 주소에 할당된 둘 이상의 전자 가격 표시기(310) 중 하나의 전자 가격 표시기(310)는 자신의 주소를 새로운 주소로 갱신하여 주소 중복의 문제를 해결하게 된다.Receiving a signal including the first address and the address allocation start command (S200), or a signal including a unique ID and a second address, and changing the first address to the second address The electronic price indicator 310 of one of the two or more electronic price indicators 310 allocated to one address updates its address to a new address to solve the problem of address duplication.

도 10은 주소 갱신 방법에서 유니크 아이디와 주소 요청명령을 포함하는 신호를 송신하는 단계(S210)의 세부 흐름도이다.10 is a detailed flowchart of a step S210 of transmitting a signal including a unique ID and an address request command in the address update method.

상기 유니크 아이디와 주소 요청명령을 포함하는 신호를 송신하는 단계(S210)는 SDA 라인을 감지하는 단계(S211); 상기 SDA 라인으로부터 low 신호가 감지되는 동안 High 신호를 전송하는 단계(S212); 및 상기 유니크 아이디와 주소 요청명령을 포함하는 신호의 송신을 중단하는 단계를 포함한다.Transmitting a signal including the unique ID and an address request command (S210) comprises: sensing (S211) an SDA line; Transmitting a High signal while sensing a low signal from the SDA line (S212); And stopping transmission of the signal including the unique ID and the address request command.

SDA 라인을 감지하는 단계(S211)에서 전자 가격 표시기(310)는 SDA 라인에 하이 신호 또는 로우 신호가 인가되었는지를 감지한다.In step S211 of sensing the SDA line, the electronic price indicator 310 detects whether a high signal or a low signal is applied to the SDA line.

상기 SDA 라인으로부터 low 신호가 감지되는 동안 High 신호를 전송하는 단계(S212)에서는 전자 가격 표시기(310)가 SDA 라인으로부터 로우 신호를 감지하는 동시에 하이 신호를 출력한다.In step S212, while the low signal is detected from the SDA line, the electronic price indicator 310 senses the low signal from the SDA line and outputs a high signal.

상기 유니크 아이디와 주소 요청명령을 포함하는 신호의 송신을 중단하는 단계에서 전자 가격 표시기(310)는 유니크 아이디와 주소 요청명령을 포함하는 신호의 송신을 중단한다.In the step of stopping the transmission of the signal including the unique ID and the address request command, the electronic price indicator 310 stops transmission of the signal including the unique ID and the address request command.

즉, 둘 이상의 전자 가격 표시기(310) 중 어느 하나의 전자 가격 표시기(310)가 1을 송신할 때 데이터 라인이 0인 경우 상기 어느 하나의 전자 가격 표시기(310)는 송신을 중단한다. 어느 하나의 전자 가격 표시기(310)가 1을 송신할 때 데이터 라인이 0이라는 것은 다른 하나의 전자 가격 표시기(310)가 상기 데이터 라인으로 0을 송신했음을 의미한다.That is, when one of the two or more electronic price indicators 310 transmits 1, if the data line is 0, the one of the electronic price indicators 310 stops the transmission. When one of the electronic price indicators 310 transmits 1, the data line is 0, which means that the other electronic price indicator 310 has transmitted 0 to the data line.

둘 이상의 전자 가격 표시기(310)가 생성한 유니크 아이디와 주소 요청명령을 포함하는 신호는 유니크 아이디만 상이하기 때문에, 자신의 유니크 아이디에 기초하여 1을 더 늦게 출력하는 전자 가격 표시기(310)는 송신을 중단하지 않게 된다.Since the signals including the unique ID and the address request command generated by the two or more electronic price indicators 310 differ from each other by unique IDs, the electronic price indicator 310, which outputs 1 later on the basis of its own unique ID, .

전자 가격 표시기(310)는 유니크 아이디의 각 비트를 첫번째 자리수부터 마지막 자리수까지 순차적으로 전송하기 때문에, 1을 더 후순위의 자리수에 포함하는 전자 가격 표시기(310)가 송신을 중단하지 않게 된다.Since the electronic price indicator 310 sequentially transmits each bit of the unique ID from the first digit to the last digit, the electronic price indicator 310 including 1 in the subordinate digits does not stop the transmission.

반대로 1을 더 선순위의 자리수에 포함하는 유니크 아이디를 가지는 전자 가격 표시기(310)는 1을 전송할 때, 다른 전자 가격 표시기(310)가 0을 전송함에 따라 데이터 라인이 0 이기 때문에, 전송을 중단한다.On the contrary, when the electronic price indicator 310 having a unique ID that includes 1 in the higher priority digit transmits 1, the transmission is stopped because the data line is 0 as the other electronic price indicator 310 transmits 0 .

결국, 같은 주소를 가지는 복수의 전자 가격 표시기(310) 중 단 하나의 전자 가격 표시기(310)만이 단말 장치(300)로 유니크 아이디와 주소 요청명령을 포함하는 신호가 포함하는 각 비트를 처음부터 끝까지 송신하게 된다.As a result, only a single electronic price indicator 310 among the plurality of electronic price indicators 310 having the same address can transmit each bit included in the signal including the unique ID and address request command to the terminal device 300 from the beginning to the end .

도 11은 중복주소 판단 및 주소 갱신 시스템의 전체 구성을 도시한다.11 shows the overall configuration of a duplicate address determination and address update system.

제1 주소와 유니크 아이디 요청 명령을 포함하는 신호를 송신하는 단계(S100)는 단말 장치(300)가 전자 가격 표시기(310)로 제1 주소와 유니크 아이디 요청 명령을 포함하는 신호를 송신한다. 유니크 아이디와 오류 검출 코드를 포함하는 신호를 수신하는 단계(S105)는 단말 장치(300)가 유니크 아이디와 오류 검출 코드를 포함하는 신호를 수신한다.The step S100 of transmitting the signal including the first address and the unique ID request command transmits the signal including the first address and the unique ID request command to the electronic price indicator 310 of the terminal device 300. The step S105 of receiving the signal including the unique ID and the error detection code receives the signal including the unique ID and the error detection code.

오류 검출코드를 이용하여 수신된 신호의 오류를 판단하는 단계 및 상기 수신된 신호가 오류인 경우 상기 제1 주소를 중복된 주소로 판단하는 단계는 단말 장치(300)가 전자 가격 표시기(310)로부터 수신된 신호의 오류를 판단하고, 단말 장치(300)는 산출한 유니크 아이디에 대한 오류 검출코드 및 상기 유니크 아이디를 가지는 전자 가격 표시기(310)로부터 수신한 오류 검출코드을 비교하여 일치하지 않는 경우 상기 제1 주소에 두개 이상의 전자 가격 표시기(310)가 할당되어있다고 판단한다.Determining an error of the received signal using the error detection code, and determining that the first address is an overlapped address when the received signal is an error, the terminal device (300) The terminal device 300 compares the error detection code for the calculated unique ID and the error detection code received from the electronic price indicator 310 having the unique ID, It is judged that two or more electronic price indicators 310 are assigned to one address.

오류 검출코드를 이용하여 수신된 신호의 오류를 판단하는 단계 및 상기 수신된 신호가 오류인 경우 상기 제1 주소를 중복된 주소로 판단하는 단계에서 신호의 오류가 없다고 판단하는 경우 종료 된다.Determining an error of the received signal using the error detection code, and terminating the step of determining that there is no error in the step of determining that the first address is an overlapped address when the received signal is an error.

제1 주소와 주소할당 시작 명령을 포함하는 신호를 송신하는 단계(S120)는 하나의 주소에 두개 이상의 전자 가격 표시기(310)가 할당되어 있는 경우를 전제로 한다. 이러한 전제를 기초로, 단말 장치(300)는 하나의 주소에 단 하나의 전자 가격 표시기(310)만 할당될 수 있도록 제1 주소와 주소할당 시작 명령을 포함하는 신호를 모든 전자 가격 표시기(310)로 송신한다.The step S120 of transmitting a signal including the first address and the address allocation start command assumes that two or more electronic price indicators 310 are allocated to one address. Based on this premise, the terminal device 300 transmits a signal including a first address and an address allocation start command to all the electronic price indicators 310 so that only one electronic price indicator 310 can be allocated to one address, .

유니크 아이디와 주소 요청명령을 포함하는 신호를 수신하는 단계(S140)에서 슬레이브 모드로 변경된 단말 장치(300)는 전자 가격 표시기(310)로부터 유니크 아이디와 주소 요청명령을 포함하는 신호를 수신한다.The terminal device 300 changed to the slave mode in step S140 receiving the signal including the unique ID and the address request command receives the signal including the unique ID and the address request command from the electronic price indicator 310. [

상기 제1 주소를 상기 제2 주소로 변경하는 단계에서, 상기 유니크 아이디를 가지는 전자 가격 표시기(310)는 제 1 주소를 제 2 주소로 변경한다.In the step of changing the first address to the second address, the electronic price indicator 310 having the unique ID changes the first address to the second address.

상기 제1 주소를 상기 제2 주소로 변경하는 단계 이후에 제1 주소와 유니크 아이디 요청 명령을 포함하는 신호를 송신하는 단계(S100)가 수행된다.A step S100 of transmitting a signal including a first address and a unique ID request command is performed after changing the first address to the second address.

도 12는 중복주소 판단 및 주소 갱신 시스템의 전체 구성을 도시한다.12 shows the overall configuration of a duplicate address determination and address updating system.

단말 장치(300)는 후술할 게이트 웨이(430)와 무선통신하여 서버(410)가 송신한 상품 관련 정보를 수신한다. 단말 장치(300)와 복수의 전자 가격 표시기(310)는 I2C 버스(132)를 통해 통신한다. I2C 버스(132)는 도 12에 도시된 것 처럼 시리얼 데이터 라인(SDA) 및 시리얼 클록 라인(SCL)을 포함한다. 복수의 전자 가격 표시기(310)는 매장내의 매대에 위치한다. 매대에는 커넥터가 존재하며, 전자 가격 표시기(310)는 상기 커넥터와 연결되거나 분리될 수 있다. 전자 가격 표시기(310)가 상기 커넥터와 연결되면, 전자 가격 표시기(310)로 전원이 공급되고, 데이터 라인(SDA) 및 시리얼 클록 라인(SCL)과도 연결된다. The terminal device 300 wirelessly communicates with a gateway 430 to be described later to receive goods-related information transmitted from the server 410. [ The terminal device 300 and a plurality of electronic price indicators 310 communicate via the I < 2 > C bus 132. [ The I2C bus 132 includes a serial data line SDA and a serial clock line SCL as shown in FIG. A plurality of electronic price indicators 310 are located in the stores within the store. There is a connector in the store, and the electronic price indicator 310 can be connected to or disconnected from the connector. When the electronic price indicator 310 is connected to the connector, power is supplied to the electronic price indicator 310 and also to the data line SDA and the serial clock line SCL.

도 12에 도시된 화살표(510, 520)는 전자 가격 표시기(310)가 커넥터에 분리 또는 결합될 수 있음을 도시한다. 전자 가격 표시기(310)가 커넥터에 새롭게 결합되면, 랜덤한 임의의 주소가 할당된다. 상기 랜덤한 임의의 주소가 이미 다른 전자 가격 표시기(310)에 할당된 주소라면, 주소가 중복되는 문제가 발생된다. 본 발명에 따른 단말 장치(300)는 전술한 것처럼 유니크 아이디에 기초하여 계산한 순환 중복 검사값과 수신한 순환 중복 검사값을 다른 경우 상기 주소에는 둘 이상의 전자 가격 표시기(310)가 할당되어 있다고 판단한다. Arrows 510 and 520 shown in FIG. 12 show that the electronic price indicator 310 can be separated or coupled to the connector. When the electronic price indicator 310 is newly coupled to the connector, a random random address is assigned. If the random random address is an address already assigned to another electronic price indicator 310, a problem of overlapping addresses occurs. The terminal device 300 according to the present invention determines that two or more electronic price indicators 310 are allocated to the address if the cyclic redundancy check value calculated based on the unique ID is different from the received cyclic redundancy check value do.

중복되어 있다고 판단한 수에는 하나의 주소에 할당된 복수개의 전자 가격 표시기(310) 중 하나의 전자 가격 표시기(310)에 순차적으로 새로운 주소를 할당한다.A new address is sequentially assigned to one of the plurality of electronic price indicators 310 assigned to one address in the electronic price indicator 310 determined to be duplicated.

도 13은 서버(410), 게이트 웨이 및 단말 장치(300)를 포함하는 전자 가격 표시기(310) 시스템을 도시한다.13 illustrates an electronic price indicator 310 system including a server 410, a gateway, and a terminal device 300. As shown in FIG.

서버(410)는 전자 가격 표시기(310)에서 표시될 상품관련 정보, 예를 들면 상품명, 상품 가격, 유통 기한 등을 제공한다. 게이트 웨이(430)는 유무선 변환 장치로서 매장 내 천장에 설치될 수 있다. The server 410 provides product related information to be displayed in the electronic price indicator 310, for example, a product name, a product price, a shelf life, and the like. The gateway 430 may be installed in the ceiling of the store as a wired / wireless conversion device.

일 예에 있어서, 전자 가격 표시기(310)는 적어도 하나 이상의 그룹으로 관리되고 상품 정보가 업데이트 된다. 단말 장치(300)는 배터리 절약을 위해 슬립(Sleep)상태를 유지하다가, 상품 정보 갱신시에만 웨이크업(wakeup) 상태가 된다. 즉, 단말 장치(300)는 전자 가격 표시기(310)가 표시할 상품 정보를 서버(410)로부터 수신하고, I2C통신을 통해 전자 가격 표시기(310)로 상품 정보를 송신한다. In one example, the electronic price indicator 310 is managed in at least one group and the goods information is updated. The terminal device 300 maintains a sleep state in order to save battery power, and is in a wakeup state only when updating the product information. That is, the terminal device 300 receives the product information to be displayed by the electronic price indicator 310 from the server 410, and transmits the product information to the electronic price indicator 310 through the I2C communication.

서버(410)와 게이트 웨이(430)는 내부 유선 네트워크를 통해 통신하고, 게이트 웨이(430)는 단말 장치(300)와 근거리 무선 통신, 예를 들면 IEEE 802.15.4 표준에 따른 PHY/MAC 계층 위에서 정의된 프로토콜에 따라 통신한다. 서버(410)는 게이트 웨이(430)를 통해 단말 장치(300)로 상품 정보를 송신한다. The server 410 and the gateway 430 communicate via an internal wired network and the gateway 430 may communicate with the terminal 300 over a PHY / MAC layer in accordance with the IEEE 802.15.4 standard Communicate according to the defined protocol. The server 410 transmits the product information to the terminal device 300 via the gateway 430.

단말 장치(300)는 자신을 등록한 게이트 웨이(430)로부터 지정 받은 데이터 채널에 접속하여 랜덤하게 웨이크업한후 순차적으로 갱신정보를 요청한다.The terminal device 300 accesses the data channel specified by the gateway 430 registered with the terminal device 300 and randomly wakes up the terminal, and sequentially requests update information.

단말 장치(300)(300)는 게이트 웨이(430)를 통해 서버(410)로부터 상품 관련 정보를 수신하여 단말 장치(300)(300)와 I2C 통신하는 전자 가격 표시기(310)로 송신한다. 단말 장치(300)(300)로부터 상품 관련 정보, 예를 들어 상품 정보 이미지를 수신한 전자 가격 표시기(310)는 상기 상품 정보 이미지를 디스플레이(240) 한다.The terminal devices 300 and 300 receive product related information from the server 410 through the gateway 430 and transmit the product related information to the electronic price indicator 310 for I2C communication with the terminal devices 300 and 300. [ The electronic price indicator 310 receiving the merchandise related information, for example, the merchandise information image, from the terminal devices 300 and 300 displays the merchandise information image.

중복주소 판단 및 주소 갱신 시스템은 단말 장치(300); 및 상기 단말 장치(300)와 I2C 통신하는 전자 가격 표시기(310);를 포함하고, 상기 단말 장치(300)는 제1 주소와 유니크 아이디 요청 명령을 포함하는 신호를 송신하고, 유니크 아이디와 오류 검출 코드를 포함하는 신호를 수신하며, 상기 오류 검출코드를 이용하여 수신된 신호의 오류를 판단하고, 상기 수신된 신호가 오류인 경우 상기 제1 주소를 중복된 주소로 판단한다.The duplicate address determination and address updating system includes a terminal device 300; And an electronic price indicator (310) for I2C communication with the terminal device (300), wherein the terminal device (300) transmits a signal including a first address and a unique ID request command, Code, judges an error of the received signal by using the error detection code, and judges that the first address is a duplicated address when the received signal is an error.

상기 단말 장치(300)는, 마스터 모드로 동작하고, 상기 제1 주소와 주소할당 시작 명령을 포함하는 신호를 송신하며, 상기 마스터 모드에서 슬레이브 모드로 변경하고, 상기 유니크 아이디와 주소 요청명령을 포함하는 신호를 수신하며, 상기 슬래이브 모드에서 상기 마스터 모드로 변경하고, 상기 유니크 아이디 및 제2 주소가 포함된 신호를 송신하며, 상기 제2 주소는, 상기 제1 주소와 다른 값을 포함한다.The terminal device 300 operates in a master mode and transmits a signal including the first address and an address allocation start command, changes from the master mode to the slave mode, and includes the unique ID and address request command The slave mode is changed to the master mode, the signal including the unique ID and the second address is transmitted, and the second address includes a value different from the first address.

상기 전자 가격 표시기(310)는 제1 주소와 유니크 아이디를 포함하고, 슬레이브 모드이며, 상기 제1 주소와 주소할당 시작 명령을 포함하는 신호를 수신하고, 상기 슬레이브 모드에서 마스터 모드로 변경하며, 상기 유니크 아이디와 주소 요청명령을 포함하는 신호를 송신하고 상기 마스터 모드에서 상기 슬레이브 모드로 변경하며, 상기 유니크 아이디 및 제2 주소가 포함된 신호를 수신하여 상기 제1 주소를 상기 제2 주소로 변경한다.The electronic price indicator 310 includes a first address and a unique ID, and is a slave mode. The electronic price indicator 310 receives a signal including the first address and an address allocation start command, changes the mode from the slave mode to the master mode, Transmits a signal including a unique ID and an address request command, changes from the master mode to the slave mode, receives the signal including the unique ID and the second address, and changes the first address to the second address .

상기 전자 가격 표시기(310)는 SDA(Serial data) 라인을 감지하는 명령어를 더 포함하고, 상기 SDA(Serial data) 라인으로부터 low 신호가 감지되는 동안 High 신호를 전송하며, 상기 유니크 아이디와 주소 요청명령을 포함하는 신호의 송신을 중단한다.The electronic price indicator 310 further includes an instruction for sensing an SDA line and transmits a High signal while a low signal is detected from the SDA line, Lt; / RTI >

전술환 전자 가격 표시기(310) 및 단말 장치(300)의 특징은 단말 장치(300)의 중복주소 판단방법 및 주소 갱신 방법에 대응되는 것으로, 상세한 설명은 전술하였다.The features of the tactical ring electronic price indicator 310 and the terminal device 300 correspond to the duplicate address determination method and the address update method of the terminal device 300, and the details have been described above.

도 14는 단말 장치(300)의 전체적인 구성을 도시한 블록도이다.FIG. 14 is a block diagram showing the overall configuration of the terminal device 300. FIG.

단말 장치(300)는 제 1 I2C 인터페이스(130); 제 1 프로세서(110); 제 1 메모리(120); 및 상기 제 1 메모리(120)에 저장되고 상기 제 1 프로세서(110)에 의해 실행되도록 구성된 하나 이상의 프로그램;을 포함하며, 상기 하나 이상의 프로그램은, 제1 주소와 유니크 아이디 요청 명령을 포함하는 신호를 송신하고, 유니크 아이디와 오류 검출 코드를 포함하는 신호를 수신하며, 상기 오류 검출코드를 이용하여 수신된 신호의 오류를 판단하고, 상기 수신된 신호가 오류인 경우 상기 제1 주소를 중복된 주소로 판단하는 명령어들을 포함한다.The terminal device 300 includes a first I2C interface 130; A first processor 110; A first memory (120); And one or more programs stored in the first memory (120) and configured to be executed by the first processor (110), the one or more programs including a first address and a signal including a unique ID request command Receiving a signal including a unique ID and an error detection code, determining an error of the received signal using the error detection code, and transmitting the first address to a duplicate address if the received signal is an error ≪ / RTI >

제 1 I2C 인터페이스(130)는 I2C 방식으로 전자 가격 표시기(310)와 통신을 수행하기 위한 인터페이스다. 제 1 I2C 인터페이스(130)는 복수의 커넥터들 또는 와이어들을 포함하는 I2C 버스(132)를 통해 통신하도록 구성 가능한 라인 인터페이스이다.The first I 2 C interface 130 is an interface for performing communication with the electronic price indicator 310 in the I 2 C scheme. The first I2C interface 130 is a line interface that is configurable to communicate over an I2C bus 132 that includes a plurality of connectors or wires.

제 1 프로세서(110)는 단말 장치(300)를 총괄 제어한다. 즉, 제 1 프로세서(110)는 단말 장치(300)에 대한 다양한 기능들을 수행하기 위해 그리고 데이터를 프로세싱하기 위해 제 1 메모리(120)에 저장된 다양한 소프트웨어 프로그램들 및/또는 명령어들의 세트들을 구동 또는 실행시킨다.The first processor 110 collectively controls the terminal device 300. That is, the first processor 110 may operate or execute various software programs and / or sets of instructions stored in the first memory 120 to perform various functions for the terminal device 300 and to process the data. .

명령어는 코드로서, 본 명세서에서 기술되는 기능을 구현하도록 구성될 수 있다.The instructions, as code, may be configured to implement the functions described herein.

제 1 메모리(120)는 전력 소모가 적으며, 배터리가 공급되지 않아도 데이터가 유지되는 플래쉬 메모리이다. 그러나 이에 한정되지 않으며, 공지된 반도체 메모리 중 적절한 다른 것들이 채택될 수 있다. 제 1 메모리(120)는 상품 관련 정보, 주소 테이블등을 저장할 수 있다.The first memory 120 is a flash memory in which power consumption is low and data is held even when no battery is supplied. However, it is not limited thereto, and other suitable ones of the known semiconductor memories can be employed. The first memory 120 may store product related information, an address table, and the like.

단말 장치(300)는 무선 인터페이스(140)를 더 포함할 수 있다. 무선 인터페이스(140)는 지그비(Zigbee) 방식으로 게이트 웨이(430)와 통신한다. 지그비 통신은 IEEE 802.15.4 표준에 기초하여 PHY/MAC을 정의하고 있는 통신 방식 중 하나로, 전력 소모가 적고 보안성이 우수한 근거리 저속 통신 규격이다. 그러나 제안된 발명은 이에 한정되는 것은 아니며, 블루투스(Bluetooth)나 혹은 지그비의 통신 규격 중 일부만을 채택한 통신 방식과 같이 다양한 근거리 통신 방식이 적용될 수 있다.The terminal device 300 may further include a wireless interface 140. The wireless interface 140 communicates with the gateway 430 in a Zigbee manner. Zigbee communication is one of the communication methods that define the PHY / MAC based on the IEEE 802.15.4 standard. It is a low-speed, low-speed communication standard with low power consumption and excellent security. However, the present invention is not limited thereto, and various short-range communication methods such as Bluetooth or a communication method adopting only a part of the ZigBee communication standard can be applied.

단말 장치(300)는 타이머(150)를 더 포함할 수 있다. 타이머(150)는 제 1 프로세서(110)가 슬립 모드인 경우에도 활성화되어 작동하며, 제 1 프로세서(110)에 의해 설정된 일정한 주기로 인터럽트를 발생하여 제 1 프로세서(110)를 웨이크업 시킨다. 이 웨이크업 타임 슬롯(Time Slot)은 서버(410)에 의하여 단말 장치(300)간에 충돌되지 않도록 결정될 수 있다.The terminal device 300 may further include a timer 150. The timer 150 is activated even when the first processor 110 is in the sleep mode and generates an interrupt at a predetermined cycle set by the first processor 110 to wake up the first processor 110. [ This wake up time slot may be determined by the server 410 so as not to collide with the terminal devices 300.

단말 장치(300)는 제1 주소와 유니크 아이디 요청 명령을 포함하는 신호를 송신한다. 단말 장치(300)는 브로드캐스팅으로 제1 주소와 유니크 아이디 요청 명령을 포함하는 신호를 모든 전자 가격 표시기(310)로 송신한다. 즉, 단말 장치(300)는 브로드캐스팅으로 제1 주소와 유니크 아이디 요청 명령을 포함하는 신호를 모든 전자 가격 표시기(310)로 쓰기 한다. 모든 전자 가격 표시기(310)는 단말 장치(300)와 I2C 통신을 하는 전자 가격 표시기(310)다.The terminal device 300 transmits a signal including a first address and a unique ID request command. The terminal device 300 transmits a signal including a first address and a unique ID request command to all the electronic price indicators 310 by broadcasting. That is, the terminal device 300 writes a signal including a first address and a unique ID request command to all the electronic price indicators 310 by broadcasting. The electronic price indicator 310 is an electronic price indicator 310 for performing I 2 C communication with the terminal device 300.

단말 장치(300)는 제1 주소와 유니크 아이디 요청 명령을 포함하는 신호를 송신하여 하나의 주소에 둘 이상의 전자 가격 표시기(310)가 할당되어 있는지 여부를 확인한다.The terminal device 300 transmits a signal including a first address and a unique ID request command to determine whether two or more electronic price indicators 310 are allocated to one address.

단말 장치(300)는 주소 테이블에 포함된 주소의 개수만큼 특정 주소와 유니크 아이디 요청 명령을 포함하는 신호를 생성하여 송신한다. 전자 가격 표시기(310)는 주소의 개수만큼 생성된 제1 주소와 유니크 아이디 요청 명령을 포함하는 신호를 수신한다. 여기서 제1 주소는 다수의 전자 가격 표시기(310) 중 어느 하나의 전자 가격 표시기(310)의 주소이다.The terminal device 300 generates and transmits a signal including a specific address and a unique ID request command by the number of addresses included in the address table. The electronic price indicator 310 receives a signal including a first address generated by the number of addresses and a unique ID request command. Here, the first address is the address of one of the plurality of electronic price indicators 310.

단말 장치(300)는 유니크 아이디와 오류 검출 코드를 포함하는 신호를 수신한다. 단말 장치(300)가 상기 제1 주소에 할당된 전자 가격 표시기(310)로부터 유니크 아이디와 오류 검출 코드를 포함하는 신호를 수신한다.The terminal device 300 receives a signal including a unique ID and an error detection code. The terminal device 300 receives a signal including a unique ID and an error detection code from the electronic price indicator 310 assigned to the first address.

유니크 아이디와 오류 검출 코드를 포함하는 신호를 수신한다는 것은 단말 장치(300)가 유니크 아이디와 오류 검출 코드를 전자 가격 표시기(310)로부터 읽기(Write)한다는 것이다.Receiving a signal including a unique ID and an error detection code means that the terminal device 300 reads a unique ID and an error detection code from the electronic price indicator 310.

여기서 오류 검출 코드는 순환 중복 검사(CRC: Cyclic Redundancy Checking)값이다. 순환 중복 검사는 순환 중복 검사값을 전송할 때 전송된 데이터에 오류가 있는지를 확인하기 위한 체크값을 결정하는 방식이다.Here, the error detection code is a CRC (Cyclic Redundancy Checking) value. The cyclic redundancy check is a method of determining a check value to check whether there is an error in the transmitted data when transmitting the cyclic redundancy check value.

단말 장치(300)는 상기 오류 검출코드를 이용하여 수신된 신호의 오류를 판단한다.The terminal device 300 determines the error of the received signal using the error detection code.

동일한 유니크 아아디를 기초로 계산된 순환 중복 검사 값은 동일하다. 즉, 전자 가격 표시기(310)가 유니크 아아디를 기초로 계산한 순환 중복 검사 값은 단말 장치(300)가 동일한 유니크 아이디를 기초로 계산한 순환 중복 검사 값과 동일하다.The cyclic redundancy check values calculated based on the same unique ID are the same. That is, the cyclic redundancy check value calculated by the electronic price indicator 310 based on the unique ID is the same as the cyclic redundancy check value calculated by the terminal 300 based on the same unique ID.

만약 하나의 주소에 둘 이상의 전자 가격 표시기(310)가 할당되어 있는 경우 상기 하나의 주소를 포함하는 유니크 아이디 요청 명령을 수신한 둘 이상의 전자 가격 표시기(310)는 유니크 아이디와 오류 검출 코드를 포함하는 신호를 각각 동시에 송신하게 된다.If two or more electronic price indicators 310 are assigned to one address, the two or more electronic price indicators 310 receiving the unique ID request command including the one address include a unique ID and an error detection code Signal at the same time.

단말 장치(300)는 단말 장치(300)가 산출한 유니크 아이디에 대한 오류 검출코드 및 상기 유니크 아이디를 가지는 전자 가격 표시기(310)로부터 수신한 오류 검출코드을 비교하여 일치 여부를 판단한다. 일치하지 않으면 오류라고 판단한다.The terminal device 300 compares the error detection code for the unique ID calculated by the terminal device 300 and the error detection code received from the electronic price indicator 310 having the unique ID to determine whether or not they match. If they do not match, it is determined to be an error.

단말 장치(300)는 상기 수신된 신호가 오류인 경우 상기 제1 주소를 중복된 주소로 판단한다. 단말 장치(300)는 산출한 유니크 아이디에 대한 오류 검출코드 및 상기 유니크 아이디를 가지는 전자 가격 표시기(310)로부터 수신한 오류 검출코드을 비교하여 일치하지 않는 경우 상기 제1 주소에 두개 이상의 전자 가격 표시기(310)가 할당되어있다고 판단한다.If the received signal is an error, the terminal device 300 determines that the first address is a duplicate address. The terminal device 300 compares the error detection code for the calculated unique ID and the error detection code received from the electronic price indicator 310 having the unique ID, and if there is no match, the terminal device 300 displays two or more electronic price indicators 310) is allocated to each of the first and second channels.

이러한 판단은 모든 주소에 대해 이루어진다. 하나의 주소에 둘 이상의 전자 가격 표시기(310)가 존재한다고 판단하는 경우, 단말 장치(300)는 전술한 주소 테이블에서 상기 주소의 상태를 2로 갱신한다. 주소의 상태가 2라는 것은 상기 주소에 둘 이상의 전자 가격 표시기(310)가 할당되었다는 것이다.This judgment is made for all addresses. If it is determined that there is more than one electronic price indicator 310 in one address, the terminal device 300 updates the state of the address to 2 in the address table described above. If the state of the address is 2, it means that two or more electronic price indicators 310 have been assigned to the address.

하나의 주소에 둘이상의 전자 가격 표시기(310)가 할당 되어 있다고 판단하면, 후술할 상기 제1 주소와 주소할당 시작 명령을 포함하는 신호를 송신하며, 상기 마스터 모드에서 슬래이브 모드로 변경하고, 상기 유니크 아이디와 주소 요청명령을 포함하는 신호를 수신하며, 상기 슬래이브 모드에서 상기 마스터 모드로 변경한다.When it is determined that two or more electronic price indicators 310 are allocated to one address, a signal including the first address and an address allocation start command to be described later is transmitted, and the master mode is changed to the slave mode, Receives a signal including a unique ID and an address request command, and changes from the slave mode to the master mode.

단말 장치(300)는 상기 유니크 아이디 및 제2 주소가 포함된 신호를 송신모든 주소에 대하여, 하나의 주소에 하나의 전자 가격 표시기(310)만이 할당될 때까지 전술한 과정을 수행한다.The terminal 300 performs the above procedure until all the addresses for transmitting the signal including the unique ID and the second address are allocated until only one electronic price indicator 310 is allocated to one address.

둘 이상의 전자 가격 표시기(310)가 동일한 SDA 라인을 통해 둘 이상의 전자 가격 표시기(310) 각각이 생성한 유니크 아이디와 오류 검출 코드를 포함하는 신호를 단말 장치(300)로 송신하는 경우, 둘 이상의 전자 가격 표시기(310) 각각이 생성한 유니크 아이디와 오류 검출 코드를 포함하는 신호가 비트 연산이 돼서 단말 장치(300)로 전송된다. When two or more electronic price indicators 310 transmit a signal including the unique ID and error detection code generated by each of two or more electronic price indicators 310 to the terminal device 300 via the same SDA line, The signal including the unique ID and the error detection code generated by each of the price indicators 310 is transmitted as a bit operation to the terminal device 300.

비트 연산 중 AND 연산이 수행되는데, AND 연산은 둘 이상의 유니크 아이디와 오류 검출 코드를 포함하는 신호의 각 자릿수를 비교해, 각 자리수 모두에 1이 있을 때에는 1, 나머지 경우에는 0으로 연산한다. An AND operation is performed during a bit operation. The AND operation compares the number of digits of a signal including two or more unique IDs and an error detection code. When the digits are both 1, the AND operation computes 1 and the remaining digits are 0.

AND 연산된 결과는 단말 장치(300)로 전송된다. 단말 장치(300)가 비트 연산된 유니크 아이디와 오류 검출 코드를 포함하는 신호를 수신하면 자신이 계산한 오류 검출 코드가 다르기 때문에, 주소에 둘 이상의 전자 가격 표시기(310)가 할당되었다고 판단한다.The result of the AND operation is transmitted to the terminal device 300. When the terminal device 300 receives a signal including a bit-operated unique ID and an error detection code, it determines that two or more electronic price indicators 310 are assigned to the address because the calculated error detection code is different.

단말 장치(300)가 복수의 전자 가격 표시기(310)로부터 비트 연산된 데이터를 수신하는 과정은 도 7에서 설명하였다.The process in which the terminal device 300 receives the bit-operated data from the plurality of electronic price indicators 310 has been described with reference to FIG.

단말 장치(300)는 비트 연산된 유니크 아이디와 오류 검출 코드를 포함하는 신호를 수신하고, 상기 비트 연산된 오류 검출 코드와 단말 장치(300)가 유니크 아이디에 기초하여 계산한 오류 검출 코드를 비교한다. The terminal device 300 receives the signal including the bit-processed unique ID and the error detection code, and compares the bit-operated error detection code with the error detection code calculated by the terminal 300 based on the unique ID .

결국 단말 장치(300)는 유니크 아이디에 기초하여 계산한 오류 검출 코드와 수신한 오류 검출 코드가 다른 경우 상기 주소에는 둘 이상의 전자 가격 표시기(310)가 할당되어 있다고 판단한다.As a result, if the error detection code calculated based on the unique ID is different from the received error detection code, the terminal device 300 determines that two or more electronic price indicators 310 are allocated to the address.

상기 단말 장치(300)는 마스터 모드로 동작하고, 상기 하나 이상의 프로그램은The terminal device 300 operates in the master mode, and the one or more programs

상기 제1 주소와 주소할당 시작 명령을 포함하는 신호를 송신하며, 상기 마스터 모드에서 슬래이브 모드로 변경하고, 상기 유니크 아이디와 주소 요청명령을 포함하는 신호를 수신하며, 상기 슬래이브 모드에서 상기 마스터 모드로 변경하고, 상기 유니크 아이디 및 제2 주소가 포함된 신호를 송신하는 명령어들을 더 포함하고, 상기 제2 주소는, 상기 제1 주소와 다른 값을 포함한다.Wherein the first address and the address assignment start command are transmitted, the master mode is changed to the slave mode, the signal including the unique ID and the address request command is received, and in the slave mode, Mode, and transmitting a signal including the unique ID and the second address, wherein the second address includes a value different from the first address.

하나의 주소에 할당된 전자 가격 표시기(310)가 복수개인 경우를 전제로 전술한 수신된 신호가 오류인 경우 상기 제1 주소를 중복된 주소로 판단한 이후에, 상기 단말 장치(300)가 마스터 모드로 동작하고, 상기 제1 주소와 주소할당 시작 명령을 포함하는 신호를 송신한다.If the received signal is an error based on the assumption that there are a plurality of electronic price indicators 310 assigned to one address, the terminal device 300 determines that the first address is a duplicate address, And transmits a signal including the first address and an address allocation start command.

상기 단말 장치(300)가 제1 주소와 주소할당 시작 명령을 포함하는 신호를 송신하는 것은 하나의 주소에 두개 이상의 전자 가격 표시기(310)가 할당되어 있는 경우를 전제로 한다. 이러한 전제를 기초로, 단말 장치(300)는 하나의 주소에 단 하나의 전자 가격 표시기(310)만 할당될 수 있도록 제1 주소와 주소할당 시작 명령을 포함하는 신호를 모든 전자 가격 표시기(310)로 송신한다.The terminal device 300 transmits a signal including a first address and an address allocation start command in a case where two or more electronic price indicators 310 are allocated to one address. Based on this premise, the terminal device 300 transmits a signal including a first address and an address allocation start command to all the electronic price indicators 310 so that only one electronic price indicator 310 can be allocated to one address, .

단말 장치(300)가 송신하는 제1 주소와 주소할당 시작 명령을 포함하는 신호에 포함된 주소는 두개 이상의 전자 가격 표시기(310)가 할당되어 있는 주소이다. 단말 장치(300)는 주소 테이블을 관리한다. 주소 테이블은 주소, 주소의 상태, 상기 주소를 가지는 전자 가격 표시기(310)의 유니크 아이디(Unique ID)를 포함한다. 주소의 상태는 상기 주소에 몇 개의 전자 가격 표시기(310)가 할당되어 있는지를 보여준다. 단말 장치(300)는 상기 주소 테이블을 통해 두개 이상의 전자 가격 표시기(310)가 할당된 주소를 추출하여, 두개 이상의 전자 가격 표시기(310)가 할당된 제1 주소와 주소할당 시작 명령을 포함하는 신호를 생성하여 전자 가격 표시기(310)로 송신한다.An address included in a signal including a first address and an address allocation start command transmitted by the terminal 300 is an address to which two or more electronic price indicators 310 are allocated. The terminal device 300 manages the address table. The address table includes an address, a status of the address, and a unique ID of the electronic price indicator 310 having the address. The status of the address shows how many electronic price indicators 310 are assigned to the address. The terminal device 300 extracts an address to which two or more electronic price indicators 310 are allocated through the address table and generates a signal including a first address allocated to two or more electronic price indicators 310 and an address assignment start command And transmits it to the electronic price indicator 310.

단말 장치(300)는 모든 전자 가격 표시기(310)로 제1 주소와 주소할당 시작 명령을 포함하는 신호를 송신하지만, 상기 제1 주소를 가지는 전자 가격 표시기(310)만이 후술할 유니크 아이디와 주소 요청명령을 포함하는 신호를 생성한다.  The terminal device 300 transmits a signal including a first address and an address allocation start command to all the electronic price indicators 310. However, only the electronic price indicator 310 having the first address transmits a unique ID and an address request And generates a signal including an instruction.

단말 장치(300)가 마스터 모드에서 슬래이브 모드로 변경하는 것은 제1 주소와 주소할당 시작 명령을 포함하는 신호를 송신한 이후이다.The change of the terminal device 300 from the master mode to the slave mode is after transmitting the signal including the first address and the address allocation start command.

단말 장치(300)가 상기 유니크 아이디와 주소 요청명령을 포함하는 신호를 수신하는 것은 슬레이브 모드로 변경된 단말 장치(300)는 전자 가격 표시기(310)로부터 유니크 아이디와 주소 요청명령을 포함하는 신호를 수신하는 것이다.When the terminal device 300 receives the signal including the unique ID and the address request command, the terminal device 300 changed to the slave mode receives the signal including the unique ID and the address request command from the electronic price indicator 310 .

단말 장치(300)는 제 1 주소에 할당된 둘 이상의 전자 가격 표시기(310) 중 어느 하나의 전자 가격 표시기(310)로부터 유니크 아이디와 주소 요청명령을 포함하는 신호를 수신한다.The terminal device 300 receives a signal including a unique ID and an address request command from one of the two or more electronic price indicators 310 assigned to the first address.

상기 제 1 주소에 할당된 둘 이상의 전자 가격 표시기(310)가 유니크 아이디와 주소 요청명령을 포함하는 신호를 생성한다. 단말 장치(300)로부터 모든 전자 가격 표시기(310)가 전술한 제1 주소와 주소할당 시작 명령을 포함하는 신호를 수신하지만, 제1 주소를 가지는 전자 가격 표시기(310)들만 유니크 아이디와 주소 요청명령을 포함하는 신호를 생성한다.Two or more electronic price indicators 310 assigned to the first address generate a signal including a unique ID and an address request command. All the electronic price indicator 310 receives a signal including the first address and the address allocation start command from the terminal 300. However, only the electronic price indicator 310 having the first address receives the unique ID and the address request command ≪ / RTI >

전술한 제1 주소와 주소할당 시작 명령을 포함하는 신호에 포함된 제1 주소를 가지는 전자 가격 표시기(310)들은 제1 주소와 주소할당 시작 명령을 포함하는 신호를 수신한 후에 마스터 모드로 전환된다. 전자 가격 표시기(310)가 마스터 모드로 전환된다는 것은 단말 장치(300)처럼 다른 장치로 특정 정보를 요청할 수 있음을 의미한다. The electronic price indicators 310 having the first address included in the signal including the first address and the address allocation start command are switched to the master mode after receiving the signal including the first address and the address allocation start command . The switching of the electronic price indicator 310 to the master mode means that the terminal 300 can request specific information from another device.

즉, 마스터 모드로 전환된 전자 가격 표시기(310)는 유니크 아이디와 주소 요청명령을 포함하는 신호와 같은 요청 명령을 임의의 장치, 예를 들어 단말 장치(300) 또는 다른 전자 가격 표시기(310)로 송신할 수 있다.That is, the electronic price indicator 310, which has been switched to the master mode, transmits a request command, such as a signal including a unique ID and an address request command, to an arbitrary device such as the terminal device 300 or another electronic price indicator 310 Can be transmitted.

상기 둘 이상의 전자 가격 표시기(310)는 제1 주소와 주소할당 시작 명령을 포함하는 신호에 포함된 제1 주소를 가지는 전자 가격 표시기(310)다. The electronic price indicator 310 is an electronic price indicator 310 having a first address included in a signal including a first address and an address allocation start command.

둘 이상의 전자 가격 표시기(310)는 동일한 데이터 라인을 통해 둘 이상의 전자 가격 표시기(310) 각각이 생성한 유니크 아이디와 주소 요청명령을 포함하는 신호를 단말 장치(300)로 송신한다. 둘 이상의 전자 가격 표시기(310) 각각이 생성한 유니크 아이디와 주소 요청명령을 포함하는 신호는 비트 연산이 돼서 단말 장치(300)로 전송된다. 비트 연산 중 AND 연산이 수행되는데, AND 연산은 둘 이상의 유니크 아이디와 주소 요청명령을 포함하는 신호의 각 자릿수를 비교해, 각 자리수 모두에 1이 있을 때에는 1, 나머지 경우에는 0으로 연산한다. AND 연산된 결과는 단말 장치(300)로 전송된다.More than one electronic price indicator 310 transmits a signal including a unique ID and an address request command generated by each of two or more electronic price indicators 310 to the terminal device 300 through the same data line. The signal including the unique ID and the address request command generated by each of the two or more electronic price indicators 310 is bit-processed and transmitted to the terminal device 300. An AND operation is performed during a bit operation. The AND operation compares the number of digits of a signal including two or more unique IDs and an address request command, and when the number of digits is 1, 1 is calculated. The result of the AND operation is transmitted to the terminal device 300.

이때 상기 둘 이상의 전자 가격 표시기(310) 중 어느 하나의 전자 가격 표시기(310)가 1을 송신할 때 데이터 라인이 0인 경우 상기 어느 하나의 전자 가격 표시기(310)는 송신을 중단한다. 어느 하나의 전자 가격 표시기(310)가 1을 송신할 때 데이터 라인이 0이라는 것은 다른 하나의 전자 가격 표시기(310)가 상기 데이터 라인으로 0을 송신했음을 의미한다.At this time, when one of the two or more electronic price indicators 310 transmits 1, if the data line is 0, the one of the electronic price indicators 310 stops the transmission. When one of the electronic price indicators 310 transmits 1, the data line is 0, which means that the other electronic price indicator 310 has transmitted 0 to the data line.

상기 둘 이상의 전자 가격 표시기(310) 중 어느 하나의 전자 가격 표시기(310)가 예를 들어 n 비트인 유니크 아이디와 주소 요청명령을 포함하는 신호를 송신할 때 다른 하나 이상의 전자 가격 표시기(310)도 n 비트인 유니크 아이디와 주소 요청명령을 포함하는 신호를 송신한다. When one electronic price indicator 310 of the two or more electronic price indicators 310 transmits a signal including a unique ID and an address request command of, for example, n bits, the other electronic price indicator 310 and transmits a signal including a unique ID that is n bits and an address request command.

상기 둘 이상의 전자 가격 표시기(310)가 n 비트의 유니크 아이디와 주소 요청명령을 포함하는 신호를 각 비트별로 순차적으로 동일한 데이터 라인을 통해 송신하는 과정에서, 어느 하나의 전자 가격 표시기(310)가 1을 송신할 때 데이터 라인이 0인 경우 상기 어느 하나의 전자 가격 표시기(310)는 상기 1 다음 비트를 송신하지 않고 송신을 중단한다.In the process in which the two or more electronic price indicators 310 sequentially transmit the signal including the n-bit unique ID and the address request command through the same data line for each bit, When the data line is 0, the electronic price indicator 310 stops transmission without transmitting the next bit.

유니크 아이디와 주소 요청명령을 포함하는 신호는 단말 장치(300)의 주소, 읽기 또는 쓰기를 의미하는 정보, 명령을 의미하는 정보 및 전자 가격 표시기(310)의 유니크 아이디를 포함한다. 상기 둘 이상의 전자 가격 표시기(310)는 같은 단말 장치(300)로 자신의 유니크 아이디를 포함하는 유니크 아이디와 주소 요청명령을 포함하는 신호를 전달하면서 새로운 주소를 요청한다. The signal including the unique ID and the address request command includes the address of the terminal 300, the information indicating the reading or writing, the information indicating the command, and the unique ID of the electronic price indicator 310. The two or more electronic price indicator 310 requests a new address while transmitting a signal including a unique ID including its own unique ID and an address request command to the same terminal device 300.

결국, 상기 둘 이상의 전자 가격 표시기(310)가 생성한 유니크 아이디와 주소 요청명령을 포함하는 신호는 동일한 단말 장치(300)의 주소, 쓰기를 의미하는 정보, 명령을 의미하는 정보를 포함한다. 다만, 상기 둘 이상의 전자 가격 표시기(310)가 생성한 유니크 아이디와 주소 요청명령을 포함하는 신호는 각각 자신의 유니크 아이디를 포함하기 때문에 상이한 유니크 아이디를 포함한다.As a result, the signal including the unique ID and the address request command generated by the two or more electronic price indicators 310 includes the address of the same terminal 300, information indicating the writing, and information indicating the command. However, since the signals including the unique ID and the address request command generated by the two or more electronic price indicators 310 include their own unique IDs, they include different unique IDs.

상기 둘 이상의 전자 가격 표시기(310)가 생성한 유니크 아이디와 주소 요청명령을 포함하는 신호는 유니크 아이디만 상이하기 때문에, 자신의 유니크 아이디에 기초하여 1을 더 늦게 출력하는 전자 가격 표시기(310)는 송신을 중단하지 않게 된다. 전자 가격 표시기(310)는 유니크 아이디의 각 비트를 첫번째 자리수부터 마지막 자리수까지 순차적으로 전송하기 때문에, 1을 더 후순위의 자리수에 포함하는 전자 가격 표시기(310)가 송신을 중단하지 않게 된다.Since the signals including the unique ID and the address request command generated by the two or more electronic price indicators 310 differ from each other by unique IDs, the electronic price indicator 310 for outputting 1 later on the basis of the own unique ID The transmission is not interrupted. Since the electronic price indicator 310 sequentially transmits each bit of the unique ID from the first digit to the last digit, the electronic price indicator 310 including 1 in the subordinate digits does not stop the transmission.

반대로 1을 더 선순위의 자리수에 포함하는 유니크 아이디를 가지는 전자 가격 표시기(310)는 1을 전송할 때, 다른 전자 가격 표시기(310)가 0을 전송함에 따라 데이터 라인이 0 이기 때문에, 전송을 중단한다.On the contrary, when the electronic price indicator 310 having a unique ID that includes 1 in the higher priority digit transmits 1, the transmission is stopped because the data line is 0 as the other electronic price indicator 310 transmits 0 .

결국, 같은 주소를 가지는 복수의 전자 가격 표시기(310) 중 단 하나의 전자 가격 표시기(310)만이 단말 장치(300)로 유니크 아이디와 주소 요청명령을 포함하는 신호가 포함하는 각 비트를 처음부터 끝까지 송신하게 된다.As a result, only a single electronic price indicator 310 among the plurality of electronic price indicators 310 having the same address can transmit each bit included in the signal including the unique ID and address request command to the terminal device 300 from the beginning to the end .

단말 장치(300)를 기준으로 설명하면, 단말 장치(300)는 단 하나의 전자 가격 표시기(310)로부터 유니크 아이디와 주소 요청명령을 포함하는 신호를 수신한다.Referring to the terminal device 300, the terminal device 300 receives a signal including a unique ID and an address request command from a single electronic price indicator 310.

단말 장치(300)는 유니크 아이디와 주소 요청명령을 포함하는 신호를 수신한 이후에 슬래이브 모드에서 마스터 모드로 변경한다.The terminal device 300 changes from the slave mode to the master mode after receiving the signal including the unique ID and the address request command.

단말 장치(300)가 유니크 아이디 및 제2 주소가 포함된 신호를 송신하는 것은 단말 장치(300)가 유니크 아이디 및 제2 주소가 포함된 신호를 전자 가격 표시기(310)로 송신하는 것이다.The terminal device 300 transmits a signal including the unique ID and the second address in that the terminal device 300 transmits a signal including the unique ID and the second address to the electronic price indicator 310.

상기 유니크 아이디 및 제2 주소가 포함된 신호를 수신하는 전자 가격 표시기(310)는 단말 장치(300)와 통신하는 모든 전자 가격 표시기(310)다. 단말 장치(300)는 브로드 캐스팅으로 유니크 아이디 및 제2 주소가 포함된 신호를 송신하여, 모든 전자 가격 표시기(310)는 유니크 아이디 및 제2 주소가 포함된 신호를 수신한다.The electronic price indicator 310 receiving the signal including the unique ID and the second address is all the electronic price indicator 310 communicating with the terminal 300. The terminal device 300 transmits a signal including the unique ID and the second address by broadcasting, and all the electronic price indicators 310 receive the signal including the unique ID and the second address.

상기 유니크 아이디는 상기 둘 이상의 전자 가격 표시기(310) 중 송신을 중단하지 않고 유니크 아이디와 주소 요청명령을 포함하는 신호를 송신한 전자 가격 표시기(310)의 유니크 아이디이다. 즉, 상기 전자 가격 표시기(310)는 전술한 제1 주소와 주소할당 시작 명령을 포함하는 신호에 포함된 주소를 가지는 전자 가격 표시기(310) 중 생성한 유니크 아이디와 주소 요청명령을 포함하는 신호에서 1을 더 후순위의 자리수에 포함하는 전자 가격 표시기(310)다.The unique ID is a unique ID of the electronic price indicator 310 that transmits a signal including a unique ID and an address request command without stopping transmission among the two or more electronic price indicators 310. That is, the electronic price indicator 310 includes a unique ID and an address request command generated from the electronic price indicator 310 having the address included in the signal including the first address and the address allocation start command, 1 in the number of subordinate digits.

단말 장치(300)가 생성한 유니크 아이디 및 제2 주소가 포함된 신호는 상기 단 하나의 전자 가격 표시기(310)의 주소 및 유니크 아이디뿐만 아니라 상기 단 하나의 전자 가격 표시기(310)가 갱신할 새주소인 제 2 주소도 포함한다. 제 2 주소는 전술한 주소 테이블에 포함된 주소 중 하나로 전자 가격 표시기(310)가 하나도 할당되지 않은 주소이다.The signal including the unique ID and the second address generated by the terminal device 300 is transmitted to the electronic price indicator 310 through the electronic price indicator 310, It also includes the second address. The second address is an address in which no electronic price indicator 310 is assigned to one of the addresses included in the address table.

즉, 제2 주소는 상기 제1 주소와 다른 값을 포함한다.That is, the second address includes a value different from the first address.

단말 장치(300)는 상기 전자 가격 표시기(310)가 하나도 할당되지 않은 주소가 복수개인 경우 비트값이 가장 작은 주소를 새주소로 결정할 수 있다.The terminal device 300 can determine that the address having the smallest bit value is a new address when there are a plurality of addresses to which the electronic price indicator 310 is not assigned.

단말 장치(300)와 통신하는, 구체적으로 I2C통신하는 모든 전자 가격 표시기(310)가 유니크 아이디 및 제2 주소가 포함된 신호를 수신하지만, 유니크 아이디에 대응하는 전자 가격 표시기(310)만 자신의 주소를 상기 유니크 아이디 및 제2 주소가 포함된 신호에 포함된 제2 주소로 갱신한다. All of the electronic price indicators 310 communicating with the terminal 300, specifically the I2C communication, receive signals including the unique ID and the second address, but only the electronic price indicator 310 corresponding to the unique ID And updates the address to the second address included in the signal including the unique ID and the second address.

전자 가격 표시기(310)는 유니크 아이디 및 제2 주소가 포함된 신호에 포함된 유니크 아이디가 자신의 유니크 아이디가 아닌 경우 상기 유니크 아이디 및 제2 주소가 포함된 신호를 무시한다.The electronic price indicator 310 ignores signals including the unique ID and the second address when the unique ID included in the signal including the unique ID and the second address is not the unique ID.

전술한 단말 장치(300)가 상기 제1 주소와 주소할당 시작 명령을 포함하는 신호를 송신하며, 상기 마스터 모드에서 슬래이브 모드로 변경하고, 상기 유니크 아이디와 주소 요청명령을 포함하는 신호를 수신하며, 상기 슬래이브 모드에서 상기 마스터 모드로 변경하고, 상기 유니크 아이디 및 제2 주소가 포함된 신호를 송신함에 따라 하나의 주소에 할당된 둘 이상의 전자 가격 표시기(310) 중 하나의 전자 가격 표시기(310)는 자신의 주소를 새로운 주소로 갱신하여 주소 중복의 문제를 해결하게 된다.The terminal device 300 transmits a signal including the first address and an address allocation start command, changes to the slave mode in the master mode, receives the signal including the unique ID and the address request command , One of two or more electronic price indicators (310) assigned to one address as the signal including the unique ID and the second address is transmitted in the slave mode to the master mode ) Resolves the problem of address duplication by updating its address with a new address.

도 15는 전자 가격 표시기(310)의 전체적인 구성을 도시한 블록도이다.15 is a block diagram showing the overall configuration of the electronic price indicator 310. As shown in FIG.

슬레이브 모드로 동작하는 전자 가격 표시기(310)에 있어서, 전자 가격 표시기(310)는 In the electronic price indicator 310 operating in the slave mode, the electronic price indicator 310

제 2 I2C 인터페이스(230); 제 2 프로세서(210); 제 2 메모리(220); 및 상기 제 2 메모리(220)에 저장되고 상기 제 2 프로세서(210)에 의해 실행되도록 구성된 하나 이상의 프로그램;을 포함하며, 상기 제 2메모리는 제 1 주소 및 유니크 아이디를 저장하고, 상기 하나 이상의 프로그램은, 상기 제1 주소와 주소할당 시작 명령을 포함하는 신호를 수신하고, 상기 슬레이브 모드에서 마스터 모드로 변경하며, 상기 유니크 아이디와 주소 요청명령을 포함하는 신호를 송신하고 상기 마스터 모드에서 상기 슬레이브 모드로 변경하며, 상기 유니크 아이디 및 제2 주소가 포함된 신호를 수신하여 상기 제1 주소를 상기 제2 주소로 변경하는 명령어를 포함한다.A second I2C interface 230; A second processor 210; A second memory 220; And one or more programs stored in the second memory (220) and configured to be executed by the second processor (210), the second memory storing a first address and a unique ID, and the one or more programs Receives a signal including the first address and an address allocation start command, changes the master mode to the slave mode, transmits a signal including the unique ID and an address request command, and transmits the slave mode And receiving the signal including the unique ID and the second address to change the first address to the second address.

제 2 I2C 인터페이스(230)는 I2C 방식으로 전자 가격 표시기(310)와 통신을 수행하기 위한 인터페이스다. 제 2 I2C 인터페이스(230)는 복수의 커넥터들 또는 와이어들을 포함하는 I2C 버스(132)를 통해 통신하도록 구성 가능한 라인 인터페이스이다.The second I 2 C interface 230 is an interface for performing communication with the electronic price indicator 310 in the I 2 C scheme. The second I2C interface 230 is a line interface that is configurable to communicate over an I2C bus 132 that includes a plurality of connectors or wires.

제 2 프로세서(210)는 단말 장치(300)를 총괄 제어한다. 즉, 제 2 프로세서(210)는 단말 장치(300)에 대한 다양한 기능들을 수행하기 위해 그리고 데이터를 프로세싱하기 위해 제 2 메모리(220)에 저장된 다양한 소프트웨어 프로그램들 및/또는 명령어들의 세트들을 구동 또는 실행시킨다.The second processor 210 controls the terminal device 300 as a whole. That is, the second processor 210 may operate or execute various software programs and / or sets of instructions stored in the second memory 220 to perform various functions for the terminal device 300 and to process the data. .

제 2 메모리(220)는 전력 소모가 적으며, 배터리가 공급되지 않아도 데이터가 유지되는 플래쉬 메모리이다. 그러나 이에 한정되지 않으며, 공지된 반도체 메모리 중 적절한 다른 것들이 채택될 수 있다. 제 2 메모리(220)는 상품 관련 정보, 주소 테이블등을 저장할 수 있다.The second memory 220 is a flash memory in which power consumption is low and data is retained even when no battery is supplied. However, it is not limited thereto, and other suitable ones of the known semiconductor memories can be employed. The second memory 220 may store goods related information, an address table, and the like.

디스플레이(240)는 전자 종이 디스플레이(240)다. 전자 종이 디스플레이(240)에는 정전하가 충전된 반구형 트위스트 볼을 이용한 제록스사의 트위스트 볼 타입, 전기영동법과 마이크로 캡슐을 응용한 E??ink사의 전기영동 디스플레이(240) 및 콜레스테롤 액정을 이용한 Kent Display사의 콜레스테롤 액정 디스플레이(240) 등이 알려져 있다. 전자 종이 디스플레이(240)는 플라스틱 기판에 증착된 폴리실리콘층에 TFT(thin film transistor)를 형성한 TFT 기판과, 투명 전극 기판과, 그 사이에 봉지된 마이크로캡슐층을 구비하고, TFT 기판의 모서리 영역을 재결정화하여 CMOS 회로들이 형성된 형태로 된 제품일 수 있다. 전자 종이 디스플레이(240)는 기준 이상의 전압으로 구동되며, 표시 상태를 유지할 때에는 최소한의 전력을 소모한다.The display 240 is an electronic paper display 240. The electronic paper display 240 includes a twist ball type Xerox using a hemispherical twist ball filled with electrostatic charge, an electrophoretic display 240 of E ?? ink using electrophoresis and microcapsules, and Kent Display Co. using cholesterol liquid crystal Cholesterol liquid crystal display 240 and the like are known. The electronic paper display 240 includes a TFT substrate on which a thin film transistor (TFT) is formed on a polysilicon layer deposited on a plastic substrate, a transparent electrode substrate, and a microcapsule layer sealed therebetween, Region may be recrystallized to form CMOS circuits. The electronic paper display 240 is driven with a voltage higher than the reference, and consumes a minimum amount of power when the display state is maintained.

전자 가격 표시기(310)가 상기 제1 주소와 주소할당 시작 명령을 포함하는 신호를 수신하는 것은 하나의 주소에 두개 이상의 전자 가격 표시기(310)가 할당되어 있는 경우를 전제로 한다. 이러한 전제를 기초로, 단말 장치(300)는 하나의 주소에 단 하나의 전자 가격 표시기(310)만 할당될 수 있도록 제1 주소와 주소할당 시작 명령을 포함하는 신호를 모든 전자 가격 표시기(310)로 송신한다.The electronic price indicator 310 receives a signal including the first address and the address assignment start command assumes that two or more electronic price indicators 310 are assigned to one address. Based on this premise, the terminal device 300 transmits a signal including a first address and an address allocation start command to all the electronic price indicators 310 so that only one electronic price indicator 310 can be allocated to one address, .

전자 가격 표시기(310)가 수신하는 제1 주소와 주소할당 시작 명령을 포함하는 신호에 포함된 주소는 두개 이상의 전자 가격 표시기(310)가 할당되어 있는 주소이다. 단말 장치(300)는 주소 테이블을 관리한다. 주소 테이블은 주소, 주소의 상태, 상기 주소를 가지는 전자 가격 표시기(310)의 유니크 아이디(Unique ID)를 포함한다. 주소의 상태는 상기 주소에 몇 개의 전자 가격 표시기(310)가 할당되어 있는지를 보여준다. 단말 장치(300)는 상기 주소 테이블을 통해 두개 이상의 전자 가격 표시기(310)가 할당된 주소를 추출하여, 두개 이상의 전자 가격 표시기(310)가 할당된 제1 주소와 주소할당 시작 명령을 포함하는 신호를 생성하여 전자 가격 표시기(310)로 송신한다.An address included in a signal including a first address and an address allocation start command received by the electronic price indicator 310 is an address to which two or more electronic price indicators 310 are allocated. The terminal device 300 manages the address table. The address table includes an address, a status of the address, and a unique ID of the electronic price indicator 310 having the address. The status of the address shows how many electronic price indicators 310 are assigned to the address. The terminal device 300 extracts an address to which two or more electronic price indicators 310 are allocated through the address table and generates a signal including a first address allocated to two or more electronic price indicators 310 and an address assignment start command And transmits it to the electronic price indicator 310.

단말 장치(300)는 모든 전자 가격 표시기(310)로 제1 주소와 주소할당 시작 명령을 포함하는 신호를 송신하지만, 상기 제1 주소를 가지는 전자 가격 표시기(310)만이 후술할 유니크 아이디와 주소 요청명령을 포함하는 신호를 생성한다.  The terminal device 300 transmits a signal including a first address and an address allocation start command to all the electronic price indicators 310. However, only the electronic price indicator 310 having the first address transmits a unique ID and an address request And generates a signal including an instruction.

상기 슬레이브 모드에서 마스터 모드로 변경하는 단계(S205)에서 제1 주소와 주소할당 시작 명령을 포함하는 신호를 수신하는 단계(S200) 이후에 전자 가격 표시기(310)는 슬레이브 모드에서 마스터 모드로 변경한다.In step S205 of changing from the slave mode to the master mode, the electronic price indicator 310 changes from the slave mode to the master mode after the step S200 of receiving the signal including the first address and the address allocation start command .

전자 가격 표시기(310)가 상기 유니크 아이디와 주소 요청명령을 포함하는 신호를 송신하는 것은 마스터 모드로 변경된 전자 가격 표시기(310)는 단말 장치(300)로 유니크 아이디와 주소 요청명령을 포함하는 신호를 송신하는 것이다.When the electronic price indicator 310 transmits a signal including the unique ID and the address request command, the electronic price indicator 310 changed to the master mode transmits a signal including a unique ID and an address request command to the terminal device 300 .

제 1 주소에 할당된 전자 가격 표시기(310)는 유니크 아이디와 주소 요청명령을 포함하는 신호를 송신한다.The electronic price indicator 310 assigned to the first address transmits a signal including a unique ID and an address request command.

제 1 주소에 할당된 둘 이상의 전자 가격 표시기(310)가 유니크 아이디와 주소 요청명령을 포함하는 신호를 생성한다. 단말 장치(300)로부터 모든 전자 가격 표시기(310)가 전술한 제1 주소와 주소할당 시작 명령을 포함하는 신호를 수신하지만, 제1 주소를 가지는 전자 가격 표시기(310)들만 유니크 아이디와 주소 요청명령을 포함하는 신호를 생성한다.Two or more electronic price indicators 310 assigned to the first address generate a signal including a unique ID and an address request command. All the electronic price indicator 310 receives a signal including the first address and the address allocation start command from the terminal 300. However, only the electronic price indicator 310 having the first address receives the unique ID and the address request command ≪ / RTI >

전술한 제1 주소와 주소할당 시작 명령을 포함하는 신호에 포함된 제1 주소를 가지는 전자 가격 표시기(310)들은 제1 주소와 주소할당 시작 명령을 포함하는 신호를 수신한 후에 마스터 모드로 전환된다. 전자 가격 표시기(310)가 마스터 모드로 전환된다는 것은 단말 장치(300)처럼 다른 장치로 특정 정보를 요청할 수 있음을 의미한다. The electronic price indicators 310 having the first address included in the signal including the first address and the address allocation start command are switched to the master mode after receiving the signal including the first address and the address allocation start command . The switching of the electronic price indicator 310 to the master mode means that the terminal 300 can request specific information from another device.

즉, 마스터 모드로 전환된 전자 가격 표시기(310)는 유니크 아이디와 주소 요청명령을 포함하는 신호와 같은 요청 명령을 임의의 장치, 예를 들어 단말 장치(300) 또는 다른 전자 가격 표시기(310)로 송신할 수 있다.That is, the electronic price indicator 310, which has been switched to the master mode, transmits a request command, such as a signal including a unique ID and an address request command, to an arbitrary device such as the terminal device 300 or another electronic price indicator 310 Can be transmitted.

상기 둘 이상의 전자 가격 표시기(310)는 제1 주소와 주소할당 시작 명령을 포함하는 신호에 포함된 제1 주소를 가지는 전자 가격 표시기(310)다. The electronic price indicator 310 is an electronic price indicator 310 having a first address included in a signal including a first address and an address allocation start command.

둘 이상의 전자 가격 표시기(310)는 동일한 데이터 라인을 통해 둘 이상의 전자 가격 표시기(310) 각각이 생성한 유니크 아이디와 주소 요청명령을 포함하는 신호를 단말 장치(300)로 송신한다. 둘 이상의 전자 가격 표시기(310) 각각이 생성한 유니크 아이디와 주소 요청명령을 포함하는 신호는 비트 연산이 돼서 단말 장치(300)로 전송된다. 비트 연산 중 AND 연산이 수행되는데, AND 연산은 둘 이상의 유니크 아이디와 주소 요청명령을 포함하는 신호의 각 자릿수를 비교해, 각 자리수 모두에 1이 있을 때에는 1, 나머지 경우에는 0으로 연산한다. AND 연산된 결과는 단말 장치(300)로 전송된다.More than one electronic price indicator 310 transmits a signal including a unique ID and an address request command generated by each of two or more electronic price indicators 310 to the terminal device 300 through the same data line. The signal including the unique ID and the address request command generated by each of the two or more electronic price indicators 310 is bit-processed and transmitted to the terminal device 300. An AND operation is performed during a bit operation. The AND operation compares the number of digits of a signal including two or more unique IDs and an address request command, and when the number of digits is 1, 1 is calculated. The result of the AND operation is transmitted to the terminal device 300.

이때 상기 둘 이상의 전자 가격 표시기(310) 중 어느 하나의 전자 가격 표시기(310)가 1을 송신할 때 데이터 라인이 0인 경우 상기 어느 하나의 전자 가격 표시기(310)는 송신을 중단한다. 어느 하나의 전자 가격 표시기(310)가 1을 송신할 때 데이터 라인이 0이라는 것은 다른 하나의 전자 가격 표시기(310)가 상기 데이터 라인으로 0을 송신했음을 의미한다.At this time, when one of the two or more electronic price indicators 310 transmits 1, if the data line is 0, the one of the electronic price indicators 310 stops the transmission. When one of the electronic price indicators 310 transmits 1, the data line is 0, which means that the other electronic price indicator 310 has transmitted 0 to the data line.

상기 둘 이상의 전자 가격 표시기(310) 중 어느 하나의 전자 가격 표시기(310)가 예를 들어 n 비트인 유니크 아이디와 주소 요청명령을 포함하는 신호를 송신할 때 다른 하나 이상의 전자 가격 표시기(310)도 n 비트인 유니크 아이디와 주소 요청명령을 포함하는 신호를 송신한다. When one electronic price indicator 310 of the two or more electronic price indicators 310 transmits a signal including a unique ID and an address request command of, for example, n bits, the other electronic price indicator 310 and transmits a signal including a unique ID that is n bits and an address request command.

상기 둘 이상의 전자 가격 표시기(310)가 n 비트의 유니크 아이디와 주소 요청명령을 포함하는 신호를 각 비트별로 순차적으로 동일한 데이터 라인을 통해 송신하는 과정에서, 어느 하나의 전자 가격 표시기(310)가 1을 송신할 때 데이터 라인이 0인 경우 상기 어느 하나의 전자 가격 표시기(310)는 상기 1 다음 비트를 송신하지 않고 송신을 중단한다.In the process in which the two or more electronic price indicators 310 sequentially transmit the signal including the n-bit unique ID and the address request command through the same data line for each bit, When the data line is 0, the electronic price indicator 310 stops transmission without transmitting the next bit.

유니크 아이디와 주소 요청명령을 포함하는 신호는 단말 장치(300)의 주소, 읽기 또는 쓰기를 의미하는 정보, 명령을 의미하는 정보 및 전자 가격 표시기(310)의 유니크 아이디를 포함한다. 상기 둘 이상의 전자 가격 표시기(310)는 같은 단말 장치(300)로 자신의 유니크 아이디를 포함하는 유니크 아이디와 주소 요청명령을 포함하는 신호를 전달하면서 새로운 주소를 요청한다. The signal including the unique ID and the address request command includes the address of the terminal 300, the information indicating the reading or writing, the information indicating the command, and the unique ID of the electronic price indicator 310. The two or more electronic price indicator 310 requests a new address while transmitting a signal including a unique ID including its own unique ID and an address request command to the same terminal device 300.

결국, 상기 둘 이상의 전자 가격 표시기(310)가 생성한 유니크 아이디와 주소 요청명령을 포함하는 신호는 동일한 단말 장치(300)의 주소, 쓰기를 의미하는 정보, 명령을 의미하는 정보를 포함한다. 다만, 상기 둘 이상의 전자 가격 표시기(310)가 생성한 유니크 아이디와 주소 요청명령을 포함하는 신호는 각각 자신의 유니크 아이디를 포함하기 때문에 상이한 유니크 아이디를 포함한다.As a result, the signal including the unique ID and the address request command generated by the two or more electronic price indicators 310 includes the address of the same terminal 300, information indicating the writing, and information indicating the command. However, since the signals including the unique ID and the address request command generated by the two or more electronic price indicators 310 include their own unique IDs, they include different unique IDs.

상기 둘 이상의 전자 가격 표시기(310)가 생성한 유니크 아이디와 주소 요청명령을 포함하는 신호는 유니크 아이디만 상이하기 때문에, 자신의 유니크 아이디에 기초하여 1을 더 늦게 출력하는 전자 가격 표시기(310)는 송신을 중단하지 않게 된다. 전자 가격 표시기(310)는 유니크 아이디의 각 비트를 첫번째 자리수부터 마지막 자리수까지 순차적으로 전송하기 때문에, 1을 더 후순위의 자리수에 포함하는 전자 가격 표시기(310)가 송신을 중단하지 않게 된다.Since the signals including the unique ID and the address request command generated by the two or more electronic price indicators 310 differ from each other by unique IDs, the electronic price indicator 310 for outputting 1 later on the basis of the own unique ID The transmission is not interrupted. Since the electronic price indicator 310 sequentially transmits each bit of the unique ID from the first digit to the last digit, the electronic price indicator 310 including 1 in the subordinate digits does not stop the transmission.

반대로 1을 더 선순위의 자리수에 포함하는 유니크 아이디를 가지는 전자 가격 표시기(310)는 1을 전송할 때, 다른 전자 가격 표시기(310)가 0을 전송함에 따라 데이터 라인이 0 이기 때문에, 전송을 중단한다.On the contrary, when the electronic price indicator 310 having a unique ID that includes 1 in the higher priority digit transmits 1, the transmission is stopped because the data line is 0 as the other electronic price indicator 310 transmits 0 .

결국, 같은 주소를 가지는 복수의 전자 가격 표시기(310) 중 단 하나의 전자 가격 표시기(310)만이 단말 장치(300)로 유니크 아이디와 주소 요청명령을 포함하는 신호가 포함하는 각 비트를 처음부터 끝까지 송신하게 된다.As a result, only a single electronic price indicator 310 among the plurality of electronic price indicators 310 having the same address can transmit each bit included in the signal including the unique ID and address request command to the terminal device 300 from the beginning to the end .

단말 장치(300)를 기준으로 설명하면, 단말 장치(300)는 단 하나의 전자 가격 표시기(310)로부터 유니크 아이디와 주소 요청명령을 포함하는 신호를 수신한다.Referring to the terminal device 300, the terminal device 300 receives a signal including a unique ID and an address request command from a single electronic price indicator 310.

전자 가격 표시기(310)가 상기 마스터 모드에서 상기 슬레이브 모드로 변경하는 것은 전자 가격 표시기(310)는 유니크 아이디와 주소 요청명령을 포함하는 신호를 송신한 이후에 마스터 모드에서 상기 슬레이브 모드로 변경한느 것이다.When the electronic price indicator 310 changes from the master mode to the slave mode, the electronic price indicator 310 changes from the master mode to the slave mode after transmitting the signal including the unique ID and address request command will be.

전자 가격 표시기(310)가 유니크 아이디 및 제2 주소가 포함된 신호를 수신하여 상기 제1 주소를 상기 제2 주소로 변경하는 것은, 상기 유니크 아이디를 가지는 전자 가격 표시기(310)가 제 1 주소를 제 2 주소로 변경하는 것이다.When the electronic price indicator 310 receives the signal including the unique ID and the second address and changes the first address to the second address, the electronic price indicator 310 having the unique ID may display the first address To the second address.

상기 유니크 아이디 및 제2 주소가 포함된 신호를 수신하는 전자 가격 표시기(310)는 단말 장치(300)와 통신하는 모든 전자 가격 표시기(310)다. 단말 장치(300)는 브로드 캐스팅으로 유니크 아이디 및 제2 주소가 포함된 신호를 송신하여, 모든 전자 가격 표시기(310)는 유니크 아이디 및 제2 주소가 포함된 신호를 수신한다.The electronic price indicator 310 receiving the signal including the unique ID and the second address is all the electronic price indicator 310 communicating with the terminal 300. The terminal device 300 transmits a signal including the unique ID and the second address by broadcasting, and all the electronic price indicators 310 receive the signal including the unique ID and the second address.

상기 유니크 아이디는 상기 둘 이상의 전자 가격 표시기(310) 중 송신을 중단하지 않고 유니크 아이디와 주소 요청명령을 포함하는 신호를 송신한 전자 가격 표시기(310)의 유니크 아이디이다. 즉, 상기 전자 가격 표시기(310)는 전술한 제1 주소와 주소할당 시작 명령을 포함하는 신호에 포함된 주소를 가지는 전자 가격 표시기(310) 중 생성한 유니크 아이디와 주소 요청명령을 포함하는 신호에서 1을 더 후순위의 자리수에 포함하는 전자 가격 표시기(310)다.The unique ID is a unique ID of the electronic price indicator 310 that transmits a signal including a unique ID and an address request command without stopping transmission among the two or more electronic price indicators 310. That is, the electronic price indicator 310 includes a unique ID and an address request command generated from the electronic price indicator 310 having the address included in the signal including the first address and the address allocation start command, 1 in the number of subordinate digits.

단말 장치(300)가 생성한 유니크 아이디 및 제2 주소가 포함된 신호는 상기 단 하나의 전자 가격 표시기(310)의 주소 및 유니크 아이디뿐만 아니라 상기 단 하나의 전자 가격 표시기(310)가 갱신할 새주소인 제 2 주소도 포함한다. 제 2 주소는 전술한 주소 테이블에 포함된 주소 중 하나로 전자 가격 표시기(310)가 하나도 할당되지 않은 주소이다.The signal including the unique ID and the second address generated by the terminal device 300 is transmitted to the electronic price indicator 310 through the electronic price indicator 310, It also includes the second address. The second address is an address in which no electronic price indicator 310 is assigned to one of the addresses included in the address table.

즉, 제2 주소는 상기 제1 주소와 다른 값을 포함한다.That is, the second address includes a value different from the first address.

단말 장치(300)는 상기 전자 가격 표시기(310)가 하나도 할당되지 않은 주소가 복수개인 경우 비트값이 가장 작은 주소를 새주소로 결정할 수 있다.The terminal device 300 can determine that the address having the smallest bit value is a new address when there are a plurality of addresses to which the electronic price indicator 310 is not assigned.

단말 장치(300)와 통신하는, 구체적으로 I2C통신하는 모든 전자 가격 표시기(310)가 유니크 아이디 및 제2 주소가 포함된 신호를 수신하지만, 유니크 아이디에 대응하는 전자 가격 표시기(310)만 자신의 주소를 상기 유니크 아이디 및 제2 주소가 포함된 신호에 포함된 제2 주소로 갱신한다. All of the electronic price indicators 310 communicating with the terminal 300, specifically the I2C communication, receive signals including the unique ID and the second address, but only the electronic price indicator 310 corresponding to the unique ID And updates the address to the second address included in the signal including the unique ID and the second address.

전자 가격 표시기(310)는 유니크 아이디 및 제2 주소가 포함된 신호에 포함된 유니크 아이디가 자신의 유니크 아이디가 아닌 경우 상기 유니크 아이디 및 제2 주소가 포함된 신호를 무시한다.The electronic price indicator 310 ignores signals including the unique ID and the second address when the unique ID included in the signal including the unique ID and the second address is not the unique ID.

전술한 상기 상기 제1 주소와 주소할당 시작 명령을 포함하는 신호를 수신하고, 상기 슬레이브 모드에서 마스터 모드로 변경하며, 상기 유니크 아이디와 주소 요청명령을 포함하는 신호를 송신하고 상기 마스터 모드에서 상기 슬레이브 모드로 변경하며, 상기 유니크 아이디 및 제2 주소가 포함된 신호를 수신하여 상기 제1 주소를 상기 제2 주소로 변경하는 과정을 통해 하나의 주소에 할당된 둘 이상의 전자 가격 표시기(310) 중 하나의 전자 가격 표시기(310)는 자신의 주소를 새로운 주소로 갱신하여 주소 중복의 문제를 해결하게 된다.Receiving a signal including the first address and the address allocation start command, changing the master mode to the slave mode, transmitting a signal including the unique ID and the address request command, Mode, and a signal including the unique ID and the second address is received, and the first address is changed to the second address, and one of two or more electronic price indicators 310 allocated to one address The electronic price indicator 310 of the mobile terminal 200 updates its own address to a new address to solve the problem of address duplication.

상기 하나 이상의 프로그램은, SDA(Serial data) 라인을 감지하고, 상기 SDA(Serial data) 라인으로부터 low 신호가 감지되는 동안 High 신호를 전송하며, 상기 유니크 아이디와 주소 요청명령을 포함하는 신호의 송신을 중단하는 명령어를 포함한다.The at least one program senses an SDA line, transmits a High signal while sensing a low signal from the SDA line, and transmits the signal including the unique ID and the address request command Includes an instruction to abort.

SDA 라인을 감지하는 것은 전자 가격 표시기(310)가 SDA 라인에 하이 신호 또는 로우 신호가 인가되었는지를 감지하는 것이다.Detecting the SDA line means that the electronic price indicator 310 detects whether a high signal or a low signal is applied to the SDA line.

상기 SDA 라인으로부터 low 신호가 감지되는 동안 High 신호를 전송하는 것은 전자 가격 표시기(310)가 SDA 라인으로부터 로우 신호를 감지하는 동시에 하이 신호를 출력하는 것이다.Transmitting a High signal while the low signal is being sensed from the SDA line means that the electronic price indicator 310 senses a low signal from the SDA line and simultaneously outputs a high signal.

상기 유니크 아이디와 주소 요청명령을 포함하는 신호의 송신을 중단하는 것은 전자 가격 표시기(310)가 유니크 아이디와 주소 요청명령을 포함하는 신호의 송신을 중단하는 것이다.Stopping the transmission of the signal including the unique ID and the address request command is for the electronic price indicator 310 to stop transmitting the signal including the unique ID and the address request command.

즉, 둘 이상의 전자 가격 표시기(310) 중 어느 하나의 전자 가격 표시기(310)가 1을 송신할 때 데이터 라인이 0인 경우 상기 어느 하나의 전자 가격 표시기(310)는 송신을 중단한다. 어느 하나의 전자 가격 표시기(310)가 1을 송신할 때 데이터 라인이 0이라는 것은 다른 하나의 전자 가격 표시기(310)가 상기 데이터 라인으로 0을 송신했음을 의미한다.That is, when one of the two or more electronic price indicators 310 transmits 1, if the data line is 0, the one of the electronic price indicators 310 stops the transmission. When one of the electronic price indicators 310 transmits 1, the data line is 0, which means that the other electronic price indicator 310 has transmitted 0 to the data line.

둘 이상의 전자 가격 표시기(310)가 생성한 유니크 아이디와 주소 요청명령을 포함하는 신호는 유니크 아이디만 상이하기 때문에, 자신의 유니크 아이디에 기초하여 1을 더 늦게 출력하는 전자 가격 표시기(310)는 송신을 중단하지 않게 된다.Since the signals including the unique ID and the address request command generated by the two or more electronic price indicators 310 differ from each other by unique IDs, the electronic price indicator 310, which outputs 1 later on the basis of its own unique ID, .

전자 가격 표시기(310)는 유니크 아이디의 각 비트를 첫번째 자리수부터 마지막 자리수까지 순차적으로 전송하기 때문에, 1을 더 후순위의 자리수에 포함하는 전자 가격 표시기(310)가 송신을 중단하지 않게 된다.Since the electronic price indicator 310 sequentially transmits each bit of the unique ID from the first digit to the last digit, the electronic price indicator 310 including 1 in the subordinate digits does not stop the transmission.

반대로 1을 더 선순위의 자리수에 포함하는 유니크 아이디를 가지는 전자 가격 표시기(310)는 1을 전송할 때, 다른 전자 가격 표시기(310)가 0을 전송함에 따라 데이터 라인이 0 이기 때문에, 전송을 중단한다.On the contrary, when the electronic price indicator 310 having a unique ID that includes 1 in the higher priority digit transmits 1, the transmission is stopped because the data line is 0 as the other electronic price indicator 310 transmits 0 .

결국, 같은 주소를 가지는 복수의 전자 가격 표시기(310) 중 단 하나의 전자 가격 표시기(310)만이 단말 장치(300)로 유니크 아이디와 주소 요청명령을 포함하는 신호가 포함하는 각 비트를 처음부터 끝까지 송신하게 된다.As a result, only a single electronic price indicator 310 among the plurality of electronic price indicators 310 having the same address can transmit each bit included in the signal including the unique ID and address request command to the terminal device 300 from the beginning to the end .

도 16은 단말 장치(300)가 생성한 주소 테이블을 도시한다.FIG. 16 shows an address table generated by the terminal device 300. FIG.

단말 장치(300)가 생성한 주소 테이블은 예를 들어 20개의 주소를 포함한다. st는 상태(state)로 각 주소 별로 몇 개의 전자 가격 표시기(310)가 할당되어 있는지를 보여주는 정보이다. 상태 옆에 있는 정보는 전자 가격 표시기(310)의 유니크 아이디이다. 상태 값이 2인 경우의 유니크 아이디는 2개의 전자 가격 표시기(310)의 유니크 아이디가 and 연산된 값이므로, 그 어떤 전자 가격 표시기(310)의 유니크 아이디도 아니게 된다.The address table generated by the terminal device 300 includes, for example, 20 addresses. st is information indicating how many electronic price indicators 310 are allocated for each address in a state. The information next to the status is a unique ID of the electronic price indicator 310. [ The unique ID when the status value is 2 is not the unique ID of any electronic price indicator 310 since the unique ID of the two electronic price indicators 310 is a value calculated by and.

상태 값이 0인 경우 할당된 전자 가격 표시기(310)가 없기 때문에 디폴트 값으로 설정된다.If the state value is 0, it is set to a default value since there is no electronic price indicator 310 assigned.

이상과 같이 본 발명을 설명하였지만, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는, 본 발명의 기술적 사상과 필수적 특징을 유지한 채로 다른 형태로도 실시될 수 있음을 인지할 수 있을 것이다. 따라서 이상에서 기술한 실시 예들은 단지 예시적인 것일 뿐이며, 본 발명의 범위를 앞의 실시예들로만 제한하고자 하는 것이 아니다. 또한, 도면에 도시된 순서도들은 본 발명을 실시함에 있어서 가장 바람직한 결과를 얻기 위해 예시적으로 도시한 순서에 불과하며, 다른 단계들이 더 추가되거나 일부 단계들이 삭제될 수 있음은 물론이다.While the present invention has been described in connection with what is presently considered to be the most practical and preferred embodiment, it is to be evident that many alternatives, modifications and variations will be apparent to those skilled in the art. Therefore, the embodiments described above are merely illustrative and are not intended to limit the scope of the present invention to the foregoing embodiments. It is to be understood that the flowcharts shown in the drawings are merely illustrative examples for achieving the most desirable results in the practice of the present invention, and that other steps may be added or some steps may be deleted.

본 발명의 범위는 청구범위에 의하여 규정될 것이지만, 청구범위 기재사항으로부터 직접적으로 도출되는 구성은 물론 그와 등가인 구성으로부터 도출되는 모든 변경 또는 변형된 형태 또한 본 발명의 권리범위에 포함되는 것으로 해석되어야 한다.It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims and their equivalents. .

110: 제 1 프로세서
120: 제 1 메모리
130: 제 1 I2C 인터페이스
132: I2C 버스
140: 무선 인터페이스
150: 타이머
210: 제 2 프로세서
220: 제 2 메모리
230: 제 2 I2C 인터페이스
240: 디스플레이
300: 단말장치
310: 전자 가격 표시기
410: 서버
430: 게이트웨이
510: 화살표
520: 화살표
110: first processor
120: first memory
130: 1st I2C interface
132: I2C bus
140: Wireless interface
150: Timer
210: a second processor
220: second memory
230: Second I2C interface
240: Display
300: terminal device
310: Electronic price indicator
410: Server
430: gateway
510: Arrow
520: Arrow

Claims (8)

복수의 전자가격 표시기와 I2C통신하는 단말장치의 중복주소 판단 방법에 있어서,
제1 주소와 유니크 아이디 요청 명령을 포함하는 신호를 송신하는 단계;
유니크 아이디와 오류 검출 코드를 포함하는 신호를 수신하는 단계;
상기 오류 검출코드를 이용하여 수신된 신호의 오류를 판단하는 단계; 및
상기 수신된 신호가 오류인 경우 상기 제1 주소를 중복된 주소로 판단하는 단계를 포함하는 단말장치의 중복주소 판단방법.
A method of determining a duplicate address of a terminal apparatus that performs I 2 C communication with a plurality of electronic price indicators,
Transmitting a signal including a first address and a unique ID request command;
Receiving a signal including a unique ID and an error detection code;
Determining an error of the received signal using the error detection code; And
And determining that the first address is a duplicate address if the received signal is an error.
제 1 항에 있어서,
상기 단말장치는 마스터 모드로 동작하고,
상기 제1 주소와 주소할당 시작 명령을 포함하는 신호를 송신하는 단계;
상기 마스터 모드에서 슬래이브 모드로 변경하는 단계;
상기 유니크 아이디와 주소 요청명령을 포함하는 신호를 수신하는 단계; 및
상기 슬래이브 모드에서 상기 마스터 모드로 변경하는 단계;
상기 유니크 아이디 및 제2 주소가 포함된 신호를 송신하는 단계를 더 포함하고,
상기 제2 주소는 상기 제1 주소와 다른 값을 포함하는 단말장치의 중복주소 판단방법.

The method according to claim 1,
The terminal device operates in a master mode,
Transmitting a signal including the first address and an address allocation start command;
Changing from the master mode to the slave mode;
Receiving a signal including the unique ID and an address request command; And
Changing from the slave mode to the master mode;
Further comprising transmitting a signal including the unique ID and the second address,
Wherein the second address includes a value different from the first address.

제1 주소와 유니크 아이디를 포함하는 슬레이브 모드인 전자가격 표시기의 주소 갱신 방법에 있어서,
상기 제1 주소와 주소할당 시작 명령을 포함하는 신호를 수신하는 단계;
상기 슬레이브 모드에서 마스터 모드로 변경하는 단계;
상기 유니크 아이디와 주소 요청명령을 포함하는 신호를 송신하는 단계; 및
상기 마스터 모드에서 상기 슬레이브 모드로 변경하는 단계;
상기 유니크 아이디 및 제2 주소가 포함된 신호를 수신하여 상기 제1 주소를 상기 제2 주소로 변경하는 단계를 포함하는 주소 갱신 방법.
A method of updating an address of an electronic price indicator, which is a slave mode including a first address and a unique ID,
Receiving a signal including the first address and an address allocation start command;
Changing from the slave mode to the master mode;
Transmitting a signal including the unique ID and an address request command; And
Changing from the master mode to the slave mode;
And receiving the signal including the unique ID and the second address to change the first address to the second address.
제 3 항에 있어서, 상기 유니크 아이디와 주소 요청명령을 포함하는 신호를 송신하는 단계는
SDA(Serial data) 라인을 감지하는 단계를 더 포함하고,
상기 SDA 라인으로부터 low 신호가 감지되는 동안 High 신호를 전송하는 경우,
상기 유니크 아이디와 주소 요청명령을 포함하는 신호의 송신을 중단하는 주소 갱신 방법.

4. The method of claim 3, wherein transmitting the signal including the unique ID and the address request command comprises:
Further comprising sensing an SDA (Serial Data) line,
When a high signal is transmitted while a low signal is detected from the SDA line,
And stopping transmission of the signal including the unique ID and the address request command.

단말 장치; 및
상기 단말 장치와 I2C 통신하는 전자 가격 표시기;를 포함하고,
상기 단말 장치는
제1 주소와 유니크 아이디 요청 명령을 포함하는 신호를 송신하고,
유니크 아이디와 오류 검출 코드를 포함하는 신호를 수신하며,
상기 오류 검출코드를 이용하여 수신된 신호의 오류를 판단하고,
상기 수신된 신호가 오류인 경우 상기 제1 주소를 중복된 주소로 판단하는 중복주소 판단 및 주소 갱신 시스템.
A terminal device; And
And an electronic price indicator for I2C communication with the terminal device,
The terminal device
Transmitting a signal including a first address and a unique ID request command,
Receiving a signal including a unique ID and an error detection code,
Determining an error of the received signal using the error detection code,
And determining the first address as a duplicate address if the received signal is an error.
제 5 항에 있어서,
상기 단말 장치는,
마스터 모드로 동작하여
상기 제1 주소와 주소할당 시작 명령을 포함하는 신호를 송신하고,
상기 마스터 모드에서 슬래이브 모드로 변경하여
상기 유니크 아이디와 주소 요청명령을 포함하는 신호를 수신하고,
상기 슬래이브 모드에서 상기 마스터 모드로 변경하여
상기 유니크 아이디 및 제2 주소가 포함된 신호를 송신하며,
상기 제2 주소는,
상기 제1 주소와 다른 값을 포함하는 중복주소 판단 및 주소 갱신 시스템.
6. The method of claim 5,
The terminal apparatus comprises:
Operating in master mode
Transmitting a signal including the first address and an address allocation start command,
When the master mode is changed to the slave mode
Receiving a signal including the unique ID and an address request command,
The mode is changed from the slave mode to the master mode
Transmits a signal including the unique ID and the second address,
Wherein the second address is a first address,
Wherein the first address and the second address are different from the first address.
제 5 항에 있어서,
상기 전자 가격 표시기는
상기 제1 주소와 유니크 아이디를 포함하고,
슬레이브 모드로 동작하여
상기 제1 주소와 주소할당 시작 명령을 포함하는 신호를 수신하고,
상기 슬레이브 모드에서 마스터 모드로 변경하여
상기 유니크 아이디와 주소 요청명령을 포함하는 신호를 송신하고
상기 마스터 모드에서 상기 슬레이브 모드로 변경하여
상기 유니크 아이디 및 제2 주소가 포함된 신호를 수신하여 상기 제1 주소를 상기 제2 주소로 변경하는 중복주소 판단 및 주소 갱신 시스템.
6. The method of claim 5,
The electronic price indicator
The first address and the unique ID,
Operating in slave mode
Receiving a signal including the first address and an address allocation start command,
The master mode is changed from the slave mode
Transmits a signal including the unique ID and the address request command
If the master mode is changed to the slave mode
And receiving the signal including the unique ID and the second address to change the first address to the second address.
제 7 항에 있어서,
상기 전자 가격 표시기는
SDA(Serial data) 라인을 감지하고,
상기 SDA(Serial data) 라인으로부터 low 신호가 감지되는 동안 High 신호를 전송하는 경우,
상기 유니크 아이디와 주소 요청명령을 포함하는 신호의 송신을 중단하는 중복주소 판단 및 주소 갱신 시스템.
8. The method of claim 7,
The electronic price indicator
SDA (Serial data) lines are detected,
When a High signal is transmitted while a low signal is detected from the SDA (Serial Data) line,
And suspending transmission of the signal including the unique ID and the address request command.
KR1020170032534A 2017-03-15 2017-03-15 A method of determining a duplicate address of a terminal device, a method of updating address and duplicate address determination and address update system KR20180105452A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020170032534A KR20180105452A (en) 2017-03-15 2017-03-15 A method of determining a duplicate address of a terminal device, a method of updating address and duplicate address determination and address update system
PCT/KR2018/001638 WO2018169211A1 (en) 2017-03-15 2018-02-07 Duplicate address determination method for terminal device, address update method, and duplicate address determination and address update system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020170032534A KR20180105452A (en) 2017-03-15 2017-03-15 A method of determining a duplicate address of a terminal device, a method of updating address and duplicate address determination and address update system

Publications (1)

Publication Number Publication Date
KR20180105452A true KR20180105452A (en) 2018-09-28

Family

ID=63523604

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170032534A KR20180105452A (en) 2017-03-15 2017-03-15 A method of determining a duplicate address of a terminal device, a method of updating address and duplicate address determination and address update system

Country Status (2)

Country Link
KR (1) KR20180105452A (en)
WO (1) WO2018169211A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7085863B2 (en) * 2003-10-30 2006-08-01 International Business Machines Corporation I2C device including bus switches and programmable address
KR20050076924A (en) * 2004-01-26 2005-07-29 삼성전자주식회사 I2c cummunication system capable of reciprocal communication and method thereof
JP5863085B2 (en) * 2012-09-21 2016-02-16 コーニンクレッカ フィリップス エヌ ヴェKoninklijke Philips N.V. Method and apparatus for dynamic address assignment
US9959223B2 (en) * 2013-05-08 2018-05-01 Nxp B.V. Method and system for interrupt signaling in an inter-integrated circuit (I2C) bus system
US9298908B1 (en) * 2014-10-17 2016-03-29 Lexmark International, Inc. Methods and apparatus for setting the address of a module using a voltage

Also Published As

Publication number Publication date
WO2018169211A1 (en) 2018-09-20

Similar Documents

Publication Publication Date Title
US8892798B2 (en) Identification, by a master circuit, of two slave circuits connected to a same bus
CN101263465B (en) Method and system for bus arbitration
US20140223048A1 (en) Communication network and method for communicating in a communication network
US20190116480A1 (en) Method and apparatus for a network and device discovery
TW201712555A (en) Enhanced serial peripheral interface
TW201923606A (en) I3C in-band interrupts directed to multiple execution environments
CN105683936A (en) Camera control slave devices with multiple slave device identifiers
JP2008539498A (en) Programming parallel I2C slave devices from a single I2C data stream
JPH02235457A (en) Communication network
US20060080379A1 (en) Network system and method allocating addresses
US11528163B2 (en) Communication system
TWI516942B (en) Assigning addresses to devices on an interconnect
US20190013962A1 (en) Modular communication framework
CN105474193A (en) Method to minimize the number of IRQ lines from peripherals to one wire
CN101455035A (en) Multi-mode host interface for and remote register and memory access of a wireless communication module
US9727509B2 (en) GPIB bus to ZigBee interconnection
JP6410914B1 (en) Serial communication system
JP4529867B2 (en) Lighting control system
KR20180105452A (en) A method of determining a duplicate address of a terminal device, a method of updating address and duplicate address determination and address update system
US20030172233A1 (en) Plural station memory data sharing system
US7177959B2 (en) Information signal processing apparatus and method
US9892073B1 (en) Bus addressing systems and methods using repurposed bits
US20210136182A1 (en) Vehicle controller, system including the same, and method thereof
CN104053218A (en) Wireless Communication Method, Wireless Device And Wireless Coordinator
JP2015099528A (en) Method of rewriting program of sub-microcomputer

Legal Events

Date Code Title Description
N231 Notification of change of applicant
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right