KR20140074685A - Electron tag device and communication method thereof - Google Patents

Electron tag device and communication method thereof Download PDF

Info

Publication number
KR20140074685A
KR20140074685A KR1020120142927A KR20120142927A KR20140074685A KR 20140074685 A KR20140074685 A KR 20140074685A KR 1020120142927 A KR1020120142927 A KR 1020120142927A KR 20120142927 A KR20120142927 A KR 20120142927A KR 20140074685 A KR20140074685 A KR 20140074685A
Authority
KR
South Korea
Prior art keywords
controller
display
data packet
error
error check
Prior art date
Application number
KR1020120142927A
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 KR1020120142927A priority Critical patent/KR20140074685A/en
Priority to DE102013112989.7A priority patent/DE102013112989A1/en
Priority to JP2013243871A priority patent/JP2014116938A/en
Priority to GB1320918.4A priority patent/GB2509234A/en
Publication of KR20140074685A publication Critical patent/KR20140074685A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • G06K19/077Constructional details, e.g. mounting of circuits in the carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1443Transmit or communication errors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • G06K19/0723Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips the record carrier comprising an arrangement for non-contact communication, e.g. wireless communication circuits on transponder cards, non-contact smart cards or RFIDs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
    • G06K7/10297Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves arrangements for handling protocols designed for non-contact record carriers such as RFIDs NFCs, e.g. ISO/IEC 14443 and 18092
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L2001/0092Error control systems characterised by the topology of the transmission link
    • H04L2001/0094Bus

Abstract

The present invention may include a controller transmitting a data packet which contains an error check code when the data to be transmitted is occurred, and re-transmitting the data packet when an error is occurred based on transmitted error check information; and a display receiving the data packet from the controller, and transmitting the error check information to the controller by checking a communication error using the error check code contained in the data packet.

Description

전자 태그 장치 및 그의 통신 방법{ELECTRON TAG DEVICE AND COMMUNICATION METHOD THEREOF}[0001] ELECTRONIC TAG DEVICE AND COMMUNICATION METHOD THEREOF [0002]

본 발명은 전자 태그 장치 및 그의 통신 방법에 관한 것이다.
The present invention relates to an electronic tag apparatus and a communication method thereof.

일반적으로, 전자 선반(ESL: Electron Shelf Label) 시스템은, 상품이 진열되는 장소에 설치될 수 있고, 유선 및 무선 통신을 이용하여 상품정보를 표시하기 위한 시스템이다. 이러한 전자 선반 시스템에서는, 가격정보를 표시하기 위한 복수개의 태그(TAG) 장치들이 PAN(Personal Area Network)를 구성하여 중계기(GW, Gateway)와 무선통신을 수행한다. 또한 복수의 중계기는 서버(Server)와 유선 통신을 수행한다.2. Description of the Related Art Generally, an electronic shelf label (ESL) system can be installed at a place where a product is displayed, and is a system for displaying product information using wired and wireless communication. In such an electronic shelf system, a plurality of tag (TAG) devices for displaying price information constitute a PAN (Personal Area Network) and perform wireless communication with a repeater (GW, Gateway). Also, a plurality of repeaters perform wired communication with the server.

종래 전자 태그는 상품에 관련되는 정보를 화면으로 출력하기 위해 디스플레이와, 상기 디스플레이를 제어하기 위한 제어기를 포함하고 있다. 상기 제어기는 MCU(Main Control Unit)로 이루어질 수 있다.Conventionally, an electronic tag includes a display for outputting information related to a product to a screen, and a controller for controlling the display. The controller may be an MCU (Main Control Unit).

이때, 상기 제어기는 상기 디스플레이와 데이터 통신을 수행하여 제품 정보를 디스플레이를 통해 출력하도록 제어한다.
At this time, the controller performs data communication with the display to control the product information to be output through the display.

그러나, 종래의 전자 태그 장치에서는, 제어기와 디스플레이간 데이터 전송 시, 다양한 통신방식으로 데이터를 전송할 수 있다. However, in the conventional electronic tag apparatus, data can be transmitted through various communication methods when data is transmitted between the controller and the display.

이와 같은 통신방식을 이용한 제어장치와 디스플레이간 데이터 전송시 디지털 데이터 깨짐(Error) 등의 전송 에러가 발생할 수 있는 문제점이 있다.There is a problem that a transmission error such as an error of digital data may occur when data is transmitted between the control device and the display using such a communication method.

이러한 전송 에러가 발생하는 경우에는, 디스플레이가 잘못된 가격정보를 표시 할 수 있다.
If such a transmission error occurs, the display may display incorrect price information.

하기 선행기술문헌에 기재된 특허문헌 1은, 디지털 카메라의 압축 데이터 저장과 송수신 제어 방법에 관한 것으로, 장치간의 송수신 에러를 보정하는 기술적 사항을 개시하고 있으나, 하나의 장치 내에서의 데이터 전송 에러에 대한 기술적 사항을 개시하고 있지 않다.
Patent Document 1 described in the following prior art documents relates to a compressed data storage and transmission / reception control method of a digital camera, and discloses technical matters for correcting transmission / reception errors between devices. However, It does not disclose technical matters.

한국 공개특허공보 제1998-0013273호Korean Patent Laid-Open Publication No. 1998-0013273

본 발명의 과제는 상기한 종래 기술의 문제점을 해결하기 위한 것으로써, 본 발명은, 제어기와 디스플레이간 통신 에러를 체크하여, 통신 에러 발생시 데이타 패킷을 재전송하는 전자 태그 장치 및 그의 통신 방법을 제공한다.
SUMMARY OF THE INVENTION An object of the present invention is to provide an electronic tag apparatus and a communication method thereof for checking communication errors between a controller and a display and retransmitting a data packet when a communication error occurs .

본 발명의 제1 기술적인 측면으로써, 본 발명은, 송신할 데이터 발생시, 에러 체크 코드를 포함하는 데이터 패킷을 전송하고, 전송받은 에러 체크 정보에 기초해서 에러 발생인 경우에 상기 데이터 패킷을 재전송하는 제어기; 및 상기 제어기로부터 데이터 패킷을 전송받고, 이 데이터 패킷에 포함된 에러 체크 코드를 이용하여 통신 에러를 체크하여, 상기 에러 체크 정보를 상기 제어기에 전송하는 디스플레이; 를 포함하는 전자 태그 장치를 제안한다.According to a first technical aspect of the present invention, there is provided a data transmission method for transmitting a data packet including an error check code upon occurrence of data to be transmitted and retransmitting the data packet in the event of an error occurrence based on the received error check information A controller; And a display for receiving a data packet from the controller, checking a communication error using an error check code included in the data packet, and transmitting the error check information to the controller; And an electronic tag.

본 발명의 제1 기술적인 측면에서, 상기 제어기는 마스터로써 슬레이브인 상기 디스플레이와 SPI(Serial Peripheral Interface bus) 통신을 수행하도록 이루어질 수 있다.In a first technical aspect of the present invention, the controller may be configured to perform Serial Peripheral Interface bus (SPI) communication with the display that is a slave as a master.

상기 제어기는, 상기 데이터 패킷을 전송하기 이전에 슬레이브 선택 핀을 셋팅하여, 상기 디스플레이에 슬레이브 모드로의 진입을 제어하도록 이루어질 수 있다.The controller may be configured to set a slave select pin prior to transmitting the data packet to control entry into the slave mode on the display.

상기 제어기는, 상기 데이터 패킷을 전송하기 이전에 슬레이브 선택 핀을 셋팅하여, 상기 디스플레이에 슬레이브 모드로의 진입을 제어하고, 직렬 클럭신호를 상기 디스플레이에 전송하도록 이루어질 수 있다.
The controller may be configured to set a slave select pin prior to transmitting the data packet to control entry into a slave mode on the display and to transmit a serial clock signal to the display.

또한, 본 발명의 제2 기술적인 측면으로써, 본 발명은 전자 태그 장치의 제어기에서 송신 데이터 발생을 판단하는 단계; 상기 제어기가 송신 데이타 발생이 판단되면, 상기 전자 태그 장치의 디스플레이로 에러 체크 코드를 포함하는 데이터 패킷을 전송하는 단계; 상기 디스플레이가 상기 제어기로부터 데이터 패킷을 전송받고, 이 데이터 패킷에 포함된 에러 체크 코드를 이용하여 통신 에러를 체크하여, 상기 제어기로 상기 에러 체크 정보를 전송하는 단계; 및 상기 제어기가 상기 디스플레이로부터 전송받은 에러 체크 정보에 기초해서 에러 발생인 경우에 상기 데이터 패킷을 재전송하는 단계; 를 포함하는 전자 태그 장치의 통신방법을 제안한다.According to a second technical aspect of the present invention, there is provided a method for controlling an electronic tag apparatus, Transmitting a data packet including an error check code to a display of the electronic tag apparatus when the controller determines that transmission data is generated; The display receiving a data packet from the controller, checking a communication error using an error check code included in the data packet, and transmitting the error check information to the controller; And retransmitting the data packet when the controller is in error occurrence based on error check information received from the display; And a communication method of the electronic tag apparatus.

본 발명의 제2 기술적인 측면에서, 상기 제어기는 마스터로써 슬레이브인 상기 디스플레이와 SPI (Serial Peripheral Interface bus) 통신을 수행하도록 이루어질 수 있다.In a second technical aspect of the present invention, the controller may be configured to perform Serial Peripheral Interface bus (SPI) communication with the display that is a slave as a master.

상기 전자 태그 장치의 통신방법은, 데이터 패킷을 전송하는 단계 이전에, 상기 제어기는 슬레이브 선택 핀을 셋팅하고, 이 슬레이브 선택핀의 셋팅에 따라 상기 디스플레이가 슬레이브 모드로 진입하는 단계; 및 상기 제어기가 직렬 클럭신호를 상기 디스플레이에 전송하고, 상기 디스플레이가 상기 직렬 클럭신호를 감지하는 단계; 를 더 포함할 수 있다.Wherein the controller is configured to set a slave select pin and enter the slave mode according to a setting of the slave select pin; And the controller transmitting a serial clock signal to the display, the display sensing the serial clock signal; As shown in FIG.

상기 데이터 패킷을 재전송하는 단계는, 상기 디스플레이로부터 전송받은 에러 체크 정보에 기초해서 에러 발생인 경우에는 상기 데이터 패킷의 재전송을 사전에 설정된 횟수만큼 반복하도록 이루어질 수 있다.
The step of retransmitting the data packet may include repeating the retransmission of the data packet a predetermined number of times if an error occurs based on the error check information transmitted from the display.

본 발명에 의하면, 제어기와 디스플레이간 통신 에러를 체크하여, 통신 에러 발생시 데이타 패킷을 재 전송함으로써, 통신 에러에 따른 잘못된 정보가 표시되는 것을 사전에 방지할 수 있다.
According to the present invention, a communication error between the controller and the display is checked, and when a communication error occurs, the data packet is retransmitted so that erroneous information due to a communication error can be prevented from being displayed in advance.

도 1은 본 발명의 실시 예에 따른 전자 선반 시스템의 개략 구성도.
도 2는 본 발명의 실시 예에 따른 전자 선반 시스템의 전자 태그 장치의 블록도.
도 3은 본 발명의 실시 예에 따른 제어기 및 디스플레이의 SPI 통신을 설명하기 위한 도면.
도 4는 본 발명의 실시 예에 따른 전자 태그 장치의 통신방법의 플로우챠트.
도 5는 도 4의 전자 태그 장치의 통신방법의 변형 플로우챠트.
도 6은 본 발명의 실시 예에 따른 데이타 패킷의 예시도.
1 is a schematic configuration view of an electronic shelf system according to an embodiment of the present invention;
2 is a block diagram of an electronic tag apparatus of an electronic lathe system according to an embodiment of the present invention.
3 is a view for explaining SPI communication in a controller and a display according to an embodiment of the present invention;
4 is a flowchart of a communication method of an electronic tag apparatus according to an embodiment of the present invention.
5 is a flowchart of a modification of the communication method of the electronic tag apparatus of Fig.
Figure 6 is an illustration of an example of a data packet according to an embodiment of the present invention;

이하에서는, 본 발명이 실시될 수 있는 특정 실시 예를 도면을 참조하여 설명한다. 본 발명은 설명되는 실시 예에 한정되지 않으며, 본 발명의 정신 및 범위를 벗어나지 않으면서 다양하게 변경될 수 있음이 이해되어야 한다.Hereinafter, specific embodiments in which the present invention can be practiced will be described with reference to the drawings. It is to be understood that the invention is not to be limited to the disclosed embodiments, but is capable of numerous modifications, all without departing from the spirit and scope of the invention.

또한, 본 발명의 각 실시 예에 있어서, 일 예로써 설명되는 구조, 형상 및 수치는 본 발명의 기술적 사항의 이해를 돕기 위한 하나의 예시에 불과하므로, 이에 한정되는 것이 아니라 본 발명의 정신 및 범위를 벗어나지 않으면서 다양하게 변경될 수 있음이 이해되어야 한다. In addition, in the embodiments of the present invention, the structure, shape, and numerical values described as examples are merely examples for helping understanding of the technical matters of the present invention, and therefore, It should be understood that various changes may be made without departing from the spirit and scope of the invention.

그리고, 본 발명에 참조된 도면에서 본 발명의 전반적인 내용에 비추어 실질적으로 동일한 구성과 기능을 가진 구성요소들은 동일한 부호를 사용할 것이다.
In the drawings referred to in the present invention, components having substantially the same configuration and function as those of the present invention will be denoted by the same reference numerals.

이하에서는, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명을 용이하게 실시할 수 있도록 하기 위해서, 본 발명의 실시 예를 첨부한 도면을 참조하여 상세히 설명한다.
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily carry out the present invention.

도 1은 본 발명의 실시 예에 따른 전자 선반 시스템의 개략 구성도이다.1 is a schematic configuration diagram of an electronic shelf system according to an embodiment of the present invention.

도 1을 참조하면, 본 발명의 실시 예에 따른 전자 선반 시스템은, 서버(10), 중계기(20) 및 전자 태그 장치(100)로 이루어질 수 있다.
Referring to FIG. 1, an electronic shelf system according to an embodiment of the present invention may include a server 10, a repeater 20, and an electronic tag apparatus 100.

도 2는 본 발명의 실시 예에 따른 전자 선반 시스템의 전자 태그 장치의 블록도이다.2 is a block diagram of an electronic tag apparatus of an electronic shelf system according to an embodiment of the present invention.

도 2를 참조하면, 본 발명의 실시 예에 따른 전자 선반 시스템의 전자 태그 장치는, 무선 통신부(110), 제어기(120), 메모리(130), 디스플레이(140) 및 전원부(150)를 포함할 수 있다.
2, an electronic tag apparatus of an electronic lathe system according to an embodiment of the present invention includes a wireless communication unit 110, a controller 120, a memory 130, a display 140, and a power unit 150 .

상기 무선 통신부(110)는, 상기 제어부(120)의 제어에 따라 사전에 설정된 통신 규약에 따르는 무선 통신을 수행할 수 있다.The wireless communication unit 110 may perform wireless communication according to a preset communication protocol under the control of the controller 120. [

상기 제어기(120)는, 상기 무선 통신부(110)를 통해 복수의 중계기 및 서버와의 통신을 제어하고, 수신 받은 신호에 포함된 데이타의 화면 출력을 제어할 수 있다. 이때, 상기 메모리(130)는, 상기 제어기(120)에 따라 전자 태그 장치의 동작중에 발생되는 데이타를 저장할 수 있다. The controller 120 controls communication with a plurality of relays and servers through the wireless communication unit 110 and controls screen output of data included in the received signal. At this time, the memory 130 may store data generated during operation of the electronic tag apparatus according to the controller 120. [

상기 디스플레이(140)는, 상기 제어기(120)의 제어에 따라 상기 데이터를 화면 출력할 수 있다.The display 140 may display the data on the screen under the control of the controller 120.

그리고, 상기 전원부(150)는, 상기 제어기(120)의 제어에 따라 동작 전원을 공급할 수 있다.
The power supply unit 150 may supply operation power under the control of the controller 120.

이와 같은 전자 태그 장치에서, 상기 제어기(120)는 디스플레이(140)로 데이타를 전송하는 과정에서 발생될 수 있는 통신 에러를 확인하고, 통신 에러 발생시에 재 전송하는 과정을 수행할 수 있다. 이에 대해서는 하기에 자세히 설명한다.
In such an electronic tag apparatus, the controller 120 can check a communication error that may occur in the process of transmitting data to the display 140, and perform a process of re-transmitting the communication error when a communication error occurs. This will be described in detail below.

상기 제어기(120)는, 상기 디스플레이(140)에 송신할 데이타가 발생되는 경우, 상기 디스플레이(140)와의 통신이 정상인지 에러가 발생되는지의 여부를 확인하는 과정을 수행한다. 여기서, 상기 디스플레이는 전기영동형 디스플레이(ElectroPhoretic Display, EPD)가 될 수 있다.
When data to be transmitted to the display 140 is generated, the controller 120 determines whether communication with the display 140 is normal or an error occurs. Here, the display may be an electrophoretic display (EPD).

도 3은 본 발명의 실시 예에 따른 제어기 및 디스플레이의 SPI 통신을 설명하기 위한 도면이다.
3 is a view for explaining SPI communication of a controller and a display according to an embodiment of the present invention.

도 1 내지 도 3을 참조하면, 상기 제어기(120)는, 송신할 데이타가 있는지를 판단하여, 송신할 데이타가 있는 경우에는, 에러 체크 코드를 포함하는 데이터 패킷을 상기 디스플레이(140)에 전송한다.1 to 3, the controller 120 determines whether there is data to be transmitted. If there is data to be transmitted, the controller 120 transmits a data packet including an error check code to the display 140 .

상기 제어기(120)와 디스플레이(140)간 데이터 전송 시, 다양한 통신방식으로 데이터를 전송할 수 있다. 예를 들어 적용 가능한 통신 방식에는 SPI(Serial Peripheral Interface bus), I2C(Inter-Integrated Circuit), UART(Universal Asynchronous Receiver/Transmitter), GPIO(General Purpose Input/Output) 등이 있다. 일 예로, SPI 통신방식이 채용된 경우에는, 상기 제어기(120)는, 마스터로써 슬레이브인 상기 디스플레이(140)와 SPI 통신을 수행할 수 있다.When data is transmitted between the controller 120 and the display 140, data can be transmitted through various communication methods. For example, applicable communication methods include SPI (Serial Peripheral Interface bus), I2C (Inter-Integrated Circuit), UART (Universal Asynchronous Receiver / Transmitter), and GPIO (General Purpose Input / Output). For example, when the SPI communication scheme is employed, the controller 120 may perform SPI communication with the display 140 that is a slave as a master.

여기서, 상기 SPI 통신에서는, 상기 클럭신호(SCLK), 마스터 출력 슬레이브 입력(Master Output Slave Input: MOSI), 마스터 입력 슬레이브 출력(Master Input Slave Output: MISO) 및 슬레이브 선택(Slave Select: SS) 등 4개의 선로를 포함할 수 있다.
In the SPI communication, the clock signal (SCLK), the master output slave input (MOSI), the master input slave output (MISO) and the slave selection (SS) Lt; / RTI > lines.

상기 디스플레이(140)는, 상기 제어기(120)로부터 데이터 패킷을 전송받고, 상기 제어기(120)로부터 전송받은 데이터 패킷에 포함된 에러 체크 코드를 이용하여 통신 에러를 체크할 수 있다. 이때, 상기 제어기(120) 및 상기 디스플레이(140)는 기존의 에러 체크 프로토콜중의 하나를 채용할 수 있다. The display 140 receives a data packet from the controller 120 and can check a communication error using an error check code included in the data packet transmitted from the controller 120. [ At this time, the controller 120 and the display 140 may adopt one of the existing error check protocols.

예를 들어, 본 발명에 기존의 에러 체크 프로토콜중 하나의 에러 체크 프로토콜이 채용된 경우에, 송신할 데이타가 발생되면, 송신할 데이타를 이용하여 채용된 에러 체크 프로토콜에 따라 에러 체크 코드를 생성한다.For example, when one of error check protocols of the existing error check protocols is employed in the present invention, when data to be transmitted is generated, an error check code is generated according to the error check protocol employed using data to be transmitted .

상기 디스플레이(140)에서는 상기 채용된 에러 체크 프로토콜에 따라 전송받은 데이타를 이용하여 비교 코드를 생성하고, 상기 에러 체크 코드와 비교 코드를 비교하여 그 일치 여부로 통신 에러를 체크할 수 있다.The display 140 generates a comparison code using the data transmitted according to the employed error check protocol, compares the error check code with a comparison code, and checks the communication error based on the comparison.

이때, 상기 디스플레이(140)는, 전술한 바와 같이 통신 에러를 체크하여, 상기 에러 체크 정보를 상기 제어기(120)에 전송할 수 있다. 예를 들어, 상기 에러 체크 정보는, 통신 에러가 없는 정상적인 통신 상태라면 'ACK' 정보를 포함할 수 있고, 이와 달리 통신 에러가 발생된 상태라면 'NACK' 정보를 포함할 수 있다.
At this time, the display 140 may check the communication error as described above and transmit the error check information to the controller 120. [ For example, the error check information may include 'ACK' information if it is a normal communication state without a communication error and may include 'NACK' information if a communication error has occurred.

이어서, 상기 제어기(120)는, 상기 디스플레이(140)로부터 전송받은 에러 체크 정보에 기초해서 에러 발생인 경우에 상기 데이터 패킷을 재전송할 수 있다. 예를 들어, 상기 제어기(120)는 상기 에러 체크 정보에 'ACK' 정보가 포함되어 있으면, 정상 통신으로 인식하고, 상기 에러 체크 정보에 'NACK' 정보가 포함되어 있으면, 상기 데이타 패킷을 다시 전송할 수 있다.
Then, the controller 120 may retransmit the data packet in the event of an error based on the error check information transmitted from the display 140. For example, if the error check information includes 'ACK' information, the controller 120 recognizes the normal communication, and if the error check information includes 'NACK' information, the controller 120 transmits the data packet again .

한편, 상기 제어기(120)는, 상기 데이터 패킷을 전송하기 이전에 SPI 통신 규약에 따른 슬레이브 선택(SS) 핀을 셋팅하여, 상기 디스플레이(140)에 슬레이브 모드로의 진입을 제어할 수 있다. 이에 따라 상기 디스플레이(140)는 상기 제어기(120)의 제어에 따라 슬레이브 모드로 진입할 수 있다.Meanwhile, the controller 120 may control the entry of the slave mode into the display 140 by setting a slave selection (SS) pin according to the SPI communication protocol before transmitting the data packet. Accordingly, the display 140 may enter the slave mode under the control of the controller 120.

계속해서, 상기 제어기(120)는, SPI 통신 규약에 따른 직렬 클럭신호(SCLK)를 상기 디스플레이(140)에 전송할 수 있다. 상기 디스플레이(140)는 상기 제어기(120)로부터의
Subsequently, the controller 120 may transmit a serial clock signal (SCLK) according to the SPI communication protocol to the display 140. The display (140) includes a controller

도 4는 본 발명의 실시 예에 따른 전자 태그 장치의 통신방법의 플로우챠트이다.4 is a flowchart of a communication method of an electronic tag apparatus according to an embodiment of the present invention.

도 1 및 도 4를 참조하면, 본 발명의 실시 예에 따른 전자 태그 장치의 통신방법은, 전자 태그 장치(100)의 제어기(120)와 디스플레이(140)간의 통신방법이다. 이때, 상기 제어기(120)와 디스플레이(140)간 데이터 전송 시, 다양한 통신방식으로 데이터를 전송할 수 있다. 예를 들어 적용 가능한 통신 방식에는, 전술한 바와 같이 SPI(Serial Peripheral Interface bus), I2C(Inter-Integrated Circuit), UART(Universal Asynchronous Receiver/Transmitter), GPIO(General Purpose Input/Output) 등이 있다.
1 and 4, a communication method of an electronic tag apparatus according to an embodiment of the present invention is a method of communication between the controller 120 and the display 140 of the electronic tag apparatus 100. [ At this time, when data is transmitted between the controller 120 and the display 140, data can be transmitted through various communication methods. For example, applicable communication methods include a serial peripheral interface bus (SPI), an inter-integrated circuit (I2C), a universal asynchronous receiver / transmitter (UART), and a general purpose input / output (GPIO).

먼저, 단계 S100에서는, 상기 전자 태그 장치(100)의 제어기(120)에서 송신 데이터 발생을 판단할 수 있다. 이때, 전술한 바와 같이, SPI 통신 방식이 채용되면, 상기 제어기(120)는, 마스터로써 슬레이브인 상기 디스플레이(140)와 SPI 통신을 수행할 수 있다.
First, in step S100, the controller 120 of the electronic tag apparatus 100 can determine occurrence of transmission data. At this time, if the SPI communication method is adopted, the controller 120 can perform SPI communication with the display 140, which is a slave as a master.

단계 S300에서는, 상기 제어기(120)가 송신 데이타 발생이 판단되면, 상기 전자 태그 장치(100)의 디스플레이(140)로 에러 체크 코드를 포함하는 데이터 패킷을 전송할 수 있다. 상기 데이타 패킷에 대해서는 도 6을 참조하여 설명한다.
In step S300, when the controller 120 determines that transmission data is generated, it may transmit a data packet including an error check code to the display 140 of the electronic tag apparatus 100. [ The data packet will be described with reference to FIG.

단계 S500에서는, 상기 디스플레이(140)가 상기 제어기(120)로부터 데이터 패킷을 전송받고, 이 데이터 패킷에 포함된 에러 체크 코드를 이용하여 통신 에러를 체크하여, 상기 제어기(120)로 상기 에러 체크 정보를 전송할 수 있다. 여기서, 전술한 바와 같이, 본 발명의 실시 예에 따른 상기 제어기(120) 및 디스플레이(140)는 기존의 에러 체크 프로토콜중의 하나를 채용할 수 있다. In step S500, the display 140 receives a data packet from the controller 120, checks a communication error using the error check code included in the data packet, and transmits the error check information Can be transmitted. Here, as described above, the controller 120 and the display 140 according to the embodiment of the present invention may adopt one of the existing error check protocols.

예를 들어, 상기 에러 체크 정보는, 통신 에러가 없는 정상적인 통신 상태라면 'ACK' 정보를 포함할 수 있고, 이와 달리 통신 에러가 발생된 상태라면 'NACK' 정보를 포함할 수 있다.
For example, the error check information may include 'ACK' information if it is a normal communication state without a communication error, and may include 'NACK' information if a communication error occurs.

단계 S700에서는, 상기 제어기(120)가 상기 디스플레이(140)로부터 전송받은 에러 체크 정보에 기초해서 에러 발생인 경우에 상기 데이터 패킷을 재전송할 수 있다. In step S700, the controller 120 may retransmit the data packet when an error occurs based on the error check information received from the display 140. [

예를 들어, 상기 제어기(120)는 상기 에러 체크 정보에 'ACK' 정보가 포함되어 있으면, 정상 통신으로 인식하고, 상기 에러 체크 정보에 'NACK' 정보가 포함되어 있으면, 상기 데이타 패킷을 다시 전송할 수 있다.
For example, if the error check information includes 'ACK' information, the controller 120 recognizes the normal communication, and if the error check information includes 'NACK' information, the controller 120 transmits the data packet again .

도 5는 도 4의 전자 태그 장치의 통신방법의 변형 플로우챠트이다.5 is a flowchart of a modification of the communication method of the electronic tag apparatus of Fig.

도 1 내지 도 5를 참조하면, 단계 S220에서는, 데이터 패킷을 전송하는 동작 이전에, 상기 제어기(120)는 슬레이브 선택(SS)핀을 셋팅하고, 이 슬레이브 선택핀의 셋팅에 따라 상기 디스플레이(200)가 슬레이브 모드로 진입할 수 있다.1 to 5, in step S220, before the operation of transmitting a data packet, the controller 120 sets a slave selection (SS) pin and, according to the setting of the slave selection pin, ) Can enter the slave mode.

다음, 단계 S240에서는, 상기 제어기(120)가 직렬 클럭신호(SCLK)를 상기 디스플레이(200)에 전송하고, 상기 디스플레이(140)가 상기 직렬 클럭신호(SCLK)를 감지할 수 있다.
Next, in step S240, the controller 120 transmits a serial clock signal SCLK to the display 200, and the display 140 can sense the serial clock signal SCLK.

또한, 상기 단계 S700 에서는, 상기 디스플레이(140)로부터 전송받은 에러 체크 정보에 기초해서 에러 발생인 경우에는 상기 데이터 패킷의 재전송을 사전에 설정된 횟수만큼 반복할 수 있다. 여기서 반복 횟수는 전자 선반 시스템의 특성이나 통신 환경에 따라 적절히 결정될 수 있다.
In step S700, if an error occurs based on the error check information received from the display 140, the retransmission of the data packet may be repeated a predetermined number of times. Here, the number of repetition times can be appropriately determined depending on the characteristics of the electronic shelf system or the communication environment.

도 6은 본 발명의 실시 예에 따른 데이타 패킷의 예시도이다. 도 6을 참조하면, 일 예로, 본 발명의 실시 예에 따른 전자 태그 장치에 SPI 통신이 적용된 경우, 상기 데이터 패킷은 OP 코드, 어드레스, 데이타 및 에러 체크 코드를 포함할 수 있다.
6 is an illustration of a data packet according to an embodiment of the present invention. Referring to FIG. 6, when SPI communication is applied to an electronic tag apparatus according to an embodiment of the present invention, the data packet may include an OP code, an address, data, and an error check code.

120; 제어기
140: 디스플레이
120; Controller
140: Display

Claims (8)

송신할 데이터 발생시, 에러 체크 코드를 포함하는 데이터 패킷을 전송하고, 전송받은 에러 체크 정보에 기초해서 에러 발생인 경우에 상기 데이터 패킷을 재전송하는 제어기; 및
상기 제어기로부터 데이터 패킷을 전송받고, 이 데이터 패킷에 포함된 에러 체크 코드를 이용하여 통신 에러를 체크하여, 상기 에러 체크 정보를 상기 제어기에 전송하는 디스플레이;
를 포함하는 전자 태그 장치.
A controller for transmitting a data packet including an error check code when data to be transmitted is generated and for retransmitting the data packet in the event of an error based on the received error check information; And
A display for receiving a data packet from the controller, checking a communication error using an error check code included in the data packet, and transmitting the error check information to the controller;
.
제1항에 있어서, 상기 제어기는
마스터로써 슬레이브인 상기 디스플레이와 SPI(Serial Peripheral Interface bus) 통신을 수행하는 전자 태그 장치.
2. The apparatus of claim 1, wherein the controller
And an electronic tag device for performing SPI (Serial Peripheral Interface bus) communication with the display as a master as a slave.
제1항에 있어서, 상기 제어기는,
상기 데이터 패킷을 전송하기 이전에 슬레이브 선택 핀을 셋팅하여, 상기 디스플레이에 슬레이브 모드로의 진입을 제어하는 전자 태그 장치.
2. The apparatus of claim 1,
And setting a slave selection pin before transmitting the data packet to control entry into a slave mode on the display.
제1항에 있어서, 상기 제어기는,
상기 데이터 패킷을 전송하기 이전에 슬레이브 선택 핀을 셋팅하여, 상기 디스플레이에 슬레이브 모드로의 진입을 제어하고, 직렬 클럭신호를 상기 디스플레이에 전송하는 전자 태그 장치.
2. The apparatus of claim 1,
And setting a slave select pin before transmitting the data packet to control entry into the slave mode on the display and sending a serial clock signal to the display.
전자 태그 장치의 제어기에서 송신 데이터 발생을 판단하는 단계;
상기 제어기가 송신 데이타 발생이 판단되면, 상기 전자 태그 장치의 디스플레이로 에러 체크 코드를 포함하는 데이터 패킷을 전송하는 단계;
상기 디스플레이가 상기 제어기로부터 데이터 패킷을 전송받고, 이 데이터 패킷에 포함된 에러 체크 코드를 이용하여 통신 에러를 체크하여, 상기 제어기로 상기 에러 체크 정보를 전송하는 단계; 및
상기 제어기가 상기 디스플레이로부터 전송받은 에러 체크 정보에 기초해서 에러 발생인 경우에 상기 데이터 패킷을 재전송하는 단계;
를 포함하는 전자 태그 장치의 통신방법.
Determining whether transmission data is generated in the controller of the electronic tag apparatus;
Transmitting a data packet including an error check code to a display of the electronic tag apparatus when the controller determines that transmission data is generated;
The display receiving a data packet from the controller, checking a communication error using an error check code included in the data packet, and transmitting the error check information to the controller; And
Retransmitting the data packet if the controller has an error based on the error check information received from the display;
Wherein the electronic tag apparatus comprises:
제5항에 있어서, 상기 제어기는
마스터로써 슬레이브인 상기 디스플레이와 SPI (Serial Peripheral Interface bus) 통신을 수행하는 전자 태그 장치의 통신방법.
6. The apparatus of claim 5, wherein the controller
A communication method of an electronic tag apparatus that performs SPI (Serial Peripheral Interface bus) communication with the display that is a slave as a master.
제5항에 있어서,
데이터 패킷을 전송하는 단계 이전에, 상기 제어기는 슬레이브 선택 핀을 셋팅하고, 이 슬레이브 선택핀의 셋팅에 따라 상기 디스플레이가 슬레이브 모드로 진입하는 단계; 및
상기 제어기가 직렬 클럭신호를 상기 디스플레이에 전송하고, 상기 디스플레이가 상기 직렬 클럭신호를 감지하는 단계;
를 더 포함하는 전자 태그 장치의 통신방법.
6. The method of claim 5,
Before transmitting the data packet, the controller sets a slave select pin and enters the slave mode according to the setting of the slave select pin; And
The controller sending a serial clock signal to the display, the display sensing the serial clock signal;
Further comprising the steps of:
제5항에 있어서, 상기 데이터 패킷을 재전송하는 단계는,
상기 디스플레이로부터 전송받은 에러 체크 정보에 기초해서 에러 발생인 경우에는 상기 데이터 패킷의 재전송을 사전에 설정된 횟수만큼 반복하는 전자 태그 장치의 통신방법.
6. The method of claim 5, wherein retransmitting the data packet comprises:
And repeats the retransmission of the data packet a predetermined number of times when an error occurs based on the error check information received from the display.
KR1020120142927A 2012-12-10 2012-12-10 Electron tag device and communication method thereof KR20140074685A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
KR1020120142927A KR20140074685A (en) 2012-12-10 2012-12-10 Electron tag device and communication method thereof
DE102013112989.7A DE102013112989A1 (en) 2012-12-10 2013-11-25 Electronic label and associated communication method
JP2013243871A JP2014116938A (en) 2012-12-10 2013-11-26 Electronic tag device and communication method therefor
GB1320918.4A GB2509234A (en) 2012-12-10 2013-11-27 Electronic tag with error detection for internal data transfer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020120142927A KR20140074685A (en) 2012-12-10 2012-12-10 Electron tag device and communication method thereof

Publications (1)

Publication Number Publication Date
KR20140074685A true KR20140074685A (en) 2014-06-18

Family

ID=49918273

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020120142927A KR20140074685A (en) 2012-12-10 2012-12-10 Electron tag device and communication method thereof

Country Status (4)

Country Link
JP (1) JP2014116938A (en)
KR (1) KR20140074685A (en)
DE (1) DE102013112989A1 (en)
GB (1) GB2509234A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108596318A (en) * 2018-03-30 2018-09-28 歌尔股份有限公司 Electronic tag and the method for carrying out product back-tracing using the electronic tag
US11860730B2 (en) * 2021-12-06 2024-01-02 Waymo Llc Low-overhead, bidirectional error checking for a serial peripheral interface

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR980013273A (en) 1996-07-20 1998-04-30 구자홍 A method for storing compressed data and controlling transmission / reception of a digital camera
TWI263229B (en) * 2005-03-17 2006-10-01 Sunplus Technology Co Ltd Memory device with interface for serial transmission and error correction method for serial transmission interface
US8351404B2 (en) * 2009-09-25 2013-01-08 Nigel Iain Stuart Macrae Method and apparatus for multiple accesses to a communications channel
TWI441184B (en) * 2010-02-09 2014-06-11 Silicon Motion Inc Non-volatile memory device and the data processing method thereof
JP2012068769A (en) * 2010-09-21 2012-04-05 Toshiba Tec Corp Wireless tag writing device, wireless tag reading device, wireless tag writing method, wireless tag reading method and wireless tag
JP5618143B2 (en) * 2010-11-12 2014-11-05 ソニー株式会社 Encoding device, encoding method, decoding device, decoding method, program, and transmission system

Also Published As

Publication number Publication date
DE102013112989A1 (en) 2014-06-12
GB201320918D0 (en) 2014-01-08
GB2509234A (en) 2014-06-25
JP2014116938A (en) 2014-06-26

Similar Documents

Publication Publication Date Title
CN100366029C (en) Communication controller, host-side controller, communication equipment, communication system and method
CN101208679B (en) Device identification coding of inter-integrated circuit slave devices
CN110024435B (en) Wireless communication device and wireless communication method
CN105786753A (en) Method and device for data transmission between master and slave devices on I2C bus
US20060277339A1 (en) Communication apparatus, switching method, and switching program
KR100778114B1 (en) Communication method to improve communication error and electron device to be applied the method
EP3458962A1 (en) Communication device and communication system
KR101334017B1 (en) Apparatus of checking a validity of message on network for a vehicle and method of thereof
JP2765538B2 (en) Data transfer control device
KR20140074685A (en) Electron tag device and communication method thereof
CN106788916B (en) Data transmission method and data transmission device for bus
CN106060962A (en) Communication method and device
EP3171269A1 (en) Data transmission method and mobile terminal
JP5573318B2 (en) In-vehicle information collection device
TW201321242A (en) Digital signal transceiver, method and electrombile system thereof
CN111817827B (en) Transmission method of sidelink information, terminal and control node
JP6185371B2 (en) Sub-microcomputer program rewriting method
JPH0621923A (en) Radio communication method
CN104298630A (en) Communication method, communication devices and equipment based on SPI
CN100531189C (en) method for implementing communication protocol replacement and host interface device
CN111309347A (en) Data transmission method and related equipment
US11171857B2 (en) Identifying an electronic device connected to a communication network that has XCP enabled
CN111083447B (en) Network communication method, device and storage medium
CN113905333B (en) CSBK transmission method, device and intercom equipment
CN113196255B (en) Data transmission method and transmission device based on internal integrated circuit protocol

Legal Events

Date Code Title Description
WITN Application deemed withdrawn, e.g. because no request for examination was filed or no examination fee was paid