1. Field of the Invention
The present invention relates to a LAN adapter for connecting an information appliance to an Ethernet (R) or other local area network (LAN).
2. Description of the Background Art
Even residential users can now access the Internet using a number of different broadband network connections, including xDSL, optical fiber, and cable. This infrastructure has made it possible to control AV equipment, lighting, and heating and cooling systems in the home over the Internet (referred to below as an IP communications network). A LAN adapter is needed to connect these devices (information appliances) to an IP communications network.
It is also necessary to set required communications parameters in order to connect this LAN adapter to the network. These communication parameters are parameters required to connect the LAN adapter to the LAN, and include the user ID, password, IP (Internet protocol) address, whether the IP address is automatically assigned using dynamic host configuration protocol (DHCP) (referred to below as the DHCP setting), and the type of information appliance connected by the LAN adapter.
The communication parameters are generally set in the LAN adapter by using a personal computer connected to the same LAN as the LAN adapter to change the parameters. This requires specifying the known local IP address of the LAN adapter. Using a global IP address instead of a local IP address to set the communication parameters is a security risk because the communication parameters can be changed from a terminal not on the LAN. The communication parameters are therefore normally set using only the. local IP address of the device on the local area network.
A conventional LAN adapter is described further below with reference to
The information appliance 201 can be accessed and operated by an information processor 202 on the LAN through the LAN adapter 200 under predefined conditions. It can also be accessed and operated from an external device 206 connected to the network 205 to which the LAN is connected by means of the router 203 and network 205. Conversely, the information appliance 201 can also access and operate the information processor 202 on the LAN by way of the LAN adapter 200 under predefined conditions, and can access and operate an external device 206 not on the LAN by way of network 205 and router 203.
The LAN adapter 200 also has a management unit 53, controller 54, reset button 59, reset unit 60, power supply 61, and input/output (I/O) unit 62. The management unit 53 enables communication over the LAN, and is the management means for managing the settings of the LAN adapter 200, and information relating to the settings of the information processor 202 and router 203, external devices connected to the LAN. The controller 54 is a control means for controlling the management unit 53, working memory 55, and nonvolatile memory 56, and controlling communication with the information appliance 201. When the reset button 59 is pressed, the reset unit 60 issues a signal for clearing the working memory 55. The power supply 61 is the power supply for the LAN adapter 200, and operates the reset unit 60 by turning the power supply off and then on again. The I/O unit 62 is the input/output means connected to the information appliance 201.
(a) The reset unit 60 sends a command to the controller 54 for clearing the working memory 55 when the user presses the reset button 59, for example (S51: reset step).
(b) The controller 54 reads and writes the communication parameters stored in nonvolatile memory 56 to working memory 55 (S52: working memory initialization step).
(c) Communication between the LAN adapter 200 and communication parameter setting device 207 is enabled by setting the IP address of the LAN adapter 200 using the communication parameter setting device 207 (S53: connection configuration step).
(d) The communication parameter setting device 207 is then used to write and set the communication parameters in nonvolatile memory 56 of LAN adapter 200 (S54: communication parameter configuration step).
(a) The user presses the reset button 59 so that the reset unit 60 sends a reset command to the controller 54. (S51: reset step)
(b) The controller 54 reads and writes the communication parameters stored in nonvolatile memory 56 to working memory 55 (S52: working memory initialization step).
(c) The controller 54 detects the static IP address signal from the information processor 202 (S55: static IP address detection step).
(d) When the controller 54 detects the static IP address signal in the static IP address detection step S55, it writes the static IP address to working memory 55 and nonvolatile memory 56 (S56: static IP address storage step).
(e) The controller 54 detects a signal indicating whether DHCP should be used (DHCP setup signal) (S57: DHCP setup signal detection step).
(f) If the DHCP setup signal is detected in the DHCP setup signal detection step S57, the DHCP setup parameter is set in working memory 55 and nonvolatile memory 56 to use the DHCP function of the router 203 (S58: dynamic IP configuration step).
By forming a loop returning to before the static IP address detection step S55 after the static IP address storage step S56, DHCP setup signal detection step S57, or dynamic IP configuration step S58, the system waits for the static IP address signal and DHCP address signal. The LAN adapter 200 can then be used on the LAN.
A problem with the configuration described above is that there is no display unit for displaying the IP address stored to working memory 55 and nonvolatile memory 56. This means that if the user of the information processor 202 does not know the IP address stored to working memory 55 or nonvolatile memory 56, there is no way for the user of the information processor 202 to learn the IP address. The problem here is that it may not be possible to restore access to the LAN adapter 200 from another LAN device.
Furthermore, because the IP address can only be set from an external device connected through LAN port 51, it would be sufficient to reset the IP address from such an external device to enable use on the LAN. However, in order to operate the LAN adapter from an external device, the LAN adapter 200 must first be accessed from the external device and this requires knowing the IP address of the LAN adapter 200. If the. user does not know the IP address of the LAN adapter 200 in this case the LAN adapter 200 cannot be accessed and the IP address therefore cannot be reset. If the user sets a static IP address as the IP address of each device on the LAN, it is difficult for the user to know the IP address each time an address is changed and the user of the information processor 202 may not know the IP address stored to the working memory 55 and nonvolatile memory 56 of the LAN adapter 200.
Furthermore, when the LAN adapter 200 is set to use DHCP, the IP address is automatically assigned by the router 203, and external devices can only access the LAN adapter 200 through the router 203. However, if the DHCP function of the router 203 is not operating normally, access to the LAN adapter 200 cannot be restored because the IP address of the LAN adapter 200 cannot be set directly from the external device.
The present invention is therefore directed to providing a LAN adapter for restoring a LAN connection when desired by the user even if the IP address of the LAN adapter is not known.
A LAN adapter according to the present invention for connecting an information appliance to a local area network comprises a first storage device which stores the currently recognized IP address of the LAN adapter on a LAN; a second storage device which stores a default IP address for the LAN adapter; a controller which controlling the first storage device and second storage device; an IP address initialization controller which controls initializing the IP address of the LAN adapter; a connection detector which detects whether there is a device on the LAN connected to the LAN adapter in response to a command from the IP address initialization controller; and an IP address initialization means which initializes the IP address of the LAN adapter according to the connection detected by the connection detector.
When the connection detector determines that there is no device on the LAN connected to the LAN adapter, the controller writes the default IP address stored in the second storage device to the first storage device as the IP address of the LAN adapter.
The LAN adapter thus comprised can therefore restore a connection on the LAN even when the user does not know the IP address of the LAN adapter.
The object, features, and benefits of the present invention will be apparent from the preferred embodiments described below in conjunction with the accompanying figures:
A LAN adapter according to a preferred embodiment of the present invention is described below with reference to the accompanying figures. It should be noted that functionally like parts are identified by the same reference numerals in the figures.
(Embodiment 1)
LAN adapter 100 also has management unit 3, controller 4, reset button 9, reset unit 10, power supply 11, and I/O unit 12. The management unit 3 enables LAN communications, and is the management means for managing information relating to the settings of the LAN adapter and the settings of the router 103 and information processor 102 as external devices connected over the LAN.
The controller 4 controls the management unit 3, working memory 5, nonvolatile memory 6, and ROM 7, and controls communication with the information appliance 101.
When the reset button 9 is depressed, reset unit 10 issues a command for clearing the working memory 5.
The power supply 11 is the power supply unit of the LAN adapter 100, and operates the reset unit 10 by turning the power on again after turning it off.
The I/O unit 12 is the input/output means connected to the information appliance 101.
The LAN adapter 100 also has an IP address initialization button 13, connection detector 14, and IP address initialization unit 15. When the IP address initialization button 13 is depressed, the connection detector 14 determines whether there is another device on the LAN connected to the LAN adapter 100. If it is determined that there is no device on the LAN connected to the LAN adapter 100, the IP address initialization unit 15 issues an IP address initialization command for setting the IP address of the LAN adapter 100 to the default IP address stored in ROM 7. More specifically, working memory 5 is cleared and the default IP address stored in ROM 7 is written through nonvolatile memory 6 to working memory 5.
However, if it is determined that another device on the LAN is connected to the LAN adapter 100, working memory 5 is cleared and the content of nonvolatile memory 6 is written to working memory 5. Because the IP address currently recognized as the address of the LAN adapter on the LAN is stored to nonvolatile memory 6 in this case, the current IP address is written to the working memory 5. The IP address is therefore not initialized in this case. By thus confirming whether a device is connected to the LAN adapter over the LAN, interrupted connections caused by the IP address of the LAN adapter 100 changing when another device has accessed the LAN adapter 100 can be prevented.
(a) The reset unit 10 sends a command to the controller 4 for clearing the working memory 5 when the user presses the reset button 9, for example. (S1: reset step)
(b) The controller 4 reads and writes the communication parameters stored in nonvolatile memory 6 to working memory 5 (S2: working memory initialization step).
(c) Communication between the LAN adapter 100 and communication parameter setting device.107 is enabled by setting the IP address of the LAN adapter 100 using the communication parameter setting device 107 (S3: connection configuration step).
(d) The communication parameter setting device 107 is then used to write and set the communication parameters in nonvolatile memory 6 of LAN adapter 100 (S4: communication parameter configuration step).
(a) When the user presses the IP address initialization button 13, the controller 4 detects that the button 13 was pressed (S5: IP address initialization button depression step).
(b) The connection detector 14 detects whether there is a device on the LAN connected to the LAN adapter 100 (S6: connection detection step).
(c) If the connection detector 14 determines that there is no device on the LAN connected to the LAN adapter 100 (yes), working memory 5 is cleared by the controller 4 (S7: working memory initialization step).
(d) After the working memory 5 is initialized, the default IP address stored in ROM 7 is written to nonvolatile memory 6, and the content of nonvolatile memory 6 is then written to working memory 5 (S8: default IP address writing step). This “default IP address” means the IP address stored in ROM 7. Writing this default IP address to working memory 5 enables the known IP address of the LAN adapter 100 to be used when setting the communication parameters. It should be noted that the first storage device comprises working memory 5 and nonvolatile memory 6.
(e) If the connection detector 14 determines that there is a device on the LAN connected to LAN adapter 100 (no), working memory 5 is cleared by controller 4 (S9: working memory initialization step).
(f) After initializing the working memory 5, the content of nonvolatile memory 6 is written to working memory 5 (S10: write content of nonvolatile memory step). The IP address of the LAN adapter 100 is not initialized in this case. If the IP address is changed when there is already a device on the LAN connected to the LAN adapter 100, the LAN adapter 100 will no longer be recognized by that device. This problem can be prevented, however, by writing the current IP address when another device is known to be connected to the LAN adapter 100.
The above method for detecting a connection is described next. If the network connection is, for example, a 10BASE-T connection conforming to IEEE 802.3, devices connected over the network are found by checking at the physical layer (or the physical layer IC device level). This makes it possible to know that a connected device is not on the network. It will be obvious that the connection detection method shall not be so limited. The connection detection method will vary according to the network connection type, such as a wired LAN or wireless LAN, and the detection method will vary according to the type of network connection used.
(a) The reset unit 10 detects whether the reset button 9 was pressed or whether the supply of power to the power supply 11 started (S11: reset step).
(b) The reset unit 10 outputs a reset signal instructing the controller 4 to clear working memory 5, and the controller 4 thus clears working memory 5 s (S12: working memory initialization step). The reset means comprises the reset unit 10, reset button 9, and power supply 11.
(c) The reset signal from the reset unit 10 also causes the controller 4 to write the content of nonvolatile memory 6 to working memory 5 (S13: write content of nonvolatile memory step). Note that the currently recognized IP address of the LAN adapter 100 on the LAN is stored to nonvolatile memory 6. The IP address written to the working memory 5 is the IP address of the LAN adapter 100 on the LAN.
(a) The user operates the reset button 9 so that a reset signal is output from the reset unit 10 to the controller 4 (S14: reset step).
(b) The controller 4 reads and writes the communication parameters stored in nonvolatile memory 6 to working memory 5 (S15: working memory initialization step).
(c) The controller 4 detects the static IP address signal from the information processor 102 (S16: static IP address detection step).
(d) If the controller 4 detects the static IP address signal in the static IP address detection step S16, it writes the static IP address to working memory 5 and nonvolatile memory 6 (S17: static IP address writing step).
(e) The controller 4 then detects a signal (referred to below as the DHCP setup signal) indicating whether DHCP should be used (S18: DHCP setup signal detection step).
(f) If the DHCP setup signal is detected in the DHCP setup signal detection step S18, a flag indicating using the DHCP function of the router 103 is set and written to working memory 5 and nonvolatile memory 6 (S19: dynamic IP setup step).
By forming a loop returning to before the static IP address detection step S16 after the static IP address writing step S17, DHCP setup signal detection step S18, and dynamic IP setup step S19, the system waits for the static IP address signal and DHCP setup signal. The LAN adapter 100 can thus be used on the LAN.
Even if the user connects a LAN adapter 100 to a LAN and attempts to initialize the IP address of the LAN adapter 100 while the LAN adapter 100 can communicate with other devices on the network, the IP address will not be initialized with this first embodiment of the invention if it is confirmed in the connection detection step S6 that there is a device on the LAN connected to the LAN adapter 100. More specifically, the connection detector 14 detects information from the management unit 3 relating to the connection of the LAN adapter 100 on the LAN, and confirms that there is a connection by communicating with the LAN adapter 100 over the LAN. If there is a connected device, the IP address initialization unit 15 initializes the working memory 5 and then writes the content of nonvolatile memory 6 to working memory 5, and the IP address is not initialized. In other words, the IP address of the LAN adapter 100 is not changed. As a result, problems with the LAN communication system including LAN adapter 100 that can occur when the IP address of the LAN adapter 100 is changed while the LAN adapter 100 is communicating with another device can be prevented.
(Embodiment 2)
(a) The reset operation is started by the user pressing the reset button 9 or starting to supply power to the power supply 11 (S21: reset step).
(b) The connection detector 14 detects whether there is a device on the LAN connected to the LAN adapter 100 (S22: connection detection step).
(c) If the connection detector 14 determines that there is no device on the LAN connected to the LAN adapter 100 (yes), working memory 5 is cleared by the controller 4 (S23: working memory initialization step).
(d) After the working memory 5 is initialized, the default IP address stored in ROM 7 is written to nonvolatile memory 6, and the content of. nonvolatile memory 6 is then written to working memory 5 (S24: default IP address writing step). This “default IP address” means the IP address stored in ROM 7. Writing this default IP address to working memory 5 enables the known IP address of the LAN adapter 100 to be used when setting the communication parameters. It should be noted that the first storage device comprises working memory 5 and nonvolatile memory 6.
(e) If the connection detector 14 determines that there is a device on the LAN connected to LAN adapter 100 (no), working memory 5 is cleared by controller 4 (S25: working memory initialization step).
(f) After initializing the working memory 5, the content of nonvolatile memory 6 is written to working memory 5 (S26: write content of nonvolatile memory step). The IP address of the LAN adapter 100 is not initialized in this case. If the IP address is changed when there is already a device on the LAN connected to the LAN adapter 100, the LAN adapter 100 will no longer be recognized by that device. This problem can be prevented, however, by writing the current IP address when another device is known to be connected to the LAN adapter 100.
As described in the first embodiment, the LAN adapter 100 according to this second embodiment can be an information appliance 101 having the LAN adapter 100 as one component thereof. Incorporating the LAN adapter 100 inside the information appliance 101 makes handling the LAN adapter 100 easier than when it is a separate device.
In the first and second embodiments described above the first storage device includes both the working memory 5 and nonvolatile memory 6, but the invention shall not be so limited and the first storage device could have only nonvolatile memory 6. That is, the IP address stored in nonvolatile memory 6 could be used directly as the IP address of the LAN adapter 100. This configuration makes the working memory 5 unnecessary, and further simplifies construction of the LAN adapter 100.
Furthermore, ROM 7 is used as the second storage device in the first and second embodiments described above, but the invention shall not be so limited and it could be flash memory or other nonvolatile memory device. More specifically, the second storage device can be any storage device capable of retaining the stored content when LAN adapter 100 power is off.
Furthermore, one LAN adapter and data processing device each are connected in addition to the router 103 to the LAN in the above first and second embodiments of the invention, but multiple LAN adapters and data processing devices could be connected to the LAN.
A LAN adapter according to the present invention thus described can thus reset the IP address of the LAN adapter to a default IP address known to the user and thereby restore the LAN connection even when the user or router does not know the currently set IP address.
Although the present invention has been described in connection with the preferred embodiments thereof with reference to the accompanying drawings, it is to be noted that various changes and modifications will be apparent to those skilled in the art. Such changes and modifications are to be understood as included within the scope of the present invention as defined by the appended claims, unless they depart therefrom.
Number | Date | Country | Kind |
---|---|---|---|
200296469 | Mar 2002 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP03/03810 | 3/27/2003 | WO | 4/27/2005 |