Wireless communication system, and wireless communication device and control method

Information

  • Patent Grant
  • 8131859
  • Patent Number
    8,131,859
  • Date Filed
    Tuesday, April 20, 2004
    20 years ago
  • Date Issued
    Tuesday, March 6, 2012
    12 years ago
Abstract
This invention has as its object to establish a wireless communication between wireless communication devices and to provide a desired service without any troublesome setup operations. To this end, a digital camera and printer of this invention have wireless communication functions. When it is determined that a wireless communication instruction is issued by a console of the digital camera, a beacon from a network is detected. Upon detection of the beacon, search request information used to confirm the presence of a wireless communication processing device on a network identified by network identification information included in the beacon is transmitted in accordance with that network identification information. If response information to this transmitted request information is detected, identification information of a partner wireless communication device included in the response information is stored, and is displayed to allow the user to select a connection target device.
Description
TECHNICAL FIELD

The present invention relates to a communication establishment technique between devices having wireless communication functions.


BACKGROUND ART

Normally, a host computer as a versatile information processing apparatus such as a personal computer or the like and a printer are connected by wire. Such wired connection adopts a USB cable, parallel cable (complying with the Centronics standards (USA)), Ethernet®, and the like.


In recent years, digital cameras have prevailed increasingly, and the recording quality of printers has improved as high as silver halide photos. Hence, there are many chances of printing images sensed by such digital camera by printers.


In order to print an image sensed by a digital camera, it is a common practice to transfer that image to a personal computer, and to print it by operating an application program that runs on the personal computer.


However, a digital camera user requires a personal computer when he or she wants to print sensed images, and much time and labor are required from when the user turns on the personal computer until he or she launches an application to print an image. Hence, such processes are far from an easy print process.


In consideration of such situation, the present applicant has proposed some techniques that directly connect a printer and digital camera by wire.


However, since such wired connection requires a connection cable as a matter of course, a demand has arisen for wireless information transmission, and wireless communications have begun to be used in communications between peripheral devices (e.g., printer—digital camera).


Hence, the current connection method of wireless communication devices between peripheral devices will be explained first.



FIG. 17 is a flow chart showing the conventional method upon searching for a printer to which data is to be transmitted from a digital camera when the adhoc mode of a wireless LAN is used as wireless communication means. FIG. 17 shows a flow chart executed when a new digital camera is brought into an existing wireless LAN communication system in the adhoc mode, and establishes connection to the printer.


Referring to FIG. 17, when the digital camera is connected to the printer in the adhoc mode, an ESSID (Extend Service Set Identify) is set in the digital camera (step S2501), a channel used in a wireless communication is set (step S2502), the adhoc mode as a wireless communication mode is set (step S2503), and devices on the wireless network are searched (step S2504). Then, the user selects a printer to be used in a print process from the devices on the wireless network (step S2505), thus establishing a communication channel.


However, in such prior art, in order to establish a wireless communication between wireless devices, parameters for the wireless communication must be set in respective wireless communication devices, and the user must select a desired partner device to communicate with from device names presented on the network. Hence, a wireless communication cannot be established unless the user makes complicated setup operations. Also, in case of wireless communication devices having a plurality of communication modes, a communication mode used to establish connection with a partner device must be taken into consideration, and knowledge about networks on some level is required, Therefore, such process is not for everyone.


DISCLOSURE OF INVENTION

The present invention has been made in consideration of the above situation, and has as its object to provide a wireless communication device which can establish a wireless communication between wireless communication devices and can provide a desired service without any complicated setup operations.


It is another object of the present invention to provide a wireless communication device which can establish wireless connection regardless of any communication mode.


In order to achieve such objects, for example, network identification information used at each frequency is detected by scanning beacons at respective frequencies, and a wireless communication device having a desired function is searched for using this network identification information. If the wireless communication device having a desired function is found, that wireless communication device is displayed as a selectable candidate, thus allowing the operator to select that device. These processes are repeated while sequentially changing the frequency until the operator's selection is made, thereby finding out a wireless communication device desired by the operator.


Also, by changing a search method depending on whether the received beacon is that in an adhoc communication mode or infrastructure communication mode, the operator can find a desired wireless communication device irrespective of a communication mode upon making a search.


Information associated with connection of a wireless communication device, the wireless communication to which has been established is stored, and is allowed to be re-used, thus saving time and labor when a communication is to be made again with the wireless communication device which has been communicated.


Upon searching for a new partner, wireless communication devices other than partners which have been communicated are searched, and a new partner can be quickly found out.


A wireless communication device that transmits an informing signal such as a beacon or the like appends device information of the self device to the informing signal upon transmission. A wireless communication device which is searching for a desired partner identifies the presence of a wireless communication device with a desired function on the basis of device information included in the received informing signal, and displays it as a selectable candidate, thus allowing an easy search of a communication partner.


Other features and advantages of the present invention will be apparent from the following description taken in conjunction with the accompanying drawings, in which like reference characters designate the same or similar parts throughout the figures thereof.





BRIEF DESCRIPTION OF DRAWINGS


FIG. 1 is a block diagram showing the overall wireless communication system which comprises wireless communication devices according to an embodiment of the present invention;



FIG. 2 is a block diagram showing the arrangement of a digital camera according to an embodiment of the present invention;



FIG. 3 is a block diagram showing the arrangement of a printer according to an embodiment of the present invention;



FIG. 4 is a block diagram showing the arrangement of a storage device according to an embodiment of the present invention;



FIGS. 5A to 5C are flow charts showing the operation of the digital camera according to the first embodiment of the present invention;



FIGS. 6A and 6B are flow charts showing the processing sequence of the printer according to the first embodiment of the present invention;



FIG. 7 is a flow chart showing the processing sequence of the digital camera according to the first embodiment of the present invention;



FIG. 8 is a flow chart showing the processing sequence of the digital camera according to the first embodiment of the present invention;



FIG. 9 is a flow chart showing the processing sequence of the digital camera according to the first embodiment of the present invention;



FIGS. 10A to 10C are flow charts showing the processing sequence of the digital camera according to the second embodiment of the present invention;



FIG. 11 is a flow chart showing the processing sequence of the digital camera according to the first embodiment of the present invention;



FIG. 12 is a flow chart showing the processing sequence of the digital camera according to the third embodiment of the present invention;



FIG. 13 is a flow chart showing the processing sequence of the printer according to the third embodiment of the present invention;



FIG. 14 shows the data format of network identification information according to the fourth embodiment of the present invention;



FIG. 15 is a flow chart showing the processing sequence of the printer according to the fourth embodiment of the present invention;



FIG. 16 is a flow chart showing the processing sequence of the digital camera according to the fourth embodiment of the present invention; and



FIG. 17 is a flow chart showing the control of a conventional wireless communication device.





BEST MODE FOR CARRYING OUT THE INVENTION

Respective embodiments according to the present invention will be described hereinafter with reference to the accompanying drawings. Note that a description about connection of network devices (a digital camera, printer, storage, and the like) will be given hereinafter. A print process and a designation & transmission process of an image to be saved on the digital camera side, a reception & print process and the like on the printer side are the same as those to be executed upon wired connection, and a description thereof will be omitted.


First Embodiment

The first embodiment will explain a case wherein a device search is conducted for all frequencies that can be received in an environment without any network setups.



FIG. 1 is a block diagram showing the overall arrangement of a wireless communication system in this embodiment.


Referring to FIG. 1, reference numerals 100a to 100c denote digital cameras which serve as communication devices on the information transmitting side having wireless communication means. Reference numerals 300a and 300b denote printers which serve as communication devices on the information receiving side having wireless communication means. Reference numeral 107 denotes a storage device which serves as a communication device on the information receiving side having wireless communication means.


The digital cameras 100a to 100c can make data communications using the wireless communication means among themselves or with the printers 300a and 300b and the storage device 107 via an access point 106 or directly.


Note that each printer is a device for printing image data transmitted from the digital camera, and the storage device is used to save (store) image data transmitted from the digital camera as a file.



FIG. 2 is a functional block diagram showing the functional blocks of a digital camera 200 (corresponding to 100a to 100c in FIG. 1). A console 210 of the digital camera is connected to a CPU controller 216 via a system controller 211, and comprises a shutter and various operation switches and buttons of the digital camera. An image sensing unit 202 is a block that senses an image upon depression of the shutter, and is processed by an image sensing processor 203. A display unit 206 is a block that presents information to the user by means of, e.g., LCD display, LED indication, audio presentation, and the like, and is processed by a display processor 207. Note that the console 210 and display unit 206 form a user interface of the digital camera.


A wireless communication function unit (IEEE802.11 in this embodiment) 204 is a block that makes wireless communications, and an RF unit 205 exchanges a wireless signal with another wireless communication device. A memory card I/F 208 is an interface used to connect a memory card 209, a USB I/F 212 is an interface used to connect an external device using USB, and an audio I/F 214 is an interface used to connect an audio signal with an external device. These functional blocks shown in this block diagram are processed under the control of the CPU 216. Programs to be controlled by the CPU are stored in a ROM 215 or flash ROM 213. Data to be processed by the CPU are written in or read out from a RAM 217, the flash ROM 213, or the memory card 209 via the memory card I/F 208.



FIG. 3 is a functional block diagram showing functional blocks of a printer 300 (300a or 300b shown in FIG. 1).


A console 310 of the printer is connected to a CPU controller 316 via a system controller 311, and includes a button used to establish a communication channel used in this embodiment and the like. A print engine 302 is a functional block which actually prints an image on a paper sheet, and is processed by a print processor 303. A paper feed unit 318 feeds a paper sheet, the print processor 303 executes a data print process, and an exhaust unit 319 exhausts the paper sheet. A display unit 306 is a block which presents information to the user by means of LCD display, LED indication, audio presentation, and the like, and is processed by a display processor 307. The console 310 and display unit 306 form a user interface of the printer.


A wireless communication function unit (IEEE802.11 in this embodiment) 304 is a block that makes wireless communications, and an RF unit 305 exchanges a wireless signal with another wireless communication device. A memory card I/F 308 is an interface used to connect a memory card 309, a USB I/F 312 is an interface used to connect an external device using USB, and a parallel I/F 314 is an interface used to connect an external device (e.g., a personal computer or the like) using a parallel communication. These functional blocks shown in this block diagram are processed under the control of the CPU 316. Programs to be controlled by the CPU are stored in a ROM 315 or flash ROM 313. Data to be processed by the CPU are written in or read out from a RAM 317, the flash ROM 313, or the memory card 309 via the memory card I/F 308.



FIG. 4 is a functional block diagram showing the functional blocks of a storage device 400 (corresponding to the storage device 107 in FIG. 1) in this embodiment.


A console 410 of the storage device 400 is connected to a CPU controller 416 via a system controller 411. A storage 402 is a functional block that stores or reads out data, and is processed by a storage processor 403. As the storage 402, a large-capacity storage device, i.e., a hard disk drive, is preferably used. In some cases, a media write drive for CD-R or CD-RW media, rewritable DVD media, MO media, and the like as relatively large-capacity, portable storage media may be used. A display unit 406 is a block which presents information to the user by means of LCD display, LED indication, audio presentation, and the like, and is processed by a display processor 407. An operation for selecting desired one of information displayed on the display unit 406 is made via the console 410. The console 410 and display unit 406 form a user I/F of the storage device 400.


A wireless communication function unit (IEEE802.11 in this embodiment) 404 is a block that makes wireless communications, and an RF unit 405 exchanges a wireless signal with another wireless communication device. A memory card I/F 408 is an interface used to connect a memory card 409 (to receive a memory card of the digital camera and to directly save data in that card), a USB I/F 412 is an interface used to connect an external device using USB, and an ETHER I/F 414 is an interface used to connect an external device using an ETHER communication. These functional blocks shown in this block diagram are processed under the control of the CPU 416. Programs to be controlled by the CPU are stored in a ROM 415 or flash ROM 413. Data to be processed by the CPU 416 are written in or read out from a RAM 417 or the flash ROM 413. The flash ROM 413 is a nonvolatile storage area, which stores wireless communication setup information and the like.


In the arrangements of the aforementioned devices, processes for printing images sensed by the digital camera using the printer and saving (storing) such images in the storage device are implemented via wireless communications.


The detailed operations of the devices in this embodiment will be described below.



FIGS. 5A to 5C are flow charts showing the control of the digital camera 200 of this embodiment.


In the following description, assume that the process shown in FIGS. 5A to 5C is done by the digital camera 200 for the sake of simplicity.


Assume that the user has selected the use of the printer 300 at the digital camera. Although not specified in FIGS. 5A to 5C, the digital camera 200 may have a user interface that allows the user to select a print mode.


Since the frequency or the like of the printer location is unknown upon searching for the printer 300, a frequency as an initial value is set in f, and 0 (zero) is set in variable n that stores the number of pieces of stored device identification information (step S501). A search request is sent to the wireless communication function unit 204 (step S502). The digital camera 200 repeats the following process as a search process.


It is checked if the search process is complete for all receivable frequencies (step S504). If frequencies to be received still remain, it is checked if the user has made a device selection process (step S505). If the user has not made a device selection process, it is then checked if the user has made a search abort process (step S506). If the user has not made a search abort process, Beacon signals are scanned and received for a predetermined period of time to acquire and collect SS-IDs and network identification information from the Beacon signals transmitted at the current frequency (step S507). Although not specified herein, passive and active scan modes are available as a scan reception mode. In case of the active scan mode, a Probe signal is output to receive a Beacon as a response. Upon completion of scan reception of the Beacons, a wireless establishment request to the network is transmitted in accordance with each collected SS-ID and network identification information (step S508). If wireless connection is OK (step S509), a device search request used to search for a wireless device with a desired function (e.g., a print function, storage function, or the like) is broadcasted (step S510). On the other hand, if wireless connection is NG, Beacon signals are received again (step S507).


Upon reception of a response to the device search request (step S511), device information and network identification information successively received as a response, and a frequency (channel) at that time are stored in the RAM 217 as a storage area (step S512).


Next, the stored device information is displayed (step S513). The frequency is changed (step S514) to repeat processes in steps S508 to S513 for all the collected SS-IDs and network identification information. If such repetitive processes are complete for all the frequencies (step S504), and if the number of pieces of stored device identification information is not 0 (zero) (step S527), a list of stored device information is displayed (step S528), and it is checked if the user has selected a device from the displayed list (step S529). If the user has selected a device, the flow advances to step S520; if selection has not been made for a predetermined period of time, the flow ends. On the other hand, if the user has made the device selection process during the repetitive processes in step S505, the flow advances to step S520. When the selection process has been made in step S505 or S529, if the device search process is in progress (step S520), the device search process is aborted (step S521). Then, network identification information is set for the selected device, and a wireless communication establishment request is transmitted (step S522). If wireless connection has succeeded (step S523), an image selection window used to select an image to be transmitted is displayed and a setup process (a setup process of the number of copies to be printed, print type, and the like) is made (step S524). Furthermore, a print job request based on the above setup is transmitted (step S525). On the other hand, if wireless connection has failed, a connection failure display is made (step S526).


The operation of the printer 300 will be described in detail below using FIGS. 6A and 6B.


In the printer, upon reception of an image data wireless reception instruction from the digital camera, it is checked if the wireless communication mode of the self device is an adhoc mode as direct connection (step S601) or an infrastructure mode that makes a communication via the access point 106 (step S605). If the printer operates in the adhoc mode, frequency f is set (step S602), network identification information is set (step S603), and Beacon transmission starts (step S604). On the other hand, in case of the infrastructure mode, frequency f is set (step S606), network identification information is set (step S607), and an associate process is executed (step S608). The control waits until the associate process with the access point 106 is completed (step S609). If the current wireless communication mode is neither the adhoc mode nor the infrastructure mode, a default wireless communication mode is set (step S615) to redo a communication process from the beginning.


After the process routine for either of the two modes, it is checked if a search request is detected (step S610). If the search request is detected, a device information response which includes the ID of the self device, printer name, serial number, vendor code, and the like is transmitted (step S611). The control then waits for a print job request (step S612). Upon reception of the print job request, data designated by that print job request is acquired and printed, and a status notification process that notifies of job progress status is executed (step S613). The control waits until the print job is completed (step S614).


Note that the processes of the digital camera and printer have been explained. Also, the same applies to processes between the digital camera and storage device, i.e., a case wherein image data sensed by the digital camera is wirelessly received, and is saved (stored) as a file. The processes of the storage device can be substantially the same as those shown in FIGS. 6A and 6B, except that it is checked in step S612 in FIG. 6B if a save request is detected, the data acquisition/save/status notification processes are made in step S613, and it is checked in step S614 if a save job is completed.


When the digital camera and printer (or storage) execute the aforementioned processes, the digital camera user need only issue a wireless communication establishment instruction. Hence, the location of a wireless LAN is detected by receiving Beacon signals, and parameters required for a wireless communication at that time are automatically set to search for a device, thus simplifying the setup process required for the wireless communication. Every time a device is found, identification information of that device is displayed on the display unit 206. If a target device is displayed, the user can select that device to abort the subsequent search process, and can immediately make a transmission procedure of a sensed image.


A process for setting the adhoc mode as direct connection or the infrastructure mode that makes a communication via the access point 106 as the wireless communication mode used upon searching for device information by the digital camera 200 without any special operation will be explained below with reference to the flow chart of FIG. 11.


Upon detection of the operation of a wireless connection instruction button (not shown) on the user interface of the digital camera 200, a search timer used in a device search process is started (step S1100). The following processes are repeated until either of the following two conditions is met, i.e., until the search timer reaches a time-out (step S1101) or search processes for all the frequencies are completed (step S1102).


An attempt is made to detect a Beacon (step S1103). Since the digital camera 200 can identify based on the signal contents if the Beacon signal has come from a station or access point) (steps S1105 and S1106), if the Beacon signal has come from the station, wireless connection is established to receive an assigned IP address (step S1109), and a device search broadcast request is set and transmitted to the partner station (printer or storage) (step S1110). If a response is detected (step S1111), device information included in the response contents is displayed, and is stored in the flash ROM 213 as a nonvolatile memory (step S1112). On the other hand, if the Beacon signal has come from the access point, an associate process with the access point is executed to receive an assigned IP address (step S1107), and a device search broadcast request is set and transmitted to the access point (step S1108). If a response to that request is detected, device information included in the response contents is displayed, and is stored in the flash ROM 213 as a nonvolatile memory in step S1112. After that, the frequency is changed (step S1113) to repeat the processes in step S1101 and subsequent steps until the search timer reaches a time-out or search processes for all the frequency are completed.


Detailed processes executed when the digital camera 200 acquires device information will be described below with reference to the flow charts of FIGS. 7, 8, and 9.



FIG. 7 shows processes (a part of the process in step S1112 in FIG. 11) executed when the acquired device information is stored in a nonvolatile memory (flash ROM in this embodiment). Since the capacity of the nonvolatile memory is limited, the number m of pieces of device information currently stored in the nonvolatile memory is checked (step S700). Next, the maximum number n of pieces of device information that can be stored in the nonvolatile memory is set as MAXMEM (step S701). It is checked if m≦n, i.e., if another device information can be stored (step S702). If another device information can be stored, device information which is acquired by the device search request and is stored in a device information storage area is written in the flash ROM 213 (step S703). Then, m indicating the number of pieces of currently stored device information is incremented by 1 (step S704) to repeat these process until m reaches n. If the maximum number of pieces of device information that can be stored has been reached (step S705), information “full of device information” is displayed as a warning message (step S706), thus ending the process.



FIG. 8 shows processes executed when it is checked if a communication has succeeded, and only device information corresponding to the successful communication is stored in the flash ROM upon storing the acquired device information in the nonvolatile memory (flash ROM 213). The contents of the device information storage area are read out (step S800). The device information storage area stores information indicating if a communication has succeeded to form a pair with the device information. If the device information corresponds to that of a successful communication device (step S801), the contents of the device information storage area are written in the flash ROM 213 as a nonvolatile memory (step S802).



FIG. 9 shows an example when means that prompts the user to select whether or not the device information of the wireless communication device of interest is registered is provided after a communication. Upon completion of a communication (S900), a window that prompts the user to select whether or not the device information of interest is to be registered is displayed (S901). If the user selects registration, the contents of the device information storage area are read out (S902), and are written in the nonvolatile memory (S903).


In this way, after device information is searched, such information is stored as history information, thus designating a device to be connected within a short period of time upon making a second search process. Also, since the user can select whether or not device information is to be registered after completion of a communication, he or she can make selection of non-registration when that device is to be temporarily used in the flow of a series of communication processes, thus improving the operability. Hence, an effect unique to this embodiment can be provided.


In the above description, the flash ROM has been exemplified as nonvolatile storage means (nonvolatile memory). Also, the same result can be obtained if information is stored in the memory card 209.


Second Embodiment

The second embodiment of the present invention will be described below. In the second embodiment, the detailed operation of the digital camera 200 which has a history search mode that searches history for a device to communicate with (without any wireless communication for the search process in practice), and a new search mode that searches for a new device will be described below using the flow chart of FIGS. 10A to 10C.


Upon operation of a device search instruction button (one of history search and new search buttons) of the digital camera, the number m of pieces of already stored history information (device identification information, SSIDs, and the like) is set, counter i indicating an index of a device information table stored in a history information storage area is reset to 0 (zero), and history information such as identification information, SSID at that time, and the like of each previously connected device (printer or storage), which is stored in the flash ROM 213, is stored in an area assured in the RAM 217. At this time, the power supply of the wireless communication function unit 204 is OFF.


Assume that a new search mode is selected as a search mode (step S1001). In case of the new search mode, the power supply of the wireless unit is immediately turned on, and a timer that measures a search time is started (step S1002). If a Beacon is detected during the search process (step S1003), it is compared if the history information stored in the history information area matches network identification information (SSID) of the detected Beacon (steps S1004, S1005, S1006, and S1007).


In is checked in steps S1004 to S1006 if history information stored in the history information area matches network identification information indicated by the Beacon detected in step S1003. If i≧m, it is determined that new connection must be established to a network indicated by the currently detected Beacon. In step S1009, a device search request is broadcasted via that network, and device identification information and network identification information detected at that time are stored in the history information area and are also registered in the flash ROM 213. In this case, m is incremented by 1. Then, that device identification information is displayed (step S1010).


If network identification information that matches the stored one is found, since it indicates that the detected network identification information has already been stored as history information, variable i is reset to 0 in step S1007, and next new network identification information is set, thus repeating a search process for information that does not match history information.


In this way, the device search process is repeated until the timer reaches a time-out.


If it is determined that the timer has reached a time-out, it is checked if one or more devices can be found by search (step S1020). If no device is found, an error message that advises accordingly is displayed (step S1021), and the power supply of the wireless unit is turned off (step S1022), thus ending this process.


If it is determined that one or more devices are found, the flow advances to step S1023, and the user interface of the digital camera displays a list of device information and prompts the user to select one device from the list. It is checked in step S1024 if a communication is established to the selected device (step S1024). If connection is NG, the flow advances to step S1021. On the other hand, if it is determined that a wireless communication can be established, an output process of required image data is executed for that device (printer or storage) (step S1025). Upon completion of output of a desired image (or a plurality of images), the flow advances to step S1022 to turn off the power supply of the wireless unit.


On the other hand, if it is determined in step S1001 that the history search mode is selected, the following process is executed.


Index i to the history table is set to be an initial value (step S1011) to repeat the subsequent processes until a device selection process is done (yes in step S1014) or the process is to end (abort process; yes in S1016).


History information area[i] is set to be the current device identification information, and that information is displayed on the display unit 206 (steps S1012 and S1013). The user can select that displayed device (step S1014), “end” (step S1016), or to display the next device (step S1017). If the displayed device is selected, the power supply of the wireless communication function unit 204 is turned on (step S1015). The flow then advances to step S1024 to try to establish connection using the identification information and SSID of the selected device. The subsequent processes are the same as those described above.


If the user selects “end” (S1016), the flow advances to step S1021 to display an error message indicating an abort process.


Steps S1018 and S1019 are processes for switching device information to be displayed. In this case, device information to be displayed is switched by pressing one of right and left keys. Of course, the present invention is not limited to such specific operation.


In this manner, since the new search mode and history search mode are provided upon searching for device information, power ON/OFF of the wireless unit can be flexibly controlled in accordance with the selected mode, and the power supply of the wireless unit is turned on only when a wireless communication is required, thus expecting to obtain a power saving effect in addition to the first embodiment.


When the new search mode is selected in FIGS. 10A to 10C, the same processes as in the first embodiment may be executed.


Also, since the processes shown in FIGS. 6A and 6B need only be executed as those on the printer or storage side, a description thereof will be omitted.


Third Embodiment

The third embodiment will be described below. The third embodiment will explain a case wherein identical network identification information (SSID) is set in both the two wireless communication devices, i.e., the digital camera 200 and printer 300.


The operation of the digital camera 200 in this embodiment will be described first with reference to the flow chart of FIG. 12.


Upon detection of an operation of a predetermined button that instructs to start a wireless communication process, it is checked if network identification information has already been set and registered in the flash ROM (step S1200). If no network identification information is set, a warning message “network setup information is not available” or the like is displayed (step S1203), thus ending this process.


If it is determined that network identification information has already been set and registered, it is checked if the communication mode of the set information is an adhoc mode (step S1201). If the communication mode of the set data is an adhoc mode, a search timer is started, and a Beacon whose network identification information matches is detected (step S1205) until the search timer reaches a time-out (step S1204). If the timer has reached a time-out and no such Beacon is detected, it is determined that the wireless unit of a communication partner is OFF, and an error message “check the power supply of the partner device” or the like is displayed (step S1206). If a plurality of devices that transmit an identical Beacon is found upon detecting the Beacon (step S1207), a device search request is transmitted to these devices (step S1208). If a device information response is detected (step S1209), device information in that response is displayed (step S1210). The user selects a device to which he or she wants to establish connection from the displayed device information list (step S1212), thus establishing wireless connection and a communication channel (step S1213). On the other hand, if no device information response is detected, a warning message “partner device is BUSY/incompatible function” is displayed (step S1211). Furthermore, if only one device is found (step S1207), wireless connection and a communication channel are established (step S1213).


The operation of the printer 300 in the third embodiment will be described below with reference to the flow chart of FIG. 13.


When the power supply of the printer is turned on (step S1300), it is determined by checking the flash ROM 313 if network identification information has already been set (step S1301). If no network identification information is set, an error message “network setup information is not available” or the like is displayed (step S1305), thus ending this process.


If the set information is available, the power supply of the wireless communication unit 304 is turned on (step S1302), and it is confirmed if the communication mode of the set information is an adhoc mode (step S1303). If the communication mode is an adhoc mode, transmission of a Beacon (informing signal) is started (step S1304), and the control waits for reception of a device search request (step S1306). Upon reception of the device search request, a device search response is transmitted (step S1307). The control then waits for a connection request (step S1308), and a wireless communication channel is established and a data communication is made in accordance with the received connection request (step S1039). A print process is executed in this step S1309.


Note that the processes of the printer have been exemplified, and the same applies to the storage device.


As described above, according to the third embodiment, a common network connection setup is made in at least both the digital camera and printer, and network connection is established with a device which matches the commonly set network information, thus easily building a situation that allows digital camera —printer communications. Note that the user can change the operation mode and the like upon giving instruction information.


Also, this embodiment is effective when the above information is set as default values at the factory upon manufacturing the products of the digital camera 200 and printer 300, so as to obviate the need for user's troublesome network setup operations and to eliminate setup errors in practice.


When a digital camera—printer wireless communication start instruction is input as in the above example, both the devices are preferably set in the adhoc mode. This is because the printer described in this embodiment is ready to receive print data from, e.g., a host computer in a normal state, and the infrastructure mode is normally set as the wireless communication mode. That is, since the printer is normally set in the infrastructure mode, a one-to-one communication situation is more likely to be obtained by setting the adhoc mode, thus quickly establishing a communication between these devices.


Fourth Embodiment

The fourth embodiment of the present invention will be described below. The fourth embodiment will exemplify a case wherein the time required for the device search process is shortened and a connection target range is narrowed down by setting the type of device to communicate with in network identification information.



FIG. 14 shows network identification information of this embodiment, FIG. 15 shows the processing sequence of the printer 300 of the fourth embodiment, and FIG. 16 shows the processing sequence of the digital camera 200 of the fourth embodiment.


The network identification information shown in FIG. 14 will be described first. The network identification information consists of an M-bit predetermined value field (FIXED) and an N-bit field that can be used freely. In this embodiment, DeviceInformation (device class information) is assigned to respective bits of that freely usable N-bit field. FIG. 14 shows a case wherein the N-bit field contains bit information indicating a FAX/display/storage/camera/printer.


The operation of the printer 300 will be described below with reference to FIG. 15.


The printer 300 reads out device information (step S1500). Since the self device is a printer, “1” is set in a bit indicating a printer in DeviceInformation shown in FIG. 14 (steps S1501 and S1502). Then, a Beacon that contains this DeviceInformation and a network identifier is transmitted (step S1503), and the control waits for reception of a device information search request (step S1504). Upon reception of the search request, the flow advances to step S1307 in FIG. 13.


The operation of the digital camera 200 will be described below with reference to FIG. 16.


It is checked if an output destination required to execute a process that the user designates via the user interface of the digital camera is a printer or storage (steps S1600 and S1601). According to this instruction, a printer bit or storage bit is set as search device information (step S1602 or S1603).


An informing signal is received for a predetermined period of time, and device information (DeviceInformation field) of network identification information in that signal is checked. In this case, it is checked if the bit information previously set as the search device information matches this device information (step S1605). If matched devices are found, a list of such devices is selectably displayed (step S1606). After that, the user selects one device from the list, and wireless connection is established in practice.


In this way, since the type of partner device (printer/camera/storage/display/FAX) can be identified at the time of reception of network identification information before establishing wireless connection, a device search process can be conducted for only devices having a function selected by the user from a function menu (print/save/display, etc.). Hence, time required until a desired device is found can be shortened.


Other Embodiments

In the above embodiments, the wireless LAN (e.g., IEEE802.11a/b/g/h, etc.) has been exemplified as a wireless communication. Also, the present invention can be similarly applied to other wireless communication protocols (Bluetooth, UWB (Ultra Wide Band), and the like), and the wireless unit is not particularly limited.


In the above embodiments, the digital camera outputs an image to the printer, which prints that image, and the digital camera outputs an image to the storage, which stores that image. Also, the aforementioned technique can be applied when an image stored in a given digital camera is to be stored in another digital camera, when an image stored in the storage is output to the printer to print it out, and so forth. In this case, the processes explained in the above embodiments can be executed as those of the transmitting and receiving devices.


As described above, according to the embodiments of the present invention, even a novice user can establish a communication between wireless communication devices and can enjoy a desired service by setting information required for a wireless communication irrespective of a user's instruction without any user's troublesome setup operations upon connecting the wireless communication devices via a wireless communication.


As described above, according to the embodiments of the present invention, a wireless communication between wireless communication devices can be established, and a desired service can be provided without any troublesome setup operations.


As many apparently widely different embodiments of the present invention can be made without departing from the spirit and scope thereof, it is to be understood that the invention is not limited to the specific embodiments thereof except as defined in the claims.

Claims
  • 1. A wireless communication device comprising: a network detection unit adapted to detect a plurality of wireless networks;a network connection unit adapted to connect to one or more of the wireless networks detected by the network detection unit;a printer searching unit adapted to search for one or more printers having a predetermined print function within each wireless network connected to by the network connection unit;a network changing unit adapted to, when the printer searching unit completes searching for the one or more printers having the predetermined print function within a wireless network connected to by the network connection unit, change the wireless network connected to by the network connection unit to another wireless network detected by the network detection unit, to search for the one or more printers having the predetermined print function within the other wireless network connected to by the network connection unit;a display unit adapted to selectably display printer information associated with one or more printers detected by the printer search unit, every time the printer search unit detects one of the one or more printers having the predetermined print function;an aborting unit adapted to abort the searching by the printer searching unit, when an operator selects a printer associated with information displayed by the display unit; anda printer connection unit adapted to, when the operator selects the printer associated with the information displayed by the display unit, connect to one of the plurality of wireless networks including the selected printer and connect to the selected printer.
  • 2. The device according to claim 1, further comprising: a storage unit that stores, in a memory, identification information of the one or more printers detected by the printer searching unit,wherein the display unit selectably displays the identification information stored in the memory.
  • 3. The device according to claim 1, wherein the wireless communication device is an image sensing device or a storage device for executing a storage process of a sensed image.
  • 4. The device according to claim 1, wherein, when the one or more printers having the predetermined print function are not detected, no signal is received in response to a search signal within a predetermined period of time, and an error display is made.
  • 5. The device according to claim 1, further comprising: a determination unit adapted to determine if a detected beacon signal is in an ad hoc communication mode or in an infrastructure communication mode, and,when the determination unit determines that the detected beacon signal is in the ad hoc communication mode, the printer searching unit transmits a search signal for searching for the printer having the predetermined print function toward a printer that sent the detected beacon signal, and,when the determination unit determines that the detected beacon signal is in the infrastructure mode, the network connecting unit connects to an access point that sent the detected beacon signal and the printer searching unit transmits the search signal toward the access point.
  • 6. The device according to claim 1, further comprising a registration unit adapted to register, in a memory, information associated with the printer connected to by the printer connection unit in accordance with an indication by the operator.
  • 7. The device according to claim 6, further including a mode for executing a process for establishing a wireless communication based on the information registered by said registration unit.
  • 8. A method performed by a wireless communication device, the method comprising: detecting a plurality of wireless networks;connecting to one or more of the wireless networks detected by the network detection unit;searching for one or more printers having a predetermined print function within each wireless network connected to;when the searching for the one or more printers having the predetermined print function within a wireless network completes, connecting to another wireless network detected by the detecting, to search for the one or more printers having the predetermined print function within the other wireless network connected to by the network connection unit;displaying printer information associated with the one or more printers detected by the searching, every time one of the one or more printers having the predetermined print function is detected by the searching;when an operator selects a printer associated with information displayed by the displaying, aborting the searching; andwhen the printer associated with the information displayed by the displaying is selected, connecting to one of the plurality of wireless networks including the selected printer and connecting to the selected printer.
Priority Claims (1)
Number Date Country Kind
2003-118834 Apr 2003 JP national
PCT Information
Filing Document Filing Date Country Kind 371c Date
PCT/JP2004/005600 4/20/2004 WO 00 9/29/2005
Publishing Document Publishing Date Country Kind
WO2004/098128 11/11/2004 WO A
US Referenced Citations (194)
Number Name Date Kind
4905234 Childress et al. Feb 1990 A
5261117 Olson Nov 1993 A
5687320 Wiley et al. Nov 1997 A
5699495 Snipp Dec 1997 A
5818603 Motoyama Oct 1998 A
5937148 Okazawa Aug 1999 A
6000864 Hanada Dec 1999 A
6065123 Chou et al. May 2000 A
6091515 Kimura Jul 2000 A
6104886 Suzuki et al. Aug 2000 A
6115137 Ozawa et al. Sep 2000 A
6148198 Anderson et al. Nov 2000 A
6157465 Suda et al. Dec 2000 A
6163816 Anderson et al. Dec 2000 A
6308227 Kumar et al. Oct 2001 B1
6353599 Bi et al. Mar 2002 B1
6445412 Shiohara Sep 2002 B1
6446108 Rosenberg et al. Sep 2002 B1
6477570 Takayama et al. Nov 2002 B1
6493104 Cromer et al. Dec 2002 B1
6522881 Feder et al. Feb 2003 B1
6529522 Ito et al. Mar 2003 B1
6552743 Rissman Apr 2003 B1
6553431 Yamamoto et al. Apr 2003 B1
6577338 Tanaka et al. Jun 2003 B1
6584311 Sorenson et al. Jun 2003 B1
6603506 Ogawa et al. Aug 2003 B2
6618553 Shiohara Sep 2003 B1
6631008 Aoki Oct 2003 B2
6633757 Hermann et al. Oct 2003 B1
6650795 Motta Nov 2003 B1
6665712 Pickup Dec 2003 B2
6693665 Shindo et al. Feb 2004 B1
6771896 Tamura et al. Aug 2004 B2
6778827 Anderson et al. Aug 2004 B1
6782260 Nakakita et al. Aug 2004 B2
6813037 Collard Nov 2004 B1
6816067 Patton Nov 2004 B2
6820126 Sibecas et al. Nov 2004 B2
6823198 Kobayashi Nov 2004 B2
6839757 Romano et al. Jan 2005 B1
6862594 Saulpaugh et al. Mar 2005 B1
6867882 Takahashi Mar 2005 B1
6876382 Sakamoto Apr 2005 B1
6920506 Barnard et al. Jul 2005 B2
7038714 Parulski et al. May 2006 B1
7042496 Sato May 2006 B2
7062579 Tateyama et al. Jun 2006 B2
7072053 Guddanti Jul 2006 B2
7072056 Greaves et al. Jul 2006 B1
7088691 Fujita Aug 2006 B2
7102640 Aholainen et al. Sep 2006 B1
7103313 Heinonen et al. Sep 2006 B2
7103357 Kirani et al. Sep 2006 B2
7106357 Fukuda et al. Sep 2006 B2
7120129 Ayyagari et al. Oct 2006 B2
7162507 Carter Jan 2007 B2
7190471 Sandfort et al. Mar 2007 B2
7191236 Simpson-Young et al. Mar 2007 B2
7239416 Ohmura et al. Jul 2007 B2
7256906 Nakajima Aug 2007 B2
7295524 Gray et al. Nov 2007 B1
7324462 Page et al. Jan 2008 B1
7324805 Nakakita et al. Jan 2008 B2
7343086 Shiohara Mar 2008 B2
7346268 Shiohara Mar 2008 B2
7346269 Shiohara Mar 2008 B2
7372485 Bodnar et al. May 2008 B1
7379660 Shiohara May 2008 B2
7389448 Sakai Jun 2008 B2
7411607 Kikugawa Aug 2008 B2
7424532 Subbiah Sep 2008 B1
7440459 Casati Oct 2008 B2
7450824 Shiohara Nov 2008 B2
7450825 Shiohara Nov 2008 B2
7455229 Tanaka Nov 2008 B2
7466357 Myojo Dec 2008 B2
7474839 Shiohara Jan 2009 B2
7479984 Tanaka et al. Jan 2009 B2
7502049 Aichi et al. Mar 2009 B2
7502855 Swanson et al. Mar 2009 B2
7519697 Matsukura Apr 2009 B2
7523212 Woolf et al. Apr 2009 B2
7535588 Wang et al. May 2009 B2
7545406 Itsukaichi Jun 2009 B2
7557827 Ishiyama et al. Jul 2009 B2
7561782 Shiohara Jul 2009 B2
7576779 Tanaka et al. Aug 2009 B2
7600050 Aritomi Oct 2009 B2
7664081 Luoma et al. Feb 2010 B2
7719699 Tojo May 2010 B2
7719706 Suga et al. May 2010 B2
7719707 Onuma et al. May 2010 B2
7720929 Morohashi May 2010 B2
7804520 Suehiro Sep 2010 B2
7830411 Shiohara Nov 2010 B2
7864350 Endo et al. Jan 2011 B2
7876358 Yamada et al. Jan 2011 B2
7880910 Aichi et al. Feb 2011 B2
7881715 Kirani et al. Feb 2011 B2
7889385 Toda Feb 2011 B2
7936918 Silverbrook et al. May 2011 B2
7949223 Shiohara May 2011 B2
7961345 Yano et al. Jun 2011 B2
7969467 Matsutani Jun 2011 B2
7983523 Shiohara Jul 2011 B2
20010003191 Kovacs et al. Jun 2001 A1
20010029531 Ohta Oct 2001 A1
20010048534 Tanaka et al. Dec 2001 A1
20020026492 Fujita Feb 2002 A1
20020029277 Simpson-Young et al. Mar 2002 A1
20020030840 Itaki Mar 2002 A1
20020032748 Myojo Mar 2002 A1
20020041388 Aoki Apr 2002 A1
20020046228 Scheifler et al. Apr 2002 A1
20020048455 Tamura Apr 2002 A1
20020062407 Tateyama et al. May 2002 A1
20020075229 Ito et al. Jun 2002 A1
20020080250 Ogawa et al. Jun 2002 A1
20020093682 Nakajima Jul 2002 A1
20020097423 Qiao Jul 2002 A1
20020105678 Shiraiwa Aug 2002 A1
20020120750 Nidd Aug 2002 A1
20020138671 Struble Sep 2002 A1
20020147819 Miyakoshi et al. Oct 2002 A1
20020161740 Nakamura Oct 2002 A1
20020180879 Shiohara Dec 2002 A1
20020194417 Suzuki Dec 2002 A1
20030002073 Berkema et al. Jan 2003 A1
20030003933 Deshpande et al. Jan 2003 A1
20030014446 Simpson Jan 2003 A1
20030016378 Ozawa et al. Jan 2003 A1
20030041102 Simpson Feb 2003 A1
20030050963 Lamming et al. Mar 2003 A1
20030056133 Talley Mar 2003 A1
20030078965 Cocotis et al. Apr 2003 A1
20030081237 Ogiwara et al. May 2003 A1
20030081251 Tanaka et al. May 2003 A1
20030123840 Fujinami Jul 2003 A1
20030142016 Pickup Jul 2003 A1
20030156200 Romano et al. Aug 2003 A1
20030156567 Oak Aug 2003 A1
20030185613 Guddanti Oct 2003 A1
20030208595 Gouge et al. Nov 2003 A1
20040003060 Asoh et al. Jan 2004 A1
20040009769 Yokoyama Jan 2004 A1
20040019671 Metz Jan 2004 A1
20040021781 Iida Feb 2004 A1
20040039811 Nakamura et al. Feb 2004 A1
20040095469 Lin May 2004 A1
20040102192 Serceki May 2004 A1
20040102977 Metzler et al. May 2004 A1
20040137855 Wiley et al. Jul 2004 A1
20040150724 Nozaki et al. Aug 2004 A1
20040167974 Bunn et al. Aug 2004 A1
20040169730 Tamura et al. Sep 2004 A1
20040187157 Chong et al. Sep 2004 A1
20050001024 Kusaka et al. Jan 2005 A1
20050007617 Tanaka et al. Jan 2005 A1
20050066197 Hirata et al. Mar 2005 A1
20050122539 Sugimoto Jun 2005 A1
20050128968 Yang Jun 2005 A1
20050174357 Wang Aug 2005 A1
20050270556 Shimamura Dec 2005 A1
20060025076 Yu Feb 2006 A1
20060033812 Yoshida et al. Feb 2006 A1
20060077455 Watanabe Apr 2006 A1
20060105714 Hall et al. May 2006 A1
20060111103 Jeong et al. May 2006 A1
20060133414 Luoma et al. Jun 2006 A1
20060183477 Bocking et al. Aug 2006 A1
20060197976 Oka Sep 2006 A1
20060200564 Watanabe et al. Sep 2006 A1
20060206592 Fujii et al. Sep 2006 A1
20060212610 Nago et al. Sep 2006 A1
20060212611 Fujii et al. Sep 2006 A1
20060242304 Hirose et al. Oct 2006 A1
20060252413 Ikeda Nov 2006 A1
20070013781 Kageyama et al. Jan 2007 A1
20070030516 Tsuji et al. Feb 2007 A1
20070060213 Yoshida Mar 2007 A1
20070120955 Shimosato May 2007 A1
20070153317 Klein Jul 2007 A1
20070217332 Nakahara Sep 2007 A1
20070220255 Igarashi Sep 2007 A1
20070223046 Shiraiwa Sep 2007 A1
20070223670 Ido Sep 2007 A1
20070233834 Hattori et al. Oct 2007 A1
20080068658 Chen Mar 2008 A1
20090025081 Quigley et al. Jan 2009 A1
20090177801 Chambers, Jr. et al. Jul 2009 A1
20090179991 Mohammad Jul 2009 A1
20090241072 Chaudhri et al. Sep 2009 A1
20090323108 Shimma Dec 2009 A1
Foreign Referenced Citations (29)
Number Date Country
1 022 876 Jul 2000 EP
1 117 221 Jul 2001 EP
1117221 Jul 2001 EP
1133208 Sep 2001 EP
1 229 724 Aug 2002 EP
2 354 832 Apr 2001 GB
10-341303 Dec 1998 JP
11-008625 Jan 1999 JP
11-239312 Aug 1999 JP
2001-144767 May 2001 JP
2002-94531 Mar 2002 JP
2002-094604 Mar 2002 JP
2002-159053 May 2002 JP
2002-185462 Jun 2002 JP
2002-234232 Aug 2002 JP
2002-244829 Aug 2002 JP
2002-330142 Nov 2002 JP
2002345027 Nov 2002 JP
2002-373130 Dec 2002 JP
2003-373130 Dec 2002 JP
2003-085548 Mar 2003 JP
2003-091467 Mar 2003 JP
2004-110884 Apr 2004 JP
1989-0001306 Feb 1992 KR
WO 0137497 May 2001 WO
WO 0193514 Dec 2001 WO
WO 2004095778 Nov 2004 WO
WO 2004098128 Nov 2004 WO
WO 2007007758 Oct 2007 WO
Related Publications (1)
Number Date Country
20060206592 A1 Sep 2006 US