Configuring a wireless communication device with setting information
21 claims: 5 independent, 16 dependent
- 1A method of setting a peripheral device (Pr1) conducting wireless LAN communication from an information processing apparatus (PC1), comprising the steps of:temporarily setting a first wireless communication setting information to both said information processing apparatus and said peripheral device (S704, S803);establishing a wireless LAN between said information processing apparatus and said peripheral device using said first wireless communication setting information set at said step of temporarily setting said first wireless communication setting information (S705, S604);notifying through said established wireless network a second wireless communication setting information that had been set in said information processing apparatus before setting of said first wireless communication setting information, from said information processing apparatus to said peripheral device (S706);and receiving said second wireless communication setting information (S805) and switching from said first wireless communication setting information to said second wireless communication setting information, in said peripheral device (S806) characterized in that the first wireless communication setting information is derived from information unique to said peripheral device (606).
- 10A peripheral device (Pr1) connected to or including a wireless LAN device (603), comprising:a component to temporarily set a first wireless communication setting information of said peripheral device (S803);a component to establish a wireless LAN between said peripheral device and an information processing apparatus (PC1) using said first wireless communication setting information, wherein said information processing apparatus is adapted to apply said first wireless communication setting information derived from said unique information (S804);a component to receive a second wireless communication setting information from said information processing apparatus through said established wireless LAN, wherein said second wireless communication setting information was applied to said information processing apparatus before said first wireless communication setting information is applied to said information processing apparatus (S805);a component to switch from said first wireless communication setting information to said second wireless communication setting information received from said information processing apparatus (S806);characterized in that said component to temporarily set said first wireless communication setting information is adapted to set the first wireless communication information derived from information (606) unique to said peripheral device.
- 11An information processing apparatus (PC1) which sets a wireless LAN device (603) connected to or included in a peripheral device (Pr1), comprising:a component to set a temporary first wireless communication setting information derived from said peripheral device input upon installation of driver software for said peripheral device (S701, S703, S704);a component to establish a wireless LAN between said peripheral device and said information processing apparatus using said first wireless communication setting information, wherein said peripheral device is adapted to apply said first wireless communication setting information derived from said unique information of said peripheral device (S705);a component to send a second wireless communication setting information from said information processing apparatus to said peripheral device through said established wireless LAN, wherein said second wireless communication setting information was applied to said information processing apparatus before said first wireless communication setting information is applied to said information processing apparatus (S706);and a component to switch from said first wireless communication setting information to said second wireless communication setting information sent from said component to send said second wireless communication setting information (S708) characterized in that said component to temporarily set said first wireless communication setting information is adapted to set the first wireless communication setting information derived from information (606) unique to said peripheral device.
- 12A radio communication system including a peripheral device (Pr1) connected to or including a wireless LAN device (603) and an information processing apparatus (PC1) which utilizes said peripheral device, said peripheral device comprising:a component to temporarily set first wireless communication setting information of said peripheral device (S802, S803);a component to establish a wireless LAN between said peripheral device and said information processing apparatus using said first wireless communication setting information, wherein said information processing apparatus is supplied with said first wireless communication setting information;a component to receive a second wireless communication setting information from said information processing apparatus through said established wireless LAN, wherein said second wireless communication setting information was applied to said information processing apparatus before said first wireless communication setting information is applied to said information processing apparatus (S805);a component to switch from said first wireless communication setting information to said second wireless communication setting information received from said information processing apparatus (S606), said information processing apparatus comprising: a component to set said first wireless communication setting information of said peripheral device (S703, S704);a component to establish a wireless LAN between said peripheral device and said information processing apparatus using said first wireless communication setting information, wherein said peripheral device is applied said first wireless communication setting information derived from said unique information of said peripheral device (S705);a component to send a second wireless communication setting information from said information processing apparatus to said peripheral device through said established wireless network LAN, wherein said second wireless communication setting information was applied to said information processing apparatus before said first wireless communication setting information is applied to said information processing apparatus (S706);and a component to switch from said first wireless communication setting information to said second wireless communication setting information sent from said component to send said second wireless communication setting information (S708) characterized in that said component to set said first wireless communication setting information is adapted to set said first wireless communication setting information derived from information unique to said peripheral device.
- 21A storage medium holding a computer program for installing driver software for a peripheral device (Pr1) into an information processing apparatus (PC1), said computer program including:a step of temporarily setting first wireless communication setting information derived from information of said peripheral device, input upon installation of driver software for said peripheral device (S701, S703, S704);a step of establishing a wireless LAN between said peripheral device and said information processing apparatus using said first wireless communication setting information set at said step of temporarily setting said first wireless communication setting information, wherein said peripheral device is applied said first wireless communication setting information derived from said peripheral device (S705);a step of sending a second wireless communication setting information from said information processing apparatus to said peripheral device through said established wireless LAN, wherein said second wireless communication setting information was applied to said information processing apparatus before said first wireless communication setting information is applied to said information processing apparatus (S706);and a step of switching from said first wireless communication setting information to said second wireless communication setting information set at said step of sending a second wireless communication setting information (S708) characterized by the step of setting said first wireless communication setting information derived from information unique to said peripheral device.
Independent claims5
124 paragraphs in 5 sections, as filed
FIELD OF THE INVENTION
0001The present invention relates to a radio device communication setting method.
BACKGROUND OF THE INVENTION
0002In recent years, the proliferation of wireless LAN devices has enable computer peripheral devices, such as a printer for instance, to be connected via air wires. Various wireless LAN methods including the IEEE 802.11 standard, the Bluetooth standards and similar ones are becoming well known, pushing the IEEE 802.11 standard wireless LAN method to become a de facto global standard.
0003In accordance with the popularization of personal computers including IEEE 802.11 standard wireless LAN devices, peripheral devices such as printers, also including IEEE 802.11 standard wireless LAN device, are increasingly used.
0004The wireless LAN device communicating by an IEEE802.11b standard, which is one of the IEEE 802.11 standards, comprise a star-connection mode called infrastructure mode and a one-to-one connection mode called ad hoc mode that enable communication with another computer or the like, using either one of these modes. In the infrastructure mode, the MAC address of an access point at the center of the star connection is generally used as an initial group ID.
0005Further, in the ad hoc mode, although communication is standardized on the premise of the use of SSID, communication is frequently performed by using an IP address instead of the SSID of the wireless LAN device. In this case, the IP address initial value of the wireless LAN device is set to "0:0:0:0" or the like, and the IP address of the other wireless LAN device is set to "0:0:0:1" or the like. Then, the wireless LAN devices search for respective IP addresses and perform communication.
0006Since the "MAC address" referred to as an initial ID of the infrastructure mode is a device unique number, thus the ID of a wireless LAN device placed in an arbitrary room does not overlap the ID of another wireless LAN device placed in a neighboring house or office. Accordingly, the wireless LAN device placed in an arbitrary room is does not connect to a personal computer or peripheral device in a neighboring house or office.
0007In Japan, a maximum of 4 channels can be ensured as non-overlapped frequency channels for IEEE 802.11b wireless LAN devices. Among these 4 channels, a channel where interference wave is reduced as much as possible is used instead of a channel used by another user.
0008Further, in another known system, a frequency channel is determined from a serial number for the purpose of allocation of station (<patcit id="pcit0001" dnum="JP2000059388A"><text>Japanese Patent Application Laid-Open No. 2000-059388</text></patcit>).
0009When a peripheral device is connected to a computer via a wireless LAN, two types of problems occur regarding security and peripheral device user interface occur.
0010In some cases, the initial group ID of a wireless LAN card or access point is a banal initial value such as "Anyone". Further, in many cases, no encryption key is set. Accordingly, the wireless LAN may be erroneously connected to a wireless LAN device newly placed in a neighboring house or office. In such case, data can be viewed from both wireless LANs.
0011In the infrastructure mode, a wireless LAN device can receive a beacon outputted from an access point placed in a neighboring house or office. If no encryption key is set at the access point, as a group ID can be obtained, and eavesdropping becomes possible by receiving the beacon from the other access point.
0012Further, in the ad hoc mode, the initial IP address value is a common one in many cases. This creates a serious security problem in communication.
0013Further, in the case of IEEE 802.11b wireless LAN device, since the number of selectable channels is small, there is a high probability to observe an overlap of selected frequency channels between a wireless LAN device and neighboring wireless LAN devices. Accordingly, the IDs and/or initial IP addresses can be the same with high probability, even when determining a frequency channel from a serial number, thus the probability of erroneous connection with a network in a neighboring house or office increases.
0014More particularly, in a computer peripheral device such as a printer, the setting user interface is often poor.
0015Accordingly, before the execution of real radio communication, a radio communication to the computer is performed by using a simple initial ID or IP address, so that a new ID or IP address for the peripheral device is set using the computer's rich user interface. Otherwise, the computer is cable-connected to the peripheral device, to set a new ID or IP address for the peripheral device using the computer and executing an initial setting program.
0016However, security problems still occur in both cases, wherein the setting phase is operated via a cable or radio communication, since the setting operation is very complicated.
0017The reader will be further enlightened as to the state of the art by reference to publication <patcit id="pcit0002" dnum="US2003092395A"><text>US2003/092395</text></patcit> which discloses a standard communication module to establish communication with another wireless communication device via radio waves. A short distance communication module utilizes weaker radio waves than the radio waves used by the standard communication module, in order to establish communication with another wireless communication device. A communication control module activates the short distance communication module to transmit setting parameters, which are used to change settings required for communication in another wireless communication device. This arrangement effectively prevents leakage of the setting parameters to any third person who is beyond--the communicable range of the short distance communication module, thus ensuring security for settings in the wireless communication device in a wireless environment.
0018The reader may be yet further enlightened as to the state of the art by reference to publication <patcit id="pcit0003" dnum="US2003059051A"><text>US2003/059051</text></patcit> which discloses a wireless device product to be shipped by a manufacturer/distribution source, which is an object to be processed by an electronic apparatus of this invention. A unique information acquisition unit of a personal computer acquires information unique to the wireless device to be shipped by a manufacturer/distribution source, which is an object to be processed by an electronic apparatus of this invention. A unique information acquisition unit of a personal computer acquires information unique to the wireless device (e.g., a production number, MAC address, or the like) using a barcode reader. An encryption key generation unit uses the information acquired by the unique information acquisition unit to generate an encryption key used when the wireless device makes wireless communications. An encryption key setting instruction unit issues a command for setting the encryption key generated by the encryption key generation unit to the wireless device. On the other hand, in the wireless device that receives this command, an encryption key setting unit sets this encryption key.
SUMMARY OF THE INVENTION
0019Accordingly the present invention provides a method of setting a peripheral device conducting wireless communication from an information processing apparatus as claimed in claim 1.
0020According to a second aspect of the present invention there is provided a peripheral device connected to or including a wireless LAN device as claimed in claim 10.
0021According to a third aspect of the present , invention there is provided an information processing apparatus which sets a wireless LAN device connected to or included in a peripheral device as claimed in claim 11.
0022According to a fourth aspect of the present invention there is provided a radio communication system including a peripheral device connected to including a wireless LAN device and an information processing apparatus which utilizes said peripheral device as claimed in claim 12.
0023According to a fifth aspect of the present invention there is provided a storage medium holding a computer program for installing drivers software for a peripheral device into an information processing apparatus according to claim 21.
0024The present invention contributes to facilitation of wireless LAN device communication setting even in a situation where the peripheral device has a poor user interface. Further, another aspect of the present invention is to safely connect to desired wireless LAN, even when located in a collective house such as an apartment, or urban residential area and business district, where wireless LAN system are often used.
0025For example, a wireless LAN device communication setting method comprising: a first setting step, between a computer and a peripheral device, configuring wireless LAN communication setting information based on identification information of the peripheral device; then a notification step of notifying setting information already stored in the computer to the peripheral device by using the settings of the first setting step; and a switching step of switching to the setting information notified at the notification step.
0026Other features and advantages of the present invention will be apparent from the following description taken in conjunction with the accompanying drawings, in which similar reference characters designate the same name or similar parts throughout the figures thereof.
BRIEF DESCRIPTION OF THE DRAWINGS
0027The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention. <ul id="ul0001" list-style="none" compact="compact"><li><figref idref="f0001">Fig. 1</figref> is a block diagram showing a wireless LAN system 100 in a house as a first embodiment of the present invention and a wireless LAN system 200 in a neighboring house;</li><li><figref idref="f0002">Fig. 2</figref> is a flowchart showing the operation of the first embodiment;</li><li><figref idref="f0003">Fig. 3</figref> is a block diagram showing a wireless LAN system 300 in a house as a second embodiment of the present invention and a wireless LAN system 400 in a neighboring house;</li><li><figref idref="f0004">Fig. 4</figref> is a flowchart showing the operation of the second embodiment;</li><li><figref idref="f0005">Fig. 5</figref> is a block diagram showing an information processing apparatus according to a third embodiment;</li><li><figref idref="f0006">Fig. 6</figref> is a block diagram showing a peripheral device according to the third embodiment;</li><li><figref idref="f0007">Fig. 7</figref> is a flowchart showing an install program according to the third embodiment; and</li><li><figref idref="f0008">Fig. 8</figref> is a flowchart showing wireless LAN setting processing in the peripheral device according to the third embodiment.</li></ul>
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
0028Preferred embodiments of the present invention will now be described in detail in accordance with the accompanying drawings.
0029In the embodiments described below, in a wireless LAN environment, an ID and an encryption key are set, and plural computers perform radio communication. In this environment, as a wireless LAN device setting method for a newly-connected peripheral device, when a driver of the peripheral device is installed in a computer to be connected to the peripheral device, if a unique number of the peripheral device is inputted into the computer, the communication settings used in the above wireless LAN device of the above computer are automatically set as communication settings for the wireless LAN device of the peripheral device.
0030Further, in the above peripheral device, an initial encryption key, ID or IP address for the wireless LAN device of the peripheral device is calculated based on the unique number of the peripheral device, and the calculated information is stored in a memory as temporary setting for the wireless LAN device of the peripheral device. When the driver software for the peripheral device is installed in the above computer, the computer receives the input unique number of the peripheral device, and the ID and the encryption key used in the wireless LAN device of the computer are backed up in the memory of the computer. Then a calculation similar to the one in the peripheral device is applied to the unique number of the peripheral device to calculate the encryption key for the ID or IP address and set for the wireless LAN device of the computer. The original ID and the encryption key used by the computer before the installation of the driver are radio-transmitted to the peripheral device, thereafter, the original ID and the encryption key are restored. The peripheral device receives the original ID and the encryption key transmitted from the computer, and sets the original ID and the encryption key for the wireless LAN device of the peripheral device.
0031In this arrangement, a unique group ID and an encryption key are set simply by installing the driver of a peripheral device into a computer, an this is accomplished even in the case of a computer peripheral device such as a printer which often has a poor user interface. In light of this, the probability of erroneous connection to a network in a neighboring house or office can be reduced. Further, the peripheral device can be connected with a desired computer with higher safety than in conventional techniques.
0032Further, in another computer belonging to the same radio communication group , similar to the above computer, when the driver of the peripheral device is installed, if the unique number for the peripheral device is not inputted, the setting of the wireless LAN device of the computer is not changed. That is, processing of copying wireless LAN setting information to the peripheral device is skipped, and the driver for the peripheral device is installed as usual.
0033In this arrangement, in a case where a peripheral device is set in a radio communication group, it is not necessary for another computer belonging to the same radio communication group to re-set the wireless LAN device of the peripheral device. Accordingly, the other computer can perform connection setting such as driver installation regarding the peripheral device by searching for the peripheral device as in the case of a cable-connected network printer.
0034Further, in a computer peripheral device which becomes capable of wireless LAN communication by connection with a wireless LAN device such as a wireless LAN card, when the wireless LAN card is connected to the peripheral device, or when the wireless LAN card is connected to the peripheral device and the power of the device is turned on, an encryption key, ID or IP address calculated based on a unique number of the peripheral device is set for the wireless LAN card.
[First Embodiment]
0035<figref idref="f0001">Fig. 1</figref> is a block diagram showing a wireless LAN system 100 as a first embodiment of the present invention and a wireless LAN system 200 in a neighboring house.
0036The wireless LAN system 100 has computers PC1 and PC2, a printer Pr1 and an access point AP1.
0037The wireless LAN system 200 in the neighboring house has a computer PC3 and a printer Pr2.
0038The computers PC1 to PC3 and the printers Pr1 and Pr2 respectively have a wireless LAN device (not shown). The computers PC1, PC2 and the access point AP1 form a radio network by using an ID "ID1" and an encryption key "KEY1" in the IEEE 802.11 infrastructure mode.
0039In the neighboring house, the computer PC3 and the printer Pr2 perform radio communication in the IEEE 802.11 ad hoc mode. As an IP address of the printer Pr2, an initial value "0:0:0:0" is used. As an IP address of the computer PC3, a value "0:0:0:1" is used. Note that an encryption key is not set.
0040Next, the operation of the first embodiment will be described.
0041<figref idref="f0002">Fig. 2</figref> is a flowchart showing the operation of the present embodiment.
0042As described above, the computers PC1, PC2 and the access point AP1 establish a radio communication channel in the infrastructure mode (S1), and form a radio network using the ID "ID1" and the encryption key "KEY1" (S2).
0043Further, the computer PC3 and the printer Pr2 are in the ad hoc mode using the IP address "0:0:0:0" for printer Pr2 and the IP address "0:0:0:1" for computer PC3 (S41, S42 and S51).
0044When the wireless LAN device is attached to the printer Pr1 and the power of the printer is first turned on, the printer Pr1 calculates an IP address "IPp1" and an encryption key "KEYp1" based on a printer serial number. Then the printer Pr1 sets the IP address "0:0:0:0" set in the wireless LAN device as an initial value (S31 and S32) to the calculated IP address "IPp1", and sets "KEYp1" as an encryption key, and stands by in the ad hoc mode (S33 and S34).
0045On the other hand, in computer PC1, when the driver for printer Pr1 is installed, the serial number of printer Pr1 is inputted by a user (S21). The printer driver causes the computer to calculate the IP address "IPp1" and the encryption key "KEYp1" of the wireless LAN device of the printer Pr1 based on the serial number of the printer Pr1, with a similar algorithm to the one of the printer. Further, the printer driver sets the communication encryption key of the wireless LAN device of the computer PC1 to "KEYp1", and sets the communication mode to ad hoc mode (S22 and S23). The ID "ID1" and the encryption key "KEY1" used at this time are stored into the memory of the computer. In this manner, in the computer, the original wireless LAN setting information (ID, encryption key and the like) is backed up.
0046Since the IP address "IPp1" of the wireless LAN device of the printer Pr1 is known, the computer PC1 performs radio communication with the printer Pr1 in the ad hoc mode, to transmit the ID "ID1" and the encryption key "KEY1" stored in the memory of the computer to the printer Pr1 (S24a).
0047When the ID "ID1" and the encryption key "KEY1" have been normally transmitted to the printer Pr1 and a signal (Ack) has been returned from the printer Pr1 (S35), the communication ID and the encryption key of the wireless LAN device of the computer PC1 are re-set to the "ID1" and "KEY1" used before the setting of the printer Pr1, and the communication mode becomes the infrastructure mode (S24 and S25).
0048In the printer Pr1, when the communication ID "ID1" and the encryption key "KEY1" of the wireless LAN device are transmitted from the computer PC1, a signal indicating that the communication has been normally performed (Ack) is returned to the computer PC1 (S35), then, the ID "ID1" and the encryption key "KEY1" received from the computer PC1 are set as the communication ID and the encryption key of the wireless LAN device of the printer, and the communication mode becomes the infrastructure mode (S36 and S27). Then, at step S3 the printer Pr1 receives a new IP address from a DHCP server cable-connected to the access point AP1 or a DHCP server function of the access point, and this IP address is automatically set (S38). After the IP address of the printer has been changed, the computer PC1 re-detects the printer, and establishes connection to the printer (S26 and S39).
0049After the above-described automatic setting, the printer driver for printer Pr1 is installed in the other computer PC2 without inputting the serial number (S11). The printer driver of the printer Pr1 is set such that the setting of the wireless LAN device is not performed if the serial number is not input.
0050When the printer driver has been installed in the computer PC2, an automatic printer search is performed as in the case of the cable connection (S12), then the automatically detected printer Pr1 is set, and the connection with the printer Pr1 can be established (S40).
0051The IP address' initial setting, before connecting with printer Pr1 with the wireless LAN card, is "0:0:0:0" as shown in <figref idref="f0002">Fig. 2</figref>. In the present embodiment, if the IP address "0:0:0:0" is not immediately changed to "IPp1" after connection with the printer Pr1, a radio wave from the wireless LAN device of the computer PC3 in the neighboring house comes to the wireless LAN device of the printer Pr1. In a case where the computer PC3 in the neighboring house tries to establish a connection with printer Pr2, since the computer PC3 is also connected to the printer Pr1, Pr1 executes printing jobs.
0052In view of this problem, when a wireless LAN card is connected to a printer, it is desirable that the IP address of the wireless LAN card is changed immediately after connection with the wireless LAN card or immediately after the connection with the wireless LAN card and power-on of the printer, and the radio communication is disabled before completion of IP address change and encryption key setting.
0053Further, upon transmission of ID and encryption key from a computer where driver software has been installed to the printer Pr1, if a communication error is not detected and an Ack signal is returned to the computer, a setting error may occur in the printer Pr1.
0054Generally, if a communication error beyond error correction capability of communication protocol has occurred, retransmission is required by error detection via a higher protocol. However, in the present embodiment, since a computer which is performing printer setting returns to initial communication settings upon reception of Ack signal from the printer, the computer may not receive a retransmission request.
0055Considering such situations, it may be arranged such that after reception of Ack signal from the wireless LAN device of the printer and it has been checked a retransmission request has not been received for a predetermined period, the initial setting of wireless LAN device of the computer is restored.
0056In the above setting of the wireless LAN device of the printer, if a communication error occurs and erroneous ID and encryption key are set in the wireless LAN device, the printer cannot be detected from the computer. In this case, the printer must be provided with a switch component to reset the communication settings for the wireless LAN device connected to the printer to the IP address and the encryption key calculated based on the printer serial number, and change the communication mode to the ad hoc mode as stand-by status. As the switch, a mechanical reset button may be utilized, or attachment/removal of wireless LAN card may be performed.
0057Further, upon changes in the of network, it may be arranged that, the communication settings of the wireless LAN device connected to the printer are reset from the computer, to IP address and the encryption key calculated based on the printer serial number, in accordance with a command for initialization by radio communication, and the communication mode are set to the ad hoc mode as a stand-by status.
0058Note that as a frequency channel for connection between the computer and the printer, the radio communication channel used by that time is used. Any channel may be used as a channel for setting of the wireless LAN system of the printer. If the channel for setting the wireless LAN system of the printer is different from the channel used by the computer by that time, channel information is also transmitted, to perform channel setting in the wireless LAN device of the printer side.
0059Further, as the channel for setting the wireless LAN system of the printer, an available channel other than the channel used by the computer by that time may be used so as to avoid overlap with other communication.
0060Further, the printer driver can be similarly executed by installation from a storage medium such as a CD-ROM or installation from a network.
0061In the present embodiment, the printer is used as a computer peripheral device, however, other computer peripheral device such as a digital camera or a scanner may be used as the above computer peripheral device.
[Second Embodiment]
0062Next, a second embodiment of the present invention will be described.
0063<figref idref="f0003">Fig. 3</figref> is a block diagram showing a wireless LAN system 300 in a house as the second embodiment of the present invention and a wireless LAN system 400 in a neighboring house.
0064As shown in <figref idref="f0003">Fig. 3</figref>, the wireless LAN system 300 has computers PC1, PC2 and a printer Pr1 placed in the house, and the wireless LAN system 400 in the neighboring house has a computer PC3 and a printer Pr2.
0065The computers PC1 to PC3 and the printers Pr1 and Pr2 respectively have a wireless LAN device (not shown). The computers PC1 and PC2 form a radio network in the IEEE 802.11 ad hoc mode.
0066In this radio network, the IP address of the computer PC1 is "IPcl", and the IP address of the computer PC2 is "IPc2". The IP address of the printer Pr1 is "IPp1" and communication is performed using an encryption key "KEY".
0067Further, in the neighboring house, the computer PC3 and the printer Pr2 are set such that they perform radio communication in the IEEE 802.11 ad hoc mode. The IP address of the printer Pr2 is an initial value "0:0:0:0", the IP address of the computer PC3 is "0:0:0:1", and an encryption key is not set.
0068Next, the operation of the second embodiment will be described.
0069<figref idref="f0004">Fig. 4</figref> is a flowchart showing the operation of the second embodiment.
0070The computer PC1 sets the IP address to "IPc1" and the encryption key to "KEY1" (S121), and the computer PC2 sets the IP address to "IPc2" and the encryption key to "KEY" (S112), stand by in the ad hoc mode (S111).
0071When the wireless LAN device has been attached to the printer Pr1 (S132) and the power of the printer is first turned on, the printer Pr1 calculates the IP address "IPp1" and the encryption key "KEYp1" based on the printer serial number (S134), then sets the IP address "0:0:0:0" set in the wireless LAN device as an initial value (S131) to the calculated IP address "IPp1" and the encryption key "KEYp1", and stands by in the ad hoc mode (S133).
0072On the other hand, in the computer PC1, when the driver of the printer Pr1 is installed, the serial number of the printer Pr1 is inputted by a user (S122). The printer driver causes the computer to calculate the IP address "IPp1" and the encryption key "KEYp1" of the wireless LAN device of the printer Pr1 based on the serial number of the printer Pr1, with a similar algorithm to that of the printer, and set the encryption key "KEYp1" for communication by wireless LAN device of the computer PC1. At this time, the printer driver stores the encryption key "KEY1" used by that time in the memory of the computer (S123).
0073Since the IP address "IPp1" of the wireless LAN device of the printer Pr1 is known, the computer PC1 performs radio communication with the printer Pr1 by using the encryption key "KEYp1" in the ad hoc mode, to transmit the encryption key "KEY1" stored in the memory of the computer to the printer Pr1 (S124).
0074When the encryption key "KEY1" has been normally transmitted to the printer Pr1 and a signal (Ack) has been returned from the printer Pr1 (S125), the computer PC1 re-sets the encryption key of the wireless LAN device to "KEY1" used before the setting of the printer Pr1 (S126).
0075Further, the printer Pr1 sets the encryption key "KEY1" transmitted from the computer PC1 as the wireless LAN encryption key (S135).
0076Then, if the computer PC1 has a DHCP server function, the printer Pr1 receives a new IP address from the computer PC1 (S127), and this IP address is automatically set (S136). After the change of the IP address of the printer, the computer PC1 re-detects the printer (S128), and the printer Pr1 is connected with the computer PC1 (S137).
0077In this arrangement, the encryption key already used in the wireless LAN network can be also set in the newly set printer Pr1.
0078Note that it may be arranged such that the IP address of the printer used for encryption key setting is used without any change, otherwise, a new IP address is assigned from another computer.
0079In the other computer PC2, when the above encryption key and the IP address have been set, the printer driver of the printer Pr1 is installed without input of serial number (S113). The printer driver of the printer Pr1 is set such that the setting of the wireless LAN device is not performed if the serial number is not input. When the printer driver has been installed in the computer PC2, as automatic printer search is performed as in the case of the cable connection (S114), the automatically detected printer Pr1 is set, then connection with the printer Pr1 can be established (S115).
0080Note that as a frequency channel for connection between the computer and the printer, the radio communication channel used by that time is used. Any channel may be used as a channel for setting of the wireless LAN system of the printer. If the channel for setting the wireless LAN system of the printer is different from the channel used by the computer by that time, channel information is also transmitted, to perform channel setting in the wireless LAN device of the printer side.
0081Further, as the channel for setting the wireless LAN system of the printer, an available channel other than the channel used by the computer by that time may be used so as to avoid overlap with other communication.
0082Further, in the neighboring house, the IP address of the computer PC3 is set to "0:0:0:1" (S142), and the printer Pr2 is set to "0:0:0:0" (S151), stand by in the ad hoc mode (S141), then mutually connected (S143).
0083In the second embodiment, the printer is used as a computer peripheral device, however, other computer peripheral device such as a digital camera or a scanner may be used as the above computer peripheral device.
0084According to the present invention, even in a peripheral device having a poor user interface such as a printer, wireless LAN device communication setting can be automatically made in a very simple manner. Further, even in urban residential area and business district, where a wireless LAN system is used in a neighboring house or office, a desired device can be safely connected to a desired wireless LAN system without erroneous connection to such other wireless LAN system.
[Third Embodiment]
0085In the present embodiment, information processing apparatus such as the above-described personal computer, the peripheral device such as the above-described printer, and a control program for these devices will be described in detail. In this embodiment, the information processing apparatus is to establish radio connection with the peripheral device.
0086<figref idref="f0005">Fig. 5</figref> is a block diagram showing the information processing apparatus according to the third embodiment. In <figref idref="f0005">Fig. 5</figref>, a control unit 501 includes a CPU, a ROM, and a RAM. A storage unit 502, which is used for storing various data and programs, has at least one of a ROM, a RAM a hard disk drive and the like. A wireless LAN device 503, which is a radio communication circuit such as a wireless LAN card, may be incorporated in a personal computer, or may be connected to the outside of the personal computer. An input unit 507 is an input device such as a keyboard or a mouse.
0087The storage unit 502 holds wireless LAN setting information 504 as ID and encryption key setting information which is necessary upon connection with a wireless LAN, a peripheral device install program 505, and setting information copy 506 as a duplicate (backup data) of original wireless LAN setting information.
0088<figref idref="f0006">Fig. 6</figref> is a block diagram showing a peripheral device according to the third embodiment. In <figref idref="f0006">Fig. 6</figref>, a control unit 601 includes a CPU, a ROM, and a RAM. A storage unit 602, which is used for storing various data and programs, has at least one of a ROM, a RAM a hard disk drive and the like. A wireless LAN device 603, which is a radio communication circuit such as a wireless LAN card, may be incorporated in a peripheral device, or may be connected to the outside of the peripheral device.
0089The storage unit 602 holds wireless LAN setting information 604, a control program 605, unique information 606 and the like.
0090<figref idref="f0007">Fig. 7</figref> is a flowchart showing an install program according to the third embodiment. The is executed when it is started on the computer PC1 or PC2.
0091At step S701, the control unit 501 receives unique information of the peripheral device inputted from the input unit 504.
0092At step S702, the control unit 501 backs up the original wireless LAN setting information 504, used upon connection to the access point AP1, as the setting information copy 506, in the storage unit 502.
0093At step S703, the control unit 501 applies a predetermined generation algorithm to the input peripheral device unique information, thereby generates temporary wireless LAN setting information. The generation algorithm is also included in the peripheral device control program.
0094At step S704, the control unit 501 registers the generated temporary wireless LAN setting information so as to be used by the wireless LAN device 503. For example, the generated wireless LAN setting information is written over the wireless LAN setting information 504 stored in the storage unit 502.
0095Note that in a case where the wireless LAN device 503 is set in the infrastructure mode, the control unit 501 changes the communication mode to the ad hoc mode.
0096At step S705, the control unit 501 applies the temporary LAN setting information to the wireless LAN device 503, thereby establishes a radio communication channel with the peripheral device. Note that in the peripheral device, the same wireless LAN setting information is set based on the unique information in accordance with a flowchart to be desired later.
0097At step S706, the control unit 501 reads the original wireless LAN setting information copy 506 from the storage unit 502, and transmits the wireless LAN setting information copy 506 from the wireless LAN device 503 to the peripheral device.
0098At step S707, the control unit 501 determines whether or not the setting (copying) of the wireless LAN setting information in the peripheral device has been successful. If information such as Ack indicating the success of the setting has been transmitted from the peripheral device, it is determined that the setting has been successful. As described above, it may be arranged such that when the Ack signal has arrived, the control unit 501 starts a timer, then determines whether or not a retransmission request has been received by elapse of predetermined period. If a retransmission request has not been received, the control unit determines the setting has been successful.
0099At step S708, the control unit 501 reads the original wireless LAN setting information copy 506 from the storage unit 502, and writes the original wireless LAN setting information copy 506 over the wireless LAN setting information 504. Thus the original wireless LAN setting information is re-registered in the wireless LAN device 503. Note that if the original wireless LAN setting information is used in the infrastructure mode, the control unit 501 changes the communication mode to the infrastructure mode.
0100At step S709, the control unit 501 searches for the peripheral device via the radio communication channel. Normally, a search packet is routed to the peripheral device via the access point AP1. The peripheral device receives the search packet, then transmits a response packet including information to specify the peripheral device. Then the personal computer recognizes the existence of the peripheral device on the LAN.
0101At step S710, the control unit 501 installs a driver corresponding to the peripheral device detected by the search processing.
0102<figref idref="f0008">Fig. 8</figref> is a flowchart showing wireless LAN setting processing in the peripheral device according to the third embodiment.
0103At step S801, the control unit 601 determines whether or not a wireless LAN setting trigger has occurred. The trigger corresponds to, as described above, the connection between the wireless LAN device to the peripheral device, the first power-on of the peripheral device connected to the wireless LAN device, or the depression of reset key of hardware or software. Otherwise, the trigger may correspond to reception of initialization command transmitted from the PC or the like by the wireless LAN device 603.
0104At step S802, the control unit 601 reads the unique information 606 stored in the storage unit 602, applies the generation algorithm thereby generates temporary wireless LAN setting information.
0105At step S803, the control unit 601 registers the generated temporary wireless LAN setting information as the wireless LAN setting information 604. Note that it may be arranged such that upon manufacturing of peripheral device, temporary wireless LAN setting information is previously stored in a nonvolatile storage component such as a ROM. In this case, the generation processing at step S802 can be omitted.
0106At step S804, the control unit 601 applies the temporary wireless LAN setting information to the wireless LAN device 603, and establishes a radio communication channel with the PC.
0107At step S805, the control unit 601 controls the wireless LAN device 603, to receive original wireless LAN setting information from the PC.
0108At step S806, the control unit 601 registers the wireless LAN setting information received by the wireless LAN device 603. That is, the received wireless LAN setting information is written over the wireless LAN setting information in the storage unit 602. Thereafter, the control unit 601 applies the received wireless LAN setting information to the wireless LAN device 603 and establishes a radio communication channel. If it is indicated in the wireless LAN setting information that the infrastructure mode should be applied, the control unit 601 sets the wireless LAN device 603 to the infrastructure mode.
0109At step S807, the control unit 601 responds to a search packet from the PC.
0110According to the present invention, when wireless LAN setting information is registered for a peripheral device from an information processing apparatus such as a personal computer, original wireless LAN setting information set in the information processing apparatus is backed up, then wireless LAN setting information based on unique information of the peripheral device is set in both information processing apparatus and peripheral device, then a radio communication channel is established between the information processing apparatus and the peripheral device, and the original wireless LAN setting information is copied in the peripheral device via the radio communication channel. Thereafter, the information processing apparatus restores the backed up original wireless LAN setting information.
0111In this manner, wireless LAN setting information can be easily registered even in a peripheral device having a poor user interface. Further, upon setting, as temporary wireless LAN setting information based on unique information of peripheral device is used, the probability of connection with another wireless LAN system provided in a neighboring house or office can be reduced. Accordingly, a desired peripheral device can be safely connected to a desired wireless LAN system.
<Other Embodiments>
0112Note that the present invention can be applied to an apparatus comprising a single device or to system constituted by a plurality of devices.
0113Furthermore, the invention can be implemented by supplying a software program, which implements the functions of the foregoing embodiments, directly or indirectly to a system or apparatus, reading the supplied program code with a computer of the system or apparatus, and then executing the program code. In this case, so long as the system or apparatus has the functions of the program, the mode of implementation need not rely upon a program.
0114Accordingly, since the functions of the present invention are implemented by computer, the program code installed in the computer also implements the present invention. In other words, the claims of the present invention also cover a computer program for the purpose of implementing the functions of the present invention.
0115In this case, so long as the system or apparatus has the functions of the program, the program may be executed in any form, such as an object code, a program executed by an interpreter, or script data supplied to an operating system.
0116Example of storage media that can be used for supplying the program area a floppy disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a CD-RW, a magnetic tape, a non-volatile type memory card, a ROM, and a DVD (a DVD-ROM and a DVD-R).
0117As for the method of supplying the program, a client computer can be connected to a website on the Internet using a browser of the client computer, and the computer program of the present invention or an automatically-installable compressed file of the program can be downloaded to a recording medium such as a hard disk. Further, the program of the present invention can be supplied by dividing the program code constituting the program into a plurality of files and downloading the files from different websites. In other words, a WWW (World Wide Web) server that downloads, to multiple users, the program files that implement the functions of the present invention by computer is also covered by the claims of the present invention.
0118It is also possible to encrypt and store the program of the present invention on a storage medium such as a CD-ROM, distribute the storage medium to users, allow users who meet certain requirements to download decryption key information from a website via the Internet, and allow these users to decrypt the encrypted program by using the key information, whereby the program is installed in the user computer.
0119Further, besides the cases where the aforementioned functions according to the embodiments are implemented by executing the read program by computer, an operating system or the like running on the computer may perform all or a part of the actual processing so that the functions of the foregoing embodiments can be implemented by this processing.
0120Furthermore, after the program read from the storage medium is written to a function expansion board inserted into the computer or to a memory provided in a function expansion unit connected to the computer, a CPU or the like mounted on the function expansion board or function expansion unit performs all or a part of the actual processing so that the functions of the foregoing embodiments can be implemented by this processing.
Contents5
8 sheets
Sheet 1 Sheet 2 Sheet 3 Sheet 4 Sheet 5 Sheet 6 Sheet 7 Sheet 8
Every citation, both ways
| Document | Relation | Office |
|---|---|---|
| EP1271895A | Cites | European Patent Office (EPO) |
| EP1274194A | Cites | European Patent Office (EPO) |
| US2003059051A1 | Cites | United States of America |
| US2003092395A1 | Cites | United States of America |
11 members in 6 offices; this record represents the family
Priority claims4
| Document | Office | Kind | Date |
|---|---|---|---|
| 2003406543 | Japan | – | |
| 2003406543 | Japan | A | |
| 2004339966 | Japan | – | |
| 2004339966 | Japan | A |
Members11
| Document | Office | Kind | |
|---|---|---|---|
| CN1625140A | China | A | |
| EP1538792A2 | European Patent Office (EPO) | A2 | |
| US2005136909A1 | United States of America | A1 | |
| JP2005192202A | Japan | A | |
| EP1538792A3 | European Patent Office (EPO) | A3 | |
| US7158783B2 | United States of America | B2 | |
| CN1331332C | China | C | |
| EP1538792B1This record | European Patent Office (EPO) | B1 | |
| DE602004023046D1 | Germany | D1 | |
| ES2330218T3 | Spain | T3 | |
| JP4574338B2 | Japan | B2 |
37 legal events, as 6 offices reported them to INPADOC
Over the term
Point at a mark for the eventEvents
| Event | Code | Office | |
|---|---|---|---|
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Announcement of lapse in spainLapsedFD2A | FD2A | ES | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Notification of lapseLapsedST | ST | FR | |
| Gb: european patent ceased through non-payment of renewal feeCeasedGBPC | GBPC | EP | |
| Lapsed because of non-payment of the annual feeLapsedV1 | V1 | NL | |
| Lapsed because of non-payment of the annual feeLapsedV1 | V1 | NL | |
| Application deemed withdrawn, or ip right lapsed, due to non-payment of renewal feeWithdrawnR119 | R119 | DE | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| No opposition filedOpposition26N | 26N | EP | |
| No opposition filed within time limitOppositionORIGINAL CODE: 0009261PLBE | PLBE | EP | |
| Information on the status of an ep patent application or granted ep patentGrantedSTATUS: NO OPPOSITION FILED WITHIN TIME LIMITSTAA | STAA | EP | |
| Definitive protectionFG2A | FG2A | ES | |
| Corresponds to:REF | REF | EP | |
| Designated contracting statesAK | AK | EP | |
| European patent grantedGrantedFG4D | FG4D | GB | |
| (expected) grantORIGINAL CODE: 0009210GRAA | GRAA | EP | |
| Grant fee paidORIGINAL CODE: EPIDOSNIGR3GRAS | GRAS | EP | |
| Title (correction)CONFIGURING A WIRELESS COMMUNICATION DEVICE WITH SETTING INFORMATIONRTI1 | RTI1 | EP | |
| Despatch of communication of intention to grant a patentORIGINAL CODE: EPIDOSNIGR1GRAP | GRAP | EP | |
| Designation fees paidAKX | AKX | EP | |
| First examination report despatched17Q | 17Q | EP | |
| Request for examination filed17P | 17P | EP | |
| Designated contracting statesAK | AK | EP | |
| Request for extension of the european patentAX | AX | EP | |
| Information provided on ipc code assigned before grantRIC1 | RIC1 | EP | |
| Search report despatchedORIGINAL CODE: 0009013PUAL | PUAL | EP | |
| Designated contracting statesAK | AK | EP | |
| Request for extension of the european patentAX | AX | EP | |
| Public reference made under article 153(3) epc to a published international application that has entered the european phaseORIGINAL CODE: 0009012PUAI | PUAI | EP |
Numbers
- Publication
- 1538792
- Application
- 42575225
Titles3
- German
- Konfiguration eines drahtlosen Kommunikationsgerätes mit Einstellungsinformationen
- English
- Configuring a wireless communication device with setting information
- French
- Configuration d'un dispositif de communication radio par des informations de réglage
Classification
- CPC, 6
- H04L63/062
- H04L61/5014
- H04W8/02
- H04W28/18
- H04W84/12
- H04W12/50
- IPC, 9
- H04L12 28
- G06F13 00
- H04L29 06
- H04L29 12
- H04W8 26
- H04W16 14
- H04W24 00
- H04W84 12
- H04W92 08
Designated states5
- Contracting states, 5
- Germany
- Spain
- France
- United Kingdom
- Netherlands (Kingdom of the)
