This application claims priority under 35 U.S.C. § 119 (a) from Korean Patent Application No. 10-2007-0071626, filed on Jul. 18, 2007 in the Korean Intellectual Property Office, the entire disclosure of which is incorporated herein by reference.
1. Field of the Invention
Apparatuses and methods consistent with the present invention relate to providing a network bridge device and a bus reset control method thereof, and more particularly, to providing a network bridge device for preventing bus reset storming between network clusters by selectively resetting the bus of an individual cluster, and a bus reset control method of the network bridge device.
2. Description of the Related Art
Recently, IEEE 1394, which is a communication system capable of asynchronous and synchronous transmission, has accelerated the implementation of 1394 based home network.
IEEE 1394 serial bus is internationally standardized and in widespread use as a data exchange bus between terminals in home appliances and computer industries. Specifically, the IEEE 1394 bus standard is ‘IEEE Standard for high performance serial bus, (IEEE) STD 1394-1995’, Institute of Electrical and Electronics Engineers (IEEE), August, 1996, U.S.A. In 2000, its amendment ‘IEEE 1394-2000’ was completed.
The IEEE 1394 bus is a wired bus. Up to 63 stations can participate in the communications through the bus line. A maximum distance between two stations is 4.5 m. However, the bus should be installed in every room of the bus stations, and the maximum distance 4.5 m requires a wireless extension of the IEEE 1394 standard. In response to this, the IEEE 1394.1 was created.
However, a 1394 chip, which functions as the 1394.1 bridge, is defined merely in the standard specification but is not yet commercialized because its practical development has not been realized. To utilize the IEEE 1394 bridge in the IEEE 1394 network, a 1394 bridge chip which functions as the 1394.1 bridge should be developed.
According to the IEEE 1394 specification and the IEEE 1394.1 bridge specification, the IEEE 1394.1 bridge is not compatible with IEEE 1394 devices. Hence, in the IEEE 1394 home network which uses the IEEE 1394.1 bridge, smooth home networking is not accomplished unless the IEEE 1394 devices, for example, IEEE 1394-2000 devices have the bridge awareness function for the IEEE 1394.1 bridge.
For the bridge awareness, a related art network bridge device provides a function of allowing a network bridge device of a local cluster to proxy devices of a foreign cluster using a service discovery scheme.
When a bus reset occurs in the local cluster, the 1394 network bridge device using the service discovery scheme determines the change in information due to the reset and accordingly sends the updated information to the network bridge device of the foreign cluster. The cluster, receiving the information, re-sends the updated information to the foreign cluster after the bus reset occurs. As a result, a bus reset storm, which loops the bus reset between the clusters, occurs.
Exemplary embodiments of the present invention address at least the above problems and/or disadvantages and other disadvantages not described above. Also, the present invention is not required to overcome the disadvantages described above, and an exemplary embodiment of the present invention may not overcome any of the problems described above.
An aspect of the present invention has been provided to solve the above-mentioned and/or other problems and disadvantages and an aspect of the present invention provides a network bridge device for preventing a bus rest storming between clusters by selectively resetting the bus of the cluster, and a bus reset control method of the network bridge device.
According to an aspect of the present invention, there is provided a network bridge device including an interface which receives information related to devices belonging to a foreign cluster, from the foreign cluster; and a controller which determines whether to reset a bus of a local cluster by comparing the received information with pre-stored information.
The network bridge device may further include a storage which associates and stores information related to local devices in the local cluster, information related to foreign devices in a foreign cluster, and Internet Protocols (IP) addresses of network bridge devices of the clusters. The controller may reset a bus of the local cluster when the information are different from each other.
The controller may examine whether the stored information related to the local devices has changed when the local bus in the local cluster is reset, and the controller may update the stored information when the information related to the local devices has changed.
The controller may send a message including the updated information of the local device to the connected foreign cluster.
When the local bus in the local cluster is reset, the controller may update the stored information and send a message including the updated information to the connected foreign cluster.
The local bus reset may occur when the device in the local cluster is changed or after predetermined periods.
The foreign cluster and the local cluster may communicate according to IEEE 1394 standard.
According to an aspect of the present invention, there is provided a bus reset control method of a network bridge device connected to a foreign cluster through a wireless interface, including receiving information related to devices belonging to the foreign cluster; and determining whether to reset a bus of the local cluster by comparing the received information with pre-stored information.
The bus reset control method may further include resetting a bus of the local cluster when the information are different from each other.
The bus reset control method may further include updating information by determining whether pre-stored information is changed when the local bus reset is executed in the local cluster.
The bus reset control method may further include sending a message including the updated device information to the connected foreign cluster.
The bus reset control method may further include updating pre-stored device information when a local bus reset is executed in the local cluster; and sending a message including the updated information to the connected foreign cluster.
The local bus reset may occur when the device in the local cluster is changed or after predetermined periods.
The foreign cluster and the local cluster may communicate according to the IEEE 1394 standard.
The above and/or other aspects of the present invention will be more apparent by describing certain exemplary embodiments of the present invention with reference to the accompanying drawings, in which:
Certain exemplary embodiments of the present invention will now be described in greater detail with reference to the accompanying drawings.
In the following description, same drawing reference numerals are used for the same elements even in different drawings. The matters defined in the description, such as detailed construction and elements, are provided to assist in a comprehensive understanding of the invention. Thus, it is apparent that the present invention can be carried out without those specifically defined matters. Also, well-known functions or constructions are not described in detail since they would obscure the invention with unnecessary detail.
The first cluster 10 is a network group constituted by interconnecting devices 110-1 and 110-2 using a first network bridge device 110. The second cluster 20 is a network group constituted by interconnecting devices 120-1, 120-2 and 120-3 using a second network bridge device 120.
The network bridge devices 110 and 120 and the corresponding devices 110-1, 110-2, 120-1, 120-2 and 120-3 are connected using 1394 cables. The first network bridge device 110 and the second network bridge device 120 communicate data using wired communication using a coaxial cable, power line communication (PLC), wireless local area network (LAN) communication, and Ethernet CAT-5 communication.
The devices 110-1, 110-2, 120-1, 120-2 and 120-3 can be electronic products such as monitors, televisions (TVs), video cassette recorders (VCRs), refrigerators, camcorders, set-top boxes, digital video device (DVD) players, personal computers (PCs), digital cameras, printers, and fax machines.
The devices 110-1, 110-2, 120-1, 120-2 and 120-3, the first and second network bridge devices 110 and 120, and the 1394 cable support the 1394 standard.
If the 1394 network is applied to a home network, the first cluster 10 and the second cluster 20 can be in separate locations such as different rooms in a house and the 1394 network can provide a room-to-room service. The room-to-room service enables one device in the first cluster 10 to share data and contents by communicating with another device in the second cluster 20.
The 1394 network is not limited to the home network and may be applicable to an intranet or a network established between buildings. The number of clusters and the number of devices in
The first network bridge device 110 may be a local network bridge device which receives information from the second network bridge device 120 and the second network bridge device 120 is a foreign network bridge device by way of example.
The bus reset of the network bridge devices 110 and 120 may be classified as either a local reset due to a change of the local device (hereafter, referred to as a first bus reset), and a bus reset due to a change of the foreign device (hereafter, referred to as a second bus reset).
The bus reset can occur when a device in the cluster is eliminated or added. The reset can be performed by periods for the bus management or when there is no change over a certain time.
Referring to
The received reset message can be a routing table which defines information of every device connected to a network 100. The received reset message defines the functions of the devices 120-1, 120-2 and 120-3 of the foreign cluster 20 as their unique information using a CEA-2070 file.
The storage 113 associates and stores information related to the local devices 110-1 and 110-2 of the local cluster 10, the information related to the foreign devices 120-1, 120-2 and 120-3 of the foreign cluster 20, and IP addresses of the network bridge devices 110 and 120 of the respective clusters.
The controller 112 works based on a High-Definition Audio-Video Network Alliance (HANA) application. After resetting according to the IEEE 1394 specification has occurred, the controller 112 shares the unique information with the first device 110-1 and the second device 110-2 using the CEA-2027 file of the HANA application.
When information is received from the network bridge device 120 of the foreign cluster 20, the controller 112 determines whether to execute the second bus reset in the local cluster by comparing the received information with pre-stored information.
When the received information and the pre-stored information are different from each other, the controller 112 resets the bus of the local cluster. When the information matches, the controller 112 does not reset the bus.
When the local bus is reset in the local cluster, that is, when the first bus reset occurs, the controller 112 examines whether the information of the local devices 110-1 and 110-2 stored in the storage 113 has changed or not. When the information has changed, the controller 112 updates the information.
In the first bus reset, the controller 112 can send the information to the foreign cluster 20 in two manners.
In the first manner, after the first bus reset, the controller 112 examines whether the information of the local devices stored in the storage 113 is changed or not. When the information has changed, the controller 112 updates the information and sends a message including the updated information of the local devices to the foreign cluster 20 connected to the network 100.
In the second manner, after the first bus reset, the controller 112 updates the information and sends the updated information to the foreign cluster 20 connected to the network 100.
The second network bridge device 120 determines whether to execute the second bus reset using the information received from the first network bridge device 110. In doing so, the second cluster 20 becomes the local cluster and the first cluster 10 becomes the foreign cluster.
In the first manner, a controller 122 of the second network bridge device 120 compares the information to determine whether to execute the second bus reset. At this time, since the information matches, the bus is not reset.
In the second manner, since the local reset is generated, the second network bridge device 120 re-sends the information to the first network bridge device 110. Afterwards, the first network bridge device 110 does not execute the first bus reset because the information matches.
As such, the bus reset storming can be avoided by resetting the bus based on a comparison of received information and pre-stored information.
In more detail, by means of an if-clause, when the device change of the local cluster or a the periodic reset occurs, whether to reset the bus (the second bus reset) is determined by selecting either
Referring now to
When the 1394 bus reset occurs in the local cluster because of the eliminated second device 110-2 (S1), the first network bridge device 110 allocates IP addresses to the local devices of the local cluster 10 in order (S2). The first network bridge device requests the CEA 2070 file of the first device 110-1 (S3) and receives the CEA 2070 file which defines the unique function of the first device 110-1 (S4). When there exists the connected device, S3 and S4 are repeated.
Next, by comparing the received CEA 2070 file with the pre-stored file information (S6), the first network bridge device 110 updates the pre-stored file information when the received file information is changed (S7).
The first network bridge device 110 provides the updated file information to the devices within the cluster (S8). The first network bridge device 110 provides the updated file to the second network bridge device 120 (S9).
Note that S1 through S9 follow the method of
Upon receiving the file information from the first network bridge device 110 (S10), the second network bridge device 120 compares the received file information with pre-stored file information (S11). When the received information is changed, the second network bridge device 120 performs the second bus reset.
Note that S10, S11, and S12 follow the method of
When the 1394 bus is reset (S12), the second network bridge device 120 requests a CEA 2070 file of the local devices of the second cluster (S14). When receiving the requested CEA 2070 file (S15), the second network bridge device 120 compares the received CEA 2070 file information with pre-stored file information (S16). Since the received CEA 2070 file information and the pre-stored information match (S17), the first bus reset is not executed.
Herein, S12 through S17, which correspond to the bus reset in the local, are performed as in
In the light of the foregoing, when the bus reset occurs in the local cluster, the updated information is sent to the foreign cluster. When information is received from the foreign cluster, whether to reset the bus is determined by checking the information change. By selectively executing the bus reset of the cluster, the bus reset storming between the clusters can be avoided.
Although a few exemplary embodiments of the present invention have been shown and described, it would be appreciated by those skilled in the art that changes may be made in this embodiment without departing from the principles and spirit of the invention, the scope of which is defined in the claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
10-2007-0071626 | Jul 2007 | KR | national |