US20060274665A1 - Method and apparatus for connecting an information processor to multiple networks - Google Patents
Method and apparatus for connecting an information processor to multiple networks Download PDFInfo
- Publication number
- US20060274665A1 US20060274665A1 US11/377,541 US37754106A US2006274665A1 US 20060274665 A1 US20060274665 A1 US 20060274665A1 US 37754106 A US37754106 A US 37754106A US 2006274665 A1 US2006274665 A1 US 2006274665A1
- Authority
- US
- United States
- Prior art keywords
- network
- information
- information processor
- setting
- packet
- Prior art date
- Legal status (The legal status 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 status listed.)
- Abandoned
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/26—Route discovery packet
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4604—LAN interconnection over a backbone network, e.g. Internet, Frame Relay
- H04L12/462—LAN interconnection over a bridge based backbone
- H04L12/4625—Single bridge functionality, e.g. connection of two networks over a single bridge
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/11—Allocation or use of connection identifiers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/18—Management of setup rejection or failure
Definitions
- the present invention relates to network communications in general, and in particular to a method and apparatus for connecting an information processor to any network to perform communications.
- wireless network access points can be found in offices and homes as well as on streets and in restaurants. As such, a user is able to perform communications at many places as long as the user is carrying a mobile communication terminal. It is known that network-related settings can be changed based on a Service Set ID (SSID) specified for the access point to communicate with.
- SSID Service Set ID
- the access point with which an information processor communicates can be different between the time when it is connected to a first wireless network and the time when it is connected to a second wireless network.
- the SSID can also be different.
- the communication destination When the communication destination is changed from a wireless network to a wired network or vice versa, or when the communication destination is changed between wired networks, it is required to manually make network settings for the information processor, as shown in FIG. 1 , and such procedure is very inconvenient. Furthermore, in a wireless network, the same SSID may be used by multiple access points. Therefore, when a system is using an SSID, it may not be appropriately detected that the connection has been changed.
- a setting information indicating network settings to be set for an information processor when performing communications via a network is stored.
- a route setting packet which is sent by a network device connected to the network to which the information processor is connected, is acquired to set a route to be used by the network device to communicate with another device.
- a device identification information for identifying a network device from which the route setting packet was sent is extracted from the route setting packet.
- the information processor is allowed to perform communications by acquiring the setting information associated with the extracted device identification information, and the information is specifically set for the information processor.
- FIG. 1 is a diagram illustrating an example of switching among networks
- FIG. 2 is a block diagram of a network to which an information processor is connected;
- FIG. 3 is a functional block diagram of the information processor from FIG. 2 ;
- FIG. 4 is a high-level block diagram of the information processor from FIG. 2 ;
- FIG. 5 is a diagram of the data structure of a location profile database
- FIG. 6 is a high-level logic flow diagram of a method for setting information by the information processor from FIG. 2 ;
- FIG. 7 is a high-level logic flow diagram of a method for acquiring device identification information by the information processor from FIG. 2 .
- a network 50 includes an information processor 10 connected to network devices such as a network switch 20 , a DHCP server 30 and a router 40 .
- Information processor 10 can be a mobile communication device such as a notebook computer or a personal digital assistant (PDA).
- PDA personal digital assistant
- Information processor 10 is designed to detect network 50 to which it is connected by acquiring device identification information about the various network devices on network 50 , and perform network settings suitable for the connected network.
- Network switch 20 controls communication routes among network devices via MAC addresses and device identification information specific to the network devices.
- DHCP server 30 which is an example of an assignment server according to the present invention, assigns to a device newly connected to network 50 an IP address for identifying the device within network 50 . For example, if information processor 10 is newly connected to network 50 , DHCP server 30 sets information processor 10 to a communicable condition by assigning an IP address to information processor 10 .
- the assignment server according to the present invention is not limited to a DHCP server, and it may be a DHCP relay server for relaying communication between the DHCP server and information processor 10 .
- Router 40 relays communications between network 50 and an external network.
- Information processor 10 can communicate with any of network switch 20 , DHCP server 30 and router 40 . If information processor 10 can acquire the MAC address of any one of network switch 20 , DHCP server 30 and router 40 , it can identify connected network 50 based on the acquired MAC address. However, some networks may not be have at least one of network switch 20 , DHCP server 30 and router 40 . For example, network switch 20 may not be found in a relatively small-sized network. Even in such a case, information processor 10 attempts to acquire the MAC address of each of network switch 20 , DHCP server 30 and router 40 in order to appropriately identify a connected network, and identifies the connected network based on any MAC address that can be acquired.
- information processor 10 has a connection detection unit 100 , an Spanning Tree Protocol (STP) packet acquisition unit 110 that is an example of a route setting packet acquisition unit, an address assignment control unit 120 , an inquiry packet sending unit 130 , an identification information acquisition unit 140 , a network setting unit 150 , a location profile database (DB) 155 that is an example of a setting information storage unit according to the present invention, a setting information selection unit 160 , a failure detection unit 170 , an address reacquisition unit 180 , a network configuration information control unit 192 and a communication interface control unit 194 .
- STP Spanning Tree Protocol
- DB location profile database
- Connection detection unit 100 detects that information processor 10 has been connected to a network and then sends notification of such connection to STP packet acquisition unit 110 .
- connection detection unit 100 may detect that a network cable for connecting to a network for communication has been connected to information processor 10 or detect connection by receiving notification from a network adapter.
- a network is a local area network (LAN) or a subnet, for example, and it means a range in which communication is possible without relay by a router.
- a network may be a broadcast domain to which a broadcast packet can reach.
- a network may be an Ethernet or a Token Ring, or it may be a wired network or a wireless network.
- Multiple networks mean multiple networks wherein devices that can make communication without relay by a router are not overlapped with one another.
- STP packet acquisition unit 110 After a connection to a network has been detected by connection detection unit 100 , STP packet acquisition unit 110 acquires an STP packet from a network device connected to the network to which information processor 10 has been connected and sends it to identification information acquisition unit 140 . If STP packet acquisition unit 110 cannot acquire the STP packet, then it sends notification to that effect to address assignment control unit 120 .
- the STP packet is an example of a route setting packet for setting a route to be used by network switch 20 to communicate with another device, which is sent by network switch 20 and is a packet, for example, for configuring a communication route without circulation in a network to which information processor 10 is connected.
- the route setting packet according to the present invention is not limited to an STP packet.
- the route setting packet may be an Open Shortest Path First (OSPF) packet for searching for the shortest route to a communication destination, an Cisco Hot Standby Router Protocol (HSRP) packet for selecting a suitable communication route from among multiplexed communication routes when a failure occurs, or a packet related to a Basic Service Set Identifier (BSSID).
- OSPF Open Shortest Path First
- HSRP Cisco Hot Standby Router Protocol
- BSSID Basic Service Set Identifier
- address assigmnent control unit 120 If address assigmnent control unit 120 cannot acquire an STP packet, it sends a Dynamic Host Configuration Protocol (DHCP) DISCOVER packet, which is an example of an assignment server detection packet, to at least one network device connected to the network to which information processor 10 is connected.
- DHCP Dynamic Host Configuration Protocol
- address assignment control unit 120 may broadcast a DHCP DISCOVER packet to all network devices of a network to which information processor 10 is connected.
- address assignment control unit 120 acquires a DHCP OFFER packet, which is an example of an offer packet indicating that an IP address can be provided, from DHCP server 30 , and sends it to identification information acquisition unit 140 .
- address assignment control unit 120 may send a DHCP DISCOVER packet regardless of whether or not it can acquire an STP packet, and sends an acquired DHCP OFFER packet to identification information acquisition unit 140 .
- address assignment control unit 120 if address assignment control unit 120 cannot acquire a DHCP OFFER packet, it sends notification to that effect to inquiry packet sending unit 130 . Address assignment control unit 120 also sends information indicating whether or not an IP address has been assigned from DHCP server 30 , to address reacquisition unit 180 .
- inquiry packet sending unit 130 If inquiry packet sending unit 130 cannot acquire a DHCP OFFER packet, then it sends an Address Resolution Protocol (ARP) packet for inquiring about the Media Access Control (MAC) address of the network device, to at least one network device connected to the network.
- ARP Address Resolution Protocol
- inquiry packet sending unit 130 inquires, based on the preset IP address of router 40 , about a MAC address corresponding to the IP address.
- An ARP packet is a packet for inquiring about a MAC address corresponding to an IP address in the ARP protocol.
- inquiry packet sending unit 130 acquires the MAC address of router 40 as a response to the ARP packet and sends it to identification information acquisition unit 140 .
- inquiry packet sending unit 130 may send an ARP packet regardless of whether or not it was able to acquire a DHCP OFFER packet.
- identification information acquisition unit 140 From at least one of multiple network devices in the network to which information processor 10 is connected, identification information acquisition unit 140 acquires a MAC address which identifies the network device, via STP packet acquisition unit 110 , address assignment control unit 120 and inquiry packet sending unit 130 . Then, identification information acquisition unit 140 sends the acquired MAC address to network setting unit 150 and setting information selection unit 160 .
- location profile DB 155 stores setting information indicating network settings to be set for information processor 10 when performing communication via the network, in association with MAC addresses identifying network devices connected to the network.
- Location profile DB 155 may acquire the setting information indicating network settings by causing a user to input such information. In this case, location profile DB 155 may store the acquired setting information without associating it with MAC addresses.
- Network setting unit 150 acquires setting information associated with the MAC address acquired from at least one of the multiple network devices, from location profile DB 155 , and sets it for network configuration information control unit 192 or communication interface control unit 194 . As such, information processor 10 starts communication with another device based on the settings. If a failure is detected by failure detection unit 170 , network setting unit 150 selects setting information associated with a MAC address acquired from another network device in the network to which information processor 10 is connected, from location profile DB 155 and sets the setting information.
- Setting information selection unit 160 selects setting information to be set for information processor 10 from among the setting information stored in location profile DB 155 , based on a selection instruction obtained from a user, and sets the setting information for network configuration information control unit 192 or communication interface control unit 194 .
- information processor 10 can also accept manual setting by a user when connection is made to a network other than networks which it has connected before.
- failure detection unit 170 When detecting a communication failure in communication interface control unit 194 that performs communication based on setting information, failure detection unit 170 sends notification to that effect to identification information acquisition unit 140 . If address assignment control unit 120 acquires a DHCP OFFER packet and fails to acquire an IP address from DHCP server 30 , then address reacquisition unit 180 sends a DHCP REQUEST packet, which is an IP address reacquisition request, to DHCP server 30 before the operating system of information processor 10 sends an IP address reacquisition request to DHCP server 30 .
- address reacquisition unit 180 may send a DHCP REQUEST packet to DHCP server 30 by executing the “ipconfig/renew” command in the Microsoft Windows® operating system. Then, address reacquisition unit 180 acquires a DHCP RESPONSE packet which is notification to the effect that an IP address is to be assigned and sets the IP address indicated by the acquired DHCP RESPONSE packet for information processor 10 .
- Network configuration information control unit 192 controls network configuration information based on the setting information set by network setting unit 150 or setting information selection unit 160 .
- Communication interface control unit 194 controls a communication interface based on the setting information set by network setting unit 150 or setting information selection unit 160 .
- information processor 10 includes a computer processing unit (CPU) 1000 , a random access memory (RAM) 1020 , a graphic controller 1075 and a display device 1080 that are mutually connected via a host controller 1082 ; an input/output part having a communication interface 1030 , a hard disk drive 1040 and a CD-ROM drive 1060 that are connected to host controller 1082 via an input/output controller 1084 ; and a legacy input/output part having a ROM 1010 , a flexible disk drive 1050 and an input/output chip 1070 that are connected to input/output controller 1084 .
- CPU computer processing unit
- RAM random access memory
- FIG. 4 there is depicted a high-level block diagram of information processor 10 , in accordance with a preferred embodiment of the present invention.
- information processor 10 includes a computer processing unit (CPU) 1000 , a random access memory (RAM) 1020 , a graphic controller 1075 and a display device 1080 that are mutually connected via a host controller 10
- Host controller 1082 connects RAM 1020 to CPU 1000 and graphic controller 1075 that access RAM 1020 at a high transfer rate.
- CPU 1000 operates based on programs stored in ROM 1010 and RAM 1020 to control each part.
- Graphic controller 1075 acquires image data generated by CPU 1000 or the like on a frame buffer provided in the RAM 1020 , and displays it on a display device 1080 .
- Input/output controller 1084 connects host controller 1082 to communication interface 1030 , hard disk drive 1040 and the CD-ROM drive 1060 which are relatively high speed input/output devices.
- Communication interface 1030 communicates with an external device via a network such as an Ethernet.
- Hard disk drive 1040 stores programs and data to be used by information processor 10 .
- CD-ROM drive 1060 reads a program or data from a CD-ROM 1095 and provides it to input/output chip 1070 via RAM 1020 .
- ROM 1010 and relatively low speed input/output devices are connected to the input/output controller 1084 .
- ROM 1010 stores a boot program, which is executed by CPU 1000 when information processor 10 is activated, and programs dependent on the hardware of the information processor 10 .
- Flexible disk drive 1050 reads a program or data from a flexible disk 1090 and provides it to input/output chip 1070 via RAM 1020 .
- Input/output chip 1070 connects flexible disk 1090 or connects various input/output devices, for example, via a parallel port, a serial port, a keyboard port, a mouse port or the like.
- a program to be provided for information processor 10 is stored in a recording medium such as flexible disk 1090 , CD-ROM 1095 and an IC card, and provided by a user.
- the program is read from the recording medium via input/output chip 1070 and/or input/output controller 1084 , installed in the information processor 10 and executed.
- the program to be installed in information processor 10 and executed includes a connection detection module, an STP packet acquisition module, an address assignment control module, an inquiry packet sending module, an identification information acquisition module, a network setting module, a setting information selection module, a failure detection module and an address reacquisition module.
- the program may use hard disk drive 1040 as location profile DB 155 .
- location profile DB 155 stores setting information indicating network settings to be set for information processor 10 when performing communication via the network, in association with MAC addresses identifying network devices connected to the network.
- the setting information is, for example, parameters to be set for network configuration information control unit 192 to control the operation of an application program or parameters to be set for communication interface control unit 194 to control the operation of the network interface.
- the setting information is information whether or not a DHCP function is used, the name of a DNS server, the SSID and the encryption method to be used in the case of connecting to a wireless network, the name of a proxy server used by browser software, information for controlling a firewall function, information about whether a printer and files are to be shared with other devices, settings for a printer, programs to be activated when connection is made to a network, settings for a VPN program or the like.
- a MAC address is specified for each network device connected to a computer network and is a value of six bytes specific to the network device.
- the device identification information according to the present invention is not limited to the MAC address, and any identification information specific to a network device may be used.
- identification information specific to a wireless access point such as a Basic Service Set Identifier (BSSID) and an Extended Service Set Identifier (ESSID) may be used.
- BSSID Basic Service Set Identifier
- ESSID Extended Service Set Identifier
- location profile DB 155 there are stored, in association with location information for identifying a network, a network adapter to be used in the case of connecting to the network, setting information to be set in the case of connecting to the network and the MAC address of each of network devices connected to the network.
- setting information for the location information “OFFICE” is wired network settings 1 .
- the MAC address of one network device in the network corresponding to the location information “OFFICE”, XX-XX-XX-XX-XX, and the MAC address of another network device, XX-XX-XX-XX-X1, are associated with the wired network settings 1 .
- network setting unit 150 sets the wired network settings 1 associated with the location information “OFFICE” for network configuration information control unit 192 or communication interface control unit 194 . As such, it is possible to select appropriate setting information without performing processing such as displaying a list of location profile information for a user to cause the user to select any location profile information therefrom.
- location profile DB 155 may store the setting information without associating it with MAC addresses, as shown in the location information “NEW1.” In this case, location profile DB 155 stores the setting information in association with a MAC address to be acquired by identification information acquisition unit 140 when connection is made to the network subsequently.
- location profile DB 155 causes a user to input setting information (S 400 ).
- setting information selection unit 160 selects setting information to be set for information processor 10 from among setting information stored in the location profile DB 155 based on the selection instruction and sets the setting information for the network configuration information control unit 192 or communication interface control unit 194 (S 410 ). If connection detection unit 100 does not detect that a connection has been made to a network (S 420 : NO), then information processor 10 returns to process S 400 .
- identification information acquisition unit 140 acquires a MAC address from at least one of multiple network devices (such as network switch 20 , DHCP server 30 and router 40 from FIG. 2 ) in the network to which information processor 10 is connected (S 430 ).
- identification information acquisition unit 140 may acquire MAC addresses from the multiple network devices in the network to which information processor 10 is connected.
- location profile DB 155 stores the setting information selected by setting information selection unit 160 in association with a MAC address acquired by identification information acquisition unit 140 (S 450 ). For example, if the setting information selected by setting information selection unit 160 is not associated with any MAC address, then location profile DB 155 associates the MAC address with the setting information and stores it.
- location profile DB 155 If location profile DB 155 has already stored the setting information selected by setting information selection unit 160 in association with a MAC address, then it further associates the setting information with the MAC address acquired by identification information acquisition unit 140 and stores it. Alternatively, location profile DB 155 may store the setting information in association with the MAC address acquired by identification information acquisition unit 140 instead of the MAC address already stored in association with the setting information.
- network setting unit 150 sets the setting information associated with the MAC address acquired by identification information acquisition unit 140 for network configuration information control unit 192 or communication interface control unit 194 (S 460 ).
- network setting unit 150 may set setting information associated with a MAC address acquired from another network device in the connected network for network configuration information control unit 192 or communication interface control unit 194 (S 480 ).
- network configuration information control unit 192 or communication interface control unit 194 S 480 .
- information processor 10 may set setting information in a different order.
- location profile DB 155 may cause a user to input setting information after information processor 10 is connected to a network.
- setting information selection unit 160 may acquire a selection instruction from the user after the information processor 10 is connected to the network.
- identification information acquisition unit 140 may acquire a MAC address irrespective of whether or not connection detection unit 100 has detected the connection to the network.
- Location profile DB 155 may store the inputted setting information in association with the acquired MAC address.
- STP Spanning Tree Protocol
- identification information acquisition unit 140 acquires a MAC address identifying the network device which has sent the STP packet from the STP packet (S 510 ).
- An STP packet is a Bridge Protocol Data Unit (BPDU) packet periodically sent by network switch 20 , which is a layer 2 switch, in order to prevent communication impossibility from being caused by circulation of communication among layer 2 switches.
- network switch 20 sends an STP packet including its MAC address to the devices within the network at a predetermined time interval, for example, every two seconds.
- the other devices within the network can detect that network switch 20 is connected to the network and detect whether network switch 20 is connected to a communication route reachable from any port of the other devices.
- a layer 2 switch such as the network switch 20 to appropriately detect the network structure and select a route without circulation to be used for communication.
- a predetermined time for example, within two seconds.
- address assignment control unit 120 sends a DHCP DISCOVER packet for detecting DHCP server 30 to all the network devices within the network to which information processor 10 is connected (S 520 ).
- STP packet acquisition unit 110 determines that acquisition of an STP packet has failed. That is, if a failure is temporarily caused in communication between network switch 20 and information processor 10 , or if network switch 20 is not connected to the network, then information processor 10 terminates the processing of acquiring a MAC address from an STP packet and quickly proceeds to the next means.
- address assignment control unit 120 can acquire a DHCP OFFER packet, which is a response to a DHCP DISCOVER packet, from the DHCP server 30 within a predetermined period of time after sending the DHCP DISCOVER packet (S 530 : YES), then identification information acquisition unit 140 acquires the MAC address of DHCP server 30 that has sent the DHCP OFFER packet from the DHCP OFFER packet acquired by address assignment control unit 120 (S 540 ).
- address reacquisition unit 180 fails in acquisition of an IP address from DHCP server 30 (S 550 : NO), then it acquires an IP address by sending a DHCP REQUEST packet to DHCP server 30 before the operating system of information processor 10 sends an IP address reacquisition request to DHCP server 30 (S 560 ).
- an operating system such as Windows® operating system, performs IP address reacquisition processing at a predetermined time interval irrespective of whether or not a DHCP OFFER packet has been normally acquired. Therefore, once acquisition of an IP address fails when a connection is made to a network, a user has to wait for the predetermined time interval before communication starts, which may be inconvenient for the user.
- address reacquisition unit 180 can acquire an IP address more quickly by sending a DHCP REQUEST packet to DHCP server 30 before the operating system sends an IP address reacquisition request to DHCP server 30 .
- inquiry packet sending unit 130 sends an ARP packet for inquiring about a MAC address corresponding to the IP address of router 40 , to router 40 (S 570 ).
- information processor 10 starts communication with the use of an IP address preset for information processor 10 and an IP address preset as a default gateway.
- inquiry packet sending unit 130 may inquire about a MAC address corresponding to the IP address preset as a default gateway with the use of an ARP packet.
- identification information acquisition unit 140 acquires the MAC address of router 40 as a response to the ARP packet (S 580 ). Since router 40 is connected to the network in many cases, information processor 10 can acquire a MAC address more certainly even if network switch 20 or DHCP server 30 is not connected to the network.
- information processor 10 may detect network devices connected to the network by sequentially inquiring, for each of the multiple MAC addresses stored in location profile DB 155 , about an IP address corresponding to the MAC address by means of a Reverse ARP (RARP) command.
- RARP Reverse ARP
- Identification information acquisition unit 140 may acquire a MAC address from each of the multiple network devices in parallel. That is, identification information acquisition unit 140 may perform acquisition of an STP packet, sending of a DHCP DISCOVER packet and sending of an ARP packet in parallel.
- network setting unit 150 may set setting information associated with a MAC address acquired earliest after connection to the network is detected by connection detection unit 100 . As such, it is possible to enhance the possibility of acquiring a MAC address more quickly though the processing of sending information to the outside is inevitably required.
- Information processor 10 sequentially processes means so that such means as is capable of acquiring a MAC address more quickly and sending less amount of information is processed prior to the other means. For example, acquisition of an STP packet, sending of a DHCP DISCOVER packet and sending of an ARP packet are performed in that order. As such, if an STP packet can be acquired, a MAC address can be acquired quickly without necessity of sending information to the network at all. Even if an STP packet cannot be acquired, a MAC address can be certainly acquired.
- information processor 10 can complete network setting prior to acquisition of an IP address. Unlike the case of making settings for network security after acquisition of an IP address, it is possible to prevent communication from being started without completion of security settings, and communication is less subject to attacks from the outside.
- the present invention provides an improved method and apparatus for connecting an information processor to any network to perform communications.
- signal bearing media include, without limitation, recordable type media such as floppy disks or compact discs and transmission type media such as analog or digital communications links.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
Abstract
A method and apparatus for connecting an information processor to any network to perform communications are disclosed. A setting information indicating network settings to be set for an information processor when performing communications via a network is stored. A route setting packet, which is sent by a network device connected to the network to which the information processor is connected, is acquired to set a route to be used by the network device to communicate with another device. A device identification information for identifying a network device from which the route setting packet was sent is extracted from the route setting packet. The information processor is allowed to perform communications by acquiring the setting information associated with the extracted device identification information, and the information is specifically set for the information processor.
Description
- The present application claims benefit of priority under 35 U.S.C. §§120 and 365 to the previously filed international patent application number PCT/JP2004/013457 entitled, “Automatic Switching of Network-related Settings,” filed on Sep. 15, 2004 with a priority date of Sep. 18, 2003 based upon Japanese Patent Application No. 2003-326469, both of which are incorporated by reference herein.
- 1. Technical Field
- The present invention relates to network communications in general, and in particular to a method and apparatus for connecting an information processor to any network to perform communications.
- 2. Description of Related Art
- With the proliferation of wireless network technology, wireless network access points can be found in offices and homes as well as on streets and in restaurants. As such, a user is able to perform communications at many places as long as the user is carrying a mobile communication terminal. It is known that network-related settings can be changed based on a Service Set ID (SSID) specified for the access point to communicate with.
- Referring now to the drawings and in particular to
FIG. 1 , there is depicted a diagram for illustrating an example of switching among networks. The access point with which an information processor communicates can be different between the time when it is connected to a first wireless network and the time when it is connected to a second wireless network. In addition, the SSID can also be different. - When the communication destination is changed from a wireless network to a wired network or vice versa, or when the communication destination is changed between wired networks, it is required to manually make network settings for the information processor, as shown in
FIG. 1 , and such procedure is very inconvenient. Furthermore, in a wireless network, the same SSID may be used by multiple access points. Therefore, when a system is using an SSID, it may not be appropriately detected that the connection has been changed. - Consequently, it would be desirable to provide to provide an improved method and apparatus for connecting an information processor to any network to perform communications.
- In accordance with a preferred embodiment of the present invention, a setting information indicating network settings to be set for an information processor when performing communications via a network is stored. A route setting packet, which is sent by a network device connected to the network to which the information processor is connected, is acquired to set a route to be used by the network device to communicate with another device. A device identification information for identifying a network device from which the route setting packet was sent is extracted from the route setting packet. The information processor is allowed to perform communications by acquiring the setting information associated with the extracted device identification information, and the information is specifically set for the information processor.
- All features and advantages of the present invention will become apparent in the following detailed written description.
- The invention itself, as well as a preferred mode of use, further objects, and advantages thereof, will best be understood by reference to the following detailed description of an illustrative embodiment when read in conjunction with the accompanying drawings, wherein:
-
FIG. 1 is a diagram illustrating an example of switching among networks; -
FIG. 2 is a block diagram of a network to which an information processor is connected; -
FIG. 3 is a functional block diagram of the information processor fromFIG. 2 ; -
FIG. 4 is a high-level block diagram of the information processor fromFIG. 2 ; -
FIG. 5 is a diagram of the data structure of a location profile database; -
FIG. 6 is a high-level logic flow diagram of a method for setting information by the information processor fromFIG. 2 ; and -
FIG. 7 is a high-level logic flow diagram of a method for acquiring device identification information by the information processor fromFIG. 2 . - With reference now to
FIG. 2 , there is depicted a block diagram of a network to which an information processor is connected, in accordance with a preferred embodiment of the present invention. As shown, anetwork 50 includes aninformation processor 10 connected to network devices such as anetwork switch 20, aDHCP server 30 and arouter 40.Information processor 10 can be a mobile communication device such as a notebook computer or a personal digital assistant (PDA).Information processor 10 is designed to detectnetwork 50 to which it is connected by acquiring device identification information about the various network devices onnetwork 50, and perform network settings suitable for the connected network. - Network switch 20 controls communication routes among network devices via MAC addresses and device identification information specific to the network devices. DHCP
server 30, which is an example of an assignment server according to the present invention, assigns to a device newly connected tonetwork 50 an IP address for identifying the device withinnetwork 50. For example, ifinformation processor 10 is newly connected tonetwork 50, DHCPserver 30sets information processor 10 to a communicable condition by assigning an IP address toinformation processor 10. The assignment server according to the present invention is not limited to a DHCP server, and it may be a DHCP relay server for relaying communication between the DHCP server andinformation processor 10.Router 40 relays communications betweennetwork 50 and an external network. -
Information processor 10 can communicate with any ofnetwork switch 20,DHCP server 30 androuter 40. Ifinformation processor 10 can acquire the MAC address of any one ofnetwork switch 20, DHCPserver 30 androuter 40, it can identify connectednetwork 50 based on the acquired MAC address. However, some networks may not be have at least one ofnetwork switch 20,DHCP server 30 androuter 40. For example,network switch 20 may not be found in a relatively small-sized network. Even in such a case,information processor 10 attempts to acquire the MAC address of each ofnetwork switch 20,DHCP server 30 androuter 40 in order to appropriately identify a connected network, and identifies the connected network based on any MAC address that can be acquired. - Referring now to
FIG. 3 , there is illustrated a functional block diagram ofinformation processor 10, in accordance with a preferred embodiment of the present invention. As shown,information processor 10 has aconnection detection unit 100, an Spanning Tree Protocol (STP)packet acquisition unit 110 that is an example of a route setting packet acquisition unit, an addressassignment control unit 120, an inquirypacket sending unit 130, an identificationinformation acquisition unit 140, anetwork setting unit 150, a location profile database (DB) 155 that is an example of a setting information storage unit according to the present invention, a settinginformation selection unit 160, afailure detection unit 170, anaddress reacquisition unit 180, a network configurationinformation control unit 192 and a communicationinterface control unit 194. -
Connection detection unit 100 detects thatinformation processor 10 has been connected to a network and then sends notification of such connection to STPpacket acquisition unit 110. For example,connection detection unit 100 may detect that a network cable for connecting to a network for communication has been connected toinformation processor 10 or detect connection by receiving notification from a network adapter. - A network is a local area network (LAN) or a subnet, for example, and it means a range in which communication is possible without relay by a router. A network may be a broadcast domain to which a broadcast packet can reach. As an example, a network may be an Ethernet or a Token Ring, or it may be a wired network or a wireless network. Multiple networks mean multiple networks wherein devices that can make communication without relay by a router are not overlapped with one another.
- After a connection to a network has been detected by
connection detection unit 100, STPpacket acquisition unit 110 acquires an STP packet from a network device connected to the network to whichinformation processor 10 has been connected and sends it to identificationinformation acquisition unit 140. If STPpacket acquisition unit 110 cannot acquire the STP packet, then it sends notification to that effect to addressassignment control unit 120. The STP packet is an example of a route setting packet for setting a route to be used bynetwork switch 20 to communicate with another device, which is sent bynetwork switch 20 and is a packet, for example, for configuring a communication route without circulation in a network to whichinformation processor 10 is connected. - The route setting packet according to the present invention is not limited to an STP packet. For example, the route setting packet may be an Open Shortest Path First (OSPF) packet for searching for the shortest route to a communication destination, an Cisco Hot Standby Router Protocol (HSRP) packet for selecting a suitable communication route from among multiplexed communication routes when a failure occurs, or a packet related to a Basic Service Set Identifier (BSSID).
- If address
assigmnent control unit 120 cannot acquire an STP packet, it sends a Dynamic Host Configuration Protocol (DHCP) DISCOVER packet, which is an example of an assignment server detection packet, to at least one network device connected to the network to whichinformation processor 10 is connected. For example, addressassignment control unit 120 may broadcast a DHCP DISCOVER packet to all network devices of a network to whichinformation processor 10 is connected. - Then, address
assignment control unit 120 acquires a DHCP OFFER packet, which is an example of an offer packet indicating that an IP address can be provided, from DHCPserver 30, and sends it to identificationinformation acquisition unit 140. Alternatively, addressassignment control unit 120 may send a DHCP DISCOVER packet regardless of whether or not it can acquire an STP packet, and sends an acquired DHCP OFFER packet to identificationinformation acquisition unit 140. - On the other hand, if address
assignment control unit 120 cannot acquire a DHCP OFFER packet, it sends notification to that effect to inquirypacket sending unit 130. Addressassignment control unit 120 also sends information indicating whether or not an IP address has been assigned fromDHCP server 30, to addressreacquisition unit 180. - If inquiry
packet sending unit 130 cannot acquire a DHCP OFFER packet, then it sends an Address Resolution Protocol (ARP) packet for inquiring about the Media Access Control (MAC) address of the network device, to at least one network device connected to the network. For example, inquirypacket sending unit 130 inquires, based on the preset IP address ofrouter 40, about a MAC address corresponding to the IP address. An ARP packet is a packet for inquiring about a MAC address corresponding to an IP address in the ARP protocol. - Next, inquiry
packet sending unit 130 acquires the MAC address ofrouter 40 as a response to the ARP packet and sends it to identificationinformation acquisition unit 140. Alternatively, inquirypacket sending unit 130 may send an ARP packet regardless of whether or not it was able to acquire a DHCP OFFER packet. - From at least one of multiple network devices in the network to which
information processor 10 is connected, identificationinformation acquisition unit 140 acquires a MAC address which identifies the network device, via STPpacket acquisition unit 110, addressassignment control unit 120 and inquirypacket sending unit 130. Then, identificationinformation acquisition unit 140 sends the acquired MAC address to network settingunit 150 and settinginformation selection unit 160. - For each of multiple networks,
location profile DB 155 stores setting information indicating network settings to be set forinformation processor 10 when performing communication via the network, in association with MAC addresses identifying network devices connected to the network.Location profile DB 155 may acquire the setting information indicating network settings by causing a user to input such information. In this case,location profile DB 155 may store the acquired setting information without associating it with MAC addresses. -
Network setting unit 150 acquires setting information associated with the MAC address acquired from at least one of the multiple network devices, fromlocation profile DB 155, and sets it for network configurationinformation control unit 192 or communicationinterface control unit 194. As such,information processor 10 starts communication with another device based on the settings. If a failure is detected byfailure detection unit 170,network setting unit 150 selects setting information associated with a MAC address acquired from another network device in the network to whichinformation processor 10 is connected, fromlocation profile DB 155 and sets the setting information. - Setting
information selection unit 160 selects setting information to be set forinformation processor 10 from among the setting information stored inlocation profile DB 155, based on a selection instruction obtained from a user, and sets the setting information for network configurationinformation control unit 192 or communicationinterface control unit 194. Thus,information processor 10 can also accept manual setting by a user when connection is made to a network other than networks which it has connected before. - When detecting a communication failure in communication
interface control unit 194 that performs communication based on setting information,failure detection unit 170 sends notification to that effect to identificationinformation acquisition unit 140. If addressassignment control unit 120 acquires a DHCP OFFER packet and fails to acquire an IP address fromDHCP server 30, then addressreacquisition unit 180 sends a DHCP REQUEST packet, which is an IP address reacquisition request, toDHCP server 30 before the operating system ofinformation processor 10 sends an IP address reacquisition request toDHCP server 30. - As an example of the processing,
address reacquisition unit 180 may send a DHCP REQUEST packet toDHCP server 30 by executing the “ipconfig/renew” command in the Microsoft Windows® operating system. Then,address reacquisition unit 180 acquires a DHCP RESPONSE packet which is notification to the effect that an IP address is to be assigned and sets the IP address indicated by the acquired DHCP RESPONSE packet forinformation processor 10. - Network configuration
information control unit 192 controls network configuration information based on the setting information set bynetwork setting unit 150 or settinginformation selection unit 160. Communicationinterface control unit 194 controls a communication interface based on the setting information set bynetwork setting unit 150 or settinginformation selection unit 160. - With reference now to
FIG. 4 , there is depicted a high-level block diagram ofinformation processor 10, in accordance with a preferred embodiment of the present invention. As shown,information processor 10 includes a computer processing unit (CPU) 1000, a random access memory (RAM) 1020, agraphic controller 1075 and adisplay device 1080 that are mutually connected via ahost controller 1082; an input/output part having acommunication interface 1030, ahard disk drive 1040 and a CD-ROM drive 1060 that are connected to hostcontroller 1082 via an input/output controller 1084; and a legacy input/output part having aROM 1010, aflexible disk drive 1050 and an input/output chip 1070 that are connected to input/output controller 1084. -
Host controller 1082 connectsRAM 1020 toCPU 1000 andgraphic controller 1075 thataccess RAM 1020 at a high transfer rate.CPU 1000 operates based on programs stored inROM 1010 andRAM 1020 to control each part.Graphic controller 1075 acquires image data generated byCPU 1000 or the like on a frame buffer provided in theRAM 1020, and displays it on adisplay device 1080. - Input/
output controller 1084 connectshost controller 1082 tocommunication interface 1030,hard disk drive 1040 and the CD-ROM drive 1060 which are relatively high speed input/output devices.Communication interface 1030 communicates with an external device via a network such as an Ethernet.Hard disk drive 1040 stores programs and data to be used byinformation processor 10. CD-ROM drive 1060 reads a program or data from a CD-ROM 1095 and provides it to input/output chip 1070 viaRAM 1020. -
ROM 1010 and relatively low speed input/output devices, such asflexible disk drive 1050 and input/output chip 1070, are connected to the input/output controller 1084.ROM 1010 stores a boot program, which is executed byCPU 1000 wheninformation processor 10 is activated, and programs dependent on the hardware of theinformation processor 10.Flexible disk drive 1050 reads a program or data from aflexible disk 1090 and provides it to input/output chip 1070 viaRAM 1020. Input/output chip 1070 connectsflexible disk 1090 or connects various input/output devices, for example, via a parallel port, a serial port, a keyboard port, a mouse port or the like. - A program to be provided for
information processor 10 is stored in a recording medium such asflexible disk 1090, CD-ROM 1095 and an IC card, and provided by a user. The program is read from the recording medium via input/output chip 1070 and/or input/output controller 1084, installed in theinformation processor 10 and executed. - The program to be installed in
information processor 10 and executed includes a connection detection module, an STP packet acquisition module, an address assignment control module, an inquiry packet sending module, an identification information acquisition module, a network setting module, a setting information selection module, a failure detection module and an address reacquisition module. The program may usehard disk drive 1040 aslocation profile DB 155. - Referring now to
FIG. 5 , there is depicted a data structure of location profile information stored inlocation profile DB 155, in accordance with a preferred embodiment of the present invention. For each of the multiple networks,location profile DB 155 stores setting information indicating network settings to be set forinformation processor 10 when performing communication via the network, in association with MAC addresses identifying network devices connected to the network. - The setting information is, for example, parameters to be set for network configuration
information control unit 192 to control the operation of an application program or parameters to be set for communicationinterface control unit 194 to control the operation of the network interface. Specifically, the setting information is information whether or not a DHCP function is used, the name of a DNS server, the SSID and the encryption method to be used in the case of connecting to a wireless network, the name of a proxy server used by browser software, information for controlling a firewall function, information about whether a printer and files are to be shared with other devices, settings for a printer, programs to be activated when connection is made to a network, settings for a VPN program or the like. - A MAC address is specified for each network device connected to a computer network and is a value of six bytes specific to the network device. The device identification information according to the present invention is not limited to the MAC address, and any identification information specific to a network device may be used. For example, identification information specific to a wireless access point, such as a Basic Service Set Identifier (BSSID) and an Extended Service Set Identifier (ESSID) may be used.
- Within
location profile DB 155, there are stored, in association with location information for identifying a network, a network adapter to be used in the case of connecting to the network, setting information to be set in the case of connecting to the network and the MAC address of each of network devices connected to the network. - As an example, setting information for the location information “OFFICE” is wired
network settings 1. The MAC address of one network device in the network corresponding to the location information “OFFICE”, XX-XX-XX-XX-XX-XX, and the MAC address of another network device, XX-XX-XX-XX-XX-X1, are associated with thewired network settings 1. - In the current example, if an acquired MAC address is any of XX-XX-XX-XX-XX-XX and XX-XX-XX-XX-XX-X1, then network setting
unit 150 sets thewired network settings 1 associated with the location information “OFFICE” for network configurationinformation control unit 192 or communicationinterface control unit 194. As such, it is possible to select appropriate setting information without performing processing such as displaying a list of location profile information for a user to cause the user to select any location profile information therefrom. - When newly accepting input of setting information from a user,
location profile DB 155 may store the setting information without associating it with MAC addresses, as shown in the location information “NEW1.” In this case,location profile DB 155 stores the setting information in association with a MAC address to be acquired by identificationinformation acquisition unit 140 when connection is made to the network subsequently. - With reference now to
FIG. 6 , there is depicted a high-level logic flow diagram of a method for setting information byinformation processor 10, in accordance with a preferred embodiment of the present invention. Initially,location profile DB 155 causes a user to input setting information (S400). When accepting a selection instruction from the user, settinginformation selection unit 160 selects setting information to be set forinformation processor 10 from among setting information stored in thelocation profile DB 155 based on the selection instruction and sets the setting information for the network configurationinformation control unit 192 or communication interface control unit 194 (S410). Ifconnection detection unit 100 does not detect that a connection has been made to a network (S420: NO), theninformation processor 10 returns to process S400. - If
connection detection unit 100 detects that a connection has been made to a network (S420: YES), then identificationinformation acquisition unit 140 acquires a MAC address from at least one of multiple network devices (such asnetwork switch 20,DHCP server 30 androuter 40 fromFIG. 2 ) in the network to whichinformation processor 10 is connected (S430). Alternatively, wheninformation processor 10 returns from a power-saving operation mode to a normal operation mode or when power is on forinformation processor 10, identificationinformation acquisition unit 140 may acquire MAC addresses from the multiple network devices in the network to whichinformation processor 10 is connected. - If setting information has been set by setting
information selection unit 160 at S410 (S440: YES),location profile DB 155 stores the setting information selected by settinginformation selection unit 160 in association with a MAC address acquired by identification information acquisition unit 140 (S450). For example, if the setting information selected by settinginformation selection unit 160 is not associated with any MAC address, thenlocation profile DB 155 associates the MAC address with the setting information and stores it. - If
location profile DB 155 has already stored the setting information selected by settinginformation selection unit 160 in association with a MAC address, then it further associates the setting information with the MAC address acquired by identificationinformation acquisition unit 140 and stores it. Alternatively,location profile DB 155 may store the setting information in association with the MAC address acquired by identificationinformation acquisition unit 140 instead of the MAC address already stored in association with the setting information. - On the other hand, if setting information has not been set by setting
information selection unit 160 at S410 (S440: NO), then network settingunit 150 sets the setting information associated with the MAC address acquired by identificationinformation acquisition unit 140 for network configurationinformation control unit 192 or communication interface control unit 194 (S460). - If
failure detection unit 170 detects a failure in communication using the setting information set bynetwork setting unit 150 or setting information selection unit 160 (S470: YES), then network settingunit 150 may set setting information associated with a MAC address acquired from another network device in the connected network for network configurationinformation control unit 192 or communication interface control unit 194 (S480). In other words, if communication cannot be appropriately performed with the use of setting information associated with a MAC address acquired earliest, communication with the use of setting information associated with a MAC address acquired next is attempted. As such, even when any change is made in the configuration of a network, such as when a MAC address acquired earliest and a MAC address acquired next are associated with different setting information, the possibility of performing appropriate communication can be enhanced. - The processing order in the procedure shown in the figure is only an example, and
information processor 10 may set setting information in a different order. For example,location profile DB 155 may cause a user to input setting information afterinformation processor 10 is connected to a network. Then, settinginformation selection unit 160 may acquire a selection instruction from the user after theinformation processor 10 is connected to the network. In such a case, identificationinformation acquisition unit 140 may acquire a MAC address irrespective of whether or notconnection detection unit 100 has detected the connection to the network.Location profile DB 155 may store the inputted setting information in association with the acquired MAC address. - Referring now to
FIG. 7 , there is illustrated a high-level logic flow diagram of a method for acquiring device identification information at S430 ofFIG. 4 , in accordance with a preferred embodiment of the present invention. If Spanning Tree Protocol (STP)packet acquisition unit 110 acquires an STP packet from network switch 20 (S500: YES), identificationinformation acquisition unit 140 acquires a MAC address identifying the network device which has sent the STP packet from the STP packet (S510). - An STP packet is a Bridge Protocol Data Unit (BPDU) packet periodically sent by
network switch 20, which is alayer 2 switch, in order to prevent communication impossibility from being caused by circulation of communication amonglayer 2 switches. For example,network switch 20 sends an STP packet including its MAC address to the devices within the network at a predetermined time interval, for example, every two seconds. By referring to the STP packet, the other devices within the network can detect thatnetwork switch 20 is connected to the network and detect whether network switch 20 is connected to a communication route reachable from any port of the other devices. As such, it is possible for alayer 2 switch such as thenetwork switch 20 to appropriately detect the network structure and select a route without circulation to be used for communication. Furthermore, even when a new device is connected to the network or when a device is removed, it is possible to select a new communication route within a predetermined time, for example, within two seconds. - On the other hand, if STP
packet acquisition unit 110 fails in acquisition of an STP packet (S500: NO), then addressassignment control unit 120 sends a DHCP DISCOVER packet for detectingDHCP server 30 to all the network devices within the network to whichinformation processor 10 is connected (S520). - For example, if STP
packet acquisition unit 110 cannot receive an STP packet within a predetermined period of time, for example, within two seconds, it determines that acquisition of an STP packet has failed. That is, if a failure is temporarily caused in communication betweennetwork switch 20 andinformation processor 10, or if network switch 20 is not connected to the network, theninformation processor 10 terminates the processing of acquiring a MAC address from an STP packet and quickly proceeds to the next means. - If address
assignment control unit 120 can acquire a DHCP OFFER packet, which is a response to a DHCP DISCOVER packet, from theDHCP server 30 within a predetermined period of time after sending the DHCP DISCOVER packet (S530: YES), then identificationinformation acquisition unit 140 acquires the MAC address ofDHCP server 30 that has sent the DHCP OFFER packet from the DHCP OFFER packet acquired by address assignment control unit 120 (S540). - If
address reacquisition unit 180 fails in acquisition of an IP address from DHCP server 30 (S550: NO), then it acquires an IP address by sending a DHCP REQUEST packet toDHCP server 30 before the operating system ofinformation processor 10 sends an IP address reacquisition request to DHCP server 30 (S560). - For example, if an IP address has not been acquired from
DHCP server 30, an operating system, such as Windows® operating system, performs IP address reacquisition processing at a predetermined time interval irrespective of whether or not a DHCP OFFER packet has been normally acquired. Therefore, once acquisition of an IP address fails when a connection is made to a network, a user has to wait for the predetermined time interval before communication starts, which may be inconvenient for the user. - However, if a DHCP OFFER packet can be acquired, it is possible to normally communicate with
DHCP server 30 and to normally acquire an IP address by sending a DHCP REQUEST packet immediately in many cases. That is,address reacquisition unit 180 can acquire an IP address more quickly by sending a DHCP REQUEST packet toDHCP server 30 before the operating system sends an IP address reacquisition request toDHCP server 30. - On the other hand, if address
assignment control unit 120 cannot acquire a DHCP OFFER packet (S530: NO), then inquirypacket sending unit 130 sends an ARP packet for inquiring about a MAC address corresponding to the IP address ofrouter 40, to router 40 (S570). For example, when connecting to a network to which network switch 20 is not connected,information processor 10 starts communication with the use of an IP address preset forinformation processor 10 and an IP address preset as a default gateway. In this case, inquirypacket sending unit 130 may inquire about a MAC address corresponding to the IP address preset as a default gateway with the use of an ARP packet. - Then, identification
information acquisition unit 140 acquires the MAC address ofrouter 40 as a response to the ARP packet (S580). Sincerouter 40 is connected to the network in many cases,information processor 10 can acquire a MAC address more certainly even if network switch 20 orDHCP server 30 is not connected to the network. - Instead of the processing described above,
information processor 10 may detect network devices connected to the network by sequentially inquiring, for each of the multiple MAC addresses stored inlocation profile DB 155, about an IP address corresponding to the MAC address by means of a Reverse ARP (RARP) command. In this case, it is possible to detect the network devices more certainly though a certain degree of time is required for the detection thereof. - Identification
information acquisition unit 140 may acquire a MAC address from each of the multiple network devices in parallel. That is, identificationinformation acquisition unit 140 may perform acquisition of an STP packet, sending of a DHCP DISCOVER packet and sending of an ARP packet in parallel. In this case,network setting unit 150 may set setting information associated with a MAC address acquired earliest after connection to the network is detected byconnection detection unit 100. As such, it is possible to enhance the possibility of acquiring a MAC address more quickly though the processing of sending information to the outside is inevitably required. -
Information processor 10 sequentially processes means so that such means as is capable of acquiring a MAC address more quickly and sending less amount of information is processed prior to the other means. For example, acquisition of an STP packet, sending of a DHCP DISCOVER packet and sending of an ARP packet are performed in that order. As such, if an STP packet can be acquired, a MAC address can be acquired quickly without necessity of sending information to the network at all. Even if an STP packet cannot be acquired, a MAC address can be certainly acquired. - If a MAC address can be acquired by acquisition of an STP packet or sending of a DHCP DISCOVER packet,
information processor 10 can complete network setting prior to acquisition of an IP address. Unlike the case of making settings for network security after acquisition of an IP address, it is possible to prevent communication from being started without completion of security settings, and communication is less subject to attacks from the outside. - As has been described, the present invention provides an improved method and apparatus for connecting an information processor to any network to perform communications.
- It is also important to note that although the present invention has been described in the context of a fully functional computer system, those skilled in the art will appreciate that the mechanisms of the present invention are capable of being distributed as a program product in a variety of forms, and that the present invention applies equally regardless of the particular type of signal bearing media utilized to actually carry out the distribution. Examples of signal bearing media include, without limitation, recordable type media such as floppy disks or compact discs and transmission type media such as analog or digital communications links.
- While the invention has been particularly shown and described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention.
Claims (10)
1. A method for connecting an information processor to a plurality of networks to perform communications, said method comprising:
storing a setting information indicating network settings to be set for an information processor when performing communications via a network;
acquiring a route setting packet, which is sent by a network device connected to said network to which said information processor is connected, for setting a route to be used by said network device to communicate with another device;
extracting from said route setting packet a device identification information for identifying a network device from which said route setting packet was sent; and
causing said information processor to perform communication by acquiring said setting information associated with said extracted device identification information and setting said setting information specifically for said information processor.
2. The method of claim 1 , wherein said method further includes detecting said information processor has been connected to said network.
3. The method of claim 2 , wherein said detecting further includes detecting a network cable for connecting to a network for communication has been connected to said information processor.
4. The method of claim 3 , wherein said method further includes acquiring said device identification information from a network device in response to a detection of said network cable.
5. The method of claim 1 , wherein said method further includes causing a user to select setting information to be set for said information processor from among said stored setting information.
6. An information processor for connecting to any of multiple networks to perform communications, said information processor comprising:
a setting information for storing a setting information indicating network settings to be set for said information processor when performing communications via a network;
an identification information acquisition unit for acquiring a route setting packet, which is sent by a network device connected to said network to which said information processor is connected, for setting a route to be used by said network device to communicate with another device;
means for acquiring a device identification information identifying a network device that has sent said route setting packet, from among the data in said route setting packet; and
a network setting unit for causing the information processor to perform communication by acquiring said setting information associated with said acquired device identification information, from said data stored at said setting information storing step, and setting said setting information for said information processor.
7. The information processor of claim 6 , wherein said information processor further includes means for detecting said information processor has been connected to said network.
8. The information processor of claim 7 , wherein said detecting means further includes means for detecting a network cable for connecting to a network for communication has been connected to said information processor.
9. The information processor of claim 8 , wherein said information processor further includes means for acquiring said device identification information from a network device in response to a detection of said network cable.
10. The information processor of claim 6 , wherein said information processor further includes means for causing a user to select setting information to be set for said information processor from among said stored setting information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US14/669,750 US9634926B2 (en) | 2003-09-18 | 2015-03-26 | Method for use by an information processor |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003326469 | 2003-09-18 | ||
JP2003-326469 | 2003-09-18 | ||
PCT/JP2004/013457 WO2005029783A1 (en) | 2003-09-18 | 2004-09-15 | Automatic switching of setting associated with network |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2004/013457 Continuation WO2005029783A1 (en) | 2003-09-18 | 2004-09-15 | Automatic switching of setting associated with network |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/669,750 Division US9634926B2 (en) | 2003-09-18 | 2015-03-26 | Method for use by an information processor |
Publications (1)
Publication Number | Publication Date |
---|---|
US20060274665A1 true US20060274665A1 (en) | 2006-12-07 |
Family
ID=34372824
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/377,541 Abandoned US20060274665A1 (en) | 2003-09-18 | 2006-03-16 | Method and apparatus for connecting an information processor to multiple networks |
US14/669,750 Active 2026-05-20 US9634926B2 (en) | 2003-09-18 | 2015-03-26 | Method for use by an information processor |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/669,750 Active 2026-05-20 US9634926B2 (en) | 2003-09-18 | 2015-03-26 | Method for use by an information processor |
Country Status (6)
Country | Link |
---|---|
US (2) | US20060274665A1 (en) |
EP (1) | EP1667379B1 (en) |
JP (1) | JP4153524B2 (en) |
KR (1) | KR101032072B1 (en) |
CN (1) | CN100547980C (en) |
WO (1) | WO2005029783A1 (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080095172A1 (en) * | 2006-10-24 | 2008-04-24 | Jain-Li Lai | Systems and methods for setting network configuration and accessing network |
US20080298273A1 (en) * | 2005-02-15 | 2008-12-04 | Friedrich Armbruster | Method For Establishing a Communication Relationship in at Least One Communication Network |
US20090210733A1 (en) * | 2008-02-19 | 2009-08-20 | Canon Kabushiki Kaisha | Information processing apparatus, information processing system, and information processing method |
US20090225674A1 (en) * | 2008-03-10 | 2009-09-10 | Kim Jae-Hoon | Server, terminal, and method for supporting mobility |
US20140122680A1 (en) * | 2012-10-30 | 2014-05-01 | Fuji Xerox Co., Ltd. | Information processing apparatus and method, and non-transitory computer readable medium |
US20160036825A1 (en) * | 2014-07-29 | 2016-02-04 | Time Warner Cable Enterprises Llc | Communication management and policy-based data routing |
US20230283549A1 (en) * | 2020-05-28 | 2023-09-07 | Oracle International Corporation | Loop prevention in virtual layer 2 networks |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100547980C (en) | 2003-09-18 | 2009-10-07 | 联想(新加坡)私人有限公司 | A kind of information processor and control method |
KR100924562B1 (en) * | 2007-08-30 | 2009-10-30 | 아주대학교산학협력단 | Method and system of setting configuration information of a sensor network |
KR101430594B1 (en) * | 2008-01-10 | 2014-08-18 | 삼성전자주식회사 | Apparatus and method for default gateway address configuration in mobile communication system |
KR100971000B1 (en) * | 2008-06-09 | 2010-07-20 | 아주대학교산학협력단 | Saw device type reader appartus |
US8514717B2 (en) | 2011-01-21 | 2013-08-20 | T-Mobile Usa, Inc. | Smart connection manager |
JP5628227B2 (en) * | 2011-02-17 | 2014-11-19 | パナソニック株式会社 | Network connection apparatus and method |
CN102916894A (en) * | 2012-11-08 | 2013-02-06 | 华为技术有限公司 | Network traffic forwarding method and source routing equipment |
JP5696805B1 (en) * | 2014-03-20 | 2015-04-08 | 富士ゼロックス株式会社 | Information processing apparatus and program |
CN104202402B (en) * | 2014-09-09 | 2018-02-02 | 浪潮(北京)电子信息产业有限公司 | Realize the system and method for super fusion safeguard construction network agent |
EP3226522B1 (en) * | 2014-11-28 | 2019-07-03 | Icom Incorporated | Terminal device, terminal setting system, terminal setting program, and terminal setting method |
JP6922814B2 (en) * | 2018-03-27 | 2021-08-18 | オムロン株式会社 | Support device, support program, setting method |
JP7200612B2 (en) * | 2018-11-12 | 2023-01-10 | 富士フイルムビジネスイノベーション株式会社 | Information processing device and information processing program |
JP7298272B2 (en) * | 2019-04-23 | 2023-06-27 | 沖電気工業株式会社 | Communication device and communication method |
JP7283292B2 (en) * | 2019-07-26 | 2023-05-30 | 富士フイルムビジネスイノベーション株式会社 | Information processing device, information processing system and program |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6256742B1 (en) * | 1996-10-29 | 2001-07-03 | Hitachi, Ltd. | Information processing apparatus having a power saving function |
US20020024935A1 (en) * | 2000-08-30 | 2002-02-28 | Nec Corporation | Radio network, relay node, core node, relay transmission method used in the same and program thereof |
US20020091810A1 (en) * | 2000-11-30 | 2002-07-11 | Frank Hundscheidt | Method and system for resource reservations in a multicasting network |
US20030065753A1 (en) * | 2001-09-28 | 2003-04-03 | Kabushiki Kaisha Toshiba | Information processing apparatus and network configuration method |
US6563794B1 (en) * | 1998-08-28 | 2003-05-13 | Fujitsu Limited | Boundary device for performing a connection control at a boundary between two communications networks |
US20030106062A1 (en) * | 2001-12-05 | 2003-06-05 | Koninklijke Philips Electronics N.V. | Home network environment as a state machine |
US20030167411A1 (en) * | 2002-01-24 | 2003-09-04 | Fujitsu Limited | Communication monitoring apparatus and monitoring method |
US20030202468A1 (en) * | 2002-04-29 | 2003-10-30 | Harris Corporation | Mobile ad-hoc network and methods for performing functions therein based upon weighted quality of service metrics |
US6810032B2 (en) * | 2000-03-06 | 2004-10-26 | Fujitsu Limited | Network control apparatus for controlling devices composing comunication network including the apparatus |
US6930987B1 (en) * | 1999-06-29 | 2005-08-16 | Sony Corporation | Communication device communication method, and communication terminal device |
US7316022B2 (en) * | 2001-04-19 | 2008-01-01 | Canon Kabushiki Kaisha | Information processing apparatus, information processing method, alternate response apparatus, response method, control program, and network system |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5826000A (en) | 1996-02-29 | 1998-10-20 | Sun Microsystems, Inc. | System and method for automatic configuration of home network computers |
US6842430B1 (en) * | 1996-10-16 | 2005-01-11 | Koninklijke Philips Electronics N.V. | Method for configuring and routing data within a wireless multihop network and a wireless network for implementing the same |
JP2000013823A (en) * | 1998-06-23 | 2000-01-14 | Ntt Mobil Communication Network Inc | Communication system, communication path control method, circuit controller using the control method and mobile terminal |
JP3534185B2 (en) * | 2000-10-27 | 2004-06-07 | 日本電気株式会社 | Wireless communication system and communication method thereof |
JP3782671B2 (en) * | 2001-02-28 | 2006-06-07 | 株式会社エヌ・ティ・ティ・ドコモ | Link manager and link management method |
JP2002290445A (en) * | 2001-03-28 | 2002-10-04 | Seiko Epson Corp | Automatic switching method for communication interface and its system |
JP2003091467A (en) | 2001-07-13 | 2003-03-28 | Internatl Business Mach Corp <Ibm> | Computer device, portable information equipment, method for registering network connection, method for selecting network connection, method for setting network, storage medium and program |
US20030193481A1 (en) | 2002-04-12 | 2003-10-16 | Alexander Sokolsky | Touch-sensitive input overlay for graphical user interface |
US7633948B2 (en) * | 2003-07-07 | 2009-12-15 | Panasonic Corporation | Relay device and server, and port forward setting method |
CN100547980C (en) | 2003-09-18 | 2009-10-07 | 联想(新加坡)私人有限公司 | A kind of information processor and control method |
-
2004
- 2004-09-15 CN CNB200480027072XA patent/CN100547980C/en not_active Expired - Fee Related
- 2004-09-15 WO PCT/JP2004/013457 patent/WO2005029783A1/en active Application Filing
- 2004-09-15 KR KR20067005327A patent/KR101032072B1/en active IP Right Grant
- 2004-09-15 EP EP04773117.9A patent/EP1667379B1/en not_active Expired - Fee Related
- 2004-09-15 JP JP2005514043A patent/JP4153524B2/en not_active Expired - Fee Related
-
2006
- 2006-03-16 US US11/377,541 patent/US20060274665A1/en not_active Abandoned
-
2015
- 2015-03-26 US US14/669,750 patent/US9634926B2/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6256742B1 (en) * | 1996-10-29 | 2001-07-03 | Hitachi, Ltd. | Information processing apparatus having a power saving function |
US6563794B1 (en) * | 1998-08-28 | 2003-05-13 | Fujitsu Limited | Boundary device for performing a connection control at a boundary between two communications networks |
US6930987B1 (en) * | 1999-06-29 | 2005-08-16 | Sony Corporation | Communication device communication method, and communication terminal device |
US6810032B2 (en) * | 2000-03-06 | 2004-10-26 | Fujitsu Limited | Network control apparatus for controlling devices composing comunication network including the apparatus |
US20020024935A1 (en) * | 2000-08-30 | 2002-02-28 | Nec Corporation | Radio network, relay node, core node, relay transmission method used in the same and program thereof |
US20020091810A1 (en) * | 2000-11-30 | 2002-07-11 | Frank Hundscheidt | Method and system for resource reservations in a multicasting network |
US7316022B2 (en) * | 2001-04-19 | 2008-01-01 | Canon Kabushiki Kaisha | Information processing apparatus, information processing method, alternate response apparatus, response method, control program, and network system |
US20030065753A1 (en) * | 2001-09-28 | 2003-04-03 | Kabushiki Kaisha Toshiba | Information processing apparatus and network configuration method |
US20030106062A1 (en) * | 2001-12-05 | 2003-06-05 | Koninklijke Philips Electronics N.V. | Home network environment as a state machine |
US20030167411A1 (en) * | 2002-01-24 | 2003-09-04 | Fujitsu Limited | Communication monitoring apparatus and monitoring method |
US20030202468A1 (en) * | 2002-04-29 | 2003-10-30 | Harris Corporation | Mobile ad-hoc network and methods for performing functions therein based upon weighted quality of service metrics |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080298273A1 (en) * | 2005-02-15 | 2008-12-04 | Friedrich Armbruster | Method For Establishing a Communication Relationship in at Least One Communication Network |
US20080095172A1 (en) * | 2006-10-24 | 2008-04-24 | Jain-Li Lai | Systems and methods for setting network configuration and accessing network |
US20090210733A1 (en) * | 2008-02-19 | 2009-08-20 | Canon Kabushiki Kaisha | Information processing apparatus, information processing system, and information processing method |
US8448005B2 (en) * | 2008-02-19 | 2013-05-21 | Canon Kabushiki Kaisha | Information processing apparatus, information processing system, and information processing method |
US20090225674A1 (en) * | 2008-03-10 | 2009-09-10 | Kim Jae-Hoon | Server, terminal, and method for supporting mobility |
US8111635B2 (en) | 2008-03-10 | 2012-02-07 | Samsung Electronics Co., Ltd. | Server, terminal, and method for supporting mobility |
US20140122680A1 (en) * | 2012-10-30 | 2014-05-01 | Fuji Xerox Co., Ltd. | Information processing apparatus and method, and non-transitory computer readable medium |
US20160036825A1 (en) * | 2014-07-29 | 2016-02-04 | Time Warner Cable Enterprises Llc | Communication management and policy-based data routing |
US9537868B2 (en) * | 2014-07-29 | 2017-01-03 | Time Warner Cable Enterprises Llc | Communication management and policy-based data routing |
US10097587B2 (en) | 2014-07-29 | 2018-10-09 | Time Warner Cable Enterprises Llc | Communication management and policy-based data routing |
US20230283549A1 (en) * | 2020-05-28 | 2023-09-07 | Oracle International Corporation | Loop prevention in virtual layer 2 networks |
Also Published As
Publication number | Publication date |
---|---|
CN1856967A (en) | 2006-11-01 |
EP1667379A4 (en) | 2010-11-17 |
KR20060095967A (en) | 2006-09-05 |
JP4153524B2 (en) | 2008-09-24 |
KR101032072B1 (en) | 2011-05-02 |
US9634926B2 (en) | 2017-04-25 |
JPWO2005029783A1 (en) | 2007-11-15 |
CN100547980C (en) | 2009-10-07 |
WO2005029783A1 (en) | 2005-03-31 |
US20150200841A1 (en) | 2015-07-16 |
EP1667379B1 (en) | 2014-03-26 |
EP1667379A1 (en) | 2006-06-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9634926B2 (en) | Method for use by an information processor | |
EP1250791B1 (en) | System and method for using an ip address as a wireless unit identifier | |
US8095664B2 (en) | Method, apparatus, and computer program for processing information | |
JP3612528B2 (en) | Parameter setting system | |
US8001223B2 (en) | Automatic switching network points based on configuration profiles | |
JP3764125B2 (en) | Gateway, communication terminal device, and communication control program | |
DK2057790T3 (en) | DEVICE AND METHOD OF CHOOSING AN ACCESS INTERFACE DEPENDING ON THE SERVICES PROVIDED IN THE AVAILABLE NETWORKS | |
US20050246431A1 (en) | Method and apparatus for selecting forwarding modes | |
JP2003318992A5 (en) | ||
US20040057443A1 (en) | Method for assigning IP address to mobile node in code division multiple access system | |
EP1889449A1 (en) | Information processing server, remote control system, and remote control method | |
JP3858884B2 (en) | Network access gateway, network access gateway control method and program | |
US7546458B1 (en) | Method for organizing virtual networks while optimizing security | |
US20060193330A1 (en) | Communication apparatus, router apparatus, communication method and computer program product | |
US20090285206A1 (en) | Network system and data transfer method | |
JP3960321B2 (en) | Electronics | |
JP2003283546A (en) | Wireless mobile router | |
JP2005150794A (en) | Computer apparatus and computer program | |
JP2004343420A (en) | Network terminal equipment and its control method | |
WO2005046135A1 (en) | Method and apparatus for assisting a mobile node to transmit a packet | |
JP2004266870A (en) | Parameter setting system | |
JP4107189B2 (en) | Information processing device | |
JP4134786B2 (en) | Network system | |
KR20050039302A (en) | System for providing wireless local area network access environment based on access point and operating method of wireless internet protocol terminal | |
JP3456891B2 (en) | Router device and frame transfer method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: LENOVO (SINGAPORE) PTE. LTD., SINGAPORE Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:KATSUNO, YASUHARU;ALONE, VIJAY;AIHARA, TORU;REEL/FRAME:018232/0517;SIGNING DATES FROM 20060523 TO 20060526 |
|
STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- AFTER EXAMINER'S ANSWER OR BOARD OF APPEALS DECISION |