KR20060081926A - Packet configuration apparatus for communication control - Google Patents

Packet configuration apparatus for communication control Download PDF

Info

Publication number
KR20060081926A
KR20060081926A KR1020050002607A KR20050002607A KR20060081926A KR 20060081926 A KR20060081926 A KR 20060081926A KR 1020050002607 A KR1020050002607 A KR 1020050002607A KR 20050002607 A KR20050002607 A KR 20050002607A KR 20060081926 A KR20060081926 A KR 20060081926A
Authority
KR
South Korea
Prior art keywords
packet
factor
expression
unit
value
Prior art date
Application number
KR1020050002607A
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 KR1020050002607A priority Critical patent/KR20060081926A/en
Publication of KR20060081926A publication Critical patent/KR20060081926A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • H04L12/281Exchanging configuration information on appliance services in a home automation network indicating a format for calling an appliance service function in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

본 발명은 통신 제어용 패킷 구성 장치에 관한 것으로서, 특히 사용자가 패킷을 용이하게 구성하여 홈 네트워크 시스템을 테스트할 수 있도록 하는 통신 제어용 패킷 구성 장치에 관한 것이다. The present invention relates to a packet control device for communication control, and more particularly, to a packet control device for communication control that enables a user to easily configure a packet to test a home network system.

본 발명인 통신 제어용 패킷 구성 장치는 적어도 하나 이상의 패킷 표현식을 저장하는 저장부와, 상기 패킷 표현식의 목록을 표시하는 표시부와, 사용자에 의한 상기 패킷 표현식의 선택을 입력받는 입력부와, 소정의 네트워크와 접속하여 패킷을 송수신하는 통신부와, 상기 저장부를 판독하여 상기 표시부에 상기 목록을 표시하고, 상기 사용자에 의해 선택된 패킷 표현식을 상기 입력부로부터 전송받아, 이에 대응하는 패킷을 생성하여 상기 통신부를 통하여 송신하는 제어부를 포함한다.
The present invention provides a packet control apparatus for storing communication, a storage unit for storing at least one packet expression, a display unit for displaying a list of the packet expressions, an input unit for receiving a selection of the packet expressions by a user, and a connection with a predetermined network. And a communication unit for transmitting and receiving a packet, and displaying the list on the display unit by reading the storage unit, receiving a packet expression selected by the user from the input unit, and generating a corresponding packet to transmit the packet through the communication unit. It includes.

Description

통신 제어용 패킷 구성 장치{PACKET CONFIGURATION APPARATUS FOR COMMUNICATION CONTROL} Packet configurator for communication control {PACKET CONFIGURATION APPARATUS FOR COMMUNICATION CONTROL}             

도 1은 일반적인 홈 네트워크 시스템의 개념도이다.1 is a conceptual diagram of a general home network system.

도 2는 본 발명에 따른 통신 제어용 패킷 구성 장치의 구성도이다. 2 is a configuration diagram of a packet control apparatus for communication control according to the present invention.

도 3a 내지 3d는 본 발명인 패킷 구성 장치에서 구성되는 패킷 구조의 실시예이다. 3A to 3D are examples of the packet structure constructed in the packet construction apparatus of the present invention.

도 4는 패킷 표현식의 구성도이다.4 is a block diagram of a packet expression.

도 5는 변수의 정의 예시이다. 5 is an example of definition of a variable.

도 6은 도 2의 표시부에 표시되는 화면의 실시예이다. 6 is an exemplary embodiment of a screen displayed on the display unit of FIG. 2.

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

10: 저장부 20: 표시부10: storage unit 20: display unit

30: 입력부 40: 통신부30: input unit 40: communication unit

50: 변환부 60: 제어부50: converter 60: controller

100: 패킷 구성 장치 200: 네트워크
100: packet configurator 200: network

본 발명은 통신 제어용 패킷 구성 장치에 관한 것으로서, 특히 사용자가 패킷을 용이하게 구성하여 홈 네트워크 시스템을 테스트할 수 있도록 하는 통신 제어용 패킷 구성 장치에 관한 것이다. The present invention relates to a packet control device for communication control, and more particularly, to a packet control device for communication control that enables a user to easily configure a packet to test a home network system.

현재 각 가정 또는 원격에서 가정에 있는 가전기기들을 자동으로 제어하기 위한 홈 오토메이션은 거의 상용화단계에 이르러 있다. 초기의 홈 오토메이션의 경우 전화 또는 적외선을 이용하여 각 기기를 별도로 제어하는 수준이었고 각 기기 간의 연계는 이루어지지 않았으나, 이제는 통신수단을 이용하여 가전기기 간의 네트워크를 구축하여 이 네트워크를 제어하는 제어기를 두어 통합 관리하도록 하는 방법이 이용되고 있다. At present, home automation for automatic control of home appliances in each home or remote is almost commercialized. In the early days of home automation, each device was controlled separately using a telephone or infrared ray, and there was no linkage between the devices, but now there is a controller that controls the network by establishing a network between home appliances using communication means. A method for integrated management is used.

도 1은 일반적인 홈 네트워크 시스템의 개념도이다. 도시된 바와 같이, 홈 네트워크란 다양한 디지털 가전제품들이 서로 연결되어 집안과 밖에서 언제든지 편리하고 안전하며 경제적인 생활 서비스를 즐길 수 있는 것을 말한다. 1 is a conceptual diagram of a general home network system. As shown, a home network means that various digital home appliances can be connected to each other to enjoy convenient, safe and economical living services at home and at any time.

이러한 홈 네트워크가 등장하게 된 배경에는 그 동안 백색 가전으로 불리던 냉장고나 세탁기 등이 디지털 신호처리 기술의 발전으로 인해 점차 디지털화 되고 있으며, 여기에다 가전용 운용체제 기술과 고속 멀티미디어 통신 기술 등의 급속한 발전으로 인해 이들 기술들이 집약된 새로운 정보 가전의 형태로 등장하고 있기 때문이다. In the background of the appearance of the home network, refrigerators and washing machines, which have been called white household appliances, have been gradually digitized due to the development of digital signal processing technology. Also, due to the rapid development of home appliance operating system technology and high-speed multimedia communication technology, This is because these technologies are emerging as a form of integrated new information appliances.                         

여기서, IT 네트워크는 개인용 컴퓨터와 주변 장치들 간의 데이터 교환이나 인터넷 서비스 제공 등을 위해 구축되는 네트워크 유형을 말하여, AV 네트워크는 오디오나 비디오 정보를 다루는 가전 기기들간의 네트워크 유형을 말한다. 그리고, 리빙 네트워크는 홈 오토메이션이나 원격 검침과 같이 가전 기기들의 단순한 제어를 목적으로 하여 구축되는 네트워크로서, 냉장고, 세탁기, 전자레인지, 전등 가스 경보기, 에어컨, 전화 등으로 이루어질 수 있다. Here, the IT network refers to a network type established for exchanging data or providing Internet services between a personal computer and peripheral devices, and the AV network refers to a network type between home appliances that handle audio or video information. And, the living network is a network constructed for the purpose of simple control of home appliances, such as home automation or remote meter reading, and may include a refrigerator, a washing machine, a microwave oven, a light gas alarm, an air conditioner, a telephone, and the like.

이러한 가정 내에 구성된 홈 네트워크 시스템은 다른 전기 기기의 동작을 제어하거나 상태를 모니터링 할 수 있는 전기 기기인 마스터 디바이스와, 전기 기기의 특성이나 기타 요인에 의하여 마스터 디바이스의 요구에 응답하는 기능과 자신의 상태 변화에 대한 정보를 통지하는 기능을 갖는 전기 기기인 슬레이브 디바이스로 이루어진다. 본 명세서에서 사용되는 전기 기기는 세탁기, 냉장고 등과 같은 상술된 리빙 네트워크 서비스를 위한 가전기기뿐만 아니라, IT 네트워크 서비스 및 AV 네트워크 서비스를 위한 가전기기를 모두 포함하는 것을 의미한다.A home network system configured in such a home is a master device, which is an electric device capable of controlling or monitoring the operation of other electric devices, and a function of responding to a request of the master device by the characteristics or other factors of the electric device, and its status. It consists of a slave device, which is an electrical appliance having a function of notifying information about a change. As used herein, the electric appliance is meant to include not only home appliances for living network services described above, such as a washing machine and a refrigerator, but also home appliances for IT network services and AV network services.

이러한 종래의 홈 네트워크 시스템의 테스트를 위해서, 소정의 패킷(예를 들면, 요청 패킷, 응답 패킷 또는 통지 패킷)을 16진수로 구성한 이후에, 이 16진수를 소정의 네트워크를 통하여 각 전기 기기로 송신한다. 이러한 16진수를 구성하는 과정은 소정의 형태의 패킷 구조에 맞는 16진수 데이터를 구성하는 것으로 이루어짐으로써, 작성자가 다양한 패킷 구조에 대응하는 16진수 데이터를 구성하는 것이 상당히 어렵다. 또한, 구성 상의 어려움뿐만 아니라, 작성자 또는 타인이 패킷 내용을 16진수만을 보고 패킷의 내용을 파악하는 것이 상당히 어려우며, 그 구성 상 에 오류가 있는지를 판단하는 것도 어렵게 된다.
In order to test such a conventional home network system, after a predetermined packet (for example, a request packet, a response packet, or a notification packet) is configured in hexadecimal, the hexadecimal is transmitted to each electric device through a predetermined network. do. The process of constructing the hexadecimal number is made up of hexadecimal data suitable for a packet structure of a predetermined form, so that it is quite difficult for the creator to construct hexadecimal data corresponding to various packet structures. In addition, in addition to the difficulty in configuration, it is very difficult for the author or another person to see the contents of the packet only by looking at the hexadecimal number, and it is difficult to determine whether there is an error in the configuration.

이러한 문제점을 해결하기 위해, 본 발명은 작성자가 다양한 형태의 패킷 구조가 있음에도 불구하고, 용이하게 16진수 데이터를 구성할 수 있도록 하는 통신 제어용 패킷 구성 장치를 제공하는 것을 목적으로 한다. In order to solve this problem, it is an object of the present invention to provide a packet control device for communication control that allows the creator to easily configure the hexadecimal data, despite the various types of packet structure.

또한, 본 발명은 작성자가 16진수를 처리하는 것이 아니라, 패킷 표현식을 처리하도록 하여 그 16진수 데이터의 구성 및 패킷의 내용을 용이하게 파악하도록 하는 통신 제어용 패킷 구성 장치를 제공하는 것을 목적으로 한다. It is also an object of the present invention to provide a packet control apparatus for communication control, in which a creator does not process hexadecimal digits, but processes a packet expression to easily grasp the structure of the hexadecimal data and the contents of the packet.

또한, 본 발명은 기 작성된 패킷 표현식을 용이하게 변경할 수 있도록 하는 통신 제어용 패킷 구성 장치를 제공하는 것을 목적으로 한다.
In addition, an object of the present invention is to provide a packet control device for communication control that can easily change the packet expression previously prepared.

본 발명인 통신 제어용 패킷 구성 장치는 적어도 하나 이상의 패킷 표현식을 저장하는 저장부와, 상기 패킷 표현식의 목록을 표시하는 표시부와, 사용자에 의한 상기 패킷 표현식의 선택을 입력받는 입력부와, 소정의 네트워크와 접속하여 패킷을 송수신하는 통신부와, 상기 저장부를 판독하여 상기 표시부에 상기 목록을 표시하고, 상기 사용자에 의해 선택된 패킷 표현식을 상기 입력부로부터 전송받아, 이에 대응하는 패킷을 생성하여 상기 통신부를 통하여 송신하는 제어부를 포함한다. The present invention provides a packet control apparatus for storing communication, a storage unit for storing at least one packet expression, a display unit for displaying a list of the packet expressions, an input unit for receiving a selection of the packet expressions by a user, and a connection with a predetermined network. And a communication unit for transmitting and receiving a packet, and displaying the list on the display unit by reading the storage unit, receiving a packet expression selected by the user from the input unit, and generating a corresponding packet to transmit the packet through the communication unit. It includes.

이때, 상기 장치는 상기 패킷 표현식을 16진수 데이터로 변환하는 변환부를 추가적으로 포함하고, 상기 제어부는 상기 생성된 패킷 표현식을 상기 변환부로 하여금 16진수 데이터인 패킷으로 변환하도록 하고, 상기 변환된 16진수 데이터를 상기 통신부를 통하여 송신하는 것이 바람직하다. In this case, the apparatus further includes a conversion unit for converting the packet expression into hexadecimal data, the control unit causes the conversion unit to convert the generated packet expression into a packet of hexadecimal data, the converted hexadecimal data Is preferably transmitted through the communication unit.

또한, 상기 저장부는 통신 명령어를 저장하고, 상기 제어부는 상기 통신 명령어를 상기 표시부를 통하여 표시하여, 사용자에 의해 선택된 통신 명령어를 상기 패킷 표현식에 포함시키는 것이 바람직하다. The storage unit may store a communication command, and the controller may display the communication command through the display unit to include the communication command selected by the user in the packet expression.

또한, 상기 표시부는 상기 패킷 표현식을 표시하는 것이 바람직하다. In addition, the display unit preferably displays the packet expression.

또한, 상기 패킷 표현식은 패킷 헤드 블록과, 메시지 헤드 블록과, 메시지 블록 및 트레일러 블록을 적어도 포함하는 것이 바람직하다. Further, the packet expression preferably includes at least a packet head block, a message head block, a message block and a trailer block.

또한, 상기 패킷 헤드 블록은 패킷 시작(SLP) 인자, 수신자 번지(RA) 인자, 송신자 번지(SA) 인자, 패킷 길이(PL) 인자, 전송 우선순위(SP) 인자, 패킷 헤더 길이(PHL) 인자, 패킷 버전(PV) 인자, 패킷 타입(PT) 인자, 재전송 계수(RC) 인자, 패킷 번호(PN) 인자 중에서 적어도 하나 이상을 포함하고, 상기 인자들은 각각 인자값을 지닌 것이 바람직하다. The packet head block may also include a packet start (SLP) factor, a receiver address (RA) factor, a sender address (SA) factor, a packet length (PL) factor, a transmission priority (SP) factor, and a packet header length (PHL) factor. And at least one of a packet version (PV) factor, a packet type (PT) factor, a retransmission factor (RC) factor, and a packet number (PN) factor, each of which preferably has a factor value.

또한, 상기 메시지 헤드 블록은 메시지 길이(ML) 인자, 메시지 헤더 길이(MHL) 인자, 패킷 옵션(PO) 인자 중의 적어도 하나 이상을 포함하고, 상기 인자들은 각각 인자값을 지닌 것이 바람직하다. In addition, the message head block includes at least one or more of a message length (ML) factor, a message header length (MHL) factor, and a packet option (PO) factor, each of which preferably has a factor value.

또한, 상기 메시지는 명령어 인자를 포함하고, 상기 인자는 상기 통신 명령어를 인자값으로 지닌 것이 바람직하다. In addition, the message includes a command argument, and the argument preferably includes the communication command as an argument value.

또한, 상기 트레일러 블록은 순환여유검사(CRC) 인자와, 패킷 종료(ELP) 인 자를 포함하고, 상기 인자들은 각각 인자값을 지닌 것이 바람직하다. In addition, the trailer block includes a cyclic margin check (CRC) factor and a packet end (ELP) factor, each of which preferably has a factor value.

또한, 상기 저장부는 상기 인자값으로 사용되는 변수를 저장하고, 상기 제어부는 상기 표시부를 통하여 상기 변수의 목록을 표시하는 것이 바람직하다. The storage unit may store a variable used as the factor value, and the controller may display the list of the variable through the display unit.

또한, 상기 제어부는 상기 입력부를 통하여 사용자에 의해 입력된 변수를 상기 패킷 표현식의 대응하는 인자값에 적용하는 것이 바람직하다. In addition, the control unit preferably applies a variable input by the user through the input unit to a corresponding factor value of the packet expression.

또한, 상기 변수는 소정의 함수로 정의되는 것이 바람직하다. In addition, the variable is preferably defined as a predetermined function.

또한, 상기 인자값은 소정의 변수 식별자와 변수명으로 이루어진 것이 바람직하다. In addition, the factor value is preferably made of a predetermined variable identifier and variable name.

또한, 상기 인자값의 길이가 강제로 지정되는 것이 바람직하다. It is also preferable that the length of the print value is forcibly specified.

또한, 상기 패킷 표현식은 상기 인자값의 후방에 소정의 주석을 포함하는 것이 바람직하다. In addition, the packet expression preferably includes a predetermined comment after the argument value.

이하에서, 본 발명은 본 발명의 실시예 및 첨부도면에 기초하여 상세하게 설명된다. 그러나, 이하의 실시예들 및 도면에 의해 본 발명의 범위가 제한되지는 않으며, 본 발명의 범위는 후술한 특허청구범위에 기재된 내용에 의해서만 제한될 것이다.In the following, the invention is explained in detail based on the embodiments of the invention and the accompanying drawings. However, the scope of the present invention is not limited by the following embodiments and drawings, and the scope of the present invention will be limited only by the contents described in the claims below.

도 2는 본 발명에 따른 통신 제어용 패킷 구성 장치의 구성도이다. 도시된 바와 같이, 패킷 구성 장치(100)는 네트워크(200)를 통하여 다른 전기 기기(미도시)(예를 들면, 마스터 디바이스, 슬레이브 디바이스 등)와 통신 가능하다. 이 패킷 구성 장치(100)는 일종의 홈 네트워크 시스템을 전체적으로 관리하는 마스터 디바이스인 네트워크 관리기일 수도 있고, 홈 네트워크 시스템에 네트워크(200)를 통하여 새롭게 접속되는 마스터 디바이스일 수도 있다. 2 is a configuration diagram of a packet control apparatus for communication control according to the present invention. As shown, the packet construction apparatus 100 is capable of communicating with another electrical device (not shown) (eg, master device, slave device, etc.) via the network 200. The packet construction apparatus 100 may be a network manager that is a master device that manages a home network system as a whole, or may be a master device newly connected to the home network system through the network 200.

이 패킷 구성 장치(100)는 패킷 표현식(11)과, 통신 명령어(12) 및 변수(13)를 저장하는 저장부(10)와, 패킷 표현식의 목록과, 통신 명령어, 변수를 표시하는 표시부(20)와, 사용자(즉, 작성자)에 의한 입력이 가능한 입력부(30)와, 네트워크(200)를 통하여 16진수 데이터를 송수신하는 통신부(40)와, 사용자에 의한 선택과 입력에 의해 형성된 패킷 표현식을 16진수 데이터로 변환하는 변환부(50)와, 상술된 구성요소들을 제어하여, 사용자에게 다양한 형태의 패킷에 대응하는 패킷 표현식을 표시하고, 이 패킷 표현식에 사용자에 의해 선택된 통신 명령어 및/또는 변수를 대입하고, 이렇게 구성된 패킷 표현식에 대응하는 16진수 데이터인 패킷을 네트워크(200)를 통하여 송신하는 제어부(60)로 이루어진다. The packet construction apparatus 100 includes a packet expression 11, a storage unit 10 for storing communication commands 12 and variables 13, a list of packet expressions, a display unit for displaying communication commands, variables ( 20), an input unit 30 capable of input by a user (ie, author), a communication unit 40 for transmitting and receiving hexadecimal data via the network 200, and a packet expression formed by selection and input by a user Converts the hexadecimal data into hexadecimal data and controls the above-described components to display a packet expression corresponding to various types of packets to the user, and the communication instruction and / or selected by the user in the packet expression. A control unit 60 assigns a variable and transmits a packet, which is hexadecimal data corresponding to the packet expression thus constructed, through the network 200.

자세하게는, 저장부(10)는 복수의 종류(형태)인 패킷에 대응하는 패킷 표현식(11)과, 이 패킷에 포함되는 통신 명령어(12)와, 소정의 인자에 대한 인자값으로 사용되는 변수(13)를 저장한다. In detail, the storage unit 10 includes a packet expression 11 corresponding to a plurality of types (types) of packets, a communication command 12 included in the packet, and a variable used as an argument value for a predetermined factor. Save (13).

여기서, 패킷 표현식(11)은 패킷의 종류(예를 들면, 패킷의 버전 등)에 따라 구성되는 블록 및/또는 인자 등에 차이가 발생한다. 이에, 먼저 본 발명에 적용될 패킷 구조에 대하여 살펴본다. Here, the packet expression 11 differs in a block and / or a factor configured according to the type of the packet (for example, the packet version, etc.). First, the packet structure to be applied to the present invention will be described.

도 3a 내지 3d는 본 발명인 패킷 구성 장치에서 구성되는 패킷 구조의 실시예이다. 3A to 3D are examples of the packet structure constructed in the packet construction apparatus of the present invention.

도 3a에 도시된 바와 같이, 패킷은 패킷 헤드(PKT_HEAD) 필드와, 메시지 헤드(MSG_HEAD) 필드와, 메시지(MSG_BODY) 필드 및 트레일러(TRAILER) 필드로 구성된 다. As shown in FIG. 3A, a packet includes a packet head (PKT_HEAD) field, a message head (MSG_HEAD) field, a message (MSG_BODY) field, and a trailer (TRAILER) field.

패킷 헤드(PKT_HEAD) 필드는 도 3b에 도시된 바와 같이 구성된다. The packet head PKT_HEAD field is configured as shown in FIG. 3B.

먼저, SLP(Start of LnCP Packet) 필드는 패킷의 시작을 나타내는 필드로서 0x02 값을 갖는다. First, the Start of LnCP Packet (SLP) field is a field indicating the start of a packet and has a value of 0x02.

RA(Receiver Address) 및 SA(Sender Address) 필드는 전송하려는 패킷의 수신자와 송신자의 번지이다. The Receiver Address (RA) and Sender Address (SA) fields are the address of a receiver and a sender of a packet to be transmitted.

PL(Packet Length) 필드는 전송하려는 패킷의 전체 길이를 나타내는 필드이다. The PL (Packet Length) field is a field indicating the total length of a packet to be transmitted.

SP(Service Priority) 필드는 전송 메시지에 전송 우선 순위를 부여하기 위한 필드이고, 각 전송 메시지에 따른 우선 순위는 표 1과 같다. The SP (Service Priority) field is a field for assigning a transmission priority to a transmission message, and the priority according to each transmission message is shown in Table 1.

슬레이브 디바이스가 마스터 디바이스의 요청에 의하여 응답하는 경우에는 마스터 디바이스로부터 수신된 요청 메시지의 우선 순위를 따른다.
When the slave device responds by the request of the master device, the slave device follows the priority of the request message received from the master device.

우선순위Priority value 적용apply 높음(High)High 00 - 긴급한 메시지를 전송할 때-Send urgent messages 중간(Middle)Middle 1One - 일반적인 패킷을 전송할 때 - 온라인(Online State) 또는 오프라인 상태 (Offline State) 변화에 대한 이벤트 메시지 전송할 때-When sending general packet-When sending event message about on-line or off-line state change 표준(Normal)Normal 22 - 네트워크 구성을 위한 통지 메시지 전송할 때 - 일반적인 이벤트 메시지 전송할 때-When sending notification message for network configuration-When sending general event message 낮음(Low)Low 33 -다운로드 또는 업로드 메커니즘에 의하여 데이터를 전송 할 때When transferring data by means of a download or upload mechanism

PHL(Packet Header Length) 필드는 패킷 헤더의 길이를 나타내며, 패킷 헤더의 확장을 위하여 사용되는 필드이다. The PHL (Packet Header Length) field indicates the length of a packet header and is used for extending the packet header.                     

PV(Protocol Version) 필드는 채용된 프로토콜의 버전을 나타내는 1 바이트 필드로서 상위 4비트는 버전(version) 필드로, 하위 4비트는 서브 버전(sub-version) 필드로 구성된다. 버전과 서브 버전은 각각 16 진수 표기로 버전을 나타낸다. The PV (Protocol Version) field is a 1 byte field indicating the version of the adopted protocol. The upper 4 bits are composed of a version field, and the lower 4 bits are composed of a sub-version field. Versions and subversions each indicate a version in hexadecimal notation.

PT(Packet Type) 필드는 패킷의 종류를 구분하는 4 비트 필드로서, 일실시예인LnCP는 요청 패킷(Request Packet), 응답 패킷(Response Packet), 통지 패킷(Notification Packet)을 포함하고, 마스터 디바이스의 PT 필드는 요청 패킷 또는 통지 패킷으로 설정되어야 하며, 슬레이브 디바이스의 PT 필드는 응답 패킷 또는 통지 패킷으로 설정되어야 한다. 패킷 종류에 따른 PT값은 하기의 표 2와 같다. The PT (Packet Type) field is a 4-bit field that identifies the type of packet. In one embodiment, the LnCP includes a request packet, a response packet, and a notification packet. The PT field should be set to a request packet or a notification packet, and the PT field of the slave device should be set to a response packet or a notification packet. PT values according to packet types are shown in Table 2 below.

value 설명Explanation 00 요청 패킷Request packet 1~31 to 3 사용하지 않음Do not use 44 응답 패킷Reply packet 5~75 ~ 7 사용하지 않음Do not use 88 통지 패킷Notification packet 9~129-12 사용하지 않음Do not use 13~1513-15 예약된 값임Reserved value

RC(Retransmission Counter) 필드는 통신 에러가 발생하여 요청 패킷 또는 응답 패킷이 성공적으로 전송되지 않을 때 요청 패킷을 재전송하거나, 통지 패킷의 전송 성공율을 높이기 위하여 반복 전송하기 위한 2비트의 필드이다. 수신자는 RC 필드 값을 이용하여 중복 메시지를 검출할 수 있다. RC 필드의 값의 범위는 표 3과 같다. The Retransmission Counter (RC) field is a 2-bit field for retransmitting a request packet when a communication error occurs and the request packet or response packet is not successfully transmitted, or for repetitive transmission to increase the success rate of the notification packet. The receiver may detect duplicate messages using the RC field value. The range of values of the RC field is shown in Table 3.                     

패킷 종류Packet type 값(범위)Value (range) 요청 패킷Request packet 1~31 to 3 응답 패킷Reply packet 1One 통지 패킷Notification packet 1~31 to 3

PN(Packet Number) 필드는 2비트로 구성되며, PN 필드의 범위는 하기의 표 4와 같다. The PN field is composed of 2 bits, and the range of the PN field is shown in Table 4 below.

패킷 종류Packet type 값(범위)Value (range) 요청 패킷Request packet 0~30-3 응답 패킷Reply packet 요청 패킷의 PN 필드 값을 복사Copy the PN field value of the request packet 통지 패킷Notification packet 0~30-3

다음으로, 메시지 헤드(MSG_HEAD) 필드는 도 3c와 같이 구성된다. Next, the message head MSG_HEAD field is configured as shown in FIG. 3C.

ML(Message Length) 필드는 메시지의 길이(MSG_HEAD로부터 MSG_BODY까지의 길이)를 나타내는 필드로서, 최소값은 4이고 최대값은 77이다. The Message Length (ML) field is a field indicating the length of a message (the length from MSG_HEAD to MSG_BODY). The minimum value is 4 and the maximum value is 77.

MHL(Message Header Length) 필드는 메시지 헤더의 길이(ML로부터 PO까지의 길이)를 나타내는 필드이다. The MHL (Message Header Length) field is a field indicating the length of the message header (length from ML to PO).

PO(Packet Option) 필드는 메시지 셋의 확장을 위한 필드이다.The PO (Packet Option) field is a field for extending a message set.

메시지 필드는 사용자의 제어 메시지나 이벤트 정보를 처리하기 위한 필드로서, PO 필드에 담긴 값에 따라 달리 구성된다. The message field is a field for processing a user's control message or event information, and is configured differently according to the value contained in the PO field.

다음으로 메시지(MSG_BODY) 필드는 마스터 디바이스와 슬레이브 디바이스 간에 전달되는 데이터이다. 이 메시지(MSG_BODY) 필드는 통신 명령어를 포함한다. Next, the message (MSG_BODY) field is data transferred between the master device and the slave device. This message (MSG_BODY) field contains a communication command.

다음으로, 트레일러(TRAILER)는 도 3d와 같이 구성된다. Next, the trailer TRAILER is configured as shown in FIG. 3D.                     

CRC(Cyclic Redundancy Check: 순환여유검사) 필드는 수신된 패킷의 에러를 검출하기 위한 16비트의 필드이다. The CRC (Cyclic Redundancy Check) field is a 16-bit field for detecting an error of a received packet.

ELP(End of LnCP Packet) 필드는 패킷의 끝을 나타내는 필드로서 0x03 값을 갖는다. The End of LnCP Packet (ELP) field is a field indicating the end of a packet and has a value of 0x03.

상술된 패킷에 대응하여, 패킷 표현식은 도 4와 같이 구성된다. Corresponding to the packet described above, the packet expression is constructed as shown in FIG.

먼저, 패킷 표현식은 패킷의 구성에 대응하도록 패킷 헤드(PKT_HEAD) 블록과, 메시지 헤드(MSG_HEAD) 블록과, 메시지 블록(MSG_BODY) 블록 및 트레일러(TRAILER) 블록으로 이루어진다. First, the packet expression is composed of a packet head (PKT_HEAD) block, a message head (MSG_HEAD) block, a message block (MSG_BODY) block and a trailer (TRAILER) block to correspond to the configuration of the packet.

자세하게는, 패킷 헤드(PKT_HEAD) 블록은 패킷 헤드(PKT_HEAD) 필드에 대응하여 패킷 시작(SLP) 인자, 수신자 번지(RA) 인자, 송신자 번지(SA) 인자, 패킷 길이(PL) 인자, 전송 우선순위(SP) 인자, 패킷 헤더 길이(PHL) 인자, 패킷 버전(PV) 인자, 패킷 타입(PT) 인자, 재전송 계수(RC) 인자, 패킷 번호(PN) 인자를 포함한다. In detail, the packet head (PKT_HEAD) block corresponds to the packet head (PKT_HEAD) field, packet start (SLP) factor, receiver address (RA) factor, sender address (SA) factor, packet length (PL) factor, transmission priority. (SP) factor, packet header length (PHL) factor, packet version (PV) factor, packet type (PT) factor, retransmission factor (RC) factor, and packet number (PN) factor.

또한, 메시지 헤드(MSG_HEAD) 블록은 메시지 헤드(MSG_HEAD) 필드에 대응하여 메시지 길이(ML) 인자, 메시지 헤더 길이(MHL) 인자, 패킷 옵션(PO) 인자를 포함한다. In addition, the message head MSG_HEAD block includes a message length (ML) factor, a message header length (MHL) factor, and a packet option (PO) factor corresponding to the message head (MSG_HEAD) field.

또한, 메시지(MSG_BODY) 블록은 메시지(MSG_BODY) 필드에 대응하여 메시지인 명령어(CMD) 인자를 포함한다. In addition, the message MSG_BODY block includes a command (CMD) argument that is a message corresponding to the message (MSG_BODY) field.

마지막으로, 트레일러(TRAILER) 블록은 트레일러(TRAILER) 필드에 대응하여 순환여유검사(CRC) 인자와, 패킷 종료(ELP) 인자를 포함한다. Finally, the TRAILER block includes a CRC factor and a packet termination factor corresponding to the TRAILER field.                     

모든 인자는 블록명 뒤의 '{'로부터 '}' 사이에 삽입되며, 인자 간의 구별은 ','로 이루어진다. 또한, 각 인자는 '=' 뒤에 인자값을 지니며, 이 인자값은 패킷 시작(SLP) 인자와 전송 우선순위(SP) 인자와 패킷 버전(PV) 인자와, 패킷 타입(PT) 인자와, 패킷 옵션(PO) 인자와 명령어(CMD) 인자와 패킷 종료(ELP) 인자와 같이, 사용자에 의한 선택 및/또는 입력에 의해 설정된 고정값일 수 있다. 이 고정된 값인 인자값이 10진수이면, '123'과 같이 표시되고, 16진수이면 '0x02FF'와 같이 표시되고, 8진수이면 '0777'과 같이 표시되고, NULL문자로 끝나는 문자열은 ' "ABCD" '와 같이 표시되고, NULL 문자가 없는 문자열은 ' 'ABCD' '와 같이 표시된다. All arguments are inserted between '{' and '}' after the block name, and the distinction between the arguments consists of ','. In addition, each argument has an argument value after '=', which includes a packet start (SLP) argument, a transmission priority (SP) argument, a packet version (PV) argument, a packet type (PT) argument, It may be a fixed value set by selection and / or input by a user, such as a packet option (PO) argument, a command (CMD) argument, and a packet termination (ELP) argument. If the fixed argument value is a decimal number, it is displayed as' 123 ', if it is a hexadecimal number, it is displayed as' 0x02FF', and if it is octal number, it is displayed as' 0777 ', and the NULL-terminated string is' "ABCD "", And strings without NULL characters are displayed as '' ABCD ''.

다른 나머지 인자들과 같이 변수에 의해 설정된 값일 수도 있다. 변수에 대한 설명은 하기에서 상세하게 이루어진다. 다만, 이러한 변수를 사용하기 위해, 인자값은 변수 식별자(예를 들면, '$')와 변수명으로 이루어진다. 제어부(60)는 인자값에 변수 식별자가 포함된 경우, 변수(13)를 검색하여 대응하는 변수명을 판독하고, 이 변수명에 대응하는 값(예를 들면, 고정값 또는 함수의 반환값 등)으로 인자값을 설정한다.  It may be the value set by a variable like the other arguments. The description of the variables is made in detail below. However, in order to use such a variable, the argument value consists of a variable identifier (eg, '$') and a variable name. When the variable value is included in the argument value, the control unit 60 searches for the variable 13 to read the corresponding variable name, and the value corresponding to the variable name (for example, a fixed value or a return value of a function, etc.). Set the argument value with).

다음으로, 16진수로 변환 후의 인자값의 길이가 강제로 지정될 수 있다. 예를 들면, 전송 우선순위(SP) 인자와, 패킷 헤더 길이(PHL) 인자와, 패킷 타입(PT) 인자와, 재전송 계수(RC) 인자와 패킷 번호(PN) 인자와 순환여유검사(CRC) 인자가 해당된다. 길이는 바이트(byte) 단위의 길이를 나타내며, 비트(bit) 단위의 길이를 사용할 경우 '='와 인자값 사이에 '숫자b_'로 표시된다. 예를 들면, 변환전에 인자 값이 7인 경우, '7'은 16진수 '07'로 표시되고, '2_7'은 16진수 '00 07'로 표시된다. Next, the length of the argument value after conversion to hexadecimal can be forcibly specified. For example, the transmission priority (SP) factor, the packet header length (PHL) factor, the packet type (PT) factor, the retransmission factor (RC) factor, the packet number (PN) factor, and the cyclic freeness check (CRC) This is the argument. The length represents the length in bytes, and when the length in bits is used, it is expressed as 'number b_' between '=' and the argument value. For example, if the argument value is 7 before conversion, '7' is displayed as hexadecimal '07' and '2_7' is displayed as hexadecimal '00 07 '.

또한, 인자값의 뒤에 소정의 주석이 포함될 수도 있다. 예를 들면, ' CMD=0x04: 제품상태정보요청명령'과 같다. In addition, a predetermined comment may be included after the argument value. For example, 'CMD = 0x04: Request Product Status Information'.

상술된 패킷 표현식은 그에 대응하는 패킷의 형태에 따른 구조를 지니게 된다. 즉, 블록의 개수 및/또는 인자의 개수 등이 서로 상이할 수도 있다. The packet expression described above has a structure according to the type of the packet corresponding thereto. That is, the number of blocks and / or the number of arguments may be different from each other.

다음으로, 저장부(10)는 통신 명령어(12)를 저장한다. 이 통신 명령어는 홈 네트워크 시스템 내에서 전기 기기의 제어 및/또는 상태 확인을 위한 명령어를 나타내며, 예를 들면, 제품명 요청 명령어는 '0x00'로 표시되고, 제조자명 요청 명령어는 '0x01' 등과 같이 표시된다. 이 통신 명령어는 패킷 표현식의 명령어(CMD) 인자의 인자값에 해당한다. Next, the storage unit 10 stores the communication command 12. This communication command represents a command for controlling and / or checking the status of an electric device in the home network system. For example, the product name request command is displayed as '0x00', and the manufacturer name request command is displayed as '0x01'. do. This communication command corresponds to the argument value of the command (CMD) argument of the packet expression.

다음으로, 저장부(10)는 변수(13)를 저장한다. 이 변수는 상술된 바와 같이, 인자값으로 사용되며, 변수명과 이에 대응하는 변수값으로 이루어진다. 여기서, 변수값은 고정된 값이거나 소정의 값을 산정하는 함수로 정의된다. Next, the storage unit 10 stores the variable 13. This variable is used as the argument value, as described above, and consists of the variable name and the corresponding variable value. Here, the variable value is defined as a fixed value or a function for calculating a predetermined value.

도 5에 도시된 바와 같이, 변수(또는 변수값)는 고정값 또는 함수로 정의된다. 변수명이 수신자 번지(RA)와 송신자 번지(SA)는 고정값이며, 이 고정값은 사용자에 의해 선택될 수 있다. 그 이외의 변수인 패킷 헤더 길이(PHL), 메시지 헤더 길이(MHL), 메시지 길이(ML), 패킷 길이(PL), 순환오류검사(CRC), 재전송 계수(RC), 데이터 페이지(PAGE), 패킷 번호(PN)는 함수로 정의된다. As shown in FIG. 5, a variable (or variable value) is defined as a fixed value or a function. The variable name receiver address RA and sender address SA are fixed values, which can be selected by the user. Other variables include packet header length (PHL), message header length (MHL), message length (ML), packet length (PL), cyclic error checking (CRC), retransmission coefficient (RC), data page (PAGE), Packet number (PN) is defined as a function.

여기서, 함수 LEN(블록명1 [, 블록명2])는 블록1의 길이 또는 블록1로부터 블록2까지의 길이를 반환하며, 함수 CRC(블록명1 [,블록명2])는 블록1 또는 블록1로부터 블록2까지의 CRC를 반환한다. 또한, 함수 ROTATION(최소값, 최대값 [, 증감치])는 이 함수가 호출될 때마다 최소값으로부터 최대값까지 증감치만큼 증가시킨 값을 반환하고, 이때 증감치가 생략될 경우 '1'만큼 증가시킨다. 또한, 함수 COUNTIF(초기값, 종료값, 전송버튼1, 전송버튼2)는 전송버튼1이 눌러지면 값을 초기값으로 초기화한 후에 반환하고, 전송버튼2가 눌러지면 '1'씩 증가된 값을 반환하며, 증가된 값이 종료값에 도달하면 초기값으로 초기화한다. 상술된 함수 이외에도 다양한 함수가 적용될 수 있다. Here, the function LEN (block name 1 [, block name 2]) returns the length of block 1 or the length from block 1 to block 2, and the function CRC (block name 1 [, block name 2]) returns block 1 or Returns the CRC from block 1 to block 2. Also, the function ROTATION (minimum value, maximum value [, increase / decrease value]) returns the value increased by the increase / decrease value from the minimum value to the maximum value each time this function is called, and when the increase / decrease value is omitted, it increases by '1'. . In addition, the function COUNTIF (initial value, end value, transfer button 1, transfer button 2) returns after initializing the value to the initial value when the transfer button 1 is pressed, and incremented by '1' when the transfer button 2 is pressed. If the incremented value reaches the end value, it is initialized to the initial value. In addition to the functions described above, various functions can be applied.

다음으로, 표시부(20)는 제어부(60)의 제어에 의해 저장부(10)에 저장된 패킷 표현식(11)의 목록과, 통신 명령어(12) 및 변수(13)를 사용자에게 표시한다. 여기서, 표시부(20)는 패킷 표현식(11)을 직접 표시할 수도 있다. 또한, 표시부(20)는 제어부(60)에 의해 생성된 패킷 표현식이 변환부(50)에 의해 변환된 16진수를 표시할 수도 있다. 또한, 표시부(20)는 패킷 구성 장치(100)를 통하여 송신된 16진수 데이터에 대한 응답으로 수신된 16진수 데이터를 제어부(60)로부터 수신하여 표시할 수도 있다. Next, the display unit 20 displays the list of packet expressions 11 stored in the storage unit 10, the communication command 12, and the variable 13 to the user under the control of the control unit 60. Here, the display unit 20 may directly display the packet expression 11. In addition, the display unit 20 may display a hexadecimal number in which the packet expression generated by the control unit 60 is converted by the conversion unit 50. In addition, the display unit 20 may receive and display the hexadecimal data received in response to the hexadecimal data transmitted through the packet construction apparatus 100 from the control unit 60.

다음으로, 입력부(30)는 표시부(20)에 표시된 패킷 표현식(11)의 목록 중에서 사용자에 의해 선택된 패킷 표현식과, 패킷 표현식에 삽입되는 통신 명령어 및/또는 변수를 사용자로부터 입력받아 제어부(60)로 전송한다. Next, the input unit 30 receives a packet expression selected by the user from a list of the packet expressions 11 displayed on the display unit 20, and a communication command and / or a variable inserted into the packet expression from the user. To send.

다음으로, 통신부(40)는 제어부(60)로부터 송신된 16진수 데이터를 네트워크(200)를 통하여 송신하고, 네트워크(200)를 통하여 수신된 16진수 데이터 를 제어부(60)로 송신하는 기능을 수행한다. Next, the communication unit 40 transmits the hexadecimal data transmitted from the control unit 60 through the network 200, and transmits the hexadecimal data received through the network 200 to the control unit 60. do.

다음으로, 제어부(60)는 표시부(20)를 통하여 사용자에게 패킷 표현식 또는 패킷 표현식의 목록, 통신 명령어, 변수를 표시하고, 입력부(30)로부터 사용자에 의해 선택된 패킷 표현식에 통신 명령어 및/또는 변수에 따른 인자값을 입력받아 패킷 표현식을 설정하고, 이 설정된 패킷 표현식에 대응하는 16진수 데이터를 변환부(50)를 통하여 생성하여 통신부(40)를 통하여 다른 전기 기기에 전송한다. Next, the control unit 60 displays a packet expression or a list of packet expressions, communication commands, and variables to the user through the display unit 20, and transmits a communication command and / or variable to the packet expression selected by the user from the input unit 30. Set the packet expression by receiving the argument value according to, and generates the hexadecimal data corresponding to the set packet expression through the conversion unit 50 and transmits to the other electrical device through the communication unit 40.

도 6은 도 2의 표시부에 표시되는 화면의 실시예이다.6 is an exemplary embodiment of a screen displayed on the display unit of FIG. 2.

도시된 바와 같이, 표시부(20)는 영역(110)에 패킷 표현식의 목록을 표시한다. 이 영역(110)은 도시된 바와 같이, LnCP의 버전에 따른 다양한 패킷 또는 동일한 버전 내에서는 기능에 따른 또는 전기 기기에 따른 패킷을 표시한다. 이 영역(110)에서 사용자는 소정의 패킷 표현식을 선택할 수 있으며, 이러한 선택은 입력부(30)를 통하여 제어부(60)로 송신된다. 이때, 제어부(60)는 사용자에 의해 선택된 패킷 표현식을 표시부(20)를 통하여 영역(140)에 표시할 수 있다. 이 영역(110) 내의 패킷 표현식의 목록은 사용자에 의해 추가되거나 삭제될 수 있다. 이에 제어부(60)가 입력부(30)로부터 입력받아 표시부(20)로 하여금 이 변경 사항을 표시하도록 하고, 저장부(10)에 변경 사항을 저장한다. As shown, the display unit 20 displays a list of packet expressions in the region 110. This region 110 displays various packets according to the version of the LnCP or packets according to a function or an electrical device within the same version, as shown. In this area 110, the user can select a predetermined packet expression, which is sent to the controller 60 via the input unit 30. In this case, the controller 60 may display the packet expression selected by the user in the area 140 through the display unit 20. The list of packet expressions in this area 110 may be added or deleted by the user. The control unit 60 receives the input from the input unit 30 and causes the display unit 20 to display the change, and stores the change in the storage unit 10.

또한, 표시부(20)는 영역(120)에 통신 명령어를 표시한다. 이 영역(120)은 통신 명령어와, 이에 대한 설명으로 이루어진다. 이 영역(120)에서 사용자는 소정의 통신 명령어를 선택할 수 있으며, 이러한 선택은 입력부(30)를 통하여 제어부(60)로 송신된다. 이때, 제어부(60)는 이전에 선택된 패킷 표현식에 이 선택 된 통신 명령어를 대입하여 영역(140)에 표시할 수 있다. 이 영역(120) 내의 통신 명령어는 사용자에 의해 추가되거나 삭제 및 정정될 수 있다. 이에 제어부(60)가 입력부(30)로부터 입력받아 표시부(20)로 하여금 이 변경 사항을 표시하도록 하고, 저장부(10)에 변경 사항을 저장한다. In addition, the display unit 20 displays a communication command in the area 120. This area 120 consists of communication commands and descriptions thereof. In this area 120, the user can select a predetermined communication command, and this selection is transmitted to the controller 60 through the input unit 30. In this case, the controller 60 may display the area 140 by substituting the selected communication command in the packet expression previously selected. Communication commands within this area 120 may be added, deleted, and corrected by the user. The control unit 60 receives the input from the input unit 30 and causes the display unit 20 to display the change, and stores the change in the storage unit 10.

또한, 패킷 표현식의 목록은 구성될 패킷이 사용되는 전기 기기 또는 패킷의 기능에 따라 분류되거나 상술된 바와 같이 패킷의 버전에 따라 분류될 수 있다. 특히 전기 기기 또는 패킷의 기능에 따라 분류되는 경우, 이 패킷 표현식의 목록은 통신 명령어 각각의 기능과 밀접한 관련성을 지니게 된다. 즉, 도시된 바와 같이, 공통명령인 경우, 홈 네트워크 시스템 내의 전기 기기에 공통되는 명령에 해당하는 패킷 표현식을 나타내므로, 통신 명령어 중에서 모든 전기 기기에 공통되는 명령어가 제어부(60)에 의해 영역(120)에 표시되는 것이 바람직하다. 또한, 특정 전기 기기인 식기세척기가 패킷 표현식의 목록에서 선택된 경우, 통신 명령어 중에서 식기세척기의 기능에 고유한 명령어가 제어부(60)에 의해 영역(120)에 표시되는 것이 바람직하다. In addition, the list of packet expressions may be classified according to the electrical device or function of the packet in which the packet to be constructed is used or classified according to the version of the packet as described above. In particular, when classified according to the function of an electrical device or a packet, the list of packet expressions is closely related to the function of each communication instruction. That is, as shown, in the case of the common command, since the packet expression corresponding to the command common to the electric devices in the home network system is represented, the command common to all electric devices among the communication commands is defined by the control unit 60 in the area ( 120). In addition, when the dishwasher, which is a specific electric device, is selected from the list of packet expressions, a command unique to the function of the dishwasher among the communication commands is preferably displayed in the area 120 by the controller 60.

또한, 표시부(20)는 영역(130)에 변수를 표시한다. 이 영역(130)은 변수명과, 이 변수에 대한 함수 또는 고정값으로 이루어진다. 이 영역(130) 내에 기 정의된 변수에 따라 제어부(60)는 패킷 표현식의 인자값을 설정하며, 이때, 사용자는 변수를 변경할 수 있으며, 이러한 변경 사항이 패킷 표현식의 인자값에 그대로 반영된다. 이에 제어부(60)가 입력부(30)로부터 입력받아 표시부(20)로 하여금 이 변경 사항을 표시하도록 하고, 저장부(10)에 변경 사항을 저장한다. In addition, the display unit 20 displays the variable in the region 130. This area 130 consists of a variable name and a function or fixed value for this variable. The control unit 60 sets the parameter value of the packet expression according to a variable previously defined in the area 130. In this case, the user can change the variable, and the change is reflected in the parameter value of the packet expression. The control unit 60 receives the input from the input unit 30 and causes the display unit 20 to display the change, and stores the change in the storage unit 10.                     

또한, 변수는 패킷 표현식 및/또는 통신 명령어와 관련이 있으며, 예를 들면, 패킷 표현식의 목록에서 식기세척기가 선택된 경우, 이에 따른 통신 명령어가 제어부(60)에 의해 영역(120)에 표시되고, 이때 수신자 번지(RA)는 자동적으로 식기세척기의 번지가 설정되어야 한다. 본 실시예에서, 패킷 구성 장치(100)는 송신자 번지(SA)에 대응하는 네트워크 관리기의 기능을 수행한다. 상술된 바와 같이, 패킷 표현식(또는 패킷 표현식의 목록)과, 통신 명령어 및 변수는 서로 밀접한 관련성이 있다. Further, the variable is related to a packet expression and / or a communication command, for example, when the dishwasher is selected from the list of packet expressions, the communication command accordingly is displayed in the area 120 by the controller 60, At this time, the address of the receiver RA should be set automatically. In this embodiment, the packet construction apparatus 100 performs the function of the network manager corresponding to the sender address SA. As mentioned above, packet expressions (or lists of packet expressions), and communication commands and variables are closely related to each other.

이렇게 구성된 패킷 표현식은 영역(140)에 표시되고, 사용자에 의해 송신 버튼(Send)이 눌러지면, 제어부(60)는 입력부(30)로부터 송신 버튼(Send)의 입력을 수신하여, 구성된 패킷 표현식을 변환부(50)로 송신하고, 이후에 변환부(50)로부터 이 패킷 표현식에 대응하는 16진수 데이터인 패킷을 수신하여 통신부(40)를 통하여 전송한다. 이때, 제어부(60)는 변환된 16진수 데이터를 영역(150)에 표시한다. 또한, 제어부(60)는 통신부(40)를 통하여 이전에 송신된 16진수 데이터에 대한 응답인 16진수 데이터를 수신하여 이 영역(150)에 표시할 수도 있다. The packet expression thus configured is displayed in the area 140. When the send button Send is pressed by the user, the control unit 60 receives an input of the send button Send from the input unit 30, and receives the configured packet expression. The packet is transmitted to the conversion unit 50, and thereafter, a packet of hexadecimal data corresponding to the packet expression is received from the conversion unit 50, and transmitted through the communication unit 40. At this time, the controller 60 displays the converted hexadecimal data in the region 150. In addition, the control unit 60 may receive the hexadecimal data, which is a response to the hexadecimal data previously transmitted through the communication unit 40, and display the hexadecimal data in this area 150.

또한, 영역(140)에 표시된 패킷 표현식도 사용자에 의한 변경 및 삭제 등이 가능하여, 입력부(30)로부터 입력된 사항을 제어부(60)가 수신하여 표시부(20)에 변경 및 삭제된 패킷 표현식을 표시하도록 하며, 저장부(10)에 변경된 사항을 저장한다.
In addition, the packet expression displayed in the area 140 may be changed or deleted by the user, and thus the control unit 60 receives the information inputted from the input unit 30 and transmits the changed packet packet to the display unit 20. Display the changed information is stored in the storage unit 10.

이러한 구성의 본 발명은 작성자가 다양한 형태의 패킷 구조가 있음에도 불구하고, 용이하게 16진수 데이터를 구성할 수 있도록 하는 효과가 있다.  The present invention having such a configuration has an effect that the creator can easily configure the hexadecimal data even though there are various types of packet structures.

또한, 본 발명은 작성자가 16진수를 처리하는 것이 아니라, 패킷 표현식을 처리하도록 하여 그 16진수 데이터의 구성 및 패킷의 내용을 용이하게 파악하도록 하는 효과가 있다. In addition, the present invention has the effect that the creator does not process the hexadecimal number, but rather the packet expression to easily determine the configuration of the hexadecimal data and the contents of the packet.

또한, 본 발명은 기 작성된 패킷 표현식을 용이하게 변경할 수 있도록 하는 효과가 있다. In addition, the present invention has the effect of being able to easily change the packet expression previously prepared.

Claims (15)

적어도 하나 이상의 패킷 표현식을 저장하는 저장부와; A storage unit for storing at least one packet expression; 상기 패킷 표현식의 목록을 표시하는 표시부와; A display unit for displaying a list of the packet expressions; 사용자에 의한 상기 패킷 표현식의 선택을 입력받는 입력부와; An input unit configured to receive a selection of the packet expression by a user; 소정의 네트워크와 접속하여 패킷을 송수신하는 통신부와; A communication unit for transmitting and receiving a packet by connecting to a predetermined network; 상기 저장부를 판독하여 상기 표시부에 상기 목록을 표시하고, 상기 사용자에 의해 선택된 패킷 표현식을 상기 입력부로부터 전송받아, 이에 대응하는 패킷을 생성하여 상기 통신부를 통하여 송신하는 제어부를 포함하는 것을 특징으로 하는 통신 제어용 패킷 구성 장치. And a control unit which reads the storage unit, displays the list on the display unit, receives a packet expression selected by the user from the input unit, generates a packet corresponding thereto, and transmits the packet corresponding thereto through the communication unit. Packet construction device for control. 제1항에 있어서, The method of claim 1, 상기 장치는 상기 패킷 표현식을 16진수 데이터로 변환하는 변환부를 추가적으로 포함하고, 상기 제어부는 상기 생성된 패킷 표현식을 상기 변환부로 하여금 16진수 데이터인 패킷으로 변환하도록 하고, 상기 변환된 16진수 데이터를 상기 통신부를 통하여 송신하는 것을 특징으로 하는 통신 제어용 패킷 구성 장치. The apparatus further includes a conversion unit for converting the packet expression into hexadecimal data, wherein the control unit causes the conversion unit to convert the generated packet expression into a packet of hexadecimal data, and converts the converted hexadecimal data into the packet. A packet control device for communication control, characterized by transmitting via a communication unit. 제1항에 있어서, The method of claim 1, 상기 저장부는 통신 명령어를 저장하고, 상기 제어부는 상기 통신 명령어를 상기 표시부를 통하여 표시하여, 사용자에 의해 선택된 통신 명령어를 상기 패킷 표현식에 포함시키는 것을 특징으로 하는 통신 제어용 패킷 구성 장치. And the storage unit stores a communication command, and the control unit displays the communication command through the display unit to include a communication command selected by a user in the packet expression. 제1항 또는 제3항에 있어서, The method according to claim 1 or 3, 상기 표시부는 상기 패킷 표현식을 표시하는 것을 특징으로 하는 통신 제어용 패킷 구성 장치. And the display unit displays the packet expression. 제1항에 있어서, The method of claim 1, 상기 패킷 표현식은 패킷 헤드 블록과, 메시지 헤드 블록과, 메시지 블록 및 트레일러 블록을 적어도 포함하는 것을 특징으로 하는 통신 제어용 패킷 구성 장치. Wherein said packet expression comprises at least a packet head block, a message head block, a message block and a trailer block. 제5항에 있어서, The method of claim 5, 상기 패킷 헤드 블록은 패킷 시작(SLP) 인자, 수신자 번지(RA) 인자, 송신자 번지(SA) 인자, 패킷 길이(PL) 인자, 전송 우선순위(SP) 인자, 패킷 헤더 길이(PHL) 인자, 패킷 버전(PV) 인자, 패킷 타입(PT) 인자, 재전송 계수(RC) 인자, 패킷 번호(PN) 인자 중에서 적어도 하나 이상을 포함하고, 상기 인자들은 각각 인자값을 지닌 것을 특징으로 하는 통신 제어용 패킷 구성 장치. The packet head block includes a packet start (SLP) factor, a receiver address (RA) factor, a sender address (SA) factor, a packet length (PL) factor, a transmission priority (SP) factor, a packet header length (PHL) factor, and a packet. Packet configuration for communication control comprising at least one or more of a version (PV) factor, a packet type (PT) factor, a retransmission coefficient (RC) factor, a packet number (PN) factor, each of which has a factor value Device. 제5항에 있어서, The method of claim 5, 상기 메시지 헤드 블록은 메시지 길이(ML) 인자, 메시지 헤더 길이(MHL) 인자, 패킷 옵션(PO) 인자 중의 적어도 하나 이상을 포함하고, 상기 인자들은 각각 인자값을 지닌 것을 특징으로 하는 통신 제어용 패킷 구성 장치. The message head block includes at least one or more of a message length (ML) factor, a message header length (MHL) factor, and a packet option (PO) factor, each of which has a factor value. Device. 제5항에 있어서, The method of claim 5, 상기 메시지는 명령어 인자를 포함하고, 상기 인자는 상기 통신 명령어를 인자값으로 지닌 것을 특징으로 하는 통신 제어용 패킷 구성 장치. The message includes a command argument, wherein the argument has the communication command as an argument value. 제5항에 있어서, The method of claim 5, 상기 트레일러 블록은 순환여유검사(CRC) 인자와, 패킷 종료(ELP) 인자를 포함하고, 상기 인자들은 각각 인자값을 지닌 것을 특징으로 하는 통신 제어용 패킷 구성 장치. The trailer block includes a cyclic margin check (CRC) factor and a packet end (ELP) factor, wherein the parameters each have a factor value. 제5항 내지 제9항 중의 어느 한 항에 있어서, The method according to any one of claims 5 to 9, 상기 저장부는 상기 인자값으로 사용되는 변수를 저장하고, 상기 제어부는 상기 표시부를 통하여 상기 변수의 목록을 표시하는 것을 특징으로 하는 통신 제어용 패킷 구성 장치. And the storage unit stores the variable used as the factor value, and the control unit displays the list of the variable through the display unit. 제10항에 있어서,The method of claim 10, 상기 제어부는 상기 입력부를 통하여 사용자에 의해 입력된 변수를 상기 패킷 표현식의 대응하는 인자값에 적용하는 것을 특징으로 하는 통신 제어용 패킷 구성 장치. And the control unit applies a variable input by the user through the input unit to a corresponding factor value of the packet expression. 제10항에 있어서, The method of claim 10, 상기 변수는 소정의 함수로 정의되는 것을 특징으로 하는 통신 제어용 패킷 구성 장치. And said variable is defined as a predetermined function. 제10항에 있어서, The method of claim 10, 상기 인자값은 소정의 변수 식별자와 변수명으로 이루어진 것을 특징으로 하 는 통신 제어용 패킷 구성 장치. And said factor value comprises a predetermined variable identifier and a variable name. 제5항 내지 제9항 중의 어느 한 항에 있어서, The method according to any one of claims 5 to 9, 상기 인자값의 길이가 강제로 지정되는 것을 특징으로 하는 통신 제어용 패킷 구성 장치. And a length of the argument value is forcibly specified. 제5항 내지 제9항 중의 어느 한 항에 있어서, The method according to any one of claims 5 to 9, 상기 패킷 표현식은 상기 인자값의 후방에 소정의 주석을 포함하는 것을 특징으로 하는 통신 제어용 패킷 구성 장치. And said packet expression includes a predetermined comment behind said argument value.
KR1020050002607A 2005-01-11 2005-01-11 Packet configuration apparatus for communication control KR20060081926A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050002607A KR20060081926A (en) 2005-01-11 2005-01-11 Packet configuration apparatus for communication control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050002607A KR20060081926A (en) 2005-01-11 2005-01-11 Packet configuration apparatus for communication control

Publications (1)

Publication Number Publication Date
KR20060081926A true KR20060081926A (en) 2006-07-14

Family

ID=37172771

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050002607A KR20060081926A (en) 2005-01-11 2005-01-11 Packet configuration apparatus for communication control

Country Status (1)

Country Link
KR (1) KR20060081926A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101445275B1 (en) * 2012-12-28 2014-09-26 주식회사휴비스 A method for generation of communication frame of IT-based industrial equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101445275B1 (en) * 2012-12-28 2014-09-26 주식회사휴비스 A method for generation of communication frame of IT-based industrial equipment

Similar Documents

Publication Publication Date Title
KR100774040B1 (en) Network electric device
KR100638030B1 (en) Network electric device
KR100596755B1 (en) Home network system
KR20040104323A (en) Home network system
KR100605216B1 (en) 0network device
KR20060081926A (en) Packet configuration apparatus for communication control
KR100605219B1 (en) Network electric device
KR100596757B1 (en) Home network system

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination