1. Field of the Invention
The present invention relates to a method for exchanging information between electronic appliances for notifying a managing appliance of network configuration changes and a home network system therefor.
b 2. Description of the Related Art
In a home network system as shown in
In the home network system, a plurality of electronic appliances C1 through C4 such as washing machines or microwave ovens are connected to a home server appliance such as a refrigerator having built-in home server functionality. The manager of the home network system can control and monitor the plurality of electronic appliances connected to the home network in a centralized way by transmitting control commands to the plurality of electronic appliances and receiving information about the execution results of the control commands through a different appliance connected to the network such as a PC or a PDA.
When an electronic appliance is newly connected to the home network, the appliance is assigned a unique network address by the home server and becomes on-lined to the network. While an electronic appliance is on-lined to the network, the appliance can provide status information to the home server and respond to monitoring/control messages from the home server.
The home server maintains the appliances that are in on-line as connected appliances. The power to an on-lined appliance may be turned off abruptly by a user or the physical connection between the appliance and the network may get broken. In this case, the home server should be able to detect such conditions. Otherwise, the home server may provide wrong information to the user of the network and therefore the user may issue wrong control commands based on the wrong information.
In view of the shortcomings of the prior art, it is an object of the present invention to provide a home network system that is capable of monitoring the status of the devices connected to the network in real-time and thus allows reliable management of the devices and a method therefore.
In the present invention, an electronic device transmits a particular message to a managing device periodically to inform that the device is on-lined or transmits a message for connection close according to user's request.
In one embodiment of the present invention, when a device is connected to the network, the device transmits the particular message to the managing device N times at interval of a first period and then repeatedly at interval of a second period longer than the first period.
In one embodiment, if the managing device does not receive the particular message during the interval of the second period, the managing device transmits a message requesting a reply to the device and determines the status thereof based on the result.
In one embodiment, if it is determined that the device is off-lined, the managing device reduces management information for the device.
In one embodiment, if it is determined that the device is off-line, the managing device moves the information about the device from the information area for on-lined devices to the information area for off-lined devices after deleting information about the operation of the device.
In another embodiment of the present invention, the managing device regards a device that transmitted a connection close message as being off-lined and reduces management information for the device.
In another embodiment, if a command for monitoring or controlling the device regarded as off-lined is received, the command is not executed.
The above features and other advantages of the present invention will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings, in which:
a and 3b illustrate home network systems in which the present invention may be advantageously embodied;
In order that the invention may be fully understood, preferred embodiments thereof will now be described with reference to the accompanying drawings.
A network manager 100 is a home server that controls signals exchanged between a plurality of electronic appliances connected to the network N and manages information for communication with other networks such as the Internet. In the preferred embodiments of the present invention, the network manager is built into a refrigerator that is powered all day long.
Also, the network manager 100 stores and manages network allocation information for network connection, operation status, and detailed setting for operation of each of the plurality of devices such as electronic appliances.
As shown in
The control unit 130 comprises a timer 131 for counting down a timeout value set by each of the devices 200I, a control module 132, and a connection status monitoring module 133. If a timeout value that was set by one of the devices 200I expires, the connection status monitoring module 133 monitors the connection status of the device. If a message indicative of connection close is received from a device or the connection status monitoring module 133 determines that a device is not found, the control module 132 regards the device as being off-lined and manages the device accordingly. The control module 132 regards devices that have transmitted the “alive” message on a regular basis as being on-line. Also, the control module 132 performs status monitoring or issues control signals according to user's request.
The type of the communication module 150 depends on the physical media used in constructing the network N. The communication module 150 is a power line modem in a power line network as shown in
The network manager 100 may further comprise an output unit 120 for outputting network status information and control results in response to control signals from the control unit 130. The output unit 120 can be built into a single panel with an input unit 110 for providing more convenient user interface.
Each of the devices 200I comprises a control unit 230 and a communication module 250. The control unit 230 generates control signals for controlling components of the device in response to control commands received from the network manager 100 and transmits the “alive” message indicating that the device is on-lined to the network manager periodically at predefined intervals. Also, the control module 230 issues a message indicative of connection close when a special request is received from a user. The communication module 250 performs data communication through the network N.
Like the communication module 150 of the network manager 100, the type of the communication module 250 depends on the type of the media. The communication module 250 is a power line modem in case of a power line network and is a wireless modem in case of a wireless network.
When a device that has not been assigned a network address is connected to the network N, the device requests the network manager 100 to assign it a logical address. If a logical address is assigned by the network manager 100, the device generates a network address by combining the logical address with its own product code and sets the generated network address in the control unit 230 or the communication module 250. When assigning the logical address to the device, the network manager 100 adds the device to a table of on-lined devices and records network configuration information about the device. When operation status and information about the device is obtained afterwards, the network manager 100 records the obtained information in the information area corresponding to the device in the table of on-lined devices.
If a device was connected to the network N once and connected to the network again, the device already has a network address. In this case, the device transmits the “alive” message to the network manager 100 without performing the steps to get a logical address.
The “alive” message is transmitted to the network manager 100 periodically at short intervals at first and then at long intervals (AliveInt). For example, the “alive” message is transmitted twice at interval of 5 seconds and then transmitted at interval of 10 minutes. To notify the network manager 100 of the period of “alive” message, the device transmits the interval between “alive” messages, i.e., AliveInt, to the network manager 100.
Receiving the “alive” message through the communication module 150, the network manager 100 searches the database 140 for information about the device that transmitted the “alive” message. If the information about the device is found in the table of on-lined devices, the network manager 100 leaves it as it is. If the information is found in the table of off-lined devices, the network manager 100 moves the information to the table of on-lined devices. It is also possible to change the status of the device from ‘off-lined’ to ‘on-lined’ instead of moving the information. It is desirable, however, to manage information for on-lined devices and information for off-lined devices separately in the database 140 in that on-lined devices require more information than off-lined devices.
Receiving the period of the “alive” message (AliveInt) from a device, the control module 132 records a timeout value for the device in the information for the device. The timeout value is set to a value longer than the received period (e.g., 1.5×AliveInt or 2×AliveInt). Each time an “alive” message is received from a device, the control module 132 loads the timeout value associated with the device to the timer 131. The timer 131, which has only one clock source, counts down a plurality of timeout values at each clock tick to check if at least one timeout event occurs.
If the information on a device that transmitted the “alive” message is not found in the database 140, it means that the device has been connected to another network and moved to the network N without removing its network address. In this case, the control module 132 executes steps for clearing the network address and assigning a new address to the device.
If one of the timeout values set in the timer 131 of the network manager 100 reaches 0, it means that the “alive” message has not been received from the device which loaded the timeout value to the timer 131. In this case, the control module 132 requests the connection status monitoring module 133 to examine if the device exists on the network N.
Even when the device is connected to the network N, the “alive” message transmitted by the device may not reach the network manager 100 before the preset timeout expires because of excessive network load or instantaneous signal interference. This is why the examination is needed.
In summary, even though the “alive” message has not been received from a device during its preset timeout interval, the network manager 100 does not change information on the device immediately and examines if the device is connected to the network N through the connection status monitoring module 133.
To determine if the device exists on the network N, the connection status monitoring module 133 transmits a message requesting information (e.g., address) to the network N. In the case where the device is on-lined to the network N, the device receives the message and replies to the message by transmitting a message delivering its address. Receiving the message, the connection status monitoring module 133 notifies the control module 132 of the status so that the control module 132 keeps the information on the device unchanged.
If the device is off-line, e.g., connection is closed or power is turned off, the connection status monitoring module 133 cannot receive a reply to the message requesting address information.
As a result, the control module 132 of the network manager 100 moves the information on the device, which is currently included in the table of on-lined devices, to the table of off-lined devices in the database 140. In this case, information unnecessary in the table of off-lined devices (e.g., current function, status information, operation mode, etc) is removed. In the case where information should be minimized, all information except for the address of the off-lined device can be deleted when the information is moved to the table of off-lined devices.
Some devices are equipped with the functionality to request connection close. If the user of such a device requests connection close, the device transmits a message for connection close to the network manager 100. Receiving the message for connection close through the network N, the network manager 100 handles the information about the device that transmitted the message in much the same way as the information about the device that is not detected by the connection status monitoring module 133.
Because the network manager 100 monitors the status and configuration of the network N in real-time as described before, the network manager 100 can reply to user's requests or commands reliably.
If the network manager 100 has the output unit 120, the network manager 100 can display which devices are currently on-lined to the network N so that the user can easily monitor the network status. If the user issues a command or a request to an off-lined device through the network manager 100, the network manager 100 does not perform the command or request based on the database 140 thereof. The network manager 100 may inform the user of the status of the off-lined device.
A user issues control commands or requests through a device having user-friendly interface such as a PC, a notebook computer, or a PDA. Such a device is called a master device. Application programs for monitoring and controlling devices connected to the network are executed on the master device. Though the master device performs similar functions as the home server, the master device cannot assign logical addresses to devices connected to the network and does not support communication with other networks.
Because the master device should know the status and configuration of the network N in real-time to manage user's requests properly, the master device should have information table for devices that are currently connected or were connected to the network.
When the network manager 100 updates the database 140 thereof after detecting a change in the network configuration, the network manager 100 notifies the master device of the change so that the network manager 100 and the master device can synchronize databases. Likewise, if the master device detects a change in the network configuration first, the master device needs to notify the network manager 100 of the change. It also holds when there are more than one network manger on the network.
In a home network based on the wireless network as shown in
An electronic appliance that is newly connected to the network is assigned a network address by the network manager if necessary and transmits the “alive” message and its own period of the “alive” message to the network manager to inform the network manager that the appliance is on line (S1). The appliance transmits the “alive” message N times (e.g., twice) at short intervals at first and then at long intervals. Receiving the “alive” message, the network manager records information about the appliance in the table of on-lined devices, if the appliance is assigned a new network address. If the appliance already has a network address, the network manager removes information about the appliance from the table of off-lined devices and records necessary information in the table of on-lined devices.
If the “alive” message has not been received during a time interval longer than the predefined period (e.g., 1.5˜2 times as long as the period) (S2), the network manager examines if the device exists on the network (S3).
If the device is not found on the network (S4), the network manager moves the information about the device from the table of on-lined devices to the table of off-lined devices (S5), in which case only the information irrelevant to the operation mode is moved and unnecessary information is deleted. If the device is found (S4), the network manager maintains the information about the device unchanged. Afterwards, the network manager waits for the “alive” message (S7).
If requested by the user, the appliance transmits a message for connection close to the network manager (S11). Receiving the message, the network manager deletes dynamic information about the appliance and moves only static information about the appliance to the table of off-lined devices (S12). In this case, even though the appliance is physically connected to the network, the appliance is considered off-lined (S13). Afterwards, the user removes the appliance from the network.
The home network system and the method therefore is capable of monitoring the status of appliances connected to a network in real-time, thereby minimizing errors in managing electronic appliances existing on the network and allowing reliable management of the network system.
While the invention has been disclosed with respect to a limited number of embodiments, those skilled in the art, having the benefit of this disclosure, will appreciate numerous modifications and variations therefrom. It is intended that all such modifications and variations fall within the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
10-2004-0026793 | Apr 2004 | KR | national |