The present invention relates to a method of configuring a network profile of a network system for a user, for example, who is locating at home or out-of-home to effectively control household appliances such as refrigerator or laundry machine connected to a living network.
In general, ‘home network’ 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, in a general meaning, 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’.
Furthermore, in the living network services in which small-scale data transmission for the remote control, or operating state monitoring of the appliances included in the living 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 living 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.
Accordingly, the present invention is devised in consideration of the aforementioned situation, and it is an object of the present invention to provide a method of configuring a network profile of a network system by which 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 living network by using the minimum required communication resources and can effectively manage information on all devices that constitute the living network using a homenet profile.
In order to achieve the aforementioned object, there is provided a method of configuring a network profile of a network system, the method comprising the steps of (a) determining whether other network managers exist in a network system when a homenet profile of a network manager connected to a living network is in an initial state, (b) the network manager receiving the homenet profiles of the other network managers to store the homenet profiles in its homenet profile when it is determined that the other network managers exist in the network system, and (c) the network manager checking devices connected to the network system to receive device profiles of the checked devices and to generate its new network profile when it is determined that the other network managers do not exist in the network system.
Also, there is provided a method of configuring a network profile of a network system, the method comprising the steps of (a) a network manager being requested to set an address by a device or devices connected to a living network, (b) checking whether a single device is received or a plurality of devices are received, and (c) assigning a new logical address to the corresponding device and registering the logical address in a homenet profile of the network manager when it is determined that the single device is received and sequentially assigning new logical addresses to the devices and registering the logical addresses in the homenet profile of the network manager when the plurality of devices are received.
Also, there is provided a method of configuring a network profile of a network system, the method comprising the steps of a network manager checking devices connected to the network and assigning logical addresses unique to the checked devices to register the assigned unique logical addresses in a homenet profile of the network manager.
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:
Hereinafter, preferred embodiments of a method of configuring a network profile of a network system according to the present invention will be described in detail with reference to the attached drawings.
On the other hand, the living network control system 400 includes a home gateway 40, a network manager 41, an LnCP router 42, an LnCP adaptor 43, and appliances 44. As illustrated in
Also, the living network control system 400 may be referred to as, for example, an LnCP network. As illustrated in
On the other hand, in the LnCP network, a master device that controls or monitors the operations of the other appliances and a slave device that responds to the request of the master device and gives information on change in the state thereof are connected to each other.
As illustrated in
Also, the LnCP network is connected to the Internet 300 in the outside to let a user in the outside to check or control the states of the appliances provided in the home. Therefore, the home gateway 40 connects the LnCP network and the Internet in the outside to each other. When the user accesses the LnCP Internet server 100 in the outside to perform an authentication process, the user can check or control the states of the appliances connected to the LnCP network.
The user may access the LnCP Internet server 100 by the appliances connected to the LnCP network through the home gate way 40 and then, download contents provided by the LnCP Internet server. Therefore, main characteristics of the LnCP network will be described in detail.
First, digital information appliances include micro-controllers of various performances, respectively, to perform unique functions. The function of the LnCP network according to the present invention is effectively simplified so that the LnCP network can operate in the micro-controllers of various performances and that the LnCP network can minimally use the resources of the micro-controllers mounted in the appliances. In particular, micro-controllers of low performance perform an LnCP communication function while performing functions unique to the appliances and micro-controllers of high performance support a multi-tasking function.
The LnCP network according to the present invention supports a master-slave driven communication structure, event driven communication, and a plurality of network managers and provides a four-layer structure, a communication cycle service, flexible address management, packet communication of variable length, and a standard message set.
On the other hand, the master-slave driven communication structure is used as a connection communication structure among the appliances in the LnCP network. At least one master device is required and the master device must have information on and control codes for slave devices to be controlled. At this time, the master device controls the slave devices in accordance with previously input programs or programs input by the user.
For example, a message flows between the master device and the slave device so that, as illustrated in
The LnCP network supports an event driven communication service. For example, the user can set events required by the appliances. Then, when the events set by the user are generated while performing an arbitrary operation, the corresponding appliance informs the other appliances of the fact that the events are generated or the contents of the events or controls the states of the other appliances in response to the events.
Also, the LnCP network includes at least one network manager that sets and manages the circumstances of the appliances and may support a plurality of network managers if necessary. In this case, information items on management of the appliances must be synchronized with each other in order to cope with errors of the plurality of network managers.
As illustrated in
That is, a slave device cannot be controlled by any master device while the slave device performs a communication cycle. However, the master device can perform a plurality of communication cycles such as {1-Request, 1-Response}, {1-Request, Multi-Response}, {1-Notification}, and {Repeated-Notification} for the plurality of slave devices at the given point of time.
For example, in the {1-Request, 1-Response} communication cycle, one master transmits one request packet to one slave and the slave transmits one response packet in response to the request packet. When errors are generated in the received packet, as illustrated in
Also, in the {1-Request, Multi-Response} communication cycle, as illustrated in
In the {1-Notification} communication cycle, as illustrated in
On the other hand, the LnCP network supports flexible management of addresses. For example, addresses are assigned to the appliances including the LnCP function, respectively, when the appliances are forwarded from a factory so that a network is automatically configured without intervention of the user. At this time, since the same kind of appliances are initialized by the same address, the network manager has an algorithm of assigning a unique address when the appliances are connected to each other.
Also, in the LnCP network, a unique group address is assigned to the same kind of appliances so that it is possible to perform group communication using one message. Various kinds of appliances are distinguished from each other by clusters in accordance with needs of the user so that a group address is assigned to each cluster.
The PnCP network supports a packet communication of variable length. For example, when contents such as application programs related to manipulation of the appliances are downloaded or when data stored in the appliances are uploaded, the length of the packet is controlled using exchanged information items on the sizes of the buffers of the appliances.
Also, the LnCP network provides a standard message set. For example, the application layer defines the standard message set suitable for the various appliances so that the master device can control the other appliances. The message set is divided into a common area message set for basic LnCP communication, an application area message set for supporting the unique functions of the appliances, and a developer area message set for providing the unique function of a manufacturing company.
On the other hand, the message set may be increased if necessary and factors may be added to the previously defined message. Hereinafter, the layer structure that is one of the main characteristics of the LnCP network according to the present invention will be described in detail.
On the other hand, the physical layer performs physical interface between devices and transmits and receives physical signals such as bits to be transmitted. The transmission medium whose data link layer is non-standardized such as RS-485 and the small output RF and the standardized wired and wireless transmission medium such as power line communication or Ethernet, IEEE 802.11, and ZigBee may be used as the physical layer. In the LnCP network, the LnCP adaptor may be used as an additional physical layer in order to realize the physical layers of the devices.
The data link layer performs a medium access control (MAC) for using a shared transmission medium. When the data link layer uses the non-standardized transmission medium, the LnCP network must use a probabilistic delayed carrier sense multiple access (p-DCSMA) as the MAC protocol.
However, when the data link layer uses the standardized transmission medium, the LnCP network may use a MAC function specified in the corresponding protocol.
On the other hand, as illustrated in
The network layer manages the addresses of the appliances and controls transmission and reception in order to perform reliable network connection between the devices. The application layer controls transmission and reception and controls flow for download and upload services in order to perform the services of application software.
The application layer defines the message set in order to manage the network or to control and monitor the appliances. The application software performs functions unique to the appliances and exchanges data with the application layer through the interface defined by the application layer.
As illustrated in
A primitive for interface with the network management sublayer is divided into a primitive (structure SetPar) for transmitting the values of the node parameters from the network management sublayer to the node parameter management layer and a primitive (structure GetPar) for transmitting the values of the node parameters from the node parameter management layer to the network management sublayer as illustrated in
On the other hand, ‘uchar DestLayer’ that illustrates layers for transmitting the values of the node parameters and ‘structure SetLayerPar’ as a node parameter for each layer whose value varies in accordance with the value of DestLayer are recorded in the primitive (structure SetPar) for transmitting the values of the node parameters to the node parameter management layer. The DestLayer is ‘1’ when the layer for transmitting the values of the node parameters is the application layer, ‘2’ when the layer for transmitting the values of the node parameters is the network layer, ‘3’ when the layer for transmitting the values of the node parameters is the data link layer, and ‘4’ when the layer for transmitting the values of the node parameters is the physical layer.
The SetLayerPar is ‘SetALPar’ when the layer for transmitting the values of the node parameters is the application layer, ‘SetNLPar’ when the layer for transmitting the values of the node parameters is the network layer, ‘SetDLLPar’ when the layer for transmitting the values of the node parameters is the data line layer, and ‘SetPHYPar’ when the layer for transmitting the values of the node parameters is the physical layer.
‘ucharSrcLayer’ that illustrates layers for transmitting the values of the node parameters, ‘uchar PMLResult’ that illustrates whether the values of the node parameters are successfully received from the respective layers, and ‘structure GetLayerPar’ as a node parameter for each layer whose value varies in accordance with the value of SrcLayer are recorded in the primitive (structure GetPar) for transmitting the values of the node parameters to the network management sublayer. The SrcLayer is ‘1’ when the layer for transmitting the values of the node parameters is the application layer, ‘2’ when the layer for transmitting the values of the node parameters is the network layer, ‘3’ when the layer for transmitting the values of the node parameters is the data link layer, and ‘4’ when the layer for transmitting the values of the node parameters is the physical layer.
The PMLResult is PAR_OK(1) when the values of the node parameters are successfully received from the respective layers and PAR_FAILED (0) when the node parameters are not successfully received from the respective layers. The GetLayerPar is ‘RptALPar’ when the layer for transmitting the values of the node parameters is the application layer, ‘RptNLPar’ when the layer for transmitting the values of the node parameters is the network layer, ‘RptDLLPar’ when the layer for transmitting the values of the node parameters is the data link layer, and ‘RptPHYPar’ when the layer for transmitting the values of the node parameters is the physical layer.
On the other hand, the node parameter used for the node parameter management layer ‘const unit ParTimeOut’ illustrates stand-by time (ms) for receiving RptALPar (RptNLPar, RptDLLPar, or RptPHYPar) after transmitting GetALPar (GetNLPar, GetDLLPar, or GetPHYPar) to each layer.
The node parameter management layer transmits the primitive SetALPar, SetNLPar, SetDLLPar, or SetPHYPar to the layer specified in the primitive when the SetPar primitive is received from the network management sublayer and ignores the node parameter in which the values of all bits are ‘1’ in the primitive received from each layer (for example: 0xFF and 0XFFFF).
Also, the node parameter management layer transmits the primitive GetALPar, GetNLPar, GetDLLPar, or GetPHYPar to the layer specified in the primitive when the GetPar primitive is received from the network management sublayer and transmits the value of PARResult, that is, PAR_OK to the network management sublayer when RptALPar, RptNLPar, RptDLLPar, or RptPHYPar primitive is received from the network management sublayer. When the primitive is not received from each layer within ParTimeOut time, the node parameter management layer transmits the value of PARResult, that is, PAR_FAILED to the network management sublayer.
On the other hand, the network management sublayer manages the node parameters to set the node parameters in each device, configures the network, sets circumstances, and manages the operation of the network. When requested by application software and the master, the network management sublayer sets or reads the values of the following node parameters in the corresponding layer.
For example, in the application layer, the values of the node parameters such as AddressResult, NP_AliveInt, SvcTimeOut, and NP_BufferSize are set or read. In the network layer, the values of the node parameters NP_LogicalAddress, NP_ClusterCode, NP_HomeCode, and SendRetries are set or read. In the data link layer, the value of the node parameter MinPktInterval is set or read. In the physical layer, the value of the node parameter NP_bps is set or read.
In particular, the network management sublayer of a slave sets or reads the values of the node parameters in the corresponding layer through the node parameter management layer and transmits the results to the application layer through the primitive User ResSend primitive when the primitive UserReqRcv including application serves that belong to ‘a device node parameter setting service’ or ‘a device node parameter acquiring service’ is received from the application layer. The application services for managing the node parameters of each layer are as follows.
For example, in the application layer, the application services SetOption, SetAliveTime, SetClock, and GetBufferSize are included. In the network layer, the SetTempAddress, SetAddress, and GetAddress application services are included. In the data link layer, no application service is included. In the physical layer, the SetSpeed application service is included.
On the other hand, the network management sublayer manages the network, for example, configures the LnCP network, sets the circumstances of the network, and manages the operation of the network. A common network management function operates in the application layer of the master. Some of a function of synchronizing information items on the network with each other in a plurality of network management periods operates in the application layer of the slave.
Interface with the application layer is divided into interface with the application layer of the slave and interface with the application layer of the master. The primitives UserReqRcv and UserResSend are used for the interface with the application layer of the slave. The primitives UserReq, UserDLReq, UserULReq, UserRes, UserEventRcv, and ALCompleted are used for the interface with the application layer of the master.
In a method of performing interface between layers in a living network control system according to the present invention, as illustrated in
For example, an application layer PDU (APDU) as a packet transmitted between the application layer and the network layer is composed of APDU header and message and a network layer PDU (NPDU) as a packet transmitted between the network layer and the data link layer or the home code control sublayer is composed of an NPDU header, an NPDU trailer, and the APDU such as the APDU and the address of the APDU, the address of the destination appliance, and the kind of a packet determined in accordance with the importance of a message to be transmitted.
On the other hand, the network manager according to the present invention continuously manages information on all devices that constitute the LnCP network and provides network services to the user using the homenet profile as illustrated in
Also, the network manager configures the network to set circumstances for the operations of the devices connected to the LnCP network and updates the homenet profile in accordance with the result of communication with a normal device after completing network configuration.
The network is configured when messages for configuring the network is received from the outside of the network manager or the devices as illustrated in
On the other hand, when the network configuration is completed as described above, the network manager performs a common operation of controlling the user or managing the events generated by the devices. The homenet profile according to the present invention is composed of device profiles having information on the devices connected to the network.
Also, a device information file for a single device stored in the network manager ‘InfoFile DeviceInforFile’, a node parameter file ‘ParFile DeviceParFile’, a device operation file ‘StatusFile DeviceStatus’, a scenario file ‘ScenFile DeviceScenFile’, and the number of devices registered in the network manager ‘HomeNetProfile[N]’ are recorded as illustrated in
As illustrated in
On the other hand, the network manager requests the other network managers to update the homenet profile whenever the contents of the homenet profile are changed during the network configuration. In order to perform such an operation, the network manager transmits the request message to the application layer using the primitive UserReq and receives the primitives UserRes and ALCompleted.
Also, as illustrated in
For example, the network manager determines whether the other network managers are connected to the network using the GetAddress service. At this time, the values of the factors of ‘DstAddress=0x00FF’ whose receivers are all of the devices and response message stand-by time ‘TimeOut (for example: 10,000 ms) are used for the primitive UserReq transmitted to the application layer.
When it is determined that the other network managers are connected to the network, for example, when the DeviceAddressAckRes message is received, the homenet profiles are copied from the other network managers using the GetDeviceList service (0xFF34) (S13) to complete checking the devices. The values of the factors of the node address ‘DstAddress=0xXXYY’ of the network manager that transmits the DeviceAddressAckRes message and response message stand-by time ‘TimeOut (for example: 2,500 ms) are used for the primitive UserReq transmitted to the application layer when the GetDeviceList service is used.
On the other hand, when it is determined that the other network managers are not connected to the network, the devices connected to the network are checked using the GetAddress service (0xFF07) (S14). At this time, the values of the factors of ‘DstAddress=0xFFFF’ whose receivers are all of the devices, the Acknowledged transmission service NLService=0, and the response message stan-by time ‘TimeOut (for example: 10,000 ms) are used for the primitive UserReq transmitted to the application layer.
Also, when the GetAddress service is processed, the logical addresses and the cluster codes of the devices are extracted from the received response message (S15) to be newly registered in the homenet profile (S16). Then, the network is configured and managed using the homenet profile in which information items on the devices are newly registered or the homenet profiles copied from the other network managers through the above-described process (S17).
On the other hand, in the case where the number of devices that transmit the response message is no less than the proper communication number, for example, 10 when the GetAddress service is processed, the operation of checking the devices (S14) is repeatedly performed and the devices that are registered in the homenet profile but do not receive the response message since power is turned off are checked using the GetAddress service. At this time, the values of the factors of ‘DstAddress=0xXXYY’ corresponding to the product code XX and the logical address YY and the response message stand-by time ‘TimeOut (for example: 2,500 ms)’ are used for the primitive UserReq transmitted to the application layer.
The network manager sets the logical addresses of the devices. For example, the devices whose logical addresses are not set transmit the ConfigurationReq message at time interval AddressReqInt when the logical addresses of the devices are 0x00. When the ConfigurationReq message is received from the devices through the NotiPlugIn service, the network manager determines the number of devices whose addresses are requested to be set and performs an address setting algorithm for the plurality of devices or the single device.
On the other hand, when the ConfigurationReq message is received, the network manager waits for the ConfigurationReq message from the other devices for predetermined time, for example, 2×AddressReqInt from the point of time where the ConfigurationReq message is received. When the ConfigurationReq message is received from the same transmitter address no less than two times within the time 2×AddressReqInt, it is determined that the plurality of same kinds of devices exist. If not, it is determined that the single device exists.
For example, as illustrated in
Then, the logical address ‘0xYY+1’ is assigned to the device that transmits the ConfigurationReq message using the SetAddress service (0XFF0F) (S32). At this time, the values of the factors of the node addresses of the devices that transmit the ConfigurationReq message DstAddress=0xXX00 and the response message stand-by time ‘TimeOut (for example: 2,500 ms)’ are used for the primitive UserReq transmitted to the application layer.
Also, the network manager registers the address of the new device in the homenet profile and requests to update the homenet profiles of the other network managers through interface with the other network managers using the NotiDeviceAd service (00xFF31).
On the other hand, when the transmitter is the plurality of devices, that is, when the same message ConfigurationReq is received a plurality of times, the product code ‘0xXX’ of the transmitter is extracted and the largest logical address value ‘0xYY’ assigned to the devices having the same product code is checked in the homenet profile.
Then, the SetTempAddressReq message is transmitted to the devices that transmit the ConfigurationReq message using the SetTempAddress service (0xFF0E) (S33) so that the plurality of devices select a temporary logical address from the logical addresses ‘0xYY+Nd+1 to 0xFD’.
On the other hand, the Nd represents the number of devices whose logical addresses can be set by previously set processes. The values of the factors of the node addresses of the devices that transmit the ConfigurationReq message ‘DstAddress=0xXX00’ and response message stand-by time ‘TimeOut (for example: 29,000 ms)’ are used for the primitive UserReq transmitted to the application layer.
Also, the network manager receives the temporary logical addresses of the devices that transmit the SetTempAddressAckRes message that is the response message corresponding to the SetTempAddressReq message using the SetAddress service and then, when the temporary logical addresses of the devices are different from each other, sequentially determines the logical addresses of the devices from ‘0xYY+1’ to be different from each other and registers the address of the new device in the homenet profile (S34).
Then, the network manager requests to update the homenet profiles of the other network managers through interface with the other network managers using the NotiDeviceAd service (0xFF31). At this time, the values of the factors of the node addresses of the devices that select the temporary logical address ‘DstAddress=0xXXMM’ and the response message stand-by time ‘TimeOut (for example: 2,500 ms)’ are used for the primitive UserReq transmitted to the application layer when the SetAddress service is used.
On the other hand, the network manager resets the logical addresses of all of the devices whose logical addresses are ‘0xFE’ using the SetAddress service (S35). At this time, the values of the factors of the node addresses of the devices whose determined addresses 0xZZ are redundant or that select the same temporary logical address 0xNNj ‘DstAddress=0xXXFE’, the repeated message transmission service ‘Aservice=2’, and the response message stand-by time ‘TimeOut (for example: 1,000 ms)’ are used for the primitive UserReq transmitted to the application layer.
Also, when the ConfigurationReq message is received (S36), the network manager repeatedly performs a series of operations of transmitting the SetTempAddressReq message. When the ConfigurationReq message is not received, the network manager completes the operation of setting the logical addresses of the devices.
On the other hand, the network manager sets the option value NP_OptionVal and the notification period time value NP_AliveInt that illustrate whether to properly generate events in accordance with the number of devices connected to the LnCP network and synchronizes the time data of all of the devices in the network when the logical addresses of the devices are newly set or the new device whose address is previously set is found.
The cluster codes of the devices are set in order to determine the group of devices in accordance with the object of the user. For example, the option value NP_OptionVal of the devices is set as 0xFFFF FFFF using the SetOption service (0xFF0D) and the detailed option values may be set as transmission of the AliveEvent message ‘AliveEventOption=1’ and transmission of all event messages excluding the AliveEvent message ‘EventOption=1’.
At this time, the values of the factors of all of the devices connected to the network ‘DstAddress=0xFFFF’, the repeated message transmission service ‘ALService=2’, and the response message stand-by time ‘TimeOut (for example: 1,000 ms)’ are used for the primitive UserReq transmitted to the application layer.
On the other hand, the notification period time NP_AliveInt is a variable for sensing the offline state of the devices caused by pulling out a plug or manipulating a power switch and the value thereof is controlled in accordance with the number of devices connected to the LnCP network. For example, the average interval at which the AliveEvent message is received by the network manager using the SetAliveTime service (0xFF16) is preferably larger than 30 seconds.
That is, when the number of devices connected to the physically same network is N, the NP_AliveInt is set to be larger than 30×N (seconds)’. At this time, the values of the factors of all of the devices connected to the network ‘DstAddress=0xFFFF’, the repeated message transmission service ‘ALService=2’, and the response message stand-by time ‘TimeOut (for example: 1,000 ms)’ are used for the primitive UserReq transmitted to the application layer.
Then, the network manager sets the time set therefor for the other devices using the SetClock service (0xFF17).
On the other hand, the cluster code that is a value for distinguishing the group of devices from each other based on various standards such as the places in which the devices are provided and the power consumptions of the devices can be set using the SetAddress service (0xFF0F). At this time, the values of the factors of the node address of the device selected by the user ‘DstAddress=0xXXYY’, and the response message stand-by time ‘TimeOut (for example: 2,500 ms)’ are used for the primitive UserReq transmitted to the application layer.
Then, when an operation of ‘setting cluster codes’ is performed through user interface, the network manager displays ‘operation checking’ buttons capable of checking information items on the devices registered in the homenet profile and the operations of the devices and lets the user to manually input the cluster codes of the devices.
Also, when the user inputs the cluster codes of the devices, the cluster codes of the devices selected by the user are set using the SetAddress service (0xFF0f) and are registered in the homenet profile. When the user executes the ‘operation checking’ buttons in order to set the cluster codes while checking the operations of the devices, the user checks the operations of the devices and manually inputs the cluster codes.
Then, after setting the cluster codes of the devices selected by the user using the SetAddress service (0xFF0F) and registering the cluster codes in the homenet profile, the network manager collectively controls the group of devices provided in the place desired by the user using the cluster codes.
According to the method of configuring the network profile of the network system of the present invention having the above structure, the user can conveniently perform remote control and monitor and can effectively manage and control all of the devices connected to the network.
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 can be referred to as a network of another name and more various appliances can be connected to the living network according to the present invention, 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.
Number | Date | Country | Kind |
---|---|---|---|
10-2005-0015570 | Feb 2005 | KR | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/KR06/00632 | 2/23/2006 | WO | 00 | 3/18/2008 |