1. Field of the Invention
The present invention relates to a network setting method and program, and a storage medium thereof, which automatically perform a network setting required in using various communication services, such as a wireless LAN, E-mail, or a VoIP, for a personal computer as user equipment and a plurality of home network equipment serving to provide an Internet connection, such as an xDSL (xDigital Subscriber Line) modem or a broadband router.
2. Description of the Related Art
In a conventional home network or a small-scale network, a dial-up method for connecting to public lines only when connecting to the Internet has been employed. Patent Document 1 discloses a technique of automatically performing a network setting for an application incorporated in user equipment in such a dial-up connection. Meanwhile, owing to a reduction in the cost of connection fees in recent years, always-on broadband connection services to the Internet at a flat rate have become widespread.
Patent Document 1: Japanese Unexamined Patent Publication No. 2004-32534
The conventional network setting method has had the following technical problems.
An object of the present invention is to provide a network setting method and program, and a storage medium thereof, which automatically and easily performs a network setting for a plurality of existing and newly-added home network equipment with different functions and types, as well as user equipment.
In order to achieve the object, the present invention is characterized by taking the following measures for the network setting method to the respective home network equipment and the user equipment of the network communication system, where the user equipment and at least one home network equipment configure a home network and one of the home network equipment and a center server are connected via a broadband network.
According to the present invention, the following effects can be achieved.
The home network equipment 2, including an xDSL modem 2a and a broadband router 2b, may further include a wireless LAN access point/base station (WAP) 2c. When the broadband router is provided with a VoIP, a telephone set 5 is connected to the broadband router 2b. The user equipment 1 is a personal computer having standard functions including a CD-ROM drive, a LAN board, or an NIC (Network Interface Card), such as a LAN card, and a wireless LAN card 6 is mounted when a wireless LAN is utilized. The respective home network equipment 2a, 2b, and 2c may be either an all-in-one type or a stand-alone type, and in the case of the stand-alone type, each of the home network equipment 2a, 2b, and 2c is connected in series to form a multistage connection by a plurality of LANs.
According to this embodiment, the respective home network equipment 2 and the wireless LAN card 6 are rented or sold to a user by the telecommunications carrier, and a portion of the data required for a “network setting process,” described later, is pre-registered in the respective home network equipment 2. The user has established an account with the telecommunications carrier and already obtained therefrom a CD-ROM containing a network setting program and authentication information (a login ID and a password).
Then, the operation according to the embodiment of the present invention is described in detail with reference to the flowcharts.
When the CD-ROM is set to the CD-ROM drive of the user equipment 1, the network setting program automatically starts. At step S1, the initial screen appears on the display of the user equipment.
Specifically, it is checked for the type or version of an OS (Operating System), a login user and its authority, hardware performance, the free space of a HDD, execution statuses of other programs, the existence/nonexistence of the NIC or the wireless LAN card, the existence/nonexistence of a communication protocol stack such as a TCP/IP, or the existence/nonexistence of an E-mail client software or a web browser as well as their versions.
When the type or version of the OS is not covered, the login user and its authority are inappropriate, the hardware performance is insufficient, the free space of the HDD is insufficient, the other programs are in execution, neither the NIC nor the wireless LAN is incorporated, or the communication protocol stack is nonexistent, it is notified to the user and the program abnormally ends.
Once it is determined that the program can be executed, the process proceeds to step S4 where the network setting is performed for the user equipment 1. Specifically, the automatic acquisition of a DHCP (Dynamic Host Configuration Protocol) or a DNS (Domain Name System) is enabled for an IP address, a subnet mask, a default gateway, and a DNS server address being registered. Furthermore, the existence/nonexistence of the wireless LAN card is checked when the NIC is not detected, and a driver is automatically updated if necessary. The version of the E-mail client software or the web browser is also checked and updated if necessary. An updating application is contained in the CD-ROM along with the network setting program. In the E-mail client software or the web browser, the setting for a dial-up, a proxy, or an SSL (Secure Socket Layer) is enabled or disabled according to the environment. At step S5, the DHCP or the DNS is enabled, and the user equipment 1 is restarted if necessary to reflect the update of the software such as a driver.
At step S6, it is determined whether the wireless LAN is used based on the existence/nonexistence of a LAN cable connection. When the wireless LAN is used, the home network equipment (WAP 2c) 2 is detected by the user equipment 1. In the WAP 2c, a encryption key required for the wireless LAN encryption is preliminarily generated according to the predetermined rules and registered.
According to this embodiment, the encryption key is generated based on a MAC address of the WAP 2c, in which the encryption key generated according to the above rules is preset as a factory default. In the CD-ROM, the rules for generating the encryption key based on the MAC address of the WAP 2c is pre-registered, and at step S7, the user equipment 1 generates and sets the encryption key by assigning the MAC address obtained from the WAP 2c with the rules.
At step S8, a discover request message is sent to all home network equipment 2 connected to the home network. In this message, an address of the user equipment 1 as a source address and a broadcast address as a destination address are registered, along with an identification code meaning the message is the discover request message to be registered.
At step S9, it is determined whether a discover reply message is returned from the home network equipment 2, which has received the discover request message. When no home network equipment 2 is detected, the program abnormally ends, while if at least one home network equipment 2 is detected, the process proceeds to step S10. The discover reply message includes the function, the capacity, and the version of a firmware of the home network equipment which has returned the message being registered as the equipment information. According to this embodiment, the equipment information is registered as a URL (Uniform Resource Locator), where the discover reply message of the home network equipment serving only as the router contains, for example, a following URL (1).
http://192.168.0.4/InternetGatewayDevice.2.1.xml (1)
The address “192.168.0.4” represents the IP address assigned to the home network equipment, “InternetGatewayDevice” represents the function which the home network equipment is provided with (herein, the router), and the subsequent number “1” or “2” represents the version of the firmware or the hardware. Furthermore, if the home network equipment is provided with the VoIP as well as the router, a following URL (2) in addition to the URL (1) is registered.
http://192.168.0.4/InternetGatewayDevice/Device/IGDConfigVoiPService.xml (2)
“IGDConfigVoIPService” indicates that the home network equipment is provided with the VoIP. When the home network equipment is also provided with the wireless LAN, a following URL (3) in addition to the URLs (1) and (2) is registered.
http://192.168.0.4/InternetGatewayDevice/Device/IGDConfigWLANService.xml (3)
“IGDConfigWLANService” indicates that the home network equipment is provided with the wireless LAN.
As described above, according to this embodiment, the discover reply message with only the URL (1) being registered is received from the home network equipment provided with only “the router,” while the discover reply message with the two URLs (1) and (2) being registered is received from the home network equipment provided with “the router” and “the VoIP.” Similarly, the discover reply message with the three URLs (1), (2), and (3) being registered is received from the home network equipment provided with “the router,” “the VoIP,” and “the wireless LAN.” At step S10, the respective home network equipment 2 is identified based on the received equipment information.
According to this embodiment, although the discover request message is sent to all home network equipment 2 even when the home network includes a plurality of LANs, the relay of the message is controlled by the respective home network equipment 2 for the discover request message not being sent to other than the home network.
Thus, according to this embodiment, the home network equipment 2 which is disposed at the boundary with the external broadband network 4 and serves as an end terminal of the home network, i.e., the router with the built-in modem 2d of Case 1 or the modem 2a of Cases 2 and 3, is not provided with the relay function, while only the other home network equipment 2 are provided with the relay function. It can be determined whether the home network equipment 2 serves as the end terminal of the home network based on, for example, the existence/nonexistence of a modem function, a specification of a terminated cable, or a format or contents of data transmitted and received through the terminated cable.
Referring again to
At step S16, it is determined whether the registration of the authentication information (the user ID and the password) is required relative to the target equipment 2. If the target network equipment is the router which requires the authentication information being registered, the process proceeds to step S17 where the screen for the authentication information registration is displayed on the user equipment. At step S18, upon inputting the authentication information by the user that operates the user equipment 1, the information is registered to the home network equipment 2. If the target network equipment is the WAP or the modem which does not require the authentication information being registered, the process immediately proceeds to step S19.
At step S19, it is determined whether the network setting has been performed for all detected home network equipment 2. If there remains home network equipment 2 being unset, the process returns to step S11 to repeat each of the above-described processes relative to the next home network equipment. Upon completion of the network setting for all detected home network equipment 2, the communication test between the user equipment 1 and the center server 3 is performed at step S20.
With this communication test, the version of the E-mail client software or the web browser used in the user equipment 1, the version of the driver of the NIC or the wireless LAN card 6 incorporated in the user equipment 1, and the equipment information (including the version of the firmware) of the respective home network equipment 2 are notified from the user equipment 1 to the center server 3.
The center server 3 determines whether each of the versions is the latest based on the notification from the user equipment 1 regarding the type and the version of the application, the type and version of the driver, and the type and version of the firmware. If the versions are other than the latest ones, the user equipment 1 is notified of a distribution source of the latest versions. Upon succession of the above-mentioned communication test, the process proceeds to step S21 in
At step S21, one of the home network equipment 2 is selected to sequentially update the firmware thereof for all detected home network equipment 2. At step S22, it is determined whether the firmware of the network equipment 2 is the latest version based on the version information notified from the center server 3 in the communication test. If the firmware is not the latest and it is determined that the updating is possible at step S23, then the process proceeds to step S24 to download the latest version by accessing the distribution source notified from the center server 3 in the communication test.
At step S25, the downloaded firmware of the latest version is installed on the network equipment 2 from the user equipment 1. At step S26, the installed latest firmware is enabled by restarting the network equipment 2.
If the contents of the network setting performed before are lost by installing the latest firmware, a part of the processes in
At step S29, it is determined whether the driver or the software such as an application program used for the provided communication service is the latest version. For example, when the provided communication service is E-mail, the version of the E-mail client software is checked. When the provided communication service is the wireless LAN service, the driver version of the wireless LAN terminal 6 incorporated in the user equipment 1 is checked. If the software is not the latest and it is determined at step S30 that updating is possible, the process proceeds to step S31 where the latest version is downloaded by accessing the distribution source notified from the center server 3 in the communication test.
At step S32, the downloaded software of the latest version is installed to the user equipment 1. At step S33, the user equipment 1 is restarted to enable the installed latest software.
At step S34, configuration information required for the operation of the respective communication services is downloaded from the center server 3 to the user equipment 1, and is set at step S35. For example, if the provided communication service is E-mail, the information such as an SMTP (Simple Mail Transfer Protocol) server name, a POP (Post Office Protocol) server name or an IMAP (Internet Message Access Protocol) server name, a name of a sender, the account, the password, or an E-mail address is automatically set at this stage where the user equipment 1 is made accessible with the center server.
Similarly, if the provided communication service is the VoIP, the information such as a SIP (Session Initiation Protocol) domain name, a SIP URL, a SIP server address, a SIP server port number, a user ID and a password for SIP server authentication, a REGISTER server address, a REGISTER server port number, a city code and own telephone number is set. If the provided communication service is the wireless LAN, an ESSID or the encryption key is set.
When all network settings have been completed as described above, the contents of the network setting of the respective home network equipment 2 and the user equipment 1 are uploaded to the center server 3 at step S36.
The respective home network equipment 2 are provided with a new connection notification unit (see
An automatic setting function unit 200 is a function unit that performs the network setting according to the present invention, and a request reply unit 201 returns the discover reply message in unicast to the user equipment 1 in response to the received discover request message. A discover request relay unit 202 performs a function selectively incorporated only in the equipment which is not the end terminal of the home network, such as the WAP 2c or the router 2b, to send (relay) the received discover request message in broadcast. Thus, the function unit is not incorporated in the equipment serving as the end terminal of the home network, such as the modem 2a.
A new connection notification unit 203 returns the discover reply message to the user equipment 1 when the equipment 2 is newly connected to the LAN by itself regardless of whether it receives the discover request message. A network setting unit 204 performs the network setting for the equipment by the remote control of the user equipment 1. An authentication information setting unit 205 is a function unit selectively incorporated in the home network equipment provided with the router function, and sets the authentication information of the user to the equipment by the remote control of the user equipment 1. A basic software updating unit 206 updates the firmware registered in the basic software unit by the remote control of the user equipment 1.
An automatic setting function unit 400 is a function unit that performs the network setting according to the present invention, and a communication test unit 401 performs the communication test with the user equipment 1. A version managing unit 402 manages the versions of the driver, the firmware and the various programs such as the applications incorporated in the user equipment 1 or the respective home network equipment 2, while managing the distribution source of the latest version of each software program. A configuration information managing unit 403 manages the configuration information for the communication services that is set to the user equipment 1 or the respective home network equipment 2.
Number | Date | Country | Kind |
---|---|---|---|
2004-157527 | May 2004 | JP | national |