WO2004107709A1 - Home network system - Google Patents

Home network system Download PDF

Info

Publication number
WO2004107709A1
WO2004107709A1 PCT/KR2004/001152 KR2004001152W WO2004107709A1 WO 2004107709 A1 WO2004107709 A1 WO 2004107709A1 KR 2004001152 W KR2004001152 W KR 2004001152W WO 2004107709 A1 WO2004107709 A1 WO 2004107709A1
Authority
WO
WIPO (PCT)
Prior art keywords
protocol
electric device
message
version
arguments
Prior art date
Application number
PCT/KR2004/001152
Other languages
French (fr)
Inventor
Seung-Myun Baek
Koon-Seok Lee
Yong-Tae Kim
Original Assignee
Lg Electronics, Inc.
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 Lg Electronics, Inc. filed Critical Lg Electronics, Inc.
Priority to US10/558,432 priority Critical patent/US20070019615A1/en
Publication of WO2004107709A1 publication Critical patent/WO2004107709A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • EFIXED CONSTRUCTIONS
    • E02HYDRAULIC ENGINEERING; FOUNDATIONS; SOIL SHIFTING
    • E02BHYDRAULIC ENGINEERING
    • E02B8/00Details of barrages or weirs ; Energy dissipating devices carried by lock or dry-dock gates
    • E02B8/08Fish passes or other means providing for migration of fish; Passages for rafts or boats
    • E02B8/085Devices allowing fish migration, e.g. fish traps
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • H04L12/2818Controlling appliance services of a home automation network by calling their functionalities from a device located outside both the home and the home network
    • 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/2823Reporting information sensed by appliance or service execution status of appliance services in a home automation network
    • H04L12/2825Reporting to a device located outside the home and the home network
    • 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
    • H04L2012/2847Home automation networks characterised by the type of home appliance used
    • H04L2012/2849Audio/video appliances
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A40/00Adaptation technologies in agriculture, forestry, livestock or agroalimentary production
    • Y02A40/60Ecological corridors or buffer zones

Definitions

  • the present invention relates to a home network system, and more particularly to, a home network system using a living network control protocol.
  • a home network connects various digital home appliances so that the user can always enjoy convenient, safe and economic life services inside or outside the house.
  • Refrigerators or washing machines called white home appliances have been gradually digitalized due to the development of digital signal processing techniques, home appliance operating system techniques and high speed multimedia communication techniques have been integrated on the digital home appliances, and new information home appliances have been developed, to improve the home network.
  • the home network is classified into a data network, an entertainment network and a living network by types of services.
  • the data network is built to exchange data between a PC and peripheral devices or provide an internet service
  • the entertainment network is built between home appliances using audio or video information.
  • the living network is built to simply control home appliances, such as home automation or remote meter reading.
  • a conventional home network system includes a master device which is an electric device for controlling an operation of the other electric devices or monitoring a status thereof, and a slave device which is an electric device having a function of responding to the request of the master device and a function of notifying a status change according to characteristics of the electric devices or other factors.
  • Exemplary electric devices include home appliances for the living network service such as a washing machine and a refrigerator, home appliances for the data network service and the entertainment network service, and products such as a gas valve control device, an automatic door device and an electric lamp.
  • An object of the present invention is to provide a home network system using a control protocol which is a general communication standard for providing functions of controlling and monitoring electric devices in the home network system.
  • Another object of the present invention is to provide a home network system using a living network control protocol as a general communication standard.
  • Yet another object of the present invention is to provide a home network system which can process different command codes and resultant arguments according to a version of a living network control protocol.
  • Yet another object of the present invention is to provide a home network system which can perform various control operations by extending arguments by command codes according to a version of a living network control protocol.
  • a home network system including: at least two electric devices; and a network based on a predetermined protocol for connecting the electric devices, wherein a message transmitted between one electric device and the other electric device includes a command code field implying an operation that is to be performed by the other electric device, and an argument field according to a version of a protocol applied to one electric device for performing the operation.
  • the other electric device receives the message, extracts arguments from the argument field according to a version of a protocol applied to the other electric device for performing the operation, and processes the arguments.
  • the other electric device discards arguments which are not extracted from the argument field.
  • the other electric device sets the deficient arguments as predetermined values.
  • the protocol is a living network control protocol (LnCP).
  • LnCP living network control protocol
  • an electric device based on a predetermined protocol including at least a lower layer and an upper layer, wherein the upper layer receives from the lower layer a message including a command code field implying an operation that is to be performed by the electric device, and an argument field according to a version of a protocol applied to the electric device for performing the operation, extracts a command code from the message, extracts arguments from the argument field according to the version of the protocol applied to the electric device for executing the command code, and executes the command code.
  • a method for processing a message in a home network system including at least two electric devices, and a network based on a predetermined protocol for connecting the electric devices, the method including the steps of: generating and transmitting, at one electric device, a message including a command code field implying an operation that is to be performed by the other electric device, and an argument field according to a version of a protocol applied to one electric device for performing the operation; extracting, at the other electric device, a command code from the message; extracting, at the other electric device, arguments from the argument field according to a version of a protocol applied to the other electric device for executing the command code; and executing, at the other electric device, the command code.
  • a storage means for storing a message structure in a home network system, the home network system including at least two electric devices, and a network based on a predetermined protocol for connecting the electric devices, wherein a message transmitted in the home network system includes a command code field and an argument field for executing the command code, and the argument field is varied according to a version of a protocol applied to the electric device.
  • FIG. 1 is a structure view illustrating a home network system in accordance with the present invention
  • Fig. 2 is a structure view illustrating a living network control protocol stack in accordance with the present invention
  • Figs. 3A and 3B are structure views illustrating interfaces between layers of
  • Figs. 4A to 4F are detailed structure views illustrating the interfaces of Figs. 3a and 3b, respectively;
  • Figs. 5A to 5C are structure views illustrating request messages;
  • Figs. 6A to 6C are structure views illustrating response messages;
  • Fig. 7 is a structure view illustrating an event message
  • Figs. 8A and 8B are structure views illustrating first and second examples of messages by versions of the LnCP in accordance with the present invention.
  • Fig. 1 is a structure view illustrating the home network system in accordance with the present invention.
  • the home network system 1 accesses an LnCP server 3 through an internet 2, and a client device 4 accesses the LnCP server 3 through the internet 2. That is, the home network system 1 is connected to communicate with the LnCP server 3 and/or the client device 4.
  • An external network of the home network system 1 such as the internet 2 includes additional constitutional elements according to a kind of the client device 4.
  • the internet 2 when the client device 4 is a computer, the internet 2 includes a Web server (not shown), and when the client device 4 is an internet phone, the internet 2 includes a Wap server (not shown).
  • the LnCP server 3 accesses the home network system 1 and the client device 4 according to predetermined login a nd logout procedures, respectively, receives monitoring and control commands from the client device 4, and transmits the commands to the network system 1 through the internet 2 in the form of predetermined types of messages.
  • the LnCP server 3 receives a predetermined type of message from the home network system 1 , and stores the message and/or transmits the message to the client device 4.
  • the LnCP server 3 also stores or generates a message, and transmits the message to the home network system 1. That is, the home network system 1 accesses the LnCP server 3 and downloads provided contents.
  • the home network system 1 includes a home gateway 10 for performing an access function to the internet 2 , n etwork m anagers 20 to 23 for p erforming a function of setting an environment and managing electric devices 40 to 49, LnCP routers 30 and 31 for access between transmission media, LnCP adapters 35 and 36 for connecting the network manager 22 and the electric device 46 to the transmission medium, and the plurality of electric devices 40 to 49.
  • the network of the home network system 1 is formed by connecting the electric devices 40 to 49 through a shared transmission medium.
  • a data link layer uses a non-standardized transmission medium such as RS-485 or small output RF, or a standardized transmission medium such as a power line and IEEE 802.11 as the transmission medium.
  • the network of the home network system 1 is separated from the internet 2, for composing an independent network for connecting the electric devices through wire or wireless transmission medium.
  • the independent network includes a physically-connected but logically-divided network.
  • the home network system 1 includes master devices for controlling operations of the other electric devices 40 to 49 or monitoring statuses thereof, and slave devices having functions of responding to the request of the master devices and notifying their status change information.
  • the master devices include the network managers 20 to 23, and the slave devices include the electric devices 40 to 49.
  • the network managers 20 to 23 include information of the controlled electric devices 40 to 49 and control codes, and control the electric devices 40 to 49 according to a programmed method or by receiving inputs from the LnCP server 3 and/or the client device 4. Still referring to Fig.
  • each of the network managers 20 to 23 when the plurality of network managers 20 to 23 are connected, each of the network managers 20 to 23 must be both the master device and the slave device, namely physically one device but logically the device (hybrid device) for simultaneously performing master and slave functions in order to perform information exchange, data synchronization and control with the other network managers 20 to 23.
  • the network managers 20 to 23 and the electric devices 40 to 49 can be connected directly to the network (power line network, RS-485 network and RF network) or through the LnCP routers 30 and 31 and/or the LnCP adapters 35 and 36.
  • LnCP adapters 35 and 36 are registered in the network managers 20 to 23, and provided with intrinsic logical addresses by products (for example, 0x00, 0x01 , etc.).
  • the logical addresses are combined with product codes (for example, 0x02 of air conditioner and 0x01 of washing machine), and used as node addresses.
  • the electric devices 40 to 49 and/or the LnCP routers 30 and 31 and/or the LnCP adapters 35 and 36 are identified by the node addresses such as 0x0200 (air conditioner 1) and 0x0201 (air conditioner 2).
  • a group address for identifying at least one electric device 40 to 49 and/or at least one LnCP router 30 and 31 and/or at least one LnCP adapter 35 and 36 at a time can be used according to a predetermined standard (all identical products, installation space of products, user, etc.).
  • an explicit group address is a cluster for designating a plurality of devices by setting an address option value (flag mentioned below) as 1
  • an implicit group address designates a plurality of devices by filling the whole bit values of the logical addresses and/or the product codes with 1.
  • the implicit group address is called a cluster code.
  • Fig. 2 is a structure view illustrating a living network control protocol stack in accordance with the present invention.
  • the home network system 1 enables the network managers 20 to 23, the LnCP routers 30 and 31 , the LnCP adapters 35 and 36 and the electric devices 40 to 49 to communicate with each other according to t he living n etwork control p rotocol (LnCP) o f F ig. 2. Therefore, t he n etwork managers 20 to 23, the LnCP routers 30 and 31 , the LnCP adapters 35 and 36 and the electric devices 40 to 49 perform network communication according to the LnCP.
  • the LnCP includes an application software 50 for performing intrinsic functions of the network managers 20 to 23, the LnCP routers 30 and 31 , the LnCP adapters 35 and 36 and the electric devices 40 to 49, and providing an interface function with an application layer 60 for remote controlling and monitoring on the network, the application layer 60 for providing services to the user, and also providing a function of forming information or a command from the user in the form of a message and transmitting the message to the lower layer, a network layer 70 for reliably network-connecting the network managers 20 to 23, the LnCP routers 30 and 31 , the LnCP adapters 35 and 36 and the electric devices 40 to 49, a data link layer 80 for providing a medium access control function of accessing a shared transmission medium, a physical layer 90 for providing physical interfaces between the network managers 20 to 23, the LnCP routers 30 and 31 , the LnCP adapters 35 and 36 and the electric devices 40 to 49, and rules for transmitted bits, and a parameter management layer 100 for setting and managing node parameters used in
  • the application software 50 further includes a network management sub-layer 51 for managing the node parameters, and the network managers 20 to 23, the LnCP routers 30 and 31 , the LnCP adapters 35 and 36 and the electric devices 40 to 49 which access the network. That is, the network management sub-layer 51 performs a parameter management function of setting or using the node parameter values through the parameter management layer 100, and a network management function of composing or managing the network when the device using the LnCP is a master device.
  • the network which the network managers 20 to 23, the LnCP routers performs a parameter management function of setting or using the node parameter values through the parameter management layer 100, and a network management function of composing or managing the network when the device using the LnCP is a master device.
  • the LnCP adapters 35 and 36 and the electric devices 40 to 49 access is a dependent transmission medium such as a power line, IEEE 802.11 and wireless (for example, when the LnCP includes a PLC protocol and/or w ireless protocol), the network layer 70 further includes a home code control sub-layer 71 for performing a function of setting, managing and processing home codes for logically dividing each individual network.
  • the home code control sub-layer 71 is not included in the LnCP.
  • Each of the home codes is comprised of 4 bytes, and set as random values or designated values of the user.
  • Figs. 3A and 3B are structure views illustrating interfaces between the layers of Fig. 2, respectively.
  • Fig. 3A illustrates the interfaces between the layers when the physical layer 90 is connected to the dependent transmission medium
  • Fig. 3B illustrates the interfaces between the layers when the physical layer 90 is connected to the independent transmission medium.
  • the home network system 1 adds headers and trailers required by each layer to protocol data units (PDU) from the upper layers, and transmit them to the lower layers.
  • PDU protocol data units
  • an application layer PDU is a data transmitted between the application layer 60 and the network layer 70
  • a network layer PDU is a data transmitted between the network layer 70 and the data link I ayer 80 o r the h ome code c ontrol sub-layer 71
  • a nd a h ome c ode control sub-layer PDU is a data transmitted between the network layer 70 (precisely, the home code control sub-layer 71) and the data link layer 80.
  • the interface is formed in data frame units between the data link layer 80 and the physical layer 90.
  • Figs.4A to 4F are detailed structure views illustrating the interfaces of Figs. 3A and 3B, respectively.
  • Fig. 4A illustrates the APDU structure in the application layer 60.
  • An APDU length (AL) field shows a length of the APDU (length from AL to message field), and has a minimum value of 4 and a maximum value of 77.
  • An APDU header length (AHL) field shows a length of an APDU header (length from AL to AL0), normally has 3 bytes, and is extensible to 7 bytes.
  • the APDU header can be extended to 7 bytes to encode a message field and change an application protocol.
  • An application layer option (ALO) field extends a message set. For example, when the ALO field is set as 0, if the ALO field contains a different value, message processing is ignored.
  • ALO application layer option
  • the message field processes a control message from the user or event information, and is changed by the value of the ALO field.
  • Fig. 4B illustrates the NPDU structure in the network layer 70
  • Fig. 4C illustrates a detailed NLC structure of the NPDU.
  • a start of LnCP packet (SLP) field shows start of a packet and has a value of 0x02.
  • Destination address (DA) and source address (SA) fields are node addresses of a receiver and a sender of a packet, and have 16 bits, respectively.
  • the most significant 1 bit includes a flag indicating a group address
  • the succeeding 7 bits include a kind of a product (product code)
  • the lower 8 bits include a logical address for distinguishing the plurality of network managers 20 to 23 of the same kind and the plurality of electric devices 40 to 49 of the same kind.
  • a packet length (PL) field shows the whole length of the NPDU, and has a minimum value of 12 bytes and a maximum value of 100 bytes.
  • a service priority (SP) field gives transmission priority to a transmission message and has 3 bits.
  • Table 2 shows the priority of each transmission message. When a slave device responds to a request of a master device, the slave device takes the priority of the request message from the master device. Table 2
  • An NPDU header length (NHL) field extends an NPDU header (NLC field of SLP), normally has 9 bytes, and is extensible maximally to 16 bytes.
  • a protocol version (PV) field is an one-byte field showing a version of a used protocol. The upper 4 bits include a version field and the lower 4 bits include a sub-version field. The version and the sub-version are represented by the hexadecimal, respectively.
  • a network layer packet type (NPT) field is a 4-bit field for distinguishing a kind of a packet in the network layer 70.
  • the LnCP includes a request packet, a response packet and a notification packet.
  • the NPT field of a master device must be set as the request packet or the notification packet, and the NPT field of a slave device must be set as the response packet or the notification packet.
  • Table 3 shows NPT values by kinds of packets. Table 3
  • a transmission counter (TC) field is a 2-bit field for retrying a request packet when the request packet or response packet is not successfully transmitted due to a communication error in the network layer 70, or repeatedly transmitting a notification packet to improve a transmission success ratio.
  • a receiver can check a duplicate message by using a value of the TC field.
  • Table 4 shows the range of the values of the TC field by the NPT values.
  • a packet number (PN) field has 2 bits, and is used to check a duplicate packet in a slave device with the TC field and process a plurality of communication cycles in a master device.
  • Table 5 shows the range of the values of the PN field by the NPT values.
  • An APDU field is a protocol data unit of the application layer 60 transmitted between the application layer 60 and the network layer 70.
  • the APDU field has a minimum value of 0 byte and a maximum value of 88 bytes.
  • a cyclic redundancy check (CRC) field is a 16-bit field for checking an error of a received packet (from SLP to APDU).
  • An end of LnCP packet (ELP) field shows end of a packet and has a value of 0x03. Although a data corresponding to the length of the PL field is received, if the ELP field is not checked, it is deemed to be a packet error.
  • Fig. 4D illustrates the HCNPDU structure in the home code control sub-layer 71. As depicted in Fig. 4D, a home code (HC) field is added to the upper portion of the NPDU.
  • HC home code
  • the home code is comprised of 4 bytes, and has a unique value within the line distance where a packet can be transmitted.
  • Fig. 4E illustrates a frame structure in the data link layer 80.
  • LnCP is changed according to transmission media.
  • the header and the trailer of the frame must have null fields, and when the data link layer 80 uses a standardized transmission medium, the header and the trailer of the frame are formed as prescribed by the protocol.
  • An NPDU field is a data u nit transmitted from the upper network layer 70
  • an HCNPDU field is a data unit obtained by adding 4 bytes of home code to the front portion of the NPDU, when the physical layer 90 is a dependent transmission medium such as a power line or IEEE 802.11.
  • the data link layer 80 processes the NPDU and the HCNPDU in the same manner.
  • Fig. 4F illustrates a frame structure in the physical layer 90.
  • the physical layer 90 of the LnCP handles a function of transmitting and receiving a physical signal to a transmission medium.
  • the data link layer 80 can use a non-standardized transmission medium such as RS-485 or small output RF or a standardized transmission medium such as a power line or IEEE. 802.11 as the physical layer 90 of the LnCP.
  • the home network system 1 using the LnCP employs a universal asynchronous receiver and transmitter (UART) frame structure and a signal level of RS-232, so that the network managers 20 to 23 and the electric devices 40 to 49 can interface with RS-485, the LnCP routers 30 and 31 or the LnCP adapters 35 and 36.
  • UART universal asynchronous receiver and transmitter
  • the UART When the UART is connected between the devices by using a serial bus, the UART controls flow of bit signals on a communication line.
  • a packet from the upper layer is converted into 10 bits of UART frame unit as shown in Fig. 4f, and transmitted through the transmission medium.
  • the UART frame includes one bit of start bit, 8 bits of data and one bit of stop bit, and does not use a parity bit.
  • the UART frame is transmitted in the order of the start bit to stop bit.
  • the home network system 1 using the LnCP employs the UART, it does not have additional frame header and frame trailer.
  • *Response message Message transmitted from the network layer 70 to the application layer 60 in the master device or from the application layer 60 to the network layer 70 in the slave device, for notifying a command execution result of the slave device.
  • the response message is a response to a request message.
  • Event message M essage t ransmitted from the application layer to the network layer in the transmission side or from the network layer to the application layer in the reception side, when the status of the device is changed. The reception side does not respond.
  • Figs. 5A to 5C are structure views illustrating the request messages.
  • Fig. 5A shows a basic request message.
  • the request message includes a command code (CC) and related arguments (argument 1 , 2,...) for executing the command code, and is u sed to request device control, status confirmation and device information confirmation.
  • Fig. 5B shows a downloading request message including a total page and a current page as input arguments for dividing a data and transmitting the data to the device
  • Fig. 5C is an uploading request message including a page number and a data size as input arguments for getting a data from the device by division.
  • the downloading request message is used when the master device holds a predetermined data and transmits the data to the slave device and/or another master device.
  • the data is divided by a predetermined data size, the total number of the divided data is the total page, and the data included in the current request message in the total page is the current page.
  • the uploading request message is used when the slave device and/or another master device holds a predetermined data and the master device uploads the data.
  • the master device requests some data corresponding to the data size in the whole data, and some data is the divided data existing in the order corresponding to the page number in the whole data.
  • Figs. 6A to 6C are structure views illustrating the response messages.
  • the response messages are divided into an ACK-response message generated when the request message from the master device has been normally executed, and a NAK-response message generated when the request message from the master device has not been normally executed.
  • Fig. 6A shows the ACK-response message.
  • the ACK-response message includes a command code, ACK (for example, 0x06) and arguments (argument 1 ,
  • the ACK-response message is used when the slave device successfully performs the request message from the master device.
  • Fig. 6B shows the NAK-response message.
  • the NAK-response message includes a command code, NAK (for example, 0x15) and one byte of NAK_code.
  • NAK_code is a code value for classifying reasons why the slave device does not successfully perform the request message due to a wrong command code or argument in the communication between the maser device and the slave device, and distinguished from an error relating to the product operation.
  • Fig. 6C shows a NAK-response message including Error_code.
  • Error_code denotes an error relating to the product operation.
  • the slave device does not successfully perform the request message due to the error,
  • NAK_code is fixed to a predetermined value, for example, 0x63, and Error_code follows NAK_code.
  • Fig. 7 is a structure view illustrating the event message.
  • the event message is generated when the status of the device is changed, and includes a command code (for example, 0x11), an event code (2 bytes) and a status value (4 bytes).
  • a command code for example, 0x11
  • an event code (2 bytes)
  • a status value (4 bytes).
  • an upper one byte is identical to a product code
  • a lower one byte implies a status variable.
  • the messages dealt in the application layer 60 support upgradability for adding functions in an upper version of the LnCP, and compatibility between a device based on an upper version of the LnCP and a device based on a lower version of the LnCP.
  • Figs. 8A and 8B are structure views illustrating first and second examples of messages by versions of the LnCP in accordance with the present invention.
  • the message includes a command code and arguments 1 and 2 for executing the command code.
  • the message includes a command code having the same shape as the command code of Fig.
  • the upper version of the LnCP can add extend arguments (namely, arguments 3 and 4) for new functions behind t he I owest i nput argument of the request message or the lowest return argument of the response message. That is, the message using the LnCP includes an argument field varied by the version of the LnCP.
  • the added extend arguments must be recognized by the device based on the upper version of the LnCP, and ignored by the device based on the lower version of the LnCP.
  • the device When a device using a predetermined version of LnCP receives a message through the network, the device firstly extracts a command code from the message, extracts predetermined arguments according to the version of the LnCP applied to the device, discards the remaining arguments if they exist, and executes a predetermined command by using the extracted command code and arguments.
  • the application layer 60 of the device firstly extracts the command code, decides that only arguments 1 and 2 are necessary in the LnCP version 1.2 applied to the device, extracts arguments 1 and 2 from arguments 1 to 4, and discards arguments 3 and 4. Accordingly, the device does not perform an operation by the extend arguments, namely arguments 3 and 4.
  • the application layer 60 of the device firstly extracts the command code, and decides that arguments 1 to 4 corresponding to the command code are necessary in the LnCP version 1.3 applied to the device.
  • the message merely has arguments 1 and 2. Therefore, the application layer 60 sets the extend arguments which are non-extracted arguments 3 and 4 as initial values (for example, the extend arguments are set as 0 not to perform a related operation, or different default values to perform a basic operation), and executes a predetermined operation by the command code.
  • the extend arguments are divided into a field included in the LnCP and a field which is not included in the LnCP for the intrinsic functions of the product manufacturer.
  • the extend argument included in the LnCP is an extendable message.
  • Exemplary extendable messages include request messages and response messages of a read service for getting a data from the slave device.
  • the extend argument which is not included in the LnCP and is arbitrarily defined for the intrinsic functions of the product manufacturer is an invariable message.
  • Exemplary invariable messages include response messages of a write service for setting a data in the slave device such as control and event messages.
  • control protocol which is the general communication standard for providing the functions of controlling and monitoring the electric devices in the home network system.
  • the present invention provides the home network system using the LnCP as the general communication standard.
  • the present invention provides the home network system which can process different command codes and resultant arguments according to the version of the LnCP.
  • the present invention provides the home network system which can perform various control operations by extending the arguments by the command codes according to the version of the LnCP.

Abstract

The present invention discloses a home network system (1) using a living network control protocol. The home network system (1) includes: at least two electric devices (41-49); and a network based on a predetermined protocol for connecting the electric devices (41-49), wherein a message transmitted between one electric device (41-49) and the other electric device (41-49) includes a command code field implying an operation that is to be performed by the other electric device (41-49), and an argument field according to a version of a protocol applied to one electric device (41-49) for performing the operation.

Description

HOME NETWORK SYSTEM
TECHNICAL FIELD
The present invention relates to a home network system, and more particularly to, a home network system using a living network control protocol.
BACKGROUND ART
A home network connects various digital home appliances so that the user can always enjoy convenient, safe and economic life services inside or outside the house. Refrigerators or washing machines called white home appliances have been gradually digitalized due to the development of digital signal processing techniques, home appliance operating system techniques and high speed multimedia communication techniques have been integrated on the digital home appliances, and new information home appliances have been developed, to improve the home network.
As shown in Table 1 , the home network is classified into a data network, an entertainment network and a living network by types of services.
Table 1
Figure imgf000003_0001
Here, the data network is built to exchange data between a PC and peripheral devices or provide an internet service, and the entertainment network is built between home appliances using audio or video information. In addition, the living network is built to simply control home appliances, such as home automation or remote meter reading. A conventional home network system includes a master device which is an electric device for controlling an operation of the other electric devices or monitoring a status thereof, and a slave device which is an electric device having a function of responding to the request of the master device and a function of notifying a status change according to characteristics of the electric devices or other factors. Exemplary electric devices include home appliances for the living network service such as a washing machine and a refrigerator, home appliances for the data network service and the entertainment network service, and products such as a gas valve control device, an automatic door device and an electric lamp.
However, the conventional arts do not suggest a general communication standard for providing functions of controlling and monitoring electric devices in a home network system.
DISCLOSURE OF THE INVENTION
The present invention is achieved to solve the above problems. An object of the present invention is to provide a home network system using a control protocol which is a general communication standard for providing functions of controlling and monitoring electric devices in the home network system.
Another object of the present invention is to provide a home network system using a living network control protocol as a general communication standard.
Yet another object of the present invention is to provide a home network system which can process different command codes and resultant arguments according to a version of a living network control protocol.
Yet another object of the present invention is to provide a home network system which can perform various control operations by extending arguments by command codes according to a version of a living network control protocol.
In order to achieve the above-described objects of the invention, there is provided a home network system including: at least two electric devices; and a network based on a predetermined protocol for connecting the electric devices, wherein a message transmitted between one electric device and the other electric device includes a command code field implying an operation that is to be performed by the other electric device, and an argument field according to a version of a protocol applied to one electric device for performing the operation.
Preferably, the other electric device receives the message, extracts arguments from the argument field according to a version of a protocol applied to the other electric device for performing the operation, and processes the arguments.
Preferably, the other electric device discards arguments which are not extracted from the argument field.
Preferably, when arguments included in the argument field of the message are deficient, the other electric device sets the deficient arguments as predetermined values.
Preferably, the protocol is a living network control protocol (LnCP).
According to one aspect of the present invention, there is provided an electric device based on a predetermined protocol including at least a lower layer and an upper layer, wherein the upper layer receives from the lower layer a message including a command code field implying an operation that is to be performed by the electric device, and an argument field according to a version of a protocol applied to the electric device for performing the operation, extracts a command code from the message, extracts arguments from the argument field according to the version of the protocol applied to the electric device for executing the command code, and executes the command code.
According to another aspect of the present invention, there is provided a method for processing a message in a home network system, the home network system including at least two electric devices, and a network based on a predetermined protocol for connecting the electric devices, the method including the steps of: generating and transmitting, at one electric device, a message including a command code field implying an operation that is to be performed by the other electric device, and an argument field according to a version of a protocol applied to one electric device for performing the operation; extracting, at the other electric device, a command code from the message; extracting, at the other electric device, arguments from the argument field according to a version of a protocol applied to the other electric device for executing the command code; and executing, at the other electric device, the command code.
According to yet another aspect of the present invention, there is provided a storage means for storing a message structure in a home network system, the home network system including at least two electric devices, and a network based on a predetermined protocol for connecting the electric devices, wherein a message transmitted in the home network system includes a command code field and an argument field for executing the command code, and the argument field is varied according to a version of a protocol applied to the electric device.
BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a structure view illustrating a home network system in accordance with the present invention;
Fig. 2 is a structure view illustrating a living network control protocol stack in accordance with the present invention; Figs. 3A and 3B are structure views illustrating interfaces between layers of
Fig. 2, respectively;
Figs. 4A to 4F are detailed structure views illustrating the interfaces of Figs. 3a and 3b, respectively;
Figs. 5A to 5C are structure views illustrating request messages; Figs. 6A to 6C are structure views illustrating response messages;
Fig. 7 is a structure view illustrating an event message; and
Figs. 8A and 8B are structure views illustrating first and second examples of messages by versions of the LnCP in accordance with the present invention.
BEST MODE FOR CARRYING OUT THE INVENTION
A home network system in accordance with the present invention will now be described in detail with reference to the accompanying drawings.
Fig. 1 is a structure view illustrating the home network system in accordance with the present invention. Referring to Fig. 1 , the home network system 1 accesses an LnCP server 3 through an internet 2, and a client device 4 accesses the LnCP server 3 through the internet 2. That is, the home network system 1 is connected to communicate with the LnCP server 3 and/or the client device 4.
An external network of the home network system 1 such as the internet 2 includes additional constitutional elements according to a kind of the client device 4.
For example, when the client device 4 is a computer, the internet 2 includes a Web server (not shown), and when the client device 4 is an internet phone, the internet 2 includes a Wap server (not shown).
The LnCP server 3 accesses the home network system 1 and the client device 4 according to predetermined login a nd logout procedures, respectively, receives monitoring and control commands from the client device 4, and transmits the commands to the network system 1 through the internet 2 in the form of predetermined types of messages. In addition, the LnCP server 3 receives a predetermined type of message from the home network system 1 , and stores the message and/or transmits the message to the client device 4. The LnCP server 3 also stores or generates a message, and transmits the message to the home network system 1. That is, the home network system 1 accesses the LnCP server 3 and downloads provided contents.
The home network system 1 includes a home gateway 10 for performing an access function to the internet 2 , n etwork m anagers 20 to 23 for p erforming a function of setting an environment and managing electric devices 40 to 49, LnCP routers 30 and 31 for access between transmission media, LnCP adapters 35 and 36 for connecting the network manager 22 and the electric device 46 to the transmission medium, and the plurality of electric devices 40 to 49.
The network of the home network system 1 is formed by connecting the electric devices 40 to 49 through a shared transmission medium. A data link layer uses a non-standardized transmission medium such as RS-485 or small output RF, or a standardized transmission medium such as a power line and IEEE 802.11 as the transmission medium.
The network of the home network system 1 is separated from the internet 2, for composing an independent network for connecting the electric devices through wire or wireless transmission medium. Here, the independent network includes a physically-connected but logically-divided network.
The home network system 1 includes master devices for controlling operations of the other electric devices 40 to 49 or monitoring statuses thereof, and slave devices having functions of responding to the request of the master devices and notifying their status change information. The master devices include the network managers 20 to 23, and the slave devices include the electric devices 40 to 49. The network managers 20 to 23 include information of the controlled electric devices 40 to 49 and control codes, and control the electric devices 40 to 49 according to a programmed method or by receiving inputs from the LnCP server 3 and/or the client device 4. Still referring to Fig. 1 , when the plurality of network managers 20 to 23 are connected, each of the network managers 20 to 23 must be both the master device and the slave device, namely physically one device but logically the device (hybrid device) for simultaneously performing master and slave functions in order to perform information exchange, data synchronization and control with the other network managers 20 to 23.
In addition, the network managers 20 to 23 and the electric devices 40 to 49 can be connected directly to the network (power line network, RS-485 network and RF network) or through the LnCP routers 30 and 31 and/or the LnCP adapters 35 and 36. The electric devices 40 to 49 and/or the LnCP routers 30 and 31 and/or the
LnCP adapters 35 and 36 are registered in the network managers 20 to 23, and provided with intrinsic logical addresses by products (for example, 0x00, 0x01 , etc.). The logical addresses are combined with product codes (for example, 0x02 of air conditioner and 0x01 of washing machine), and used as node addresses. For example, the electric devices 40 to 49 and/or the LnCP routers 30 and 31 and/or the LnCP adapters 35 and 36 are identified by the node addresses such as 0x0200 (air conditioner 1) and 0x0201 (air conditioner 2). A group address for identifying at least one electric device 40 to 49 and/or at least one LnCP router 30 and 31 and/or at least one LnCP adapter 35 and 36 at a time can be used according to a predetermined standard (all identical products, installation space of products, user, etc.). In the group address, an explicit group address is a cluster for designating a plurality of devices by setting an address option value (flag mentioned below) as 1 , and an implicit group address designates a plurality of devices by filling the whole bit values of the logical addresses and/or the product codes with 1. Especially, the implicit group address is called a cluster code. Fig. 2 is a structure view illustrating a living network control protocol stack in accordance with the present invention. The home network system 1 enables the network managers 20 to 23, the LnCP routers 30 and 31 , the LnCP adapters 35 and 36 and the electric devices 40 to 49 to communicate with each other according to t he living n etwork control p rotocol (LnCP) o f F ig. 2. Therefore, t he n etwork managers 20 to 23, the LnCP routers 30 and 31 , the LnCP adapters 35 and 36 and the electric devices 40 to 49 perform network communication according to the LnCP.
As illustrated in Fig. 2, the LnCP includes an application software 50 for performing intrinsic functions of the network managers 20 to 23, the LnCP routers 30 and 31 , the LnCP adapters 35 and 36 and the electric devices 40 to 49, and providing an interface function with an application layer 60 for remote controlling and monitoring on the network, the application layer 60 for providing services to the user, and also providing a function of forming information or a command from the user in the form of a message and transmitting the message to the lower layer, a network layer 70 for reliably network-connecting the network managers 20 to 23, the LnCP routers 30 and 31 , the LnCP adapters 35 and 36 and the electric devices 40 to 49, a data link layer 80 for providing a medium access control function of accessing a shared transmission medium, a physical layer 90 for providing physical interfaces between the network managers 20 to 23, the LnCP routers 30 and 31 , the LnCP adapters 35 and 36 and the electric devices 40 to 49, and rules for transmitted bits, and a parameter management layer 100 for setting and managing node parameters used in each layer.
In detail, the application software 50 further includes a network management sub-layer 51 for managing the node parameters, and the network managers 20 to 23, the LnCP routers 30 and 31 , the LnCP adapters 35 and 36 and the electric devices 40 to 49 which access the network. That is, the network management sub-layer 51 performs a parameter management function of setting or using the node parameter values through the parameter management layer 100, and a network management function of composing or managing the network when the device using the LnCP is a master device. When the network which the network managers 20 to 23, the LnCP routers
30 and 31, the LnCP adapters 35 and 36 and the electric devices 40 to 49 access is a dependent transmission medium such as a power line, IEEE 802.11 and wireless (for example, when the LnCP includes a PLC protocol and/or w ireless protocol), the network layer 70 further includes a home code control sub-layer 71 for performing a function of setting, managing and processing home codes for logically dividing each individual network. When the individual networks are physically divided by an independent transmission medium such as RS-485, the home code control sub-layer 71 is not included in the LnCP. Each of the home codes is comprised of 4 bytes, and set as random values or designated values of the user.
Figs. 3A and 3B are structure views illustrating interfaces between the layers of Fig. 2, respectively.
Fig. 3A illustrates the interfaces between the layers when the physical layer 90 is connected to the dependent transmission medium, and Fig. 3B illustrates the interfaces between the layers when the physical layer 90 is connected to the independent transmission medium.
The home network system 1 adds headers and trailers required by each layer to protocol data units (PDU) from the upper layers, and transmit them to the lower layers.
As shown in Figs. 3A and 3B, an application layer PDU (APDU) is a data transmitted between the application layer 60 and the network layer 70, a network layer PDU (NPDU) is a data transmitted between the network layer 70 and the data link I ayer 80 o r the h ome code c ontrol sub-layer 71 , a nd a h ome c ode control sub-layer PDU (HCNPDU) is a data transmitted between the network layer 70 (precisely, the home code control sub-layer 71) and the data link layer 80. The interface is formed in data frame units between the data link layer 80 and the physical layer 90.
Figs.4A to 4F are detailed structure views illustrating the interfaces of Figs. 3A and 3B, respectively.
Fig. 4A illustrates the APDU structure in the application layer 60. An APDU length (AL) field shows a length of the APDU (length from AL to message field), and has a minimum value of 4 and a maximum value of 77.
An APDU header length (AHL) field shows a length of an APDU header (length from AL to AL0), normally has 3 bytes, and is extensible to 7 bytes. In the LnCP, the APDU header can be extended to 7 bytes to encode a message field and change an application protocol.
An application layer option (ALO) field extends a message set. For example, when the ALO field is set as 0, if the ALO field contains a different value, message processing is ignored.
The message field processes a control message from the user or event information, and is changed by the value of the ALO field. Fig. 4B illustrates the NPDU structure in the network layer 70, and Fig. 4C illustrates a detailed NLC structure of the NPDU.
A start of LnCP packet (SLP) field shows start of a packet and has a value of 0x02.
Destination address (DA) and source address (SA) fields are node addresses of a receiver and a sender of a packet, and have 16 bits, respectively. The most significant 1 bit includes a flag indicating a group address, the succeeding 7 bits include a kind of a product (product code), and the lower 8 bits include a logical address for distinguishing the plurality of network managers 20 to 23 of the same kind and the plurality of electric devices 40 to 49 of the same kind. A packet length (PL) field shows the whole length of the NPDU, and has a minimum value of 12 bytes and a maximum value of 100 bytes.
A service priority (SP) field gives transmission priority to a transmission message and has 3 bits. Table 2 shows the priority of each transmission message. When a slave device responds to a request of a master device, the slave device takes the priority of the request message from the master device. Table 2
Figure imgf000014_0001
An NPDU header length (NHL) field extends an NPDU header (NLC field of SLP), normally has 9 bytes, and is extensible maximally to 16 bytes. A protocol version (PV) field is an one-byte field showing a version of a used protocol. The upper 4 bits include a version field and the lower 4 bits include a sub-version field. The version and the sub-version are represented by the hexadecimal, respectively.
A network layer packet type (NPT) field is a 4-bit field for distinguishing a kind of a packet in the network layer 70. The LnCP includes a request packet, a response packet and a notification packet. The NPT field of a master device must be set as the request packet or the notification packet, and the NPT field of a slave device must be set as the response packet or the notification packet. Table 3 shows NPT values by kinds of packets. Table 3
Figure imgf000015_0001
A transmission counter (TC) field is a 2-bit field for retrying a request packet when the request packet or response packet is not successfully transmitted due to a communication error in the network layer 70, or repeatedly transmitting a notification packet to improve a transmission success ratio. A receiver can check a duplicate message by using a value of the TC field. Table 4 shows the range of the values of the TC field by the NPT values.
Table 4
Figure imgf000015_0002
A packet number (PN) field has 2 bits, and is used to check a duplicate packet in a slave device with the TC field and process a plurality of communication cycles in a master device. Table 5 shows the range of the values of the PN field by the NPT values. Table 5
Figure imgf000016_0001
An APDU field is a protocol data unit of the application layer 60 transmitted between the application layer 60 and the network layer 70. The APDU field has a minimum value of 0 byte and a maximum value of 88 bytes.
A cyclic redundancy check (CRC) field is a 16-bit field for checking an error of a received packet (from SLP to APDU). An end of LnCP packet (ELP) field shows end of a packet and has a value of 0x03. Although a data corresponding to the length of the PL field is received, if the ELP field is not checked, it is deemed to be a packet error.
Fig. 4D illustrates the HCNPDU structure in the home code control sub-layer 71. As depicted in Fig. 4D, a home code (HC) field is added to the upper portion of the NPDU.
The home code is comprised of 4 bytes, and has a unique value within the line distance where a packet can be transmitted.
Fig. 4E illustrates a frame structure in the data link layer 80. The structure of the header and the trailer of the data link layer frame of the
LnCP is changed according to transmission media. When the data link layer 80 uses a non-standardized transmission medium, the header and the trailer of the frame must have null fields, and when the data link layer 80 uses a standardized transmission medium, the header and the trailer of the frame are formed as prescribed by the protocol. An NPDU field is a data u nit transmitted from the upper network layer 70, and an HCNPDU field is a data unit obtained by adding 4 bytes of home code to the front portion of the NPDU, when the physical layer 90 is a dependent transmission medium such as a power line or IEEE 802.11. The data link layer 80 processes the NPDU and the HCNPDU in the same manner.
Fig. 4F illustrates a frame structure in the physical layer 90.
The physical layer 90 of the LnCP handles a function of transmitting and receiving a physical signal to a transmission medium. The data link layer 80 can use a non-standardized transmission medium such as RS-485 or small output RF or a standardized transmission medium such as a power line or IEEE. 802.11 as the physical layer 90 of the LnCP. The home network system 1 using the LnCP employs a universal asynchronous receiver and transmitter (UART) frame structure and a signal level of RS-232, so that the network managers 20 to 23 and the electric devices 40 to 49 can interface with RS-485, the LnCP routers 30 and 31 or the LnCP adapters 35 and 36. When the UART is connected between the devices by using a serial bus, the UART controls flow of bit signals on a communication line. In the LnCP, a packet from the upper layer is converted into 10 bits of UART frame unit as shown in Fig. 4f, and transmitted through the transmission medium. The UART frame includes one bit of start bit, 8 bits of data and one bit of stop bit, and does not use a parity bit. The UART frame is transmitted in the order of the start bit to stop bit. When the home network system 1 using the LnCP employs the UART, it does not have additional frame header and frame trailer. In the arrangement of the byte (or bit) data in the above message, upper bytes (or bits) are positioned at the left side of the message, and lower bytes (or bits) are positioned at the right side of the message. The following kinds of messages are dealt in the application layer 60. *Request message : Message transmitted from the application layer 60 to the n etwork layer 70 in t he m aster d evice or from t he n etwork layer 70 to t he application layer 60 in the s lave device, for executing a command in the s lave device. The application layer 60 of the slave device can respond to the request message in the form of a response message according to a transmission mode transmitted from the network layer 70.
*Response message : Message transmitted from the network layer 70 to the application layer 60 in the master device or from the application layer 60 to the network layer 70 in the slave device, for notifying a command execution result of the slave device. The response message is a response to a request message. *Event message : M essage t ransmitted from the application layer to the network layer in the transmission side or from the network layer to the application layer in the reception side, when the status of the device is changed. The reception side does not respond.
Figs. 5A to 5C are structure views illustrating the request messages. Fig. 5A shows a basic request message. The request message includes a command code (CC) and related arguments (argument 1 , 2,...) for executing the command code, and is u sed to request device control, status confirmation and device information confirmation.
Fig. 5B 'shows a downloading request message including a total page and a current page as input arguments for dividing a data and transmitting the data to the device, and Fig. 5C is an uploading request message including a page number and a data size as input arguments for getting a data from the device by division.
In detail, the downloading request message is used when the master device holds a predetermined data and transmits the data to the slave device and/or another master device. When the data is divided by a predetermined data size, the total number of the divided data is the total page, and the data included in the current request message in the total page is the current page.
The uploading request message is used when the slave device and/or another master device holds a predetermined data and the master device uploads the data. The master device requests some data corresponding to the data size in the whole data, and some data is the divided data existing in the order corresponding to the page number in the whole data.
Figs. 6A to 6C are structure views illustrating the response messages.
The response messages are divided into an ACK-response message generated when the request message from the master device has been normally executed, and a NAK-response message generated when the request message from the master device has not been normally executed.
Fig. 6A shows the ACK-response message. The ACK-response message includes a command code, ACK (for example, 0x06) and arguments (argument 1 ,
2,...) for notifying an execution result. The ACK-response message is used when the slave device successfully performs the request message from the master device.
Fig. 6B shows the NAK-response message. The NAK-response message includes a command code, NAK (for example, 0x15) and one byte of NAK_code.
The NAK-response message is used when the slave device does not successfully perform the request message from the master device. Here, NAK_code is a code value for classifying reasons why the slave device does not successfully perform the request message due to a wrong command code or argument in the communication between the maser device and the slave device, and distinguished from an error relating to the product operation.
Fig. 6C shows a NAK-response message including Error_code. Here, Error_code denotes an error relating to the product operation. In the case that the slave device does not successfully perform the request message due to the error,
NAK_code is fixed to a predetermined value, for example, 0x63, and Error_code follows NAK_code.
Fig. 7 is a structure view illustrating the event message. Referring to Fig. 7, the event message is generated when the status of the device is changed, and includes a command code (for example, 0x11), an event code (2 bytes) and a status value (4 bytes). In the event code, an upper one byte is identical to a product code, and a lower one byte implies a status variable.
In accordance with the present invention, the messages dealt in the application layer 60 support upgradability for adding functions in an upper version of the LnCP, and compatibility between a device based on an upper version of the LnCP and a device based on a lower version of the LnCP.
Figs. 8A and 8B are structure views illustrating first and second examples of messages by versions of the LnCP in accordance with the present invention. As illustrated in Fig. 8A, in the LnCP version 1.2, the message includes a command code and arguments 1 and 2 for executing the command code.
Conversely, as shown in Fig. 8B, in the LnCP version 1.3, the message includes a command code having the same shape as the command code of Fig.
8A, and arguments 1 to 4 for executing the command code. In the LnCP of the present invention, in order to achieve upgradability and compatibility, the upper version of the LnCP can add extend arguments (namely, arguments 3 and 4) for new functions behind t he I owest i nput argument of the request message or the lowest return argument of the response message. That is, the message using the LnCP includes an argument field varied by the version of the LnCP. The added extend arguments must be recognized by the device based on the upper version of the LnCP, and ignored by the device based on the lower version of the LnCP.
When a device using a predetermined version of LnCP receives a message through the network, the device firstly extracts a command code from the message, extracts predetermined arguments according to the version of the LnCP applied to the device, discards the remaining arguments if they exist, and executes a predetermined command by using the extracted command code and arguments.
For example, when the device u sing the LnCP version 1 .2 receives the message of Fig. 8B from the device using the LnCP version 1.3 through the network, the application layer 60 of the device firstly extracts the command code, decides that only arguments 1 and 2 are necessary in the LnCP version 1.2 applied to the device, extracts arguments 1 and 2 from arguments 1 to 4, and discards arguments 3 and 4. Accordingly, the device does not perform an operation by the extend arguments, namely arguments 3 and 4.
Conversely, when the device using the LnCP version 1.3 receives the message of Fig. 8A from the device using the LnCP version 1.2 through the network, the application layer 60 of the device firstly extracts the command code, and decides that arguments 1 to 4 corresponding to the command code are necessary in the LnCP version 1.3 applied to the device. However, the message merely has arguments 1 and 2. Therefore, the application layer 60 sets the extend arguments which are non-extracted arguments 3 and 4 as initial values (for example, the extend arguments are set as 0 not to perform a related operation, or different default values to perform a basic operation), and executes a predetermined operation by the command code.
The extend arguments are divided into a field included in the LnCP and a field which is not included in the LnCP for the intrinsic functions of the product manufacturer.
The extend argument included in the LnCP is an extendable message. Exemplary extendable messages include request messages and response messages of a read service for getting a data from the slave device.
The extend argument which is not included in the LnCP and is arbitrarily defined for the intrinsic functions of the product manufacturer is an invariable message. Exemplary invariable messages include response messages of a write service for setting a data in the slave device such as control and event messages.
As discussed earlier, the present invention provides the home network system using the control protocol which is the general communication standard for providing the functions of controlling and monitoring the electric devices in the home network system.
In addition, the present invention provides the home network system using the LnCP as the general communication standard.
Furthermore, the present invention provides the home network system which can process different command codes and resultant arguments according to the version of the LnCP.
The present invention provides the home network system which can perform various control operations by extending the arguments by the command codes according to the version of the LnCP. Although the preferred embodiments of the present invention have been described, it is understood that the present invention should not be limited to these preferred embodiments but various changes and modifications can be made by one skilled in the art within the spirit and scope of the present invention as hereinafter claimed.

Claims

What is claimed is:
1. A home network system, comprising: at least two electric devices; and a network based on a predetermined protocol for connecting the electric devices, wherein a message transmitted between one electric device and the other electric device comprises a command code field implying an operation that is to be performed by the other electric device, and an argument field according to a version of a protocol applied to one electric device for performing the operation.
2. The system of claim 1 , wherein the other electric device receives the message, extracts arguments from the argument field according to a version of a protocol applied to the other electric device for performing the operation, and processes the arguments.
3. The system of claim 2, wherein the other electric device discards arguments which are not extracted from the argument field.
4. The system of claim 2, wherein, when arguments included in the argument field of the message are deficient, the other electric device sets the deficient arguments as predetermined values.
5. The system of claim 1 , wherein the protocol is a living network control protocol (LnCP).
6. An electric device based on a predetermined protocol including at least a lower layer and an upper layer, wherein the upper layer receives from the lower layer a message including a command code field implying an operation that is to be performed by the electric device, and an argument field according to a version of a protocol applied to the electric device for performing the operation, extracts a command code from the message, extracts arguments from the argument field according to the version of the protocol applied to the electric device for executing the command code, and executes the command code.
7. The system of claim 6, wherein the upper layer discards arguments which are not extracted from the argument field.
8. The system of claim 6, wherein, when arguments included in the argument field of the message are deficient, the upper layer sets the deficient arguments as predetermined values.
9. The system of claim 6, wherein the protocol is a living network control protocol (LnCP).
10. A method for processing a message in a home network system, the home network system including at least two electric devices, and a network based on a predetermined protocol for connecting the electric devices, the method comprising the steps of: generating and transmitting, at one electric device, a message including a command code field implying an operation that is to be performed by the other electric device, and an argument field according to a version of a protocol applied to one electric device for performing the operation; extracting, at the other electric device, a command code from the message; extracting, at the other electric device, arguments from the argument field according to a version of a protocol applied to the other electric device for executing the command code; and executing, at the other electric device, the command code.
11. The method of claim 10, further comprising a step for discarding, at the other electric device, arguments which are not extracted from the argument field.
12. The method of claim 10, further comprising a step for setting deficient arguments as predetermined values, when arguments included in the argument field of the message are deficient.
13. The method of claim 10, wherein the protocol is a living network control protocol (LnCP).
14. A storage means for storing a message structure in a home network system, the home network system including at least two electric devices, and a network based on a predetermined protocol for connecting the electric devices, wherein a message transmitted in the home network system comprises a command code field and an argument field for executing the command code, and the argument field is varied according to a version of a protocol applied to the electric device.
15. The storage medium of claim 14, wherein, when the version of the protocol applied to the electric device is the lowest version, the argument field comprises only a basic argument field for the version of the protocol.
16. The storage medium of either claim 14 or 15, wherein, when a lower version of the version of the protocol applied to the electric device exists, the argument field comprises a basic argument field for the lower version of the version of the protocol, and an extend argument field for the version of the protocol.
17. The storage medium of claim 16, wherein the message including the extend argument field is an extendable message included in the protocol, or an invariable message which is not included in the protocol but is defined for the intrinsic functions of the manufacturer.
18. The storage medium of claim 14, wherein the protocol is a living network control protocol (LnCP).
PCT/KR2004/001152 2003-05-30 2004-05-14 Home network system WO2004107709A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US10/558,432 US20070019615A1 (en) 2003-05-30 2004-05-14 Home network system

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
KR10-2003-0034962 2003-05-30
KR20030034962 2003-05-30
KR10-2004-0022208 2004-03-31
KR1020040022208A KR100605216B1 (en) 2003-05-30 2004-03-31 0network device

Publications (1)

Publication Number Publication Date
WO2004107709A1 true WO2004107709A1 (en) 2004-12-09

Family

ID=33492543

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2004/001152 WO2004107709A1 (en) 2003-05-30 2004-05-14 Home network system

Country Status (3)

Country Link
US (1) US20070019615A1 (en)
KR (1) KR100605216B1 (en)
WO (1) WO2004107709A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1905500B (en) * 2005-07-25 2010-04-28 乐金电子(天津)电器有限公司 Domestic network controlling system

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100596755B1 (en) * 2003-05-30 2006-07-04 엘지전자 주식회사 Home network system
US7729282B2 (en) * 2003-05-30 2010-06-01 Lg Electronics Inc. Home network system and its configuration system
KR100605218B1 (en) * 2003-05-30 2006-07-31 엘지전자 주식회사 Network adaptor
KR100638017B1 (en) * 2003-05-30 2006-10-23 엘지전자 주식회사 Network device
WO2004107662A1 (en) * 2003-05-30 2004-12-09 Lg Electronics, Inc. Home network system
WO2004107659A1 (en) * 2003-05-30 2004-12-09 Lg Electronics, Inc. Home network system
WO2004107660A1 (en) * 2003-05-30 2004-12-09 Lg Electronics, Inc. Home network system
WO2004107657A1 (en) * 2003-05-30 2004-12-09 Lg Electronics, Inc. Home network system
EP1834443A2 (en) * 2004-12-13 2007-09-19 Coldspark, Inc. Electronic message delivery system including a network device
KR100735968B1 (en) 2005-02-07 2007-07-06 엘지전자 주식회사 Method for providing download and upload service in living network control system
KR100812929B1 (en) * 2006-10-17 2008-03-11 주식회사 대우일렉트로닉스 Method for construction of data packet and method for transmission and receipt of data
US9889239B2 (en) * 2007-03-23 2018-02-13 Allegiance Corporation Fluid collection and disposal system and related methods
EP2142438A1 (en) 2007-03-23 2010-01-13 Allegiance Corporation Fluid collection and disposal system having internchangeable collection and other features and methods relating thereof
WO2011008961A1 (en) * 2009-07-15 2011-01-20 Allegiance Corporation Fluid collection and disposal system and related methods
US20140244997A1 (en) * 2013-02-25 2014-08-28 Qualcomm Incorporated Emergency mode for iot devices

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030088703A1 (en) * 2001-11-07 2003-05-08 Seung-Cheon Kim Method for generating house code in home network

Family Cites Families (92)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4928245A (en) * 1987-01-27 1990-05-22 Storage Technology Corporation Automated cartridge system
US5519858A (en) * 1992-01-10 1996-05-21 Digital Equipment Corporation Address recognition engine with look-up database for storing network information
US5551001A (en) * 1994-06-29 1996-08-27 Exponential Technology, Inc. Master-slave cache system for instruction and data cache memories
US5867666A (en) * 1994-12-29 1999-02-02 Cisco Systems, Inc. Virtual interfaces with dynamic binding
US5794037A (en) * 1995-05-01 1998-08-11 Intergraph Corporation Direct access to slave processing by unprotected application using context saving and restoration
US5835723A (en) * 1995-12-28 1998-11-10 Intel Corporation Dynamic assignment of multicast addresses
EP0913999B1 (en) * 1996-02-02 2005-10-05 Thomson Consumer Electronics, Inc. Copy management method
US5991817A (en) * 1996-09-06 1999-11-23 Cisco Systems, Inc. Apparatus and method for a network router
US6842430B1 (en) * 1996-10-16 2005-01-11 Koninklijke Philips Electronics N.V. Method for configuring and routing data within a wireless multihop network and a wireless network for implementing the same
US5808885A (en) * 1996-12-20 1998-09-15 Square D Company Weld controller system for coupling to a common database system on a communication network
US5859847A (en) * 1996-12-20 1999-01-12 Square D Company Common database system for a communication system
US6105093A (en) * 1997-02-21 2000-08-15 General Electric Company Interface monitor for communicating between different communication protocols
US7103834B1 (en) * 1997-06-25 2006-09-05 Samsung Electronics Co., Ltd. Method and apparatus for a home network auto-tree builder
US6078952A (en) * 1997-08-01 2000-06-20 International Business Machines Corporation Method and apparatus for maintaining directory services for a video transmission network
US6233248B1 (en) * 1997-10-14 2001-05-15 Itt Manufacturing Enterprises, Inc. User data protocol for internet data communications
US6058106A (en) * 1997-10-20 2000-05-02 Motorola, Inc. Network protocol method, access point device and peripheral devices for providing for an efficient centrally coordinated peer-to-peer wireless communications network
US6148197A (en) * 1998-03-06 2000-11-14 Sbc Technology Resources, Inc. Intelligent roaming system with over the air programming
US7028312B1 (en) * 1998-03-23 2006-04-11 Webmethods XML remote procedure call (XML-RPC)
US6522654B1 (en) * 1998-05-15 2003-02-18 Harris-Exigent, Inc. Method for hosting the internet protocol suite on the IEEE-1394 high speed serial bus
JP3225924B2 (en) * 1998-07-09 2001-11-05 日本電気株式会社 Communication quality control device
MY131509A (en) * 1999-03-15 2007-08-30 Sony Corp Data processing method, apparatus and system for encrypted- data transfer
US7412538B1 (en) * 1999-03-30 2008-08-12 Sony Corporation Request event manager and event lists for home and office systems and networks
US6615243B1 (en) * 1999-04-01 2003-09-02 Thomson Licensing S.A. System and method for programming and transmitting macros for controlling audio/video devices
US7213061B1 (en) * 1999-04-29 2007-05-01 Amx Llc Internet control system and method
US6618764B1 (en) * 1999-06-25 2003-09-09 Koninklijke Philips Electronics N.V. Method for enabling interaction between two home networks of different software architectures
JP3318289B2 (en) * 1999-08-10 2002-08-26 松下電送システム株式会社 Home network gateway equipment
US7200683B1 (en) * 1999-08-17 2007-04-03 Samsung Electronics, Co., Ltd. Device communication and control in a home network connected to an external network
US6721900B1 (en) * 1999-12-22 2004-04-13 Rockwell Automation Technologies, Inc. Safety network for industrial controller having reduced bandwidth requirements
US6701198B1 (en) * 1999-12-22 2004-03-02 Rockwell Automation Technologies, Inc. Safety network for industrial controller allowing initialization on standard networks
US6631476B1 (en) * 1999-12-22 2003-10-07 Rockwell Automation Technologies, Inc. Safety network for industrial controller providing redundant connections on single media
US6891850B1 (en) * 1999-12-22 2005-05-10 Rockwell Automation Technologies, Inc. Network independent safety protocol for industrial controller
US7035270B2 (en) * 1999-12-30 2006-04-25 General Instrument Corporation Home networking gateway
US6453687B2 (en) * 2000-01-07 2002-09-24 Robertshaw Controls Company Refrigeration monitor unit
US20020011923A1 (en) * 2000-01-13 2002-01-31 Thalia Products, Inc. Appliance Communication And Control System And Appliance For Use In Same
US6731201B1 (en) * 2000-02-23 2004-05-04 Robert Shaw Controls Company Communications module and system
KR20010092525A (en) * 2000-03-22 2001-10-26 윤종용 Interfacing apparatus controling a non ip-based network device to ip-based network access and method therefor
JP4576675B2 (en) * 2000-06-30 2010-11-10 ソニー株式会社 Control system, control device and server
US7349967B2 (en) * 2000-07-21 2008-03-25 Samsung Electronics Co., Ltd. Architecture for home network on world wide web with private-public IP address/URL mapping
TW545059B (en) * 2000-08-08 2003-08-01 Replaytv Inc Method and system for remote television replay control
EP2259191B1 (en) * 2000-08-24 2015-09-30 2Wire, Inc. System and method for selectively bridging and routing PPPoE data packets between multiple networks
US7403994B1 (en) * 2000-08-29 2008-07-22 International Business Machines Corporation Method of doing business over a network by transmission and retransmission of digital information on a network during time slots
US7389358B1 (en) * 2000-09-13 2008-06-17 Fortinet, Inc. Distributed virtual system to support managed, network-based services
KR20020022317A (en) * 2000-09-19 2002-03-27 윤종용 Home gateway and Method for operating the same
US6934740B1 (en) * 2000-09-19 2005-08-23 3Com Corporation Method and apparatus for sharing common data objects among multiple applications in a client device
US7327754B2 (en) * 2000-09-28 2008-02-05 Teridian Semiconductor, Corp. Apparatus and method for freezing the states of a receiver during silent line state operation of a network device
US6856999B2 (en) * 2000-10-02 2005-02-15 Microsoft Corporation Synchronizing a store with write generations
US6854053B2 (en) * 2000-10-25 2005-02-08 Signet Scientific Company Method for identifying and communicating with a plurality of slaves in a master-slave system
JP4595190B2 (en) * 2000-10-30 2010-12-08 株式会社デンソー Download method and user terminal and distribution server for executing the download method
AU2002225810A1 (en) * 2000-11-02 2002-05-15 Sony Electronics Inc. Content and application download based on a home network system configuration profile
JP3522686B2 (en) * 2000-12-13 2004-04-26 松下電器産業株式会社 Mobile terminal, automatic remote control system and automatic remote control method
US20030037166A1 (en) * 2000-12-27 2003-02-20 Reiko Ueno Routing processing and method for home bus system
AU2002249939A1 (en) * 2001-01-11 2002-07-24 Z-Force Communications, Inc. File switch and switched file system
US20020103898A1 (en) * 2001-01-31 2002-08-01 Moyer Stanley L. System and method for using session initiation protocol (SIP) to communicate with networked appliances
JP4608789B2 (en) * 2001-02-27 2011-01-12 日本電気株式会社 Multi-access communication system and data transmitting / receiving apparatus
JP4491980B2 (en) * 2001-03-05 2010-06-30 ソニー株式会社 COMMUNICATION PROCESSING SYSTEM, COMMUNICATION PROCESSING METHOD, COMMUNICATION TERMINAL DEVICE, AND PROGRAM
US6982960B2 (en) * 2001-03-09 2006-01-03 Motorola, Inc. Protocol for self-organizing network using a logical spanning tree backbone
US7111100B2 (en) * 2002-04-26 2006-09-19 The Boeing Company Systems and methods for assigning an address to a network device added to an existing network
KR20020087543A (en) * 2001-05-14 2002-11-23 엘지전자 주식회사 Packet structure for power line communication
KR100434270B1 (en) * 2001-05-30 2004-06-04 엘지전자 주식회사 Control System for Home Appliance Network
TW560151B (en) * 2001-06-18 2003-11-01 Ibm Packet-oriented data communications between mobile and fixed data networks
US20030014630A1 (en) * 2001-06-27 2003-01-16 Spencer Donald J. Secure music delivery
WO2003015450A1 (en) * 2001-08-08 2003-02-20 Matsushita Electric Industrial Co., Ltd. Device control apparatus and device control system
US20030067910A1 (en) * 2001-08-30 2003-04-10 Kaveh Razazian Voice conferencing over a power line
WO2003021858A1 (en) * 2001-09-04 2003-03-13 Rumi Sheryar Gonda Method for supporting sdh/sonet aps on ethernet
US7389332B1 (en) * 2001-09-07 2008-06-17 Cisco Technology, Inc. Method and apparatus for supporting communications between nodes operating in a master-slave configuration
JP2003087293A (en) * 2001-09-11 2003-03-20 Hitachi Ltd Network device, network controller and method for controlling network device
US7107358B2 (en) * 2001-09-12 2006-09-12 Rockwell Automation Technologies, Inc. Bridge for an industrial control system using data manipulation techniques
US6915444B2 (en) * 2001-09-12 2005-07-05 Rockwell Automation Technologies, Inc. Network independent safety protocol for industrial controller using data manipulation techniques
KR100562380B1 (en) * 2001-09-17 2006-03-20 주식회사 플레넷 Method for joining node into subnet of power line communication network, electronic appliance connected to subnet and, communication module used in electronic appliance
KR20030025129A (en) * 2001-09-19 2003-03-28 삼성전자주식회사 Data packet structure for home appliances using low speed communication media
US7430591B2 (en) * 2001-10-19 2008-09-30 Renesas Technology America, Inc. Methods and arrangements for configuring functional networks
US20030079000A1 (en) * 2001-10-19 2003-04-24 Chamberlain Robert L. Methods and apparatus for configuring multiple logical networks of devices on a single physical network
KR100441743B1 (en) * 2001-10-23 2004-07-27 한국전자통신연구원 Remote appliance control system and method
US7069091B2 (en) * 2001-11-01 2006-06-27 Salton, Inc. Intelligent microwave oven appliance
US20030083758A1 (en) * 2001-11-01 2003-05-01 Williamson Charles G. Remote updating of intelligent household appliances
KR100440999B1 (en) * 2001-11-08 2004-07-21 삼성전자주식회사 Starting control apparatus for home automation and therof method
US6957219B1 (en) * 2001-11-15 2005-10-18 Microsoft Corporation System and method of pipeline data access to remote data
US6759946B2 (en) * 2001-12-06 2004-07-06 Mitsubishi Electric Research Laboratories, Inc. Home appliances network
US6745303B2 (en) * 2002-01-03 2004-06-01 Hitachi, Ltd. Data synchronization of multiple remote storage
EP1337080A3 (en) * 2002-02-15 2005-06-08 Hitachi, Ltd. Method of controlling the network devices
US7421478B1 (en) * 2002-03-07 2008-09-02 Cisco Technology, Inc. Method and apparatus for exchanging heartbeat messages and configuration information between nodes operating in a master-slave configuration
KR100440969B1 (en) * 2002-05-23 2004-07-21 삼성전자주식회사 Method and apparatus of networking
US7480312B2 (en) * 2002-08-19 2009-01-20 Tehuti Networks Ltd. Network traffic accelerator system and method
US7337241B2 (en) * 2002-09-27 2008-02-26 Alacritech, Inc. Fast-path apparatus for receiving data corresponding to a TCP connection
US8931010B2 (en) * 2002-11-04 2015-01-06 Rovi Solutions Corporation Methods and apparatus for client aggregation of media in a networked media system
KR20040049667A (en) * 2002-12-06 2004-06-12 엘지전자 주식회사 Home network's system and its operating method for the same
KR20040073099A (en) * 2003-02-13 2004-08-19 엘지전자 주식회사 Apparatus and method for message service in home network
KR100605218B1 (en) * 2003-05-30 2006-07-31 엘지전자 주식회사 Network adaptor
WO2004107708A1 (en) * 2003-05-30 2004-12-09 Lg Electronics, Inc. Home network system
US7581249B2 (en) * 2003-11-14 2009-08-25 Enterasys Networks, Inc. Distributed intrusion response system
GB0326936D0 (en) * 2003-11-19 2003-12-24 Samsung Electronics Co Ltd Mobile communications
US8392634B2 (en) * 2007-03-09 2013-03-05 Omron Corporation Programmable controller with building blocks having modules that can be combined into a single unit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030088703A1 (en) * 2001-11-07 2003-05-08 Seung-Cheon Kim Method for generating house code in home network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
KOON-SEOK LEE, ET AL.: "A new control protocol for home appliances-LnCP", INTERNATIONAL SYMPOSIUM ON INDUSTRIAL ELECTRONICS, vol. 1, 2001 - 2001, pages 286 - 291 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1905500B (en) * 2005-07-25 2010-04-28 乐金电子(天津)电器有限公司 Domestic network controlling system

Also Published As

Publication number Publication date
KR100605216B1 (en) 2006-07-31
US20070019615A1 (en) 2007-01-25
KR20040104340A (en) 2004-12-10

Similar Documents

Publication Publication Date Title
US8031724B2 (en) Home network system
US7903670B2 (en) Home network system
US7454517B2 (en) Network electric device
KR100605215B1 (en) Network device
US7949786B2 (en) Method of assigning a node address in a local network
US20070150616A1 (en) Home network system
US20040240451A1 (en) Connection handling, service management, and channel handling devices of home network management system
US20070019615A1 (en) Home network system
US7782781B2 (en) Home network system
US7844680B2 (en) Home network system
US7668074B2 (en) Home network system
US20070019654A1 (en) Home network system
WO2005094195A2 (en) Home network system

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200480019567.8

Country of ref document: CN

AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 2007019615

Country of ref document: US

Ref document number: 10558432

Country of ref document: US

122 Ep: pct application non-entry in european phase
WWP Wipo information: published in national office

Ref document number: 10558432

Country of ref document: US