WO2006091040A1 - Layer structure of network control protocol and interface method - Google Patents

Layer structure of network control protocol and interface method Download PDF

Info

Publication number
WO2006091040A1
WO2006091040A1 PCT/KR2006/000650 KR2006000650W WO2006091040A1 WO 2006091040 A1 WO2006091040 A1 WO 2006091040A1 KR 2006000650 W KR2006000650 W KR 2006000650W WO 2006091040 A1 WO2006091040 A1 WO 2006091040A1
Authority
WO
WIPO (PCT)
Prior art keywords
layer
network
primitive
control protocol
transferring
Prior art date
Application number
PCT/KR2006/000650
Other languages
French (fr)
Inventor
Woong Jeon
Jong Hoon Chung
Sang Kyun Lee
Koon Seok Lee
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.
Publication of WO2006091040A1 publication Critical patent/WO2006091040A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching 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

Definitions

  • the present invention relates to a layer structure of network control protocol and an interface method thereof for a user, for example, who is locating at home or out-of-home to effectively control appliances such as refrigerator or laundry machine connected to a network.
  • 'home network 1 means a network in which various digital appliances are connected to one another for the user to enjoy economical home services in a convenient and safe way anytime at home or out-of-home, and due to the development of digital signal processing technology, various types of appliances such as refrigerator or laundry machine are being gradually digitalized.
  • a network which is established for providing file exchanges or internet services between personal computers and peripheral devices, a network between appliances for handling audio or video information, and a network established for home automation of various appliances such as refrigerator or laundry machine, appliance control such as remote meter reading, and the like are called a 'living network' in a general meaning.
  • the present invention is devised in consideration of the aforementioned situation, and it is an object of the invention to provide a layer structure of network control protocol and an interface method thereof for more effectively implementing an interface to each layer of the network control protocol, besides that a user, for example, who is locating at home or out-of-home can effectively control various appliances such as refrigerator or laundry machine connected to a network by using the minimum required communication resources.
  • a layer structure of network control protocol comprises a physical layer for providing a function of sending/receiving physical signal between devices; a data link layer for providing a medium access control function to use a shared transmission media; a network layer for providing a function of address management and/or transmit/receive control for a network connection between devices; and an application layer for providing a flow control function for download and/or upload services, and the layer structure is characterized in that the data link layer includes a home code control sub-layer for providing at least any one of the setting function, management function, and processing function for logically classifying individual networks.
  • an interface method between the layers of network control protocol according to the present invention is characterized in that in a method of interfacing to each layer of network control protocol configured by including a plurality of layers, a primitive for transmitting data or a packet and a primitive for receiving data or a packet are used for the interface between each of the layers.
  • an interface method between the layers of network control protocol according to the present invention is characterized in that the master and slave are separated for the interface between an application software and an application layer, and a service request primitive transferred from the application software is used in the master, and a primitive for transferring a request message sent from the master to an application software of the slave is used in the slave.
  • Fig. 1 illustrates a configuration of a network system according to the present invention
  • FIG. 2 and FIG.3 illustrate a master-slave driven communication structure according to the present invention
  • FIG. 4 illustrates a layer structure of LnCP according to the present invention
  • FIGS. 5 through 7 illustrate embodiments on the communication cycle services according to the present invention
  • FIG. 8 illustrates a layer structure of LnCP according to the present invention
  • FIG. 9 illustrates an embodiment on a primitive for the interface between a network management sub-layer and a parameter management layer according to the present invention
  • FIG. 10 illustrates an embodiment of a structure for the interface to each layer according to the present invention
  • FIG. 11 illustrates an embodiment of a structure of the Universal Asynchronous Receiver/Transmitter (UART) frame according to the present invention
  • FIG. 12 illustrates an embodiment of a primitive for the interface between a physical layer and a data link layer according to the present invention
  • FIG. 13 illustrates an embodiment of a primitive for the interface between a data link layer and a network layer according to the present invention
  • FIG. 14 illustrates a structure of the data link layer frame according to the present invention
  • FIG. 15 illustrates an embodiment of a primitive in the master for the interface between a network layer and an application layer according to the present invention
  • FIG. 16 illustrates an embodiment of a primitive in the slave for the interface between a network layer and an application layer according to the present invention
  • FIG. 17 and FIG. 18 illustrate an embodiment of a primitive in the master for the interface between an application layer and an application software according to the present invention
  • FIG. 19 illustrates an embodiment of a primitive in the slave for the interface between an application layer and an application software according to the present invention
  • FIG. 20 illustrates an embodiment of a primitive for the interface between a parameter management layer and a network management sub-layer according to the present invention
  • FIG. 21 illustrates a layer structure of LnCP according to another embodiment of the present invention
  • FIG. 22 illustrates an embodiment for transferring primitives between layers in the master according to the present invention.
  • FIG. 23 illustrates an embodiment for transferring primitives between layers in the slave according to the present invention.
  • FIG. 1 illustrates a configuration of network control protocol according to the present invention.
  • a network control protocol which will be defined in a new way in this invention, for example, a LnCP (Living network Control Protocol) Internet server 100 and a living network control system 400 to which the LnCP is applied, as illustrated in FIG. 1, are connected through the Internet; besides, the LnCP Internet server 100 allows to perform an interface operation with a variety of communication terminals 200 such as personal computer, PDA, PCS, and the like.
  • LnCP Local network Control Protocol
  • the living network control system 400 is configured by including a home gateway 40, a network manager 41, a LnCP router 42, a LnCP adaptor 43, and appliances 44; moreover, for the configured means, as illustrated in FIG. 1, the data link layer having a non-standard transmission medium such as RS-485 network or low output RF network, or the data link layer having a standard transmission medium such as power line communication, IEEE 802.11, or ZigBee (IEEE 802.15.4) will be used.
  • a non-standard transmission medium such as RS-485 network or low output RF network
  • the data link layer having a standard transmission medium such as power line communication, IEEE 802.11, or ZigBee (IEEE 802.15.4
  • the living network control system 400 is called, for example, a ' LnCP network' , and the LnCP network, as illustrated in FIG. 1, is configured with an independent network for connecting the appliances belonging to the category of living network in an independent home through wire or wireless communication media.
  • the LnCP network is connected with a master device for controlling the operation of other appliances or monitoring the operation state thereof, and a slave device having a function for responding to a request of the master device and a function for notifying information about the state change of its own.
  • an environmental setting and management function for the appliances 44 connected to the LnCP network are taken in charge by the network manager 41, and the appliances 44 can be directly to a network or indirectly connected to a network through the LnCP adaptor 43; and RS-485 network, RF network, power line network and the like in the LnCP network are connected with one another through the LnCP router 42.
  • the LnCP network provides a function for monitoring or controlling the state of an appliance installed at home for a user in the outside, and the connection function between the LnCP network and the outside Internet for this purpose is taken in charge by the home gateway 40, and the user himself can use the function for monitoring or controlling the state of an appliance connected to the LnCP network when he accesses the LnCP Internet server 100 to pass through authentication process.
  • the user can access the LnCP Internet server 100 from an appliance connected to the LnCP network through the home gateway 40 to download the contents provided by the LnCP Internet server.
  • the main features of the LnCP network for this purpose will be described in detail in the following.
  • digital information appliances have microcontrollers with a variety of performances to implement a specific function respectively.
  • a function is more effectively simplified to enable the operation in the microcontrollers with a variety performances by using the minimum resources of the microcontroller mounted on an appliance, and in particular microcontrollers with low performance are allowed to implement appliance specific functions while processing a function of the LnCP communication, and microcontrollers with high performance are allowed to process a function of multi-tasking.
  • the main features of the LnCP network according to the present invention will be classified into master-slave driven communication structure, event driven communication support, a plurality of network manager support, 4 -layer structure, communication cycle service, flexible address management, variable length packet communication, and standard message set provision.
  • the master-slave driven communication structure is used as a connection communication structure between appliances in the LnCP network, and it should have at least more than one master device, and the master device should have the information and control codes for the slave devices to be controlled.
  • the master device will control other slave devices by following an already inputted program or receiving the input from the user.
  • a message flow between the master device and the slave device operates in a manner that when a Request message is sent from the master to the slave, the slave sends a Response message on this to the master, and the LnCP network may have a multi-master and multi-slave driven communication structure, as illustrated in FIG. 3.
  • the LnCP network event-driven communication services are supported, and for example, the user can establish an event which is required by an appliance, and thereafter if the event established by the user occurs in the relevant appliance while performing an operation, then it will notify the fact or content of the event occurrence to the other appliances, or control the operation state of the other appliances in response of the event.
  • the LnCP network comprises at least more than one network manager in charge of an environmental setting and management function for appliances, and a number of network managers can be supported if necessary, and in this case, the management information of appliances should be synchronized in order to prepare for a plurality of the network manager errors,
  • the LnCP network has a 4-layer structure with physical layer, data link layer, network layer, and application layer, and services are provided with a communication cycle unit in the LnCP network, and only one communication cycle can exist at a given time in the slave device.
  • the ⁇ l-Request, 1-Response ⁇ communication cycle is a communication cycle that a master sends a Request packet to a slave, and the slave transfers a Response packet in response of this, and if an error occurs in the received packet, then the master sends a Re-Request packet, and the slave in turn transfers a Response packet on this, as illustrated in FIG. 5.
  • one master sends a Request packet having the group address to a number of slaves, and each of slaves sends a Response packet on the Request packet.
  • the master finishes the cycle if the maximum allowable receive time is passed, and at this time the master ignores this even when an error occurs in the Response packet received from the slave.
  • the ⁇ l-Notification ⁇ communication cycle is a cycle that one master device sends a Notification packet to a number of devices, and then finishes the communication at once,- moreover, the Repeated- Notification ⁇ communication cycle is a cycle that it sends the same packet repeatedly, and then finishes the communication in order to secure the transmission reliability in the ⁇ l- Notification ⁇ communication cycle.
  • the LnCP network supports flexible address management, and the appliances provided with a LnCP function, for example, can automatically configure a network without user' s intervention by assigning an address to each kind of appliances at the time of shipment from the factory, and here the network manager has an algorithm for assigning its own specific address when appliances are connected to one another, since the same kind of appliances are initialized with the same address.
  • the LnCP network supports the packet communication with a variable length, and in a case where contents such as application programs related to the manipulation of appliances are downloaded or the data stored in appliances are uploaded, the length of a packet can be controlled by using the exchanged buffer size information of the appliances.
  • the LnCP network provides the standard message set, and the standard message set suited for various appliances, for example, is defined in the application layer to control other appliances from a master device, and furthermore the message set is divided into the common area message set for the basic LnCP communication, the product application area message set for supporting the specific function of appliances, and the developer area message set for providing the specific function of manufacturers.
  • FIG. 8 illustrates a layer structure of the LnCP protocol according to the present invention, and as describe above, the LnCP network to which this invention is applied, has a 4 -layer structure having physical layer, data link layer, network layer, and application layer for controlling and monitoring the operation of appliances such as refrigerator, laundry machine, or the like.
  • the physical layer provides a physical interface between devices, and a function for transmitting/receiving physical signals such as bits to be transmitted, and for the physical layer, a non-standard transmission medium with the data link layer such as RS-485, low output RF network, etc. and a standard wire or wireless transmission medium such as power line communication, IEEE 802.11, Ethernet, and ZigBee, can be used, and the LnCP adaptor can be used as a separate physical layer in order to realize the physical layer of devices in the LnCP network.
  • a non-standard transmission medium with the data link layer such as RS-485, low output RF network, etc. and a standard wire or wireless transmission medium such as power line communication, IEEE 802.11, Ethernet, and ZigBee
  • the data link layer provides the medium access control (MAC) function to use a shared transmission medium, and for the LnCP network, p-DCSMA (probabilistic Delayed Carrier Sense Multiple Access) should be used as a protocol for the medium access control (MAC) in case where the data link layer uses a non-standard transmission medium.
  • MAC medium access control
  • the medium access control function as defined in the relevant protocol can be used.
  • the home code control sub-layer provides a home code setting, management and processing function for dividing individual networks logically when the LnCP network is configured by using a non-independent transmission medium such as power line communication, IEEE 802.11, Ethernet, and ZigBee, or low output RF, and it is preferred that the home code control sublayer is not realized in case where individual networks are physically divided by an independent transmission medium such as RS-485.
  • the network layer provides a function of appliance address management, transmit/receive control, etc. for reliable network connection between devices
  • the application layer provides a flow control function for download and upload services as well as a transmit/receive control function in order to implement application software services .
  • the application layer defines message sets for network management, or appliance control and monitoring, and the application software implements a specific function of appliances, and exchanges data with the application layer through the interface as defined in the application layer.
  • the network management sub-layer provides a parameter management function for setting node parameters, and a network management function for network configuration and management, and the parameter management layer can set or read the parameters used in each layer according to a request of the network management sublayer.
  • a primitive for interface to the network management sub-layer, as illustrated in FIG. 9, a primitive (structure SetPar) for transferring a parameter value from the network management sub-layer to the parameter management layer, and a primitive (structure GetPar) for transferring a parameter value from the parameter management layer to the network management sub-layer.
  • a primitive (structure SetPar) for transferring a parameter value to the parameter management layer 'uchar DestLayer 1 for specifying a layer to which the parameter value is transferred, and 'structure SetLayerPar ' that its value varies according to the DestLayer value as the parameter for each layer are written, and the DestLayer will be ' 1 ' in case where the layer to which the parameter value is transferred is an application layer, '2' in case of an network layer, '3' in case of a data link layer, and '4' in case of a physical layer.
  • the SetLayerPar will be 'SetALPar' in case of an application layer, 'SetNLPar' in case of an network layer, 'SetDLLPar' in case of a data link layer, and 'SetPHYPar' in case of a physical layer.
  • 'uchar SreLayer' for specifying a layer to which the parameter value has been transmitted
  • 'uchar PMLResult ' for specifying whether the parameter value is successfully taken from each layer
  • 'structure GetLayerPar ' that its value varies according to the SrcLayer value as the parameter for each layer are written, and the SrcLayer will be '1' in case where the layer to which the parameter value has been transmitted is an application layer, '2' in case of an network layer, '3' in case of a data link layer, and '4' in case of a physical layer.
  • the PMLResult will be PAR_OK(1) in case where the parameter value is successfully taken from each layer, and PAR_FAILD (0) in case where the parameter value is not successfully taken from each layer, and the GetLayerPar will be ' RptALPar ' in case of an application layer, 'RptNLPar' in case of an network layer, 'RptDLLPar' in case of a data link layer, and 'RptPHYPar' in case of a physical layer.
  • the parameter management layer receives the SetPar primitive from the network management sub-layer, then SetALPar, SetNLPar, SetDLLPar, or SetPHYPar primitives is transferred to a layer specified in the primitive, and the variable of which all bit values are 1 I' in the received primitive will be ignored in each layer (for example, OxFF, OxFFFF) .
  • GetPar primitive is received from the network management sub-layer, then GetALPar, GetNLPar, GetDLLPar, or GetPHYPar is transferred to a layer specified in the primitive, and if RptALPar, RptNLPar, RptDLLPar or RptPHYPar is received from each layer, then the GetPar primitive is included and the PARResult value becomes PAR_OK to be transferred to the network management sub-layer. If the primitive is not received from each layer within the time of ParTimeOut, then the PARResult value becomes PAR_FAILED to be transferred to the network management sub-layer.
  • the network management sub-layer provides a parameter management function for setting node parameters in individual devices, and a function for network configuration, environmental setting, and network operation management, and if there is a request from the application software and the master, then a parameter value in the following will be set or read in the relevant layer through the parameter management layer.
  • the parameter value of AddressResult , NP_Alivelnt, SvcTimeOut, and NP_BufferSize in case of an application layer NP_LogicalAddress, NP_ClusterCode, NP_HomeCode, and SendRetries in case of a network layer, MinPktInterval in case of a data link layer, and NP_bps in case of a physical layer will be set or read.
  • the network management sub-layer in the slave receives the UserReqRcv primitive including an application service belonging to the 'device node parameter setting service' or 'device node parameter acquisition service' from the application layer, then parameter values will be set or read in the relevant layer through the parameter management layer, and the result will be transferred to the application layer through the UserResSend primitive.
  • Application services for the parameter management of each layer are as follows. For example, there are SetOption, SetAliveTiem, SetClock, and GetBufferSize services in case of an application layer; SetTempAddress, SetAddress, GetAddress services in case of an network 1 layer; no relevant services in case of a data link layer; and SetSpeed service in case of a physical layer.
  • the network management sub-layer provides a network management function such as LnCP network configuration, environmental setting, and network operation management, and general network management functions will operate on the application layer in the master, and a part of the synchronization functions of network information during a plurality of network management periods will operate on the application layer in the slave.
  • a network management function such as LnCP network configuration, environmental setting, and network operation management
  • general network management functions will operate on the application layer in the master, and a part of the synchronization functions of network information during a plurality of network management periods will operate on the application layer in the slave.
  • the interface to the application layer there are the interface to the application layer in the slave, and the interface to the application layer in the master.
  • UserReqRcv and UserResSend primitives are used, and for the interface to the application layer in the master, UserReq, UserDLReq, UserULReq. UserRes, UserEventRcv, and ALCompleted primitives are used.
  • the header and trailer information required in each layer is added to the protocol data unit (PDU) transferred from a higher layer to be transferred to a lower layer.
  • the APDU Application layer PDU
  • the NPDU Network layer PDU
  • the NPDU Network layer PDU
  • the NPDU header such as an ADPU and its own address, an address of the destination appliance, a packet type according to the importance of the transmitted message, a NPDU trailer, and an APDU.
  • the HCNPDU Home Code Control Sub-layer PDU
  • a packet transferred between a network layer and a data link layer comprises a NPDU and a home code.
  • a Universal Asynchronous Receiver/Transmitter (UART) frame structure will be used for the interface between a device and an LnCP adaptor or LnCP router.
  • the packet received from the higher layer is converted into the UART frame unit with 10 bits to be transferred through a transmission medium, and the UART frame in a LnCP network comprises a start bit with 1-bit, a data with 8-bit, and a stop bit with 1-bit, and a parity bit is not used, and the UART frame is sequentially transferred from the start bit to the stop bit .
  • the UART is used in the LnCP network
  • additional frame header and frame trailer are not used, and 9600 bps will be used for the communication speed, or 4800 bps or 19200 bps will be used according to the performance of the device.
  • the primitives for the interface between a physical layer and a data link layer there are the primitive 'FrameSend' for transferring 1 byte data from the data link layer to the physical layer, the primitive 'FrameRcv 1 for transferring 1 byte data from the physical layer to the data link layer, and the primitive ' RptLineStatus ' in the line state that is transferred to data link layer. If a UART frame in the line state exists, then LINE_BSY is transferred, and otherwise LINE_IDLE is transferred.
  • the primitives for the interface between a data link layer and a network layer there are the primitive 'PktSend' for transferring a packet from the network layer to the data link layer, the primitive 'PktRcv' for transferring a packet from the data link layer to the network layer, and the primitive 'DLLCompleted' for notifying a result of the packet transmission from the data link layer to the network layer.
  • a packet (NPDU/HCNPDU) of the network layer, a byte data length of the NPDU/HCNPDU, and transmission priority (SvcPriority) are written in the PktSend;
  • a packet (PDU) of the network layer and a byte data length of the PDU (PDULength) are written in the PktRcv; and if a packet transmission procedure is successfully completed as a result of the packet transmission (DLLResult) , then SEND_OK(1) is written, and otherwise SEND_FAILED (0) is written, and in case where the DLLResult is SEND_FAILED (0) , a value for classifying the failure reason (DLLFailCode) is written in the DLLCompleted.
  • DLLFailCode for classifying the failure reason
  • a data link frame structure is configured by adding the frame header and trailer to the NPDU/HCNPDU, and if a non-standard transmission medium is used in the data link layer, then a null field will be written in the frame header and trailer, and if a standard transmission medium is used, then it will follow the regulation as defined in the relevant protocol.
  • the NPDU field is a data unit that is transferred from the higher network layer.
  • the HCNPDU is a data unit that a home code, which is used in case where the physical layer is a non- independent transmission medium, is added in front of the NPDU, and the NPDU and HCNPDU will not be divided for processing in the data link layer.
  • the interface to the network layer will be different for the master and slave.
  • ReqMsgSend, MsgRcv, and NLCompleted primitives will be used for the interface between a network layer and an application layer.
  • an identification number of the communication cycle (CyclelD) for transferring a message from the application layer of the master to the network layer.
  • an ADPU including a request message created in the application layer of the master
  • an identification number of the communication cycle (CyclelD)
  • an APDU for being transferred to the application layer (ResEventAPDU)
  • APDULength an address of the receiver device
  • SrcAddress an address of the sender device
  • CYCLE_FAILED (0) will be written; and if the NLService is CYCLE_FAILED, then a value for classifying the failure reason (NLFailCode) will be written, and if the NLResult is CYCLE_OK, then the number of repeated transmission (NLSuccessCode) will be written.
  • an identification number of the communication cycle (CyclelD)
  • an ADPU including a response message created in the application layer of the slave (ResADPU)
  • a byte data length of the ADPU (APDULength)
  • an identification number of the communication cycle (CyclelD)
  • an ADPU including an event message created in the application layer of the slave (EventADPU)
  • a byte data length of the ADPU (APDULength)
  • an address of the receiver device (DstAddress)
  • an address of the sender device (SrcAddress)
  • a transmission priority of the event message (SvcPriority)
  • CYCLE_FAILED a value for classifying the failure reason (NLFailCode) will be written, and if the NLResult is CYCLE_OK, then the number of repeated transmission (NLSuccessCode) will be written.
  • the master will use UserReq, UserDLReq, UserULReq, UserRes, UserEventRcv, and ALCompleted primitives for the interface to application software.
  • a combination of product codes and command codes as a service code of the application layer (ALSvcCode)
  • a combination of product codes and command codes as a service code of the application layer (ALSvcCode) , a data file name to be downloaded (DownloadFile) , a type of the transmission service fixed to ' Request-response-message (0) ' (ALService) , an address of the receiver device (DstAddress) , a waiting time of a response packet after sending a request packet in the network manager (TimeOut) , and a transmission priority fixed to '1' (SvcPriority) will be written.
  • ALSvcCode service code of the application layer
  • DownloadFile DownloadFile
  • DstAddress an address of the receiver device
  • TimeOut a waiting time of a response packet after sending a request packet in the network manager
  • SvcPriority transmission priority fixed to '1'
  • ALSvcCode service code of the application layer
  • UploadFile UploadFile
  • DstAddress an address of the receiver device
  • TimeOut a waiting time of a response packet after sending a request packet in the network manager
  • SvcPriority transmission priority fixed to '1'
  • the ALCompleted primitive for transferring a result of the service implementation from an application layer of the master to an application software, a combination of product codes and command codes as a service code of the application layer (ALSvcCode) , and a result of the service implementation (ALResult) will be written; and if a service requested by the application software is successfully completed, then SERVICE_OK(1) will be written, and otherwise SERVICE_FAILED (0) will be written, and a value for classifying the failure reason (ALFailCode) will be written in case where the ALResult is 'SERVICE_FAILD'.
  • ALFailCode a value for classifying the failure reason
  • the slave will use UserResSend, UserReqRcv, and UserEventSend primitives
  • a request message including download and upload
  • a combination of product codes and command codes as a service code of the application layer ALSvcCode
  • ReqData a data included in the request message sent from the master
  • ReqDataLength a length of the ReqData
  • SrcAddress an address of the sender device
  • a combination of product codes, command codes and event codes as a service code of the application layer (ALSvcCode)
  • AService a type of the transmission service
  • EventCode an event code
  • StateValue a state variable value of the event message
  • a layer to which the parameter value is transferred (DestLayer) will be written; for example, and the DestLayer will be written as '1' in case of an application layer, '2' in case of an network layer, '3' in case of a data link layer, and '4' in case of a physical layer.
  • a parameter (SetLayerPar) for each layer that varies according to the DestLayer value e.g., 'SetALPar' in case of an application layer, 'SetNLPar' in case of an network layer, 'SetDLLPar' in case of a data link layer, and 'SetPHYPar' in case of a physical layer will be written Moreover, in the primitive GetPar for transferring a parameter value from the parameter management layer to the network management sub-layer, a layer to which the parameter value has been transmitted (SrcLayer) will be written; for example, '1' in case of an application layer, '2' in case of an network layer, '3' in case of a data link layer, and '4' in case of a physical layer will be written.
  • a result of the implementation (PMLResult) will be written, and it will be PAR_OK(1) in case where the parameter value is successfully taken from each layer, and otherwise it will be PAR_FAILD (0) , and for a parameter (GetLayerPar) for each layer that varies according to the SrcLayer value, ' RptALPar ⁇ in case of an application layer, 'RptNLPar' in case of an network layer, 'RptDLLPar 1 in case of a data link layer, and 'RptPHYPar' in case of a physical layer will be written.
  • ' RptALPar ⁇ in case of an application layer
  • 'RptNLPar' in case of an network layer
  • 'RptDLLPar 1 in case of a data link layer
  • 'RptPHYPar' in case of a physical layer
  • FIG. 21 illustrates a layer structure of LnCP according to another embodiment of the present invention, and the layer structure of LnCP has a four layer structure of physical layer, data link layer, and network layer, and application layer.
  • the application layer includes an application sub-layer for managing a network management function and a device information object, and the data link layer includes a home code control sub-layer.
  • the physical layer provides a physical interface between devices and a function of sending and receiving a physical signal such as bits to be transmitted.
  • the data link layer having a non-standard transmission medium such as RS-485 network or low output RF network, or having a standard wire or wireless transmission medium such as power line communication, IEEE 802.11, or ZigBee (IEEE 802.15.4) will be used, and the LnCP adaptor as a separate physical layer will be used in order to realize the physical layer of devices in the LnCP network.
  • the data link layer provides a medium access control (MAC) function to use a shared transmission medium, and for the LnCP network, p-DCSMA (probabilistic Delayed Carrier Sense Multiple Access) may be used as a protocol for the medium access control (MAC) in case where the data link layer uses a non-standard transmission medium, and sends/receives services to/from the network layer through a data link service access point (DL-SAP) .
  • MAC medium access control
  • the home code control sub-layer provides a home code setting, management and processing function for logically dividing individual networks when the LnCP network is configured by using a non-independent transmission medium such as power line communication, IEEE 802.11, Ethernet, and ZigBee, or low output RF, and it is preferable that the home code control sub-layer is not realized in case where individual networks are physically divided by an independent transmission medium such as RS-485.
  • the network layer provides a function of appliance address management, transmit/receive control, etc. for reliable network connection between devices, and sends/receives services to/from the application layer through a network link service access point (NL-SAP) .
  • NL-SAP network link service access point
  • the application sub-layer is included in the application layer, and provides a network management function and a device information object
  • the network management function provides a parameter management function for setting node parameters and a function for network configuration and management
  • the device information object receives and manages device information from a device, and provides a reply function for the related request .
  • the application layer provides a transmit/receive control function in order to implement a service of application software, and additionally provides a flow control function for download/upload services, and defines a message set for the network management or appliance control and monitoring, and sends/receives services to/from the application software through an application layer service access point (AL-SAP) .
  • A-SAP application layer service access point
  • the application software performs a specific function of appliances, and exchanges data with the application layer through an interface defined in the application layer.
  • the parameter management plane can set or read parameters used in each layer according to a request of the network management function in the application layer.
  • a layer structure of LnCP protocol in the master and slave has a four layer structure of physical layer, data link layer, and network layer, and application layer.
  • the application layer includes an application sub-layer and a device information object
  • the data link layer includes a home code control sub-layer .
  • UserReq, UserDLReq, UserULReq, ALCompleted, UserRes, and UserEventRcv primitives will be used for the interface to application software.
  • a combination of product codes and command codes as a service code of the application layer (ALSvcCode) , a request message comprising command codes and input arguments (ReqMsg) , a byte data length of the ReqMsg (ReqMsgLength) , an address of the receiver device (DstAddress) , a type of transmission service (ALService, a waiting time (ms) for a response packet after sending a request packet in the master in case where the ALService is a Request-response-message or a time period between consecutive notification messages in case where the ALService is a Repeated-message (TimeOut) , and a transmission priority (SvcPriority) will be
  • a combination of product codes and command codes as a service code of the application layer (ALSvcCode) , a data file name to be downloaded (DownloadFile) , a type of the transmission service fixed to 'Request-response-message (0) ' (ALService) , an address of the receiver device (DstAddress) , a waiting time of a response packet after sending a request packet in the network manager (TimeOut) , and a transmission priority fixed to 1 I 1 (SvcPriority) will be written.
  • the slave will use UserResSend, UserReqRcv, and UserEventSend primitives
  • a request message including download and upload
  • a combination of product codes and command codes as a service code of the application layer ALSvcCode
  • ReqData a data included in the request message sent from the master
  • ReqDataLength a length of the ReqData
  • SrcAddress an address of the sender device
  • a combination of product codes, command codes and event codes as a service code of the application layer (ALSvcCode) , a type of the transmission service (ALService) , an event code (EventCode) , and a state variable value of the event message (StateValue) will be written.
  • the interface between a parameter management plane and a network management sub-layer will use SetPar and GetPar primitives.
  • a layer to which the parameter value is transferred (DestLayer) will be written; for example, and the DestLayer will be written as '1' in case of an application layer, '2' in case of an network layer, '3' in case of a data link layer, and '4' in case of a physical layer.
  • a layer to which the parameter value has been transmitted (SrcLayer) will be written; for example, '1' in case of an application layer, '2' in case of an network layer, '3' in case of a data link layer, and '4' in case of a physical layer will be written.
  • a result of the implementation (PMLResult) will be written, and it will be PAR_OK(1) in case where the parameter value is successfully taken from each layer, and otherwise it will be PAR_FAILD (0) , and for a parameter (GetLayerPar) for each layer that varies according to the SrcLayer value, 'RptALPar' in case of an application layer, 'RptNLPar 1 in case of an network layer, ' RptDLLPar ' in case of a data link layer, and 'RptPHYPar' in case of a physical layer will be written.
  • 'RptALPar' in case of an application layer
  • 'RptNLPar 1 in case of an network layer
  • ' RptDLLPar ' in case of a data link layer
  • 'RptPHYPar' in case of a physical layer
  • the layer structure of network control protocol and the interface method having the foregoing configuration according to the present invention will provide convenience in remote control and monitoring for the user, thereby more effectively implementing the interface to each layer of the network control protocol .
  • the living network may be called a network with a different name, furthermore, more various appliances can be connected to this network, and it will be understood by those skilled in the art that the foregoing embodiment can be improved, modified, substituted or added in a variety of ways without departing from the technical spirit and scope of the invention as defined by the appended claims.

Abstract

The present invention relates to a layer structure of network control protocol and a method of interfacing to each layer. A user, for example, who is locating at home or out-of-home, can control the operation or monitor the operation state of various appliances such as refrigerator or laundry machine through RS-485 network, low output RF network, power line network, or the like which is installed at home, thereby providing convenience in remote control and monitoring for the user. Furthermore, for the interface to each layer of network control protocol, it is a very useful invention to implement the interface to each layer more effectively by using proper primitive setting for the interface to each layer, besides that a header and trailer information required for each layer is added to a protocol data unit (PDU) transferred from a higher level to be transferred to a lower level.

Description

D E S C R I P T I O N
LAYER STRUCTURE OF NETWORK CONTROL PROTOCOL AND
INTERFACE METHOD
1. Technical Field The present invention relates to a layer structure of network control protocol and an interface method thereof for a user, for example, who is locating at home or out-of-home to effectively control appliances such as refrigerator or laundry machine connected to a network. 2. Background Art
In general, 'home network1 means a network in which various digital appliances are connected to one another for the user to enjoy economical home services in a convenient and safe way anytime at home or out-of-home, and due to the development of digital signal processing technology, various types of appliances such as refrigerator or laundry machine are being gradually digitalized.
On the other hand, in recent years, home network has been more advanced, since operating system and multi-media technology for appliances has been applied to digital appliances, as well as new types of information appliances have appeared .
Moreover, a network which is established for providing file exchanges or internet services between personal computers and peripheral devices, a network between appliances for handling audio or video information, and a network established for home automation of various appliances such as refrigerator or laundry machine, appliance control such as remote meter reading, and the like are called a 'living network' in a general meaning.
Furthermore, in the network services in which small-scale data transmission for the remote control, or operating state monitoring of the appliances included in the aforementioned network, for example, various appliances such as refrigerator or laundry machine, is the main object of their communication, each of appliances connected to one another should be directly- controlled by a network manager, which is included in the network, with the use of the minimum required communication resources. However, its effective solution has not been provided yet, and thus it is a matter of urgency to provide its solution.
3. Disclosure of the Invention
Accordingly, the present invention is devised in consideration of the aforementioned situation, and it is an object of the invention to provide a layer structure of network control protocol and an interface method thereof for more effectively implementing an interface to each layer of the network control protocol, besides that a user, for example, who is locating at home or out-of-home can effectively control various appliances such as refrigerator or laundry machine connected to a network by using the minimum required communication resources.
In order to achieve the aforementioned object, a layer structure of network control protocol according to the present invention comprises a physical layer for providing a function of sending/receiving physical signal between devices; a data link layer for providing a medium access control function to use a shared transmission media; a network layer for providing a function of address management and/or transmit/receive control for a network connection between devices; and an application layer for providing a flow control function for download and/or upload services, and the layer structure is characterized in that the data link layer includes a home code control sub-layer for providing at least any one of the setting function, management function, and processing function for logically classifying individual networks.
Furthermore, an interface method between the layers of network control protocol according to the present invention is characterized in that in a method of interfacing to each layer of network control protocol configured by including a plurality of layers, a primitive for transmitting data or a packet and a primitive for receiving data or a packet are used for the interface between each of the layers.
Furthermore, an interface method between the layers of network control protocol according to the present invention is characterized in that the master and slave are separated for the interface between an application software and an application layer, and a service request primitive transferred from the application software is used in the master, and a primitive for transferring a request message sent from the master to an application software of the slave is used in the slave.
4. Brief Description of the Drawings
The above and other objects, features and advantages of the present invention will become apparent from the following description of preferred embodiments given in conjunction with the accompanying drawings, in which:
Fig. 1 illustrates a configuration of a network system according to the present invention;
FIG. 2 and FIG.3 illustrate a master-slave driven communication structure according to the present invention; FIG. 4 illustrates a layer structure of LnCP according to the present invention;
FIGS. 5 through 7 illustrate embodiments on the communication cycle services according to the present invention; FIG. 8 illustrates a layer structure of LnCP according to the present invention;
FIG. 9 illustrates an embodiment on a primitive for the interface between a network management sub-layer and a parameter management layer according to the present invention; FIG. 10 illustrates an embodiment of a structure for the interface to each layer according to the present invention; FIG. 11 illustrates an embodiment of a structure of the Universal Asynchronous Receiver/Transmitter (UART) frame according to the present invention;
FIG. 12 illustrates an embodiment of a primitive for the interface between a physical layer and a data link layer according to the present invention;
FIG. 13 illustrates an embodiment of a primitive for the interface between a data link layer and a network layer according to the present invention; FIG. 14 illustrates a structure of the data link layer frame according to the present invention;
FIG. 15 illustrates an embodiment of a primitive in the master for the interface between a network layer and an application layer according to the present invention; FIG. 16 illustrates an embodiment of a primitive in the slave for the interface between a network layer and an application layer according to the present invention;
FIG. 17 and FIG. 18 illustrate an embodiment of a primitive in the master for the interface between an application layer and an application software according to the present invention;
FIG. 19 illustrates an embodiment of a primitive in the slave for the interface between an application layer and an application software according to the present invention; FIG. 20 illustrates an embodiment of a primitive for the interface between a parameter management layer and a network management sub-layer according to the present invention;
FIG. 21 illustrates a layer structure of LnCP according to another embodiment of the present invention; FIG. 22 illustrates an embodiment for transferring primitives between layers in the master according to the present invention; and
FIG. 23 illustrates an embodiment for transferring primitives between layers in the slave according to the present invention.
5. Best Mode for Carrying Out the Invention Hereinafter, a preferred embodiment of a layer structure of network control protocol and an interface method thereof according to the present invention will be described in detail with reference to the accompanying drawings. FIG. 1 illustrates a configuration of network control protocol according to the present invention. A network control protocol which will be defined in a new way in this invention, for example, a LnCP (Living network Control Protocol) Internet server 100 and a living network control system 400 to which the LnCP is applied, as illustrated in FIG. 1, are connected through the Internet; besides, the LnCP Internet server 100 allows to perform an interface operation with a variety of communication terminals 200 such as personal computer, PDA, PCS, and the like. On the other hand, the living network control system 400 is configured by including a home gateway 40, a network manager 41, a LnCP router 42, a LnCP adaptor 43, and appliances 44; moreover, for the configured means, as illustrated in FIG. 1, the data link layer having a non- standard transmission medium such as RS-485 network or low output RF network, or the data link layer having a standard transmission medium such as power line communication, IEEE 802.11, or ZigBee (IEEE 802.15.4) will be used.
Furthermore, the living network control system 400 is called, for example, a ' LnCP network' , and the LnCP network, as illustrated in FIG. 1, is configured with an independent network for connecting the appliances belonging to the category of living network in an independent home through wire or wireless communication media. On the other hand, the LnCP network is connected with a master device for controlling the operation of other appliances or monitoring the operation state thereof, and a slave device having a function for responding to a request of the master device and a function for notifying information about the state change of its own.
In addition, an environmental setting and management function for the appliances 44 connected to the LnCP network are taken in charge by the network manager 41, and the appliances 44 can be directly to a network or indirectly connected to a network through the LnCP adaptor 43; and RS-485 network, RF network, power line network and the like in the LnCP network are connected with one another through the LnCP router 42.
Furthermore, the LnCP network provides a function for monitoring or controlling the state of an appliance installed at home for a user in the outside, and the connection function between the LnCP network and the outside Internet for this purpose is taken in charge by the home gateway 40, and the user himself can use the function for monitoring or controlling the state of an appliance connected to the LnCP network when he accesses the LnCP Internet server 100 to pass through authentication process.
Moreover, the user can access the LnCP Internet server 100 from an appliance connected to the LnCP network through the home gateway 40 to download the contents provided by the LnCP Internet server. The main features of the LnCP network for this purpose will be described in detail in the following.
First, digital information appliances have microcontrollers with a variety of performances to implement a specific function respectively. In a LnCP network according to the present invention, such a function is more effectively simplified to enable the operation in the microcontrollers with a variety performances by using the minimum resources of the microcontroller mounted on an appliance, and in particular microcontrollers with low performance are allowed to implement appliance specific functions while processing a function of the LnCP communication, and microcontrollers with high performance are allowed to process a function of multi-tasking. Moreover, the main features of the LnCP network according to the present invention will be classified into master-slave driven communication structure, event driven communication support, a plurality of network manager support, 4 -layer structure, communication cycle service, flexible address management, variable length packet communication, and standard message set provision.
On the other hand, the master-slave driven communication structure is used as a connection communication structure between appliances in the LnCP network, and it should have at least more than one master device, and the master device should have the information and control codes for the slave devices to be controlled. At this time, the master device will control other slave devices by following an already inputted program or receiving the input from the user. For example, a message flow between the master device and the slave device, as illustrated in FIG. 2, operates in a manner that when a Request message is sent from the master to the slave, the slave sends a Response message on this to the master, and the LnCP network may have a multi-master and multi-slave driven communication structure, as illustrated in FIG. 3.
Furthermore, in the LnCP network, event-driven communication services are supported, and for example, the user can establish an event which is required by an appliance, and thereafter if the event established by the user occurs in the relevant appliance while performing an operation, then it will notify the fact or content of the event occurrence to the other appliances, or control the operation state of the other appliances in response of the event. Moreover, the LnCP network comprises at least more than one network manager in charge of an environmental setting and management function for appliances, and a number of network managers can be supported if necessary, and in this case, the management information of appliances should be synchronized in order to prepare for a plurality of the network manager errors,
Furthermore, the LnCP network, as illustrated in FIG. 4, has a 4-layer structure with physical layer, data link layer, network layer, and application layer, and services are provided with a communication cycle unit in the LnCP network, and only one communication cycle can exist at a given time in the slave device.
In other words, it cannot be controlled by any master device while the communication cycle being performed in a slave device, but a plurality of communication cycles for a plurality of slave devices can be performed at a given time in the master device, and there are four kinds of {l-Request, 1- Response}, {l-Request, Multi-Response }, {l-Notification} , and {Repeated-Notification} communication cycles.
For example, the {l-Request, 1-Response} communication cycle is a communication cycle that a master sends a Request packet to a slave, and the slave transfers a Response packet in response of this, and if an error occurs in the received packet, then the master sends a Re-Request packet, and the slave in turn transfers a Response packet on this, as illustrated in FIG. 5.
Moreover, in the {l-Request, Multi-Response} communication cycle, as illustrated in FIG. 6, one master sends a Request packet having the group address to a number of slaves, and each of slaves sends a Response packet on the Request packet. The master finishes the cycle if the maximum allowable receive time is passed, and at this time the master ignores this even when an error occurs in the Response packet received from the slave.
Furthermore, the {l-Notification} communication cycle, as illustrated in FIG. 7, is a cycle that one master device sends a Notification packet to a number of devices, and then finishes the communication at once,- moreover, the Repeated- Notification} communication cycle is a cycle that it sends the same packet repeatedly, and then finishes the communication in order to secure the transmission reliability in the {l- Notification} communication cycle. On the other hand, the LnCP network supports flexible address management, and the appliances provided with a LnCP function, for example, can automatically configure a network without user' s intervention by assigning an address to each kind of appliances at the time of shipment from the factory, and here the network manager has an algorithm for assigning its own specific address when appliances are connected to one another, since the same kind of appliances are initialized with the same address.
Moreover, in the LnCP network, its own group address is specified for the appliances belonging to the same kind, and thereby the group communication is enabled by using one message, and several kinds of appliances can be classified into a cluster in order to specify the group address for each cluster .
Furthermore, the LnCP network supports the packet communication with a variable length, and in a case where contents such as application programs related to the manipulation of appliances are downloaded or the data stored in appliances are uploaded, the length of a packet can be controlled by using the exchanged buffer size information of the appliances. Moreover, the LnCP network provides the standard message set, and the standard message set suited for various appliances, for example, is defined in the application layer to control other appliances from a master device, and furthermore the message set is divided into the common area message set for the basic LnCP communication, the product application area message set for supporting the specific function of appliances, and the developer area message set for providing the specific function of manufacturers.
On the other hand, the foregoing message set can be extended if necessary, and also arguments may be added to the already defined messages. Hereinafter, the layer structure, which is one of the main features in the LnCP network according to the present invention, will be described in more detail. FIG. 8 illustrates a layer structure of the LnCP protocol according to the present invention, and as describe above, the LnCP network to which this invention is applied, has a 4 -layer structure having physical layer, data link layer, network layer, and application layer for controlling and monitoring the operation of appliances such as refrigerator, laundry machine, or the like.
On the other hand, the physical layer provides a physical interface between devices, and a function for transmitting/receiving physical signals such as bits to be transmitted, and for the physical layer, a non-standard transmission medium with the data link layer such as RS-485, low output RF network, etc. and a standard wire or wireless transmission medium such as power line communication, IEEE 802.11, Ethernet, and ZigBee, can be used, and the LnCP adaptor can be used as a separate physical layer in order to realize the physical layer of devices in the LnCP network. Furthermore, the data link layer provides the medium access control (MAC) function to use a shared transmission medium, and for the LnCP network, p-DCSMA (probabilistic Delayed Carrier Sense Multiple Access) should be used as a protocol for the medium access control (MAC) in case where the data link layer uses a non-standard transmission medium. However, in case where the data link layer uses a standard transmission medium for the LnCP network, the medium access control function as defined in the relevant protocol can be used. On the other hand, as illustrated in FIG. 8, the home code control sub-layer provides a home code setting, management and processing function for dividing individual networks logically when the LnCP network is configured by using a non-independent transmission medium such as power line communication, IEEE 802.11, Ethernet, and ZigBee, or low output RF, and it is preferred that the home code control sublayer is not realized in case where individual networks are physically divided by an independent transmission medium such as RS-485. Furthermore, the network layer provides a function of appliance address management, transmit/receive control, etc. for reliable network connection between devices, and the application layer provides a flow control function for download and upload services as well as a transmit/receive control function in order to implement application software services .
In addition, the application layer defines message sets for network management, or appliance control and monitoring, and the application software implements a specific function of appliances, and exchanges data with the application layer through the interface as defined in the application layer. Furthermore, as illustrated in FIG. 8, the network management sub-layer provides a parameter management function for setting node parameters, and a network management function for network configuration and management, and the parameter management layer can set or read the parameters used in each layer according to a request of the network management sublayer.
Moreover, in the primitive for interface to the network management sub-layer, as illustrated in FIG. 9, a primitive (structure SetPar) for transferring a parameter value from the network management sub-layer to the parameter management layer, and a primitive (structure GetPar) for transferring a parameter value from the parameter management layer to the network management sub-layer.
On the other hand, in the a primitive (structure SetPar) for transferring a parameter value to the parameter management layer, 'uchar DestLayer1 for specifying a layer to which the parameter value is transferred, and 'structure SetLayerPar ' that its value varies according to the DestLayer value as the parameter for each layer are written, and the DestLayer will be ' 1 ' in case where the layer to which the parameter value is transferred is an application layer, '2' in case of an network layer, '3' in case of a data link layer, and '4' in case of a physical layer.
Moreover, the SetLayerPar will be 'SetALPar' in case of an application layer, 'SetNLPar' in case of an network layer, 'SetDLLPar' in case of a data link layer, and 'SetPHYPar' in case of a physical layer.
Furthermore, in the primitive (structure GetPar) for transferring a parameter value to the network management sub- layer, 'uchar SreLayer' for specifying a layer to which the parameter value has been transmitted, 'uchar PMLResult ' for specifying whether the parameter value is successfully taken from each layer, and 'structure GetLayerPar ' that its value varies according to the SrcLayer value as the parameter for each layer are written, and the SrcLayer will be '1' in case where the layer to which the parameter value has been transmitted is an application layer, '2' in case of an network layer, '3' in case of a data link layer, and '4' in case of a physical layer.
Moreover, the PMLResult will be PAR_OK(1) in case where the parameter value is successfully taken from each layer, and PAR_FAILD (0) in case where the parameter value is not successfully taken from each layer, and the GetLayerPar will be ' RptALPar ' in case of an application layer, 'RptNLPar' in case of an network layer, 'RptDLLPar' in case of a data link layer, and 'RptPHYPar' in case of a physical layer. On the other hand, for a parameter value which is used in the parameter management layer, there is 'const unit ParTimeOut ' , and it specifies a waiting time (ms) for receiving RptALPar (or RptNLPar, RptDLLPar, RptPHYPar) after transferring GetALPar(or GetNLPar, GetDLLPar, GetPHYPar) to each layer.
Furthermore, if the parameter management layer receives the SetPar primitive from the network management sub-layer, then SetALPar, SetNLPar, SetDLLPar, or SetPHYPar primitives is transferred to a layer specified in the primitive, and the variable of which all bit values are 1I' in the received primitive will be ignored in each layer (for example, OxFF, OxFFFF) .
Moreover, if the GetPar primitive is received from the network management sub-layer, then GetALPar, GetNLPar, GetDLLPar, or GetPHYPar is transferred to a layer specified in the primitive, and if RptALPar, RptNLPar, RptDLLPar or RptPHYPar is received from each layer, then the GetPar primitive is included and the PARResult value becomes PAR_OK to be transferred to the network management sub-layer. If the primitive is not received from each layer within the time of ParTimeOut, then the PARResult value becomes PAR_FAILED to be transferred to the network management sub-layer. On the other hand, the network management sub-layer provides a parameter management function for setting node parameters in individual devices, and a function for network configuration, environmental setting, and network operation management, and if there is a request from the application software and the master, then a parameter value in the following will be set or read in the relevant layer through the parameter management layer.
For example, the parameter value of AddressResult , NP_Alivelnt, SvcTimeOut, and NP_BufferSize in case of an application layer, NP_LogicalAddress, NP_ClusterCode, NP_HomeCode, and SendRetries in case of a network layer, MinPktInterval in case of a data link layer, and NP_bps in case of a physical layer will be set or read. In particular, if the network management sub-layer in the slave receives the UserReqRcv primitive including an application service belonging to the 'device node parameter setting service' or 'device node parameter acquisition service' from the application layer, then parameter values will be set or read in the relevant layer through the parameter management layer, and the result will be transferred to the application layer through the UserResSend primitive. Application services for the parameter management of each layer are as follows. For example, there are SetOption, SetAliveTiem, SetClock, and GetBufferSize services in case of an application layer; SetTempAddress, SetAddress, GetAddress services in case of an network1 layer; no relevant services in case of a data link layer; and SetSpeed service in case of a physical layer. On the other hand, the network management sub-layer provides a network management function such as LnCP network configuration, environmental setting, and network operation management, and general network management functions will operate on the application layer in the master, and a part of the synchronization functions of network information during a plurality of network management periods will operate on the application layer in the slave. Furthermore, for the interface to the application layer, there are the interface to the application layer in the slave, and the interface to the application layer in the master. For the interface to the application layer in the slave, UserReqRcv and UserResSend primitives are used, and for the interface to the application layer in the master, UserReq, UserDLReq, UserULReq. UserRes, UserEventRcv, and ALCompleted primitives are used.
On the other hand, in a method of interfacing to each layer of network control protocol according to the present invention, as illustrated in FIG. 10, the header and trailer information required in each layer is added to the protocol data unit (PDU) transferred from a higher layer to be transferred to a lower layer. For example, the APDU (Application layer PDU) as a packet transferred between an application layer and a network layer, comprises an APDU header and a message, and the NPDU (Network layer PDU) as a packet transferred between a network layer and a data link layer or home code sub-layer, comprises an NPDU header such as an ADPU and its own address, an address of the destination appliance, a packet type according to the importance of the transmitted message, a NPDU trailer, and an APDU.
Furthermore, the HCNPDU (Home Code Control Sub-layer PDU) as a packet transferred between a network layer and a data link layer comprises a NPDU and a home code. In the physical layer of the LnCP network, as illustrated in FIG. 11, a Universal Asynchronous Receiver/Transmitter (UART) frame structure will be used for the interface between a device and an LnCP adaptor or LnCP router.
For example, the packet received from the higher layer is converted into the UART frame unit with 10 bits to be transferred through a transmission medium, and the UART frame in a LnCP network comprises a start bit with 1-bit, a data with 8-bit, and a stop bit with 1-bit, and a parity bit is not used, and the UART frame is sequentially transferred from the start bit to the stop bit . On the other hand, in case where the UART is used in the LnCP network, additional frame header and frame trailer are not used, and 9600 bps will be used for the communication speed, or 4800 bps or 19200 bps will be used according to the performance of the device.
Furthermore, as illustrated in FIG. 12, in the primitives for the interface between a physical layer and a data link layer, there are the primitive 'FrameSend' for transferring 1 byte data from the data link layer to the physical layer, the primitive 'FrameRcv1 for transferring 1 byte data from the physical layer to the data link layer, and the primitive ' RptLineStatus ' in the line state that is transferred to data link layer. If a UART frame in the line state exists, then LINE_BSY is transferred, and otherwise LINE_IDLE is transferred.
On the other hand, as illustrated in FIG. 13, in the primitives for the interface between a data link layer and a network layer, there are the primitive 'PktSend' for transferring a packet from the network layer to the data link layer, the primitive 'PktRcv' for transferring a packet from the data link layer to the network layer, and the primitive 'DLLCompleted' for notifying a result of the packet transmission from the data link layer to the network layer.
Furthermore, a packet (NPDU/HCNPDU) of the network layer, a byte data length of the NPDU/HCNPDU, and transmission priority (SvcPriority) are written in the PktSend; a packet (PDU) of the network layer and a byte data length of the PDU (PDULength) are written in the PktRcv; and if a packet transmission procedure is successfully completed as a result of the packet transmission (DLLResult) , then SEND_OK(1) is written, and otherwise SEND_FAILED (0) is written, and in case where the DLLResult is SEND_FAILED (0) , a value for classifying the failure reason (DLLFailCode) is written in the DLLCompleted. On the other hand, as illustrated in FIG. 14, a data link frame structure is configured by adding the frame header and trailer to the NPDU/HCNPDU, and if a non-standard transmission medium is used in the data link layer, then a null field will be written in the frame header and trailer, and if a standard transmission medium is used, then it will follow the regulation as defined in the relevant protocol. The NPDU field is a data unit that is transferred from the higher network layer.
Furthermore, the HCNPDU is a data unit that a home code, which is used in case where the physical layer is a non- independent transmission medium, is added in front of the NPDU, and the NPDU and HCNPDU will not be divided for processing in the data link layer.
On the other hand, the interface to the network layer will be different for the master and slave. In the master, as illustrated in FIG. 15, ReqMsgSend, MsgRcv, and NLCompleted primitives will be used for the interface between a network layer and an application layer. In the primitive ReqMsgSend for transferring a message from the application layer of the master to the network layer, an identification number of the communication cycle (CyclelD) , an ADPU including a request message created in the application layer of the master
(ReqADPU) , a byte data length of the ADPU (APDULength) , an address of the receiver device (DstAddress) , an address of the sender device (SrcAddress) , a type of communication cycle service in the master (NLService, example: 0=Acknowledged, l=Non-acknowledged, 2=Repeated-notification) , a waiting time for a response packet after sending a request packet to the master in case where the NLService is selected as 'Acknowledged' (Response TimeOut) , a time period between consecutive notification packets in case where the NLService is selected as 'Repeated-notification' (RepNotilnt) , and a transmission priority of the request message (SvcPriority) will be written.
Moreover, in the primitive MsgRcv for transferring a packet from the network layer of the master to the application layer, an identification number of the communication cycle (CyclelD) , an APDU for being transferred to the application layer (ResEventAPDU) , a byte data length of the ADPU (APDULength) , an address of the receiver device (DstAddress) , and an address of the sender device (SrcAddress) will be written.
Furthermore, in the primitive NLCompleted for transferring a packet process state from the network layer to the application layer, an identification number of the communication cycle (CyclelD) and a result of the communication cycle implementation (NLResult) are written. Here, if the communication cycle is successfully completed, then CYCLE_OK(1) will be written, and otherwise
CYCLE_FAILED (0) will be written; and if the NLService is CYCLE_FAILED, then a value for classifying the failure reason (NLFailCode) will be written, and if the NLResult is CYCLE_OK, then the number of repeated transmission (NLSuccessCode) will be written.
On the other hand, as illustrated in FIG. 16, in the slave, ReqMsgRcv, ResMsgSend, EventMsgSend, and NLCompleted primitives will be used for the interface between a network layer and an application layer. In the ReqMsgRcv for transferring a request message received to the application layer from the network layer of the slave, an APDU for being transferred to the application layer (ReqAPDU) , a byte data length of the APDU (APDULength) , an address of the receiver device (DstAddress) , an address of the sender device (SrcAddress) , a type of communication cycle service in the slave (NLService, example: 0=Acknowledged, l=Non-acknowledged) , and if a result of the duplicated packet detection is normal, then NORMAL_PKT (1) will be written, and if it is detected as a repeated packet, then DUPLICATED_PKT (0) will be written. Moreover, in the primitive ResMsgSend for transferring a response message from the application layer of the slave to the network layer, an identification number of the communication cycle (CyclelD) , an ADPU including a response message created in the application layer of the slave (ResADPU) , and a byte data length of the ADPU (APDULength) will be written.
Furthermore, in the primitive EventMsgSend for transferring an event message from the application layer of the slave to the network layer, an identification number of the communication cycle (CyclelD) , an ADPU including an event message created in the application layer of the slave (EventADPU) , a byte data length of the ADPU (APDULength) , an address of the receiver device (DstAddress) , an address of the sender device (SrcAddress) , a transmission service in the network layer (NLService, example: l=Non-acknowledged, 2=Repeated-notification) , a time period between consecutive notification packets in case where the NLService is selected as 'Repeated-notification' (RepNotilnt) , and a transmission priority of the event message (SvcPriority) will be written.
On the other hand, in the primitive NLCompleted for transferring a packet process state from the network layer to the application layer, an identification number of the communication cycle (CyclelD) and a result of the communication cycle implementation (NLResult) will be written. Here, if the communication cycle is successfully completed, then CYCLE_OK(1) will be written, and otherwise CYCLE_FAILED(O) will be written; and if the NLService is
CYCLE_FAILED, then a value for classifying the failure reason (NLFailCode) will be written, and if the NLResult is CYCLE_OK, then the number of repeated transmission (NLSuccessCode) will be written. Furthermore, as illustrated in FIG. 17 and FIG. 18, the master will use UserReq, UserDLReq, UserULReq, UserRes, UserEventRcv, and ALCompleted primitives for the interface to application software. In the service request primitive UserReq transferred from the application software in the master, a combination of product codes and command codes as a service code of the application layer (ALSvcCode) , a request message comprising command codes and input arguments (ReqMsg) , a byte data length of the ReqMsg (ReqMsgLength) , an address of the receiver device (DstAddress) , a type of transmission service (ALService, example: 0=Request-response- message, l=Request- message-only, 2=Repeated-message, 3=Event-message-only) , a waiting time (ms) for a response packet after sending a request packet in the master in case where the ALService is a Request -response-message or a time period between consecutive notification messages in case where the ALService is a Repeated-message (TimeOut) , and a transmission priority (SvcPriority) will be written.
Moreover, in the primitive UserRes for transferring a result of the service implementation on a request message of the master to the application software, a combination of product codes and command codes as a service code of the application layer (ALSvcCode) , a response message comprising command codes and return arguments (ResMsg) , a byte data length of the ResMsg (ResMsgLength) , and an address of the sender device (SrcAddress) will be written.
On the other hand, in the primitive UserEventRcv for transferring an event message received from the slave to an application software of the master, a combination of product codes, command codes and event codes as a service code of the application layer (ALSvcCode) , an event message received from the slave (EventMsg) , a byte data length of the EventMsg (EventMsgLength) , an address of the sender device (SrcAddress) will be written.
Furthermore, in the request primitive UserDLReq for sending data to a device connected to the network by a network manager, a combination of product codes and command codes as a service code of the application layer (ALSvcCode) , a data file name to be downloaded (DownloadFile) , a type of the transmission service fixed to ' Request-response-message (0) ' (ALService) , an address of the receiver device (DstAddress) , a waiting time of a response packet after sending a request packet in the network manager (TimeOut) , and a transmission priority fixed to '1' (SvcPriority) will be written.
Moreover, in the request primitive UserULReq for receiving data from a device connected to the network by a network manager, a combination of product codes and command codes as a service code of the application layer (ALSvcCode) , a data file name to be uploaded (UploadFile) , a type of the transmission service fixed to ' Request-response-message (0) ' (ALService) , an address of the receiver device (DstAddress) , a waiting time of a response packet after sending a request packet in the network manager (TimeOut) , and a transmission priority fixed to '1' (SvcPriority) will be written. Furthermore, in the ALCompleted primitive for transferring a result of the service implementation from an application layer of the master to an application software, a combination of product codes and command codes as a service code of the application layer (ALSvcCode) , and a result of the service implementation (ALResult) will be written; and if a service requested by the application software is successfully completed, then SERVICE_OK(1) will be written, and otherwise SERVICE_FAILED (0) will be written, and a value for classifying the failure reason (ALFailCode) will be written in case where the ALResult is 'SERVICE_FAILD'.
On the other hand, as illustrated in FIG. 19, the slave will use UserResSend, UserReqRcv, and UserEventSend primitives In the primitive UserReqRcv for transferring a request message (including download and upload) sent from the master to an application software of the slave, a combination of product codes and command codes as a service code of the application layer (ALSvcCode) , a data included in the request message sent from the master (ReqData) , a length of the ReqData (ReqDataLength) , and an address of the sender device (SrcAddress) will be written.
Moreover, in the primitive UserResSend for transferring a response message on a request message of the master to an application layer of the slave, a combination of product codes and command codes as a service code of the application layer (ALSvcCode) , a data included in the response message to be sent to the master (ResData) , and a length of the ResData (ResDataLength) will be written.
Furthermore, in the primitive UserEventSend for transferring a state variable value of the event message in the slave to be transmitted to the master, a combination of product codes, command codes and event codes as a service code of the application layer (ALSvcCode) , a type of the transmission service (ALService, example: 2=Repeated-message, 3=Event-message-only) , an event code (EventCode) , and a state variable value of the event message (StateValue) will be written. On the other hand, as illustrated in FIG. 20, the interface between a parameter management layer and a network management sub-layer will use SetPar and GetPar primitives. In the SetPar for transferring a parameter value from the network management sub-layer to the parameter management layer, a layer to which the parameter value is transferred (DestLayer) will be written; for example, and the DestLayer will be written as '1' in case of an application layer, '2' in case of an network layer, '3' in case of a data link layer, and '4' in case of a physical layer. Furthermore, for a parameter (SetLayerPar) for each layer that varies according to the DestLayer value, 'SetALPar' in case of an application layer, 'SetNLPar' in case of an network layer, 'SetDLLPar' in case of a data link layer, and 'SetPHYPar' in case of a physical layer will be written Moreover, in the primitive GetPar for transferring a parameter value from the parameter management layer to the network management sub-layer, a layer to which the parameter value has been transmitted (SrcLayer) will be written; for example, '1' in case of an application layer, '2' in case of an network layer, '3' in case of a data link layer, and '4' in case of a physical layer will be written.
Furthermore, a result of the implementation (PMLResult) will be written, and it will be PAR_OK(1) in case where the parameter value is successfully taken from each layer, and otherwise it will be PAR_FAILD (0) , and for a parameter (GetLayerPar) for each layer that varies according to the SrcLayer value, ' RptALPar in case of an application layer, 'RptNLPar' in case of an network layer, 'RptDLLPar1 in case of a data link layer, and 'RptPHYPar' in case of a physical layer will be written.
On the other hand, FIG. 21 illustrates a layer structure of LnCP according to another embodiment of the present invention, and the layer structure of LnCP has a four layer structure of physical layer, data link layer, and network layer, and application layer. The application layer includes an application sub-layer for managing a network management function and a device information object, and the data link layer includes a home code control sub-layer.
Moreover, the physical layer provides a physical interface between devices and a function of sending and receiving a physical signal such as bits to be transmitted. For the physical layer, the data link layer having a non- standard transmission medium such as RS-485 network or low output RF network, or having a standard wire or wireless transmission medium such as power line communication, IEEE 802.11, or ZigBee (IEEE 802.15.4) will be used, and the LnCP adaptor as a separate physical layer will be used in order to realize the physical layer of devices in the LnCP network.
Furthermore, the data link layer provides a medium access control (MAC) function to use a shared transmission medium, and for the LnCP network, p-DCSMA (probabilistic Delayed Carrier Sense Multiple Access) may be used as a protocol for the medium access control (MAC) in case where the data link layer uses a non-standard transmission medium, and sends/receives services to/from the network layer through a data link service access point (DL-SAP) . On the other hand, as illustrated in FIG. 21, the home code control sub-layer provides a home code setting, management and processing function for logically dividing individual networks when the LnCP network is configured by using a non-independent transmission medium such as power line communication, IEEE 802.11, Ethernet, and ZigBee, or low output RF, and it is preferable that the home code control sub-layer is not realized in case where individual networks are physically divided by an independent transmission medium such as RS-485. Furthermore, the network layer provides a function of appliance address management, transmit/receive control, etc. for reliable network connection between devices, and sends/receives services to/from the application layer through a network link service access point (NL-SAP) .
On the other hand, the application sub-layer is included in the application layer, and provides a network management function and a device information object, and the network management function provides a parameter management function for setting node parameters and a function for network configuration and management, and the device information object receives and manages device information from a device, and provides a reply function for the related request .
Moreover, the application layer provides a transmit/receive control function in order to implement a service of application software, and additionally provides a flow control function for download/upload services, and defines a message set for the network management or appliance control and monitoring, and sends/receives services to/from the application software through an application layer service access point (AL-SAP) .
Furthermore, the application software performs a specific function of appliances, and exchanges data with the application layer through an interface defined in the application layer. As illustrated in FIG. 21, the parameter management plane can set or read parameters used in each layer according to a request of the network management function in the application layer.
On the other hand, as another embodiment according to the present invention, as illustrated in FIGS. 22 and 23, a layer structure of LnCP protocol in the master and slave has a four layer structure of physical layer, data link layer, and network layer, and application layer. The application layer includes an application sub-layer and a device information object, and the data link layer includes a home code control sub-layer .
Furthermore, in the master, as illustrated in FIG. 22, UserReq, UserDLReq, UserULReq, ALCompleted, UserRes, and UserEventRcv primitives will be used for the interface to application software. In the service request primitive UserReq transferred from the application software in the master, a combination of product codes and command codes as a service code of the application layer (ALSvcCode) , a request message comprising command codes and input arguments (ReqMsg) , a byte data length of the ReqMsg (ReqMsgLength) , an address of the receiver device (DstAddress) , a type of transmission service (ALService, a waiting time (ms) for a response packet after sending a request packet in the master in case where the ALService is a Request-response-message or a time period between consecutive notification messages in case where the ALService is a Repeated-message (TimeOut) , and a transmission priority (SvcPriority) will be written.
Moreover, in the primitive UserRes for transferring a result of the service implementation on a request message of the master to the application software, a combination of product codes and command codes as a service code of the application layer (ALSvcCode) , a response message comprising command codes and return arguments (ResMsg) , a byte data length of the ResMsg (ResMsgLength) , and an address of the sender device (SrcAddress) will be written.
On the other hand, in the primitive UserEventRcv for transferring an event message received from the slave to an application software of the master, a combination of product codes, command codes and event codes as a service code of the application layer (ALSvcCode) , an event message received from the slave (EventMsg) , a byte data length of the EventMsg (EventMsgLength) , an address of the sender device (SrcAddress) will be written.
Furthermore, in the request primitive UserDLReq for sending data to a device connected to the network by a network manager, a combination of product codes and command codes as a service code of the application layer (ALSvcCode) , a data file name to be downloaded (DownloadFile) , a type of the transmission service fixed to 'Request-response-message (0) ' (ALService) , an address of the receiver device (DstAddress) , a waiting time of a response packet after sending a request packet in the network manager (TimeOut) , and a transmission priority fixed to 1I1 (SvcPriority) will be written.
Moreover, in the request primitive UserULReq for receiving data from a device connected to the network by a network manager, a combination of product codes and command codes as a service code of the application layer (ALSvcCode) , a data file name to be uploaded (UploadFile) , a type of the transmission service fixed to 'Request-response-message (0) ' (ALService) , an address of the receiver device (DstAddress) , a waiting time of a response packet after sending a request packet in the network manager (TimeOut) , and a transmission priority fixed to 1I' (SvcPriority) will be written.
Furthermore, in the ALCompleted primitive for transferring a result of the service implementation from an application layer of the master to an application software, a combination of product codes and command codes as a service code of the application layer (ALSvcCode) , and a result of the service implementation (ALResult) will be written; and if a service requested by the application software is successfully completed, then SERVTCE_OK(1) will be written, and otherwise SERVICE_FAILED(0) will be written, and a value for classifying the failure reason (ALFailCode) will be written in case where the ALResult is ' SERVICE_FAILD '.
On the other hand, as illustrated in FIG. 23, the slave will use UserResSend, UserReqRcv, and UserEventSend primitives In the primitive UserReqRcv for transferring a request message (including download and upload) sent from the master to an application software of the slave, a combination of product codes and command codes as a service code of the application layer (ALSvcCode) , a data included in the request message sent from the master (ReqData) , a length of the ReqData (ReqDataLength) , and an address of the sender device (SrcAddress) will be written.
Moreover, in the primitive UserResSend for transferring a response message on a request message of the master to an application layer of the slave, a combination of product codes and command codes as a service code of the application layer (ALSvcCode) , a data included in the response message to be sent to the master (ResData) , and a length of the ResData (ResDataLength) will be written.
Furthermore, in the primitive UserEventSend for transferring a state variable value of the event message in the slave to be transmitted to the master, a combination of product codes, command codes and event codes as a service code of the application layer (ALSvcCode) , a type of the transmission service (ALService) , an event code (EventCode) , and a state variable value of the event message (StateValue) will be written.
On the other hand, the interface between a parameter management plane and a network management sub-layer will use SetPar and GetPar primitives. In the SetPar for transferring a parameter value from the network management sub-layer to the parameter management layer, a layer to which the parameter value is transferred (DestLayer) will be written; for example, and the DestLayer will be written as '1' in case of an application layer, '2' in case of an network layer, '3' in case of a data link layer, and '4' in case of a physical layer. Furthermore, for a parameter (SetLayerPar) for each layer that varies according to the DestLayer value, 'SetALPar' in case of an application layer, ' SetNLPar ' in case of an network layer, 'SetDLLPar' in case of a data link layer, and 'SetPHYPar' in case of a physical layer will be written. Moreover, in the primitive GetPar for transferring a parameter value from the parameter management layer to the network management sub-layer, a layer to which the parameter value has been transmitted (SrcLayer) will be written; for example, '1' in case of an application layer, '2' in case of an network layer, '3' in case of a data link layer, and '4' in case of a physical layer will be written.
Furthermore, a result of the implementation (PMLResult) will be written, and it will be PAR_OK(1) in case where the parameter value is successfully taken from each layer, and otherwise it will be PAR_FAILD (0) , and for a parameter (GetLayerPar) for each layer that varies according to the SrcLayer value, 'RptALPar' in case of an application layer, 'RptNLPar1 in case of an network layer, ' RptDLLPar ' in case of a data link layer, and 'RptPHYPar' in case of a physical layer will be written.
The layer structure of network control protocol and the interface method having the foregoing configuration according to the present invention will provide convenience in remote control and monitoring for the user, thereby more effectively implementing the interface to each layer of the network control protocol . As describe above, while the present invention has been disclosed for the purpose of illustration with reference to the aforementioned preferred embodiment, the living network may be called a network with a different name, furthermore, more various appliances can be connected to this network, and it will be understood by those skilled in the art that the foregoing embodiment can be improved, modified, substituted or added in a variety of ways without departing from the technical spirit and scope of the invention as defined by the appended claims.

Claims

C LA I M S
1. A layer structure of network control protocol comprising: a physical layer for providing a function of sending/receiving physical signal between devices; a data link layer for providing a medium access control function to use a shared transmission media,- a network layer for providing a function of address management and/or transmit/receive control for a network connection between devices; and an application layer for providing a flow control function for download and/or upload services, wherein the data link layer includes a home code control sub-layer for providing at least any one of the setting function, management function, and processing function for logically classifying individual networks.
2. The layer structure of network control protocol according to claim 1, wherein in the physical layer, a non- standard transmission medium or a standard wire or wireless transmission medium is used, and a separate adapter including a communications module is selectively used for connection.
3. The layer structure of network control protocol according to claim 1, wherein the application layer includes an application sub-layer for providing at least any one of a network management function, and a function of providing a device information object.
4. The layer structure of network control protocol according to claim 3, wherein the network management function provides a parameter management function for setting node parameters, and a function for network configuration and management .
5. The layer structure of network control protocol according to claim 3, wherein the device information object receives and manages device information from a device, and provides a reply function for the related request.
6. The layer structure of network control protocol according to claim 1, wherein the application layer defines a message set for the network management or device control and monitoring, and exchanges data with an application software for performing a specific function of the device.
7. The layer structure of network control protocol according to claim 1, wherein the network control protocol further includes an application software for performing a specific function of the device and performing a data exchange with the application layer through an interface defined in the application layer.
8. A method of interfacing to each layer of network control protocol configured by including a plurality of layers, wherein a primitive for transmitting data or a packet and a primitive for receiving data or a packet are used for the interface between each of the layers.
9. The method of interfacing to each layer of network control protocol according to claim 8, wherein a plurality of the layers are configured by including at least any one of a physical layer, a data link layer, a network layer, and an application layer.
10. The method of interfacing to each layer of network control protocol according to claim 9, wherein for the interface between the physical layer and the data link layer among a plurality of the layers, at least any one of a primitive for transferring data from the data link layer to the physical layer, a primitive for transferring data from the physical layer to the data link layer, and a primitive in a line state for being transferred to the data link layer is used.
11. The method of interfacing to each layer of network .control protocol according to claim 10, wherein in case of the primitive in a line state for being transferred to the data link layer, if a Universal Asynchronous Receiver/Transmitter (UART) frame exists, then LINE_BSY is transferred, and otherwise LINE_IDLE is transferred.
12. A method of interfacing to each layer of network control protocol according to claim 9, wherein for the interface between the data link layer and the network layer among a plurality of the layers, at least any one of a primitive for transferring a packet from the network layer to the data link layer, a primitive for transferring a packet from the data link layer to the network layer, and a primitive for notifying a result of the packet transmission from the data link layer to the network layer is used.
13. The method of interfacing to each layer of network control protocol according to claim 12, wherein at least any one of a packet of the network layer, a byte data length of the packet, and a transmission priority is written in the primitive for transferring a packet from the network layer to the data link layer.
14. The method of interfacing to each layer of network control protocol according to claim 12, wherein at least any one of a packet of the network layer and a byte data length of the packet is written in the primitive for transferring a packet from the data link layer to the network layer.
15. The method of interfacing to each layer of network control protocol according to claim 12, wherein in case of the primitive for notifying a result of the packet transmission from the data link layer to the network layer, if a packet transmission procedure is successfully completed as a result of the packet transmission, then SEND_OK(1) is written, and otherwise SEND_FAILED (0) is written, and in case of a transmission failure, a value for classifying the failure reason (DLLFailCode) is written.
16. The method of interfacing to each layer of network control protocol according to claim 9, wherein the master and slave are separated for the interface between each of the layer, and at least any one of a primitive for transferring a message from the application layer to the network layer, a primitive for transferring a packet from the network layer to the application layer, and a primitive for notifying a packet processing state from the network layer to the application layer is used among a plurality of the layers in the master.
17. The method of interfacing to each layer of network control protocol according to claim 16, wherein at least any¬ one of a recognition number of communication cycle, an ADPU including a request message created in an application layer of the master, a byte data length of the ADPU, an address of the receiver device, an address of the sender device, and a type of the communication cycle service in the master is written in the primitive for transferring a message from the application layer to the network layer.
18. The method of interfacing to each layer of network control . protocol according to claim 16, wherein at least any one of a recognition number of communication cycle, an ADPU for being transferred to an application layer, a byte data length of the ADPU, an address of the receiver device, and an address of the sender device is written in the primitive for transferring a packet from the network layer to the application layer.
19. The method of interfacing to each layer of network control protocol according to claim 16, wherein a recognition number of communication cycle and a result of communication cycle implementation are written in the primitive for transferring a packet processing state from the network layer to the application layer, and if the communication cycle is successfully completed, then CYCLE_OK (1) is written, and otherwise CYCLE_FAILED (0) is written.
20. The method of interfacing to each layer of network control protocol according to claim 9, wherein the master and slave are separated for the interface between each of the layers, and at least any one of a primitive for transferring a received request message from the network layer to the application layer, a primitive for transferring a response message from the application layer to the network layer, a primitive for transferring an event message from the application layer to the network layer, and a primitive for notifying a packet processing state from the network layer to the application layer is used among a plurality of the layers in the slave.
21. The method of interfacing to each layer of network control protocol according to claim 20, wherein at least any¬ one of an ADPU for being transferred to an application layer, a byte data length of the ADPU, an address of the receiver device, an address of the sender device, a type of communication cycle service in the slave, and a result of repeated packet detection is written in the primitive for transferring a received request message from the network layer to the application layer.
22. The method of interfacing to each layer of network control protocol according to claim 20, wherein at least any one of a recognition number of communication cycle, an ADPU including a response message created in an application layer, a byte data length of the ADPU is written in the primitive for transferring a response message from the application layer to the network layer.
23. The method of interfacing to each layer of network control protocol according to claim 20, wherein at least any one of a recognition number of communication cycle, an ADPU including a event message created in an application layer of the slave, a byte data length of the ADPU, an address of the receiver device, an address of the sender device, and a transmission service in the network layer is written in the primitive for transferring an event message from the application layer to the network layer.
24. A method of interfacing to each layer of network control protocol, wherein the master and slave are separated for the interface between an application software and an application layer, and a service request primitive transferred from the application software is used in the master, and a primitive for transferring a request message sent from the master to an application software of the slave is used in the slave.
25. The method of interfacing to each layer of network control protocol according to claim 24, wherein the service request primitive transferred from the application software is used in the master, and additionally at least any one of a primitive for transferring a result of service implementation on a request message to the application software, a primitive for transferring an event message received from the slave to an application software of the master, a request primitive for sending data to a device connected to the network by a network manager, a request primitive for receiving data from a device connected to the network by a network manager, and a primitive for transferring a result of service implementation from an application layer of the master to the application software is used.
26. The method of interfacing to each layer of network control protocol according to claim 24, wherein a primitive for transferring a request message sent from the master to the application software of the slave is used in the slave, and additionally at least any one of a primitive for transferring a response message on a request message of the master to an application layer of the slave, and a primitive for transferring a state variable value of an event message of the slave to be transmitted to the master to the application layer is used.
27. The method of interfacing to each layer of network control protocol according to claim 25, wherein at least any one of a combination of product codes and command codes, a request message (ReqMsg) comprising command codes and input arguments, a byte data length of the ReqMsg, an address of the receiver device, and a type of transmission service is written as a service code of the application layer, in the service request primitive transferred from the application software.
28. The method of interfacing to each layer of network control protocol according to claim 25, wherein at least any one of a combination of product codes and command codes, a response message (ResMsg) comprising command codes and return arguments, a byte data length of the ResMsg, and an address of the sender device is written as a service code of the application layer, in the primitive for transferring a result of service implementation on a request message to the application software.
29. The method of interfacing to each layer of network control protocol according to claim 25, wherein at least any one of a combination of product codes, command codes and event codes, an event message (EventMsg) received from the slave, a byte data length of the EventMsg, and an address of the sender device is written as a service code of the application layer, in the primitive for transferring an event message received from the slave to an application software of the master.
30. The method of interfacing to each layer of network control protocol according to claim 25, wherein at least any one of a combination of product codes and command codes, a data file name to be downloaded, a type of transmission service fixed to a specified value, an address of the receiver device, a waiting time for a response packet after sending a request packet from a network manager, and a transmission priority fixed to a specified value is written as a service code of the application layer, in the request primitive for sending data to a device connected to the network by a network manager .
31. The method of interfacing to each layer of network control protocol according to claim 25, wherein at least any one of a combination of product codes and command codes, a file name for storing the data to be uploaded, a type of transmission service fixed to a specified value, an address of the receiver device, a waiting time for a response packet after sending a request packet from a network manager, and a transmission priority fixed to a specified value is written as a service code of the application layer, in the request primitive for receiving data from a device connected to the network by a network manager.
32. The method of interfacing to each layer of network control protocol according to claim 25, wherein at least any one of a combination of product codes and command codes and a result of service implementation is written as a service code of the application layer, in the primitive for transferring a result of service implementation from the application layer of the master to the application software.
33. The method of interfacing to each layer of network control protocol according to claim 26, wherein at least any¬ one of a combination of product codes and command codes, a data (ReqData) included in a request message sent from the master, a length of the ReqData, and an address of the sender device is written as a service code of the application layer, in the primitive for transferring a request message sent from the master to an application software of the slave.
34. The method of interfacing to each layer of network control protocol according to claim 26, wherein at least any one of a combination of product codes and command codes, a data (ResData) included in a response message to be sent to the master, and a length of the ResData is written as a service code of the application layer, in the primitive for transferring a response message on a request message of the master to an application layer of the slave.
35. The method of interfacing to each layer of network control protocol according to claim 26, wherein at least any one of a combination of product codes, command codes, and event codes, a type of transmission service, an event code, and a state variable value of an event message is written as a service code of the application layer, in the primitive for transferring a state variable value of an event message of the slave to be transmitted to the master to the application layer.
PCT/KR2006/000650 2005-02-24 2006-02-24 Layer structure of network control protocol and interface method WO2006091040A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
KR10-2005-0015581 2005-02-24
KR20050015581 2005-02-24
US76278406P 2006-01-27 2006-01-27
US60/762,784 2006-01-27

Publications (1)

Publication Number Publication Date
WO2006091040A1 true WO2006091040A1 (en) 2006-08-31

Family

ID=36927645

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2006/000650 WO2006091040A1 (en) 2005-02-24 2006-02-24 Layer structure of network control protocol and interface method

Country Status (1)

Country Link
WO (1) WO2006091040A1 (en)

Cited By (46)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8121117B1 (en) 2007-10-01 2012-02-21 F5 Networks, Inc. Application layer network traffic prioritization
US8396836B1 (en) 2011-06-30 2013-03-12 F5 Networks, Inc. System for mitigating file virtualization storage import latency
US8417681B1 (en) 2001-01-11 2013-04-09 F5 Networks, Inc. Aggregated lock management for locking aggregated files in a switched file system
US8433735B2 (en) 2005-01-20 2013-04-30 F5 Networks, Inc. Scalable system for partitioning and accessing metadata over multiple servers
US8463850B1 (en) 2011-10-26 2013-06-11 F5 Networks, Inc. System and method of algorithmically generating a server side transaction identifier
US8549582B1 (en) 2008-07-11 2013-10-01 F5 Networks, Inc. Methods for handling a multi-protocol content name and systems thereof
US8548953B2 (en) 2007-11-12 2013-10-01 F5 Networks, Inc. File deduplication using storage tiers
US8682916B2 (en) 2007-05-25 2014-03-25 F5 Networks, Inc. Remote file virtualization in a switched file system
US8806056B1 (en) 2009-11-20 2014-08-12 F5 Networks, Inc. Method for optimizing remote file saves in a failsafe way
US8879431B2 (en) 2011-05-16 2014-11-04 F5 Networks, Inc. Method for load balancing of requests' processing of diameter servers
US9020912B1 (en) 2012-02-20 2015-04-28 F5 Networks, Inc. Methods for accessing data in a compressed file system and devices thereof
US9195500B1 (en) 2010-02-09 2015-11-24 F5 Networks, Inc. Methods for seamless storage importing and devices thereof
US9244843B1 (en) 2012-02-20 2016-01-26 F5 Networks, Inc. Methods for improving flow cache bandwidth utilization and devices thereof
US9286298B1 (en) 2010-10-14 2016-03-15 F5 Networks, Inc. Methods for enhancing management of backup data sets and devices thereof
US9420049B1 (en) 2010-06-30 2016-08-16 F5 Networks, Inc. Client side human user indicator
US9497614B1 (en) 2013-02-28 2016-11-15 F5 Networks, Inc. National traffic steering device for a better control of a specific wireless/LTE network
US9519501B1 (en) 2012-09-30 2016-12-13 F5 Networks, Inc. Hardware assisted flow acceleration and L2 SMAC management in a heterogeneous distributed multi-tenant virtualized clustered system
US9554418B1 (en) 2013-02-28 2017-01-24 F5 Networks, Inc. Device for topology hiding of a visited network
US9578090B1 (en) 2012-11-07 2017-02-21 F5 Networks, Inc. Methods for provisioning application delivery service and devices thereof
US10033837B1 (en) 2012-09-29 2018-07-24 F5 Networks, Inc. System and method for utilizing a data reducing module for dictionary compression of encoded data
USRE47019E1 (en) 2010-07-14 2018-08-28 F5 Networks, Inc. Methods for DNSSEC proxying and deployment amelioration and systems thereof
US10097616B2 (en) 2012-04-27 2018-10-09 F5 Networks, Inc. Methods for optimizing service of content requests and devices thereof
US10182013B1 (en) 2014-12-01 2019-01-15 F5 Networks, Inc. Methods for managing progressive image delivery and devices thereof
US10187317B1 (en) 2013-11-15 2019-01-22 F5 Networks, Inc. Methods for traffic rate control and devices thereof
US10230566B1 (en) 2012-02-17 2019-03-12 F5 Networks, Inc. Methods for dynamically constructing a service principal name and devices thereof
US10375155B1 (en) 2013-02-19 2019-08-06 F5 Networks, Inc. System and method for achieving hardware acceleration for asymmetric flow connections
US10404698B1 (en) 2016-01-15 2019-09-03 F5 Networks, Inc. Methods for adaptive organization of web application access points in webtops and devices thereof
US10412198B1 (en) 2016-10-27 2019-09-10 F5 Networks, Inc. Methods for improved transmission control protocol (TCP) performance visibility and devices thereof
US10505792B1 (en) 2016-11-02 2019-12-10 F5 Networks, Inc. Methods for facilitating network traffic analytics and devices thereof
US10505818B1 (en) 2015-05-05 2019-12-10 F5 Networks. Inc. Methods for analyzing and load balancing based on server health and devices thereof
US10567492B1 (en) 2017-05-11 2020-02-18 F5 Networks, Inc. Methods for load balancing in a federated identity environment and devices thereof
US10721269B1 (en) 2009-11-06 2020-07-21 F5 Networks, Inc. Methods and system for returning requests with javascript for clients before passing a request to a server
US10797888B1 (en) 2016-01-20 2020-10-06 F5 Networks, Inc. Methods for secured SCEP enrollment for client devices and devices thereof
US10812266B1 (en) 2017-03-17 2020-10-20 F5 Networks, Inc. Methods for managing security tokens based on security violations and devices thereof
US10833943B1 (en) 2018-03-01 2020-11-10 F5 Networks, Inc. Methods for service chaining and devices thereof
US10834065B1 (en) 2015-03-31 2020-11-10 F5 Networks, Inc. Methods for SSL protected NTLM re-authentication and devices thereof
US11063758B1 (en) 2016-11-01 2021-07-13 F5 Networks, Inc. Methods for facilitating cipher selection and devices thereof
US11122042B1 (en) 2017-05-12 2021-09-14 F5 Networks, Inc. Methods for dynamically managing user access control and devices thereof
US11178150B1 (en) 2016-01-20 2021-11-16 F5 Networks, Inc. Methods for enforcing access control list based on managed application and devices thereof
CN113824596A (en) * 2021-10-08 2021-12-21 南昌航空大学 Communication layering architecture
US11223689B1 (en) 2018-01-05 2022-01-11 F5 Networks, Inc. Methods for multipath transmission control protocol (MPTCP) based session migration and devices thereof
US11343237B1 (en) 2017-05-12 2022-05-24 F5, Inc. Methods for managing a federated identity environment using security and access control data and devices thereof
US11350254B1 (en) 2015-05-05 2022-05-31 F5, Inc. Methods for enforcing compliance policies and devices thereof
US11757946B1 (en) 2015-12-22 2023-09-12 F5, Inc. Methods for analyzing network traffic and enforcing network policies and devices thereof
US11838851B1 (en) 2014-07-15 2023-12-05 F5, Inc. Methods for managing L7 traffic classification and devices thereof
US11895138B1 (en) 2015-02-02 2024-02-06 F5, Inc. Methods for improving web scanner accuracy and devices thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040107092A1 (en) * 2002-02-04 2004-06-03 Yoshihisa Harada Digital circuit transmission device
WO2004107088A2 (en) * 2003-05-30 2004-12-09 Lg Electronics, Inc. Home network system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040107092A1 (en) * 2002-02-04 2004-06-03 Yoshihisa Harada Digital circuit transmission device
WO2004107088A2 (en) * 2003-05-30 2004-12-09 Lg Electronics, Inc. Home network system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
LEE K.-S. ET AL.: "A new control protocol for home appliance-LnCP", INTERNATIONAL SYMPOSIUM ON INDUSTRIAL ELECTRONICS, 2001. PROCEEDINGS. ISIE 2001, vol. 1, 12 June 2001 (2001-06-12) - 16 June 2001 (2001-06-16), pages 286 - 291, XP010549024 *
WANG Y.-M. ET AL.: "Towards dependable home networking: an experience report", PROCEEDINGS INTERNATIONAL CONFERENCE ON DEPENDABLE SYSTEMS AND NETWORKS, 2000. DSN 2000. USA COMPUTER SOCIETY, 25 June 2000 (2000-06-25) - 28 June 2000 (2000-06-28), LOS ALAMITOS, CA, pages 43 - 48, XP010504314, DOI: doi:10.1109/ICDSN.2000.857512 *

Cited By (50)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8417681B1 (en) 2001-01-11 2013-04-09 F5 Networks, Inc. Aggregated lock management for locking aggregated files in a switched file system
US8433735B2 (en) 2005-01-20 2013-04-30 F5 Networks, Inc. Scalable system for partitioning and accessing metadata over multiple servers
US8682916B2 (en) 2007-05-25 2014-03-25 F5 Networks, Inc. Remote file virtualization in a switched file system
US8400919B1 (en) 2007-10-01 2013-03-19 F5 Networks, Inc. Application layer network traffic prioritization
US8121117B1 (en) 2007-10-01 2012-02-21 F5 Networks, Inc. Application layer network traffic prioritization
US8548953B2 (en) 2007-11-12 2013-10-01 F5 Networks, Inc. File deduplication using storage tiers
US8549582B1 (en) 2008-07-11 2013-10-01 F5 Networks, Inc. Methods for handling a multi-protocol content name and systems thereof
US10721269B1 (en) 2009-11-06 2020-07-21 F5 Networks, Inc. Methods and system for returning requests with javascript for clients before passing a request to a server
US11108815B1 (en) 2009-11-06 2021-08-31 F5 Networks, Inc. Methods and system for returning requests with javascript for clients before passing a request to a server
US8806056B1 (en) 2009-11-20 2014-08-12 F5 Networks, Inc. Method for optimizing remote file saves in a failsafe way
US9195500B1 (en) 2010-02-09 2015-11-24 F5 Networks, Inc. Methods for seamless storage importing and devices thereof
US9420049B1 (en) 2010-06-30 2016-08-16 F5 Networks, Inc. Client side human user indicator
USRE47019E1 (en) 2010-07-14 2018-08-28 F5 Networks, Inc. Methods for DNSSEC proxying and deployment amelioration and systems thereof
US9286298B1 (en) 2010-10-14 2016-03-15 F5 Networks, Inc. Methods for enhancing management of backup data sets and devices thereof
US9356998B2 (en) 2011-05-16 2016-05-31 F5 Networks, Inc. Method for load balancing of requests' processing of diameter servers
US8879431B2 (en) 2011-05-16 2014-11-04 F5 Networks, Inc. Method for load balancing of requests' processing of diameter servers
US8396836B1 (en) 2011-06-30 2013-03-12 F5 Networks, Inc. System for mitigating file virtualization storage import latency
US8463850B1 (en) 2011-10-26 2013-06-11 F5 Networks, Inc. System and method of algorithmically generating a server side transaction identifier
US10230566B1 (en) 2012-02-17 2019-03-12 F5 Networks, Inc. Methods for dynamically constructing a service principal name and devices thereof
US9020912B1 (en) 2012-02-20 2015-04-28 F5 Networks, Inc. Methods for accessing data in a compressed file system and devices thereof
US9244843B1 (en) 2012-02-20 2016-01-26 F5 Networks, Inc. Methods for improving flow cache bandwidth utilization and devices thereof
USRE48725E1 (en) 2012-02-20 2021-09-07 F5 Networks, Inc. Methods for accessing data in a compressed file system and devices thereof
US10097616B2 (en) 2012-04-27 2018-10-09 F5 Networks, Inc. Methods for optimizing service of content requests and devices thereof
US10033837B1 (en) 2012-09-29 2018-07-24 F5 Networks, Inc. System and method for utilizing a data reducing module for dictionary compression of encoded data
US9519501B1 (en) 2012-09-30 2016-12-13 F5 Networks, Inc. Hardware assisted flow acceleration and L2 SMAC management in a heterogeneous distributed multi-tenant virtualized clustered system
US9578090B1 (en) 2012-11-07 2017-02-21 F5 Networks, Inc. Methods for provisioning application delivery service and devices thereof
US10375155B1 (en) 2013-02-19 2019-08-06 F5 Networks, Inc. System and method for achieving hardware acceleration for asymmetric flow connections
US9554418B1 (en) 2013-02-28 2017-01-24 F5 Networks, Inc. Device for topology hiding of a visited network
US9497614B1 (en) 2013-02-28 2016-11-15 F5 Networks, Inc. National traffic steering device for a better control of a specific wireless/LTE network
US10187317B1 (en) 2013-11-15 2019-01-22 F5 Networks, Inc. Methods for traffic rate control and devices thereof
US11838851B1 (en) 2014-07-15 2023-12-05 F5, Inc. Methods for managing L7 traffic classification and devices thereof
US10182013B1 (en) 2014-12-01 2019-01-15 F5 Networks, Inc. Methods for managing progressive image delivery and devices thereof
US11895138B1 (en) 2015-02-02 2024-02-06 F5, Inc. Methods for improving web scanner accuracy and devices thereof
US10834065B1 (en) 2015-03-31 2020-11-10 F5 Networks, Inc. Methods for SSL protected NTLM re-authentication and devices thereof
US10505818B1 (en) 2015-05-05 2019-12-10 F5 Networks. Inc. Methods for analyzing and load balancing based on server health and devices thereof
US11350254B1 (en) 2015-05-05 2022-05-31 F5, Inc. Methods for enforcing compliance policies and devices thereof
US11757946B1 (en) 2015-12-22 2023-09-12 F5, Inc. Methods for analyzing network traffic and enforcing network policies and devices thereof
US10404698B1 (en) 2016-01-15 2019-09-03 F5 Networks, Inc. Methods for adaptive organization of web application access points in webtops and devices thereof
US10797888B1 (en) 2016-01-20 2020-10-06 F5 Networks, Inc. Methods for secured SCEP enrollment for client devices and devices thereof
US11178150B1 (en) 2016-01-20 2021-11-16 F5 Networks, Inc. Methods for enforcing access control list based on managed application and devices thereof
US10412198B1 (en) 2016-10-27 2019-09-10 F5 Networks, Inc. Methods for improved transmission control protocol (TCP) performance visibility and devices thereof
US11063758B1 (en) 2016-11-01 2021-07-13 F5 Networks, Inc. Methods for facilitating cipher selection and devices thereof
US10505792B1 (en) 2016-11-02 2019-12-10 F5 Networks, Inc. Methods for facilitating network traffic analytics and devices thereof
US10812266B1 (en) 2017-03-17 2020-10-20 F5 Networks, Inc. Methods for managing security tokens based on security violations and devices thereof
US10567492B1 (en) 2017-05-11 2020-02-18 F5 Networks, Inc. Methods for load balancing in a federated identity environment and devices thereof
US11343237B1 (en) 2017-05-12 2022-05-24 F5, Inc. Methods for managing a federated identity environment using security and access control data and devices thereof
US11122042B1 (en) 2017-05-12 2021-09-14 F5 Networks, Inc. Methods for dynamically managing user access control and devices thereof
US11223689B1 (en) 2018-01-05 2022-01-11 F5 Networks, Inc. Methods for multipath transmission control protocol (MPTCP) based session migration and devices thereof
US10833943B1 (en) 2018-03-01 2020-11-10 F5 Networks, Inc. Methods for service chaining and devices thereof
CN113824596A (en) * 2021-10-08 2021-12-21 南昌航空大学 Communication layering architecture

Similar Documents

Publication Publication Date Title
WO2006091040A1 (en) Layer structure of network control protocol and interface method
KR100605207B1 (en) Service managing apparatus for network device
KR100638030B1 (en) Network electric device
US20100005166A1 (en) Network device
US20070150616A1 (en) Home network system
US20090022151A1 (en) Packet structure and packet transmission method of network control protocol
WO2004107088A2 (en) Home network system
US20090160626A1 (en) Method for Setting Home Code in Network System and Device for Network
US20090213848A1 (en) Packet Structure and Packet Transmission Method of Network Control Protocol
US8005915B2 (en) Method for providing download and upload service in network control system
KR100605216B1 (en) 0network device
US20090024726A1 (en) Device for network system and method of transmitting profile
US20080164980A1 (en) Home Network System
US7844680B2 (en) Home network system
US20080172481A1 (en) Method of Configuring Network Profile of Network System
CN101164292A (en) Layer structure of network control protocol and interface method
KR101062219B1 (en) Data transmission and reception control method in data link layer
KR101067333B1 (en) Method for managing layer structure in living network control system
KR20040104324A (en) Home network system
WO2006091039A1 (en) Network control protocol device and network connection method
KR20060090356A (en) Method for controling transmission and receive using a communication cycle service in living network control system

Legal Events

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

Ref document number: 200680013730.9

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 06716100

Country of ref document: EP

Kind code of ref document: A1