Communication device, control method thereof, and program

The communication device optimizes network switching by determining application needs, maintaining connectivity, and reducing user effort by automatically switching between communication methods, addressing the inconvenience of repeated setup procedures.

JP7542976B2Active Publication Date: 2024-09-02CANON KK
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2020057794
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-03-27
Publication Date
2024-09-02
Estimated Expiration
2040-03-27

AI Technical Summary

Technical Problem

Existing communication devices, such as digital cameras, cannot seamlessly switch between communication methods when switching applications, leading to inconvenience when Internet access is not required, necessitating repeated setup procedures.

Method used

A communication device that switches between communication methods (e.g., Bluetooth and wireless LAN) based on application needs, maintaining connectivity while optimizing power usage and reducing user effort by determining the necessity of disconnecting from networks.

Benefits of technology

Enables efficient and user-friendly switching between applications without losing network connectivity, allowing seamless communication and reducing the need for manual reconnection when Internet access is not required.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007542976000005
    Figure 0007542976000005
  • Figure 0007542976000004
    Figure 0007542976000004
  • Figure 0007542976000007
    Figure 0007542976000007
Patent Text Reader

Abstract

To be capable of using an appropriate network when switching an application while participating in a network that is not able to access to the Internet.SOLUTION: A communication apparatus that is able to participate in a network, includes: first communication means configured to establish communication with a data processing apparatus via the network and perform data communication with the data processing apparatus according to a first communication method; reception means configured to receive an instruction for switching an application; and determination means configured to, in a case where the reception means has received the instruction for switching the application while the first communication means has established communication with the data processing apparatus, determine whether another application indicated as a switching destination by the received instruction for switching the application requires connection to the Internet. Control means is configured to control whether to cut off the established communication, which uses the first communication method, depending on a result of the determination performed by the determination means.SELECTED DRAWING: Figure 9
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a communication device that communicates with other devices via a network. [Background technology]

[0002] There is known a technology for equipping a data processing device such as a digital camera with a wireless communication function and transmitting image data held in the data processing device to an external device (Patent Document 1). By using this function, it is possible to transmit image data to an external device more easily.

[0003] Recently, digital cameras equipped with a simple access point function have also become known. When a digital camera activates the simple access point function, other devices detect the digital camera as an access point and join the network formed by the digital camera. This makes it easy for the digital camera to communicate with other devices.

[0004] A relay device such as a commonly used access point has a line connected to a public network, etc., and can perform communication via the Internet. On the other hand, a data processing device such as a digital camera does not have a line connected to a public network, etc. Therefore, even if the device participates in a network formed by a simple access point function, there may be cases where the device cannot communicate with an external network such as the Internet. In particular, some recent smartphones are controlled by the OS so that data communication using a public network is not possible while the device participates in a network formed by an access point. In order to solve this problem, it has been proposed to leave the network of the simple access point when a communication application for communicating with the data processing device is interrupted (Patent Document 2). [Prior art documents] [Patent documents]

[0005] [Patent Document 1] JP 2007-166577 A [Patent Document 2] JP 2014-86844 A Summary of the Invention [Problem to be solved by the invention]

[0006] According to the method disclosed in Patent Document 2, when a communication device is switched from a communication application to another application, the application to which the communication device is switched can use an external network. However, it is not necessarily necessary to leave the simple access point network regardless of the application. For example, when an application is switched to one in which the use of the Internet is not expected, it is considered that no problem will occur even if the state of participation in the simple access point network is maintained. Even in such a case, if the application is left from the simple access point network, when the user wants to communicate with the data processing device again, the procedure for enabling communication with the data processing device must be performed again, which may be troublesome. Therefore, the present invention aims to enable the user to use an appropriate network when switching applications while participating in a network in which the Internet cannot be used. [Means for solving the problem]

[0007] A communication device of the present invention is a communication device capable of participating in a network, the communication device having a first communication means for establishing communication with a data processing device via the network and performing data communication with the data processing device in accordance with a first communication method; a second communication means for performing data communication with the data processing device according to a second communication method having a communication speed slower than that of data communication according to the first communication method;The data processing device includes a control means for controlling to establish communication in the first communication method by any one of a plurality of procedures including a first procedure and a second procedure requiring a larger amount of user operation to establish communication in the first communication method compared to the first procedure, and further controlling execution of a plurality of applications including an application for communicating with the data processing device, a receiving means for receiving an instruction to switch the applications, and a determining means for determining whether or not the application to be switched to that has received the switching instruction requires a connection to the Internet when the instruction to switch the applications is received in a state in which communication with the data processing device has been established via the first communication means, and the control means controls whether or not to disconnect communication in the first communication method depending on a result of the determination by the determining means and the procedure in which communication in the first communication method was established, and the first procedure includes: a means for establishing communication in the first communication method based on information communicated with the data processing device in the second communication method, the second procedure being a means for establishing communication in the first communication method based on information input by a user operation; The control means determines the result of the determination by the determination means. and in response to the procedure in which communication in the first communication method is established being the first procedure. disconnecting the communication in the first communication method, and in response to the procedure in which communication in the first communication method is established being the second procedure. The present invention is characterized in that the communication in the first communication method is not disconnected. Effect of the Invention

[0008] According to the present invention, when switching applications while participating in a network in which the Internet is not available, it is possible to make it possible to use an appropriate network. [Brief description of the drawings]

[0009] [Figure 1] 1 is a block diagram showing a configuration of a digital camera according to a first embodiment. [Diagram 2] FIG. 1A is a block diagram showing a configuration of a mobile phone in a first embodiment, and FIG. 1B is an example of an external view of the mobile phone in the first embodiment. [Diagram 3] FIG. 1 is a diagram illustrating a network configuration in a first embodiment. [Figure 4] 5 is a flowchart showing the operation of the digital camera according to the first embodiment. [Diagram 5] 3 is an example of a display screen according to the first embodiment. [Figure 6] 5 is a flowchart showing the operation of the mobile phone in the first embodiment. [Figure 7] 5 is a flowchart showing the operation of the digital camera according to the first embodiment. [Figure 8] 5 is a flowchart showing the operation of the mobile phone in the first embodiment. [Figure 9] 5 is a flowchart showing the operation of the mobile phone in the first embodiment. [Figure 10] 3 is an example of a display screen according to the first embodiment. [Figure 11] 5 is a flowchart showing the operation of the digital camera according to the first embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

[0011] The embodiment described below is an example of a means for realizing the present invention, and may be appropriately modified or changed depending on the configuration of the device to which the present invention is applied and various conditions. Also, each embodiment may be appropriately combined.

[0012] [First embodiment] <Digital camera configuration> 1 is a block diagram showing an example of the configuration of a digital camera 100, which is an example of a data processing device according to this embodiment. Note that, although a digital camera is described here as an example of a data processing device, the data processing device is not limited to this. For example, the data processing device may be an information processing device such as a portable media player, a so-called tablet device, or a personal computer.

[0013] The control unit 101 controls each unit of the digital camera 100 in accordance with input signals and programs described below. Note that instead of the control unit 101 controlling the entire device, the entire device may be controlled by multiple pieces of hardware sharing the processing.

[0014] The imaging unit 102 converts the subject light imaged by the lens included in the imaging unit 102 into an electrical signal, performs noise reduction processing, etc., and outputs the digital data as image data. The captured image data is stored in a buffer memory, and then the control unit 101 performs a predetermined calculation on the captured image data and records it on the recording medium 110.

[0015] The non-volatile memory 103 is an electrically erasable and recordable non-volatile memory, and stores programs executed by the control unit 101, which will be described later.

[0016] The working memory 104 is used as a buffer memory for temporarily storing image data captured by the imaging unit 102, as an image display memory for the display unit 106, a working area for the control unit 101, and the like.

[0017] The operation unit 105 is used to receive instructions for the digital camera 100 from the user. The operation unit 105 includes, for example, operation members such as a power button for the user to instruct ON / OFF of the power supply of the digital camera 100, a release switch for instructing shooting, and a playback button for instructing playback of image data. The operation unit 105 also includes a touch panel formed on the display unit 106 described later. The release switch has SW1 and SW2. When the release switch is pressed halfway, SW1 is turned ON. This accepts instructions for preparing for shooting, such as AF (autofocus) processing, AE (auto exposure) processing, AWB (auto white balance) processing, and EF (flash pre-flash) processing. When the release switch is pressed fully, SW2 is turned ON. This accepts instructions for shooting.

[0018] The display unit 106 displays a viewfinder image during shooting, displays captured image data, displays characters for interactive operations, etc. Note that the display unit 106 does not necessarily have to be built into the digital camera 100. The digital camera 100 can be connected to an internal or external display unit 106, and it is sufficient that the digital camera 100 has at least a display control function for controlling the display of the display unit 106.

[0019] The recording medium 110 can record image data output from the imaging unit 102. The recording medium 110 may be configured to be detachable from the digital camera 100, or may be built into the digital camera 100. In other words, it is sufficient for the digital camera 100 to have at least a means for accessing the recording medium 110.

[0020] The connection unit 111 is an interface for connecting to an external device. The digital camera 100 of this embodiment can exchange data with the external device via the connection unit 111. Note that in this embodiment, the connection unit 111 includes an interface for communicating with the external device via wireless LAN. The control unit 101 realizes wireless communication with the external device by controlling the connection unit 111. Note that the communication method is not limited to wireless LAN.

[0021] The digital camera 100 in this embodiment can operate as a slave device in infrastructure mode of wireless LAN communication. When operating as a slave device, it is possible to join a network formed by a nearby access point (hereinafter, AP) by connecting to the AP. Also, the digital camera 100 in this embodiment is a type of AP, but can also operate as a simple AP (hereinafter, simple AP) with more limited functions. Note that the AP in this embodiment is an example of a relay device. When the digital camera 100 operates as a simple AP, the digital camera 100 forms a network by itself. Peripheral devices of the digital camera 100 recognize the digital camera 100 as an AP and can join the network formed by the digital camera 100. It is assumed that a program for operating the digital camera 100 as described above is stored in the non-volatile memory 103.

[0022] Although the digital camera 100 in this embodiment is a type of AP, it is a simple AP that does not have a gateway function for transferring data received from a slave device to an Internet provider, etc. Therefore, even if the digital camera 100 receives data from another device participating in the network that it has formed, it cannot transfer the data to a network such as the Internet.

[0023] The short-distance wireless communication unit 112 is composed of, for example, an antenna for wireless communication, and a modulation / demodulation circuit and a communication controller for processing wireless signals. The short-distance wireless communication unit 113 outputs a modulated wireless signal from an antenna and demodulates a wireless signal received by the antenna to realize short-distance wireless communication in accordance with the IEEE802.15 standard (so-called Bluetooth (registered trademark)). In this embodiment, the Bluetooth communication employs version 4.0 of Bluetooth Low Energy, which has low power consumption. This Bluetooth communication has a narrower communication range (i.e., the communication distance is shorter) than wireless LAN communication. Also, the communication speed of Bluetooth communication is slower than wireless LAN communication. On the other hand, Bluetooth communication consumes less power than wireless LAN communication.

[0024] This concludes the description of the digital camera 100. Next, a description will be given of the mobile phone 200, which is an example of an external device.

[0025] <Mobile phone configuration> 2(a) is a block diagram showing an example of the configuration of a mobile phone 200, which is an example of a communication device of this embodiment. Note that, although a mobile phone is described here as an example of a communication device, the communication device is not limited to this. For example, the communication device may be an information processing device such as a digital camera with a wireless function, a portable media player, a so-called tablet device, a personal computer, or a smartphone.

[0026] The control unit 201 controls each unit of the mobile phone 200 in accordance with input signals and programs described below. Note that instead of the control unit 201 controlling the entire device, the entire device may be controlled by multiple hardware devices sharing the processing.

[0027] The imaging unit 202 converts the subject light imaged by the lens included in the imaging unit 202 into an electrical signal, performs noise reduction processing, etc., and outputs the digital data as image data. The captured image data is stored in a buffer memory, and then the control unit 201 performs a predetermined calculation on the captured image data and records it on the recording medium 210.

[0028] The non-volatile memory 203 is an electrically erasable and recordable non-volatile memory, and stores an OS (operating system), which is basic software executed by the control unit 201, various programs, and the like. A program for communicating with the digital camera 100 is also held in the non-volatile memory 203 and installed as a camera communication application. The processing of the mobile phone 200 in this embodiment is realized by reading a program provided by the camera communication application. The camera communication application has a program for using basic functions of the OS installed in the mobile phone 200 (for example, a wireless LAN function, a Bluetooth function, a function for calling other applications, and the like). The camera communication application also has a remote shooting function for remotely controlling the digital camera 100 to shoot images from the mobile phone 200 while viewing a live view image obtained from the digital camera 100 on the mobile phone 200. The camera communication application also has a remote viewing function for remotely viewing image data recorded on a recording medium attached to the digital camera 100 and receiving the image data.

[0029] The OS of the mobile phone 200 may have a program for implementing the processing in this embodiment.

[0030] The working memory 204 is used as a buffer memory for temporarily storing image data generated by the imaging unit 202, an image display memory for the display unit 206, a working area for the control unit 201, and the like.

[0031] The operation unit 205 is used to receive instructions from a user for the mobile phone 200. The operation unit 205 includes, for example, an operation member such as a power button for the user to instruct to turn the power of the mobile phone 200 ON / OFF, and a touch panel formed on the display unit 206.

[0032] The display unit 206 displays image data, characters for interactive operations, etc. The display unit 206 does not necessarily have to be built into the mobile phone 200. The mobile phone 200 only needs to be able to connect to the display unit 206 and have at least a display control function for controlling the display of the display unit 206.

[0033] The recording medium 210 can record image data output from the imaging unit 202 and image data received from a data processing device. The recording medium 210 may be configured to be detachable from the mobile phone 200, or may be built into the mobile phone 200. In other words, the mobile phone 200 only needs to have at least a means for accessing the recording medium 210.

[0034] The connection unit 211 is an interface for connecting to an external device. The mobile phone 200 of this embodiment can exchange data with the external device via the connection unit 211. In this embodiment, the connection unit 211 includes an interface for communicating with the external device via wireless LAN. The control unit 201 realizes wireless communication with the external device by controlling the connection unit 211. In this embodiment, the digital camera 100 can operate as a slave device at least in infrastructure mode of wireless LAN communication, and can participate in a network formed by a surrounding AP.

[0035] The public network connection unit 212 is an interface used when performing public wireless communication. The mobile phone 200 can make calls and perform data communication with other devices via the public network connection unit 212. When making a call, the control unit 201 inputs and outputs audio signals via the microphone 213 and the speaker 214. In this embodiment, the public network connection unit 212 includes an interface for performing communication using 3G. It is to be noted that other communication methods such as LTE, WiMAX, ADSL, FTTH, and so-called 4G may be used instead of 3G. In addition, the connection unit 211 and the public network connection unit 212 do not necessarily need to be configured as independent hardware, and for example, one antenna may be used for both.

[0036] The short-distance wireless communication unit 215 is an interface for short-distance wireless connection with other external devices. The mobile phone 200 of this embodiment can exchange data with other external devices via the short-distance wireless connection unit 215. In this embodiment, the short-distance wireless connection unit 215 includes an interface for communicating with other external devices by Bluetooth. The control unit 201 realizes Bluetooth communication with other external devices by controlling the short-distance wireless connection unit 215.

[0037] Next, the appearance of the mobile phone 200 will be described. Fig. 2(b) is a diagram showing an example of the appearance of the mobile phone 200. The power button 205a, home button 205b, and touch panel 205c are operation members included in the above-mentioned operation unit 205. When the user presses the home button 205b, the use of a running application can be interrupted and a home screen that allows another application to be selected can be displayed on the display unit 206.

[0038] Items corresponding to each application are arranged on the home screen of the mobile phone 200, and each application can be started or an application running in the background can be called. For example, in this embodiment, item 221 is an item of a camera communication application for the mobile phone 200 to communicate with the digital camera 100. Item 222 is an item of an image display application for the user to view images stored in the mobile phone 200. Item 223 is an item of an SNS (social network service) application for communicating with a server and sharing images, text, and the like with other users. In this embodiment, the camera communication application is an application provided by the manufacturer of the digital camera 100 via an application distribution site. Also, the image display application is an application preinstalled in the mobile phone 200 (i.e., an application that is installed as standard on the OS of the mobile phone 200). The SNS (social network service) application is an application provided by the developer of the application via an application distribution site.

[0039] On the home screen, for example, when item 221 is pressed (touched), if the camera communication application is not yet running, it will be started and the screen will be displayed. If it is already running in the background, it will not be started again, but the running application will be brought to the foreground and the screen will be displayed again.

[0040] Furthermore, in the mobile phone 200, applications can be switched or executed without going through the home screen by inputting a specific instruction to the OS. At this time, the application being executed when the specific instruction is input is shifted to the background. Then, the application instructed to be switched is newly launched, or is shifted from the background to the foreground and operated.

[0041] This concludes the description of the mobile phone 200.

[0042] <Connection type overview> Fig. 3 is a diagram showing a schematic diagram of a connection form of wireless LAN communication between the digital camera 100 and the mobile phone 200 in this embodiment. When the digital camera 100 and the mobile phone 200 transmit and receive data via wireless LAN communication, the two connection forms shown in Fig. 3(a) and Fig. 3(b) are possible.

[0043] 3(a) shows a form in which a digital camera 100 and a mobile phone 200 participate in a wireless LAN network formed by an external AP 300, which is an example of an external relay device. The digital camera 100 and the mobile phone 200 detect a beacon signal periodically transmitted by the external AP 300, and participate in the wireless LAN network formed by the external AP 300. After participating in the same wireless LAN network, the digital camera 100 and the mobile phone 200 discover each other, acquire the capabilities of the devices, and so on, and then become capable of transmitting and receiving data via the wireless LAN (establish communication between the devices).

[0044] Moreover, the external AP 300 in this embodiment can be connected to an external network such as the Internet using a public network, etc. Therefore, the mobile phone 200 can transmit data onto the Internet via the external AP 300.

[0045] Fig. 3(b) shows a configuration in which the digital camera 100 and the mobile phone 200 are directly connected without going through the external AP 300. In this case, the digital camera 100 operates as a simple AP to form a wireless LAN network. When the digital camera 100 operates as a simple AP, it starts to periodically transmit a beacon signal. The mobile phone 200 detects the beacon signal and joins the wireless LAN network formed by the digital camera 100. Then, as in the case of Fig. 3(a), communication is established after mutual device discovery and device capability acquisition, and data can be sent and received.

[0046] As described above, the digital camera 100 in this embodiment does not have a communication function for connecting to an external network such as the Internet. Therefore, the mobile phone 200 participating in the wireless LAN network formed by the digital camera 100 cannot transmit data to the Internet or the like via the simple AP.

[0047] As described above, there are two types of connection configurations for wireless LAN communication between the digital camera 100 and the mobile phone 200. In this embodiment, an example will be described in which appropriate control is performed according to these connection configurations.

[0048] <Connection process> 4 is a flowchart showing the processing of digital camera 100 when connecting to mobile phone 200. The processing shown in this flowchart is realized by control unit 101 of digital camera 100 controlling each unit of digital camera 100 in accordance with input signals and programs. Unless otherwise specified, the same applies to other flowcharts showing the processing of digital camera 100. This flowchart starts in response to a command given by the user of digital camera 100 to connect to another device by operating a menu or the like.

[0049] In step S401, the control unit 101 displays a screen on the display unit 106 to allow the user to select whether to join a wireless LAN network formed by an external AP or to operate the device as a simple AP. An example of the screen displayed in this step is shown in FIG. 5(a).

[0050] If it is determined in step S402 that button 501 has been selected by a user operation, the control unit 101 determines that a selection has been made to form a wireless LAN network, and proceeds to step S402. If it is determined that button 502 has been selected by a user operation, the control unit 101 determines that a selection has been made to join a wireless LAN network formed by an external AP, and proceeds to step S407.

[0051] In step S403, the control unit 101 forms a wireless LAN network. Specifically, the control unit 101 generates an ESSID, BSSID, authentication method, encryption type, and encryption key required to form a network. The control unit 101 also displays at least the ESSID and encryption key on the display unit 106 as information required for a connected device to join the network. An example of this display is shown in FIG. 5(b). In the example of FIG. 5(b), as shown in the dialogue 503, the ESSID is determined to be "CAMERA-123" and the encryption key is determined to be "12345678". Here, the ESSID of the wireless LAN network generated by the control unit 101 is assumed to be given the prefix "CAMERA-". Note that the encryption key and ESSID may be generated for each connection or each connected device, or may always be the same. Furthermore, in this step, in order to enable communication with other devices, an IP address is assigned and a subnet is set, and the process proceeds to step S404.

[0052] On the other hand, if the process proceeds to step S407, the control unit 101 scans for nearby wireless LAN networks and displays a list of ESSIDs contained in the detected beacon signals on the display unit 106. An example of the screen at this time is shown in FIG. 5(c). In the example of FIG. 5(c), ESSIDs "NETWORK-100" and "NETWORK-101" are detected. When a wireless LAN network is selected from the list 504 in FIG. 5(c) by a user operation, the control unit 101 performs a process to join the selected wireless LAN network, that is, to connect to the AP. Furthermore, to enable communication with other devices, the control unit 101 assigns an IP address and sets a subnet, and the process proceeds to step S404.

[0053] In step S404, the control unit 101 searches for connectable devices within the same network. In order for the mobile phone 200 to be in a state where it can be searched for by the digital camera 100, an operation on the mobile phone 200 side is required. Hereinafter, the operation on the mobile phone 200 side will be described with reference to Figs. 5 and 6. Fig. 6 is a flowchart showing the processing of the mobile phone 200 in this embodiment corresponding to the processing of Fig. 4. The processing shown in this flowchart is realized by the control unit 201 of the mobile phone 200 controlling each part of the mobile phone 200 according to an input signal or a program. In this embodiment, the processing of Fig. 6 is realized by the camera communication application executed by the control unit 201 and the OS working together. Unless otherwise specified, the same applies to other flowcharts showing the processing of the mobile phone 200.

[0054] First, in response to a predetermined operation by the user of the mobile phone 200, in step S601, the control unit 201 displays a screen for selecting a wireless LAN network to join on the display unit 206. When this screen is displayed, the control unit 201 scans the surrounding wireless LAN networks and displays a list 510 of the ESSIDs detected as a result. An example of the screen is shown in FIG. 5(e). In this embodiment, these processes are performed by the OS function of the mobile phone 200 before the camera communication application is started, but the camera communication application started in advance may perform the processes in cooperation with the OS function. Here, when the digital camera 100 is operating as a simple AP, the mobile phone 200 detects the ESSID of the digital camera 100 and displays it in the list 510. In FIG. 5(e), "CAMERA-123" is displayed as the ESSID of the digital camera 100.

[0055] In step S602, the control unit 201 waits for an ESSID to be selected from the list 510. When an ESSID from the list 510 is selected by a user operation, the control unit 201 performs a process for joining the corresponding wireless LAN network in step S603. This completes joining the network.

[0056] After joining the network, the user of mobile phone 200 launches a camera communication application installed on mobile phone 200. The processing of mobile phone 200 after launching the camera communication application is explained using the flowchart in Fig. 6(b). The main functions of the camera communication application include the function of establishing communication with a digital camera present in the same network, and the function of transmitting and receiving content data such as image data.

[0057] When the camera communication application is started based on a user operation, in step S651, the control unit 201 displays a standby screen as shown in FIG. 5(f) on the display unit 206. The SSID of the currently participating network is displayed in the dialogue 511. FIG. 5(f) shows an example of a display when "CAMERA-123" is selected on the screen of FIG. 5(e). After starting the camera communication application, the control unit 201 notifies the digital camera 100 of its own service via the wireless LAN network so that the digital camera 100 can detect the mobile phone 200. The digital camera 100 can detect the mobile phone 200 based on this service notification. The service notification includes the device name and UUID of the mobile phone 200. In step S652, the control unit 201 waits for a connection request from the digital camera 100. If it is determined that a connection request has been received, in step S653, communication with the digital camera 100 is established.

[0058] Returning to the description of FIG. 4, in step S404, the control unit 101 searches for connectable devices present on the same network. As described above, if service notification has been performed on the mobile phone 200 side, the digital camera 100 can detect the mobile phone 200. If a connectable device is detected as a result of the search, the control unit 101 displays a list of the device names included in the service notification on the display unit 106. An example of the list display is shown in FIG. 5(d). The UUID and device name, also included in the service notification, are stored in the working memory 104 in association with each other.

[0059] In this embodiment, the device name and UUID are included in the service notification. However, the digital camera 100 that has received the service notification may be configured to inquire of the mobile phone 200 about the device name and UUID.

[0060] In step S405, the control unit 101 receives a user operation of selecting any one of the device names listed in step S404.

[0061] In step S406, the control unit 101 transmits a connection request to the mobile phone 200 using the UUID of the device selected in step S405, and establishes wireless LAN communication with the selected device. In this embodiment, the connection is executed using the UUID of the counterpart device. However, the IP address and port number may be specified from the UUID for connection, or the IP address may be obtained at the time of search for connection.

[0062] <Handover from Bluetooth communication to wireless LAN communication> Here, the concept of handover will be described. The handover as referred to in this embodiment means first transmitting and receiving information for communication using a first communication method by a second communication method, and then establishing communication by the first communication method using that information. In this embodiment, when first transmitting and receiving information for communication using a first communication method by a second communication method and then performing communication by the first communication method using that information, it is said that "handover is performed from the second communication to the first communication".

[0063] In this embodiment, handover from Bluetooth communication to wireless LAN communication is possible in the communication between the digital camera 100 and the mobile phone 200. In this embodiment, at the time of handover from Bluetooth communication to wireless LAN communication, the digital camera 100 operates itself as a simple AP to form a wireless LAN network.

[0064] The first and second communication methods can be set arbitrarily, but for example, the second communication method can be set to a method with lower power consumption and the first communication method to a method with a higher transfer speed, thereby making it possible to use power efficiently. For example, it is possible to wait in the second communication method and switch to the first communication method when transferring large data. Also, the mobile phone 200 can receive information for communicating in the first communication method by the second communication method, and set the information via the OS, thereby making it possible to connect to a wireless LAN without the need for manual operations.

[0065] Specifically, it is possible to eliminate the need for the user to manually select an ESSID on the mobile phone 200 side or a communication format on the digital camera 100 side.

[0066] Hereinafter, a flow of wireless LAN connection by handover from Bluetooth communication to wireless LAN communication will be described with reference to FIG. 7 and FIG. 8. Here, it is assumed that the digital camera 100 and the mobile phone 200 have already completed pairing of encrypted Bluetooth communication and have established Bluetooth communication. In this embodiment, when Bluetooth communication is established, the control unit 201 of the mobile phone 200 notifies the digital camera 100 of its own device's services via the short-range wireless communication unit 215. This service notification includes the device name, UUID, and IP address of the mobile phone 200. In this embodiment, when Bluetooth communication is established, the control unit 101 of the digital camera 100 transmits in advance, via the short-range wireless communication unit 112, to the mobile phone 200, setting information for a wireless LAN network to be formed in a handover flow to be described later. This setting information for the wireless LAN network includes the ESSID of the wireless LAN network to be formed in the handover, an encryption key, and an IP address of the device. Here, in the same manner as when the wireless LAN network is generated in step S403, the ESSID of the wireless LAN network generated by the control unit 101 is assigned the prefix "CAMERA-".

[0067] 7 is a flowchart of the processing executed by the digital camera 100 during handover from Bluetooth communication to wireless LAN communication. The processing of this flowchart is realized by the control unit 101 controlling each unit of the digital camera 100 in accordance with an input signal or a program.

[0068] In step S701, when the control unit 101 receives a request to start wireless LAN communication via the short-range wireless communication unit 112, the process proceeds to step S402. Here, the request to start wireless LAN communication is transmitted by Bluetooth communication in step S801 of Fig. 8 by processing of the control unit 201 of the mobile phone 200, which will be described later.

[0069] In step S702, the control unit 101 forms a wireless LAN network in accordance with the setting information for the wireless LAN network transmitted to the mobile phone 200 during Bluetooth communication. That is, when the digital camera 100 receives a request to start wireless LAN communication via the short-range wireless communication unit 112, it operates itself as a simple AP.

[0070] In step S703, the control unit 101 searches for connectable devices within the same network, and waits for the mobile phone 200 to join the same network. Note that, in order for the mobile phone 200 to become searchable by the digital camera 100, processing is required on the mobile phone 200 side.

[0071] Fig. 8 is a flowchart of the processing executed by mobile phone 200 corresponding to the processing in Fig. 7 during handover from Bluetooth communication to wireless LAN communication. The processing in this flowchart is realized by control unit 101 controlling each unit of digital camera 100 in accordance with input signals and programs. In this embodiment, the processing in Fig. 8 is realized by cooperation between a camera communication application executed by control unit 201 and the OS. It is assumed that the camera communication application is running in mobile phone 200 when starting the processing in Fig. 8.

[0072] First, the processing of the mobile phone 200 up to network participation will be described with reference to the flowchart of Fig. 8(a). The flowchart of Fig. 8(a) is started in response to the occurrence of a trigger that requires handover from Bluetooth communication to wireless LAN communication during Bluetooth communication. This trigger is, for example, when the camera communication application receives an instruction to perform a remote photographing function or a remote viewing function. Alternatively, it may simply be when an instruction to connect via wireless LAN is received.

[0073] In response to the occurrence of the above-mentioned trigger, the control unit 201 transmits a request to start wireless LAN communication to the digital camera 100 via the short-range wireless communication unit 215 in step S801.

[0074] In step S802, the control unit 201 performs processing for joining the corresponding wireless LAN network based on the wireless LAN network setting information previously received when Bluetooth communication was established. Here, this wireless LAN network is the one formed by the control unit 101 of the digital camera 100 in step S702. This completes joining the network.

[0075] Next, the process of mobile phone 200 after joining the network will be described with reference to the flow chart in Fig. 8(b). In Fig. 8(b), the same steps as in Fig. 6(b) are given the same step numbers, and the description will be omitted.

[0076] In step S652, the control unit 201 waits for a connection request from the digital camera 100. When a connection request is received, in step S653, communication is established with the digital camera 100. Thereafter, processing corresponding to the trigger is executed.

[0077] Then, in step S854, the control unit 201 stores in the working memory 204 the fact that connection with the digital camera 100 has been established by handover from Bluetooth communication to wireless LAN communication.

[0078] Returning to the description of Fig. 7, in step S703, control unit 101 searches for connectable devices existing in the same network, and waits for mobile phone 200 to join the wireless LAN network. Here, control unit 101 detects whether mobile phone 200 exists in the same network by executing discovery processing in the wireless LAN network using service notification information received from mobile phone 200 at the start of Bluetooth communication connection. When control unit 101 confirms as a result of the search that mobile phone 200 has joined the wireless LAN network, it advances the processing to step S704.

[0079] In step S704, control unit 101 transmits a connection request to mobile phone 200 based on the IP address included in the service notification received from mobile phone 200 when Bluetooth communication was established, and establishes communication with the selected device.

[0080] As described in Figures 7 and 8, when connecting to a WLAN by handover, there is an advantage that the user has to perform less operations to connect compared to the cases of Figures 4 to 6 in which a WLAN connection is made without going through Bluetooth communication.

[0081] <Operation when receiving images on a mobile phone via wireless LAN communication> 10(a) shows an example of a menu screen of a camera communication application displayed on the display unit 206 of the mobile phone 200. A view button 1001 is displayed on the menu screen. The view button 1001 is a button for executing a remote view function for displaying image data stored in the digital camera 100 on the display unit 206. In addition to this display, the control unit 201 starts the flow shown in FIG.

[0082] 9 is a flowchart showing the operation of the mobile phone 200 after the camera communication application is started. For simplicity's sake, the following mainly describes the case where this flowchart is started after the wireless LAN connection has been established.

[0083] In step S901, the control unit 201 determines whether or not the view button 1001 has been selected. If it is determined that the view button 1001 has been selected, the process proceeds to step S902. If it is determined that the view button 1001 has not been selected, the process is repeated.

[0084] In step S902, the control unit 201 requests thumbnails of image data held by the digital camera 100 from the digital camera 100. In response to this request, the digital camera 100 transmits the requested thumbnails to the mobile phone 200. Note that the request for each thumbnail may be repeated, or a command may be sent requesting multiple thumbnails at once.

[0085] 10(a) may be displayed even when the Bluetooth communication connection is established. In this state, when the remote viewing function is instructed to be executed by touching the view button 1001 (i.e., when YES is determined in S901), the above-mentioned handover process is executed before S902, and then S902 is executed.

[0086] In step S 903 , the control unit 201 receives the thumbnail sent from the digital camera 100 via the connection unit 211 .

[0087] In step S904, the control unit 201 displays a list of the received thumbnails on the display unit 206. An example of the display screen is shown in FIG. 10(b). In the example of FIG. 10(b), the thumbnails are displayed in four columns, and other image data can be displayed by scrolling up and down. Each displayed thumbnail can be selected by pressing (touching) it. The screen shown in FIG. 10(b) also includes a save button 1002. The save button 1002 is a button for receiving the original image data corresponding to the displayed thumbnail from the digital camera and saving the received image data in the recording medium 210.

[0088] In step S905, the control unit 201 determines whether any thumbnail has been selected from the thumbnails displayed in the list. If it is determined that a thumbnail has been selected, the process proceeds to step S906. If not, step S905 is repeated.

[0089] In step S 906 , the control unit 201 adds the image selected in step S 905 to the selection list, and stores the selection list in the working memory 204 .

[0090] In step S907, the control unit 201 determines whether or not a save instruction has been issued by selecting (touching) the save button 1002. If it is determined that a save instruction has been issued, the process proceeds to step S908. If not, the process returns to step S904.

[0091] In step S908, the control unit 201 displays a save screen shown in Fig. 10(c) on the display unit 206. The user of the mobile phone 200 can cancel the reception by selecting the button 1003 in Fig. 10(c). If the reception is canceled, the screen returns to the screen in Fig. 10(b).

[0092] In step S909, the control unit 201 requests image data corresponding to the images included in the selection list held in step S906 from the digital camera 100. When the digital camera 100 transmits the image data to the mobile phone 200 in response to the request, the control unit 201 receives the image data and holds the image data in the working memory 204 in step S910.

[0093] When reception of the image data is completed, in step S911, the control unit 201 saves the image data received in step S909 from the working memory 204 to the recording medium 210. Then, in step S912, the control unit 201 displays a save completion screen shown in FIG.

[0094] <Application switching behavior on mobile phones> Here, the save completion screen displayed by the control unit 201 on the display unit 206 in FIG. 10(d) will be described. On the save completion screen, the application running on the mobile phone 200 can be switched from the camera communication application to another application by the user's selection operation in order to utilize the saved image. The application to be switched to is determined by the user selecting one of the buttons 1051 to 1053. The button 1051 is a button for selecting an image display application having a function of displaying an image saved on the mobile phone 200. The button 1052 is a button for selecting a print application having a function of printing an image saved on the mobile phone 200. The button 1053 is a button for selecting an SNS application having a function of sharing an image saved on the mobile phone 200 on an SNS. When one of the buttons 1051 to 1053 is selected, the selected application is started in the mobile phone 200 and displayed on the display unit 206, and the camera communication application is moved to the background. Alternatively, if the selected application is already started, it is moved from the background to the foreground.

[0095] Here, in this embodiment, when any of buttons 1051 to 1053 is selected, control unit 201 requests the OS to start an application predefined in the camera communication application in response to the selection. Also, in this embodiment, the image display application is an application preinstalled in mobile phone 200 (i.e., an application that is installed as standard on the OS of mobile phone 200). However, this is not limiting, and the image display application may be an application installed on mobile phone 200 in response to a user operation.

[0096] Now, there are many applications installed on mobile phones that have a function of using an external network such as the Internet. If an application is switched while remaining part of a network formed by a digital camera, the Internet cannot be used in the switched-to application, which is inconvenient. This problem can be solved by leaving the network formed by the digital camera when switching from a camera communication application to another application. When the OS of the mobile phone of this embodiment leaves the network to which it is connected, it can use an external network such as the Internet via a public line network such as a 3G line or a 4G line. Alternatively, when it leaves the network formed by the digital camera, it can join another external AP in the vicinity by a function of the OS of the mobile phone, and use the Internet.

[0097] On the other hand, if the user leaves the network formed by the digital camera when switching applications, and wants to use the camera communication application again, the user must go through the trouble of repeating the procedure for establishing wireless LAN communication with the digital camera. For example, this is the following case. After saving images from the digital camera 100 to the mobile phone 200 in the flow shown in FIG. 9(a), the user starts the image display application and checks the saved images to confirm that the images are really saved in the mobile phone 200. After confirming that the images are saved in the mobile phone 200, the user switches back to the camera communication application and tries to save additional images. At this time, if the wireless LAN communication is disconnected at the time of switching to the camera communication application, the user must perform the operation for establishing wireless LAN communication again, which places a burden on the user.

[0098] Therefore, in the mobile phone 200 of this embodiment, when switching to another application, the decision as to whether or not to disconnect wireless LAN communication is made depending on the possibility that the application to which the application is switched will use an external network and the effort required to establish wireless LAN communication.

[0099] Hereinafter, the process in the mobile phone 200 when there is an instruction to switch from the camera communication application to another application will be described with reference to Fig. 9(b). When any one of the buttons 1051, 1052, and 1053 is selected, that is, when an instruction to switch the application is given, the control unit 201 starts the flow shown in Fig. 9(b).

[0100] In step S951, the control unit 201 determines whether or not the currently participating wireless network was formed by the simple AP function of the digital camera 100. If the control unit 201 determines that the currently participating wireless network is not a network formed by the simple AP function of the digital camera 100, the process proceeds to step S952. On the other hand, if the control unit 201 determines that the currently participating wireless network is a network formed by the simple AP function of the digital camera 100, the process proceeds to step S953.

[0101] In this embodiment, the digital camera 100 adds the prefix "CAMERA-" to the ESSID of the wireless network formed as a simple AP. Therefore, if the ESSID of the participating wireless network has the prefix "CAMERA-", the control unit 201 determines that the currently participating network is formed by the simple AP function of the digital camera 100. On the other hand, if the prefix "CAMERA-" does not exist, the control unit 201 determines that the currently participating wireless network is not a network formed by the simple AP function of the digital camera 100. Note that, in this embodiment, the configuration is such that whether or not the participating wireless network is formed by the simple AP function is determined by using the prefix of the ESSID, but this is not limited to this. For example, the control unit 201 may be configured to obtain from the digital camera 100 whether or not it is operating as a simple AP when wireless LAN communication is established, and make the determination based on the result. Alternatively, the control unit 201 may determine whether or not the participating network is formed by the simple AP function by checking whether or not the participating network is a network that can be connected to the Internet. When checking whether a network can be connected to the Internet, for example, it may be determined that the network has been formed using the simple AP function by attempting to access a specific server on the Internet and receiving an error a certain number of times.

[0102] First, the case where the process proceeds from step S951 to step S952 will be described. In this case, the control unit 201 determines that the network in which the device is currently participating is not formed by the simple AP function but by an external AP. In other words, it determines that the connection form is as shown in Fig. 3(a). In this case, even if the mobile phone 200 does not leave the currently participating network and maintains wireless LAN communication with the digital camera 100, the mobile phone 200 can communicate using an external network via the external AP 300 in the application to which the switch is made. Therefore, the control unit 201 maintains the connection to the currently participating network.

[0103] Next, a case where the process proceeds from step S951 to step S953 will be described. In this case, the control unit 201 determines that the current connection form is as shown in FIG. 3(b). In this case, although the mobile phone 200 is connected to a network formed by an AP, the AP is a simple AP, and therefore the external network cannot be used. Therefore, in step S953, the control unit 201 determines whether the selected application performs communication using an external network. If the control unit 201 determines that the selected application performs communication using an external network, the process proceeds to step S954. On the other hand, if the control unit 201 determines that the selected application does not perform communication using an external network, the process proceeds to step S956.

[0104] Here, in the mobile phone 200 in this embodiment, whether or not to perform communication using an external network is stored in advance in the non-volatile memory 203 for each application, and the determination is made by referring to this. In this embodiment, the non-volatile memory 203 stores an image display application as one that does not perform communication using an external network. Also, the print application and the SNS application are stored as ones that perform communication using an external network. As described above, the user of the mobile phone 200 often opens the image display application in order to confirm that the image received from the digital camera 100 has been saved, and it is assumed that the image display application is unlikely to use the Internet. On the other hand, for example, the print application is likely to use an external network because it connects to a printer device to print the saved image. Also, it is assumed that the SNS application is likely to transmit the saved image to the outside via the external network.

[0105] As described above, in this embodiment, whether an application requires an external network or not is determined depending on whether the application is for image display or not.

[0106] In step S954, the control unit 201 transmits a request to the digital camera 100 to disconnect the wireless LAN communication.

[0107] Next, in step S955, the control unit 201 leaves the currently participating network and disconnects the connection with the AP (here, the digital camera 100). This enables the mobile phone 200 to communicate with an external network using the public network connection unit 212. Alternatively, the mobile phone 200 can join other external APs in the vicinity and communicate using the external network using the functions of its OS. Note that, although in this embodiment, participation in other networks is implemented by the functions of the OS, the camera communication application may be configured to instruct participation in other networks.

[0108] At this time, the control unit 201 may display on the display unit 206 a message indicating that the wireless LAN communication with the digital camera 100 has been disconnected.

[0109] On the other hand, in step S956, the control unit 201 determines whether or not the wireless LAN communication with the digital camera 100 has been established by handover from Bluetooth communication. The control unit 201 makes this determination in this step by checking whether or not the handover connection performed in step S854 in Fig. 8(b) is stored. If the control unit 201 determines that the connection has been established by handover, the process proceeds to step S954. If the control unit 201 determines that the connection has not been established by handover, that is, if the wireless LAN connection has been established according to the flow described in Figs. 6 and 8, the process proceeds to step S952.

[0110] Here, a case where the process proceeds from step S956 to step S954 will be described. In this case, the current connection form of the mobile phone 200 is as shown in FIG. 3(b), and the mobile phone 200 cannot use an external network (such as the Internet) via the AP. On the other hand, an application determined not to communicate using an external network is selected as a switching destination. In addition, communication by Bluetooth between the mobile phone 200 and the digital camera 100 is maintained. Therefore, even after the wireless LAN communication is disconnected, the mobile phone 200 and the digital camera 100 can establish wireless LAN communication without the user's effort by carrying out the flows shown in FIG. 7 and FIG. 8. In addition, although the image display application is unlikely to perform external communication, on the other hand, it is also conceivable to use an external network by switching to a print application or an SNS application via the image display application. When a handover that can easily establish wireless LAN communication is available, the control unit 201 disconnects the wireless LAN communication with the digital camera 100. For example, after switching to the selected application, when the user switches back to the camera communication application and the camera communication application moves to the foreground, the control unit 201 executes the flow shown in Fig. 8. In this way, if handover to wireless LAN communication is automatically performed when returning to the camera communication application, wireless LAN communication is established simply by returning to the camera communication application, so that the user can use the application without stress. Note that the timing of handover from Bluetooth communication to wireless LAN communication is not limited to this. For example, the control unit 201 may execute the flow shown in Fig. 9 before starting it at the timing when it determines that the view button 1001 has been selected by the user.

[0111] On the other hand, a case where the process proceeds from step S956 to step S952 will be described. In this case, the current connection form of the mobile phone 200 is as shown in FIG. 3(b), and the mobile phone 200 cannot use an external network via an AP. On the other hand, an application that is determined not to communicate using an external network is selected as a switching destination. Furthermore, according to the flows described in FIG. 6 and FIG. 8, wireless LAN communication is established through operations such as network selection by the user. In this case, if the wireless LAN communication is disconnected, the user will have to go through the trouble of re-establishing wireless LAN communication when he or she wishes to use the camera communication application again. Therefore, in this case, the wireless LAN communication is left as it is without being disconnected.

[0112] Finally, in step S957, the control unit 201 requests the OS to start the selected application, which causes the selected application to be started and displayed on the mobile phone 200, and the camera communication application moves to the background.

[0113] The above is the operation of the mobile phone 200 after wireless LAN communication with the digital camera 100 has been established.

[0114] Next, a detailed description will be given below of the operation of the digital camera 100. Fig. 11 is a flow chart showing the operation of the digital camera 100 after wireless LAN communication with the mobile phone 200 is established.

[0115] In step S1101, control unit 101 of digital camera 100 determines whether or not a request has been received from mobile phone 200 via connection unit 111. If a request has been received, the process proceeds to step S1102; if a request has not been received, the process of step S1101 is repeated. Requests that may be received here are a request for a thumbnail sent in step S902, a request for image data sent in step S909, or a request to disconnect wireless LAN communication sent in step S954.

[0116] The case where the process proceeds to step S1102 will be described. In step S1102, the control unit 101 judges whether the request received in step S1101 is a thumbnail request (the request transmitted in step S902). If it is determined that the request is a thumbnail request, the process proceeds to step S1103. If it is determined that the request is not a thumbnail request, the process proceeds to step S1105.

[0117] First, the case where the process proceeds to step S1103 will be described. In step S1103, the control unit 101 searches the image data stored in the recording medium 110 for image data requested by the mobile phone 200, and loads a thumbnail corresponding to the searched image data into the working memory 104. Of course, it is also possible to load multiple thumbnails. In this case, the thumbnail that is already associated with the image data may be used, or a new thumbnail may be generated separately.

[0118] Next, in step S1104, the control unit 101 transmits the thumbnail stored in the working memory 104 to the requested mobile phone 200, and returns the process to step S1101. As a result of this process, the thumbnail reception process of step S903 is executed on the mobile phone 200 side. This completes the process of transmitting thumbnails from the digital camera 100 to the mobile phone 200.

[0119] Next, the case where the process proceeds to step S1105 will be described. In step S1105, the control unit 101 determines whether the request received in step S1101 is a request for image data (the request transmitted in step S909). If it is determined that the request is for image data, the process proceeds to step S1106. If it is determined that the request is not for image data, the process proceeds to step S1108.

[0120] First, the case where the process proceeds to step S1106 will be described. In step S1106, the control unit 101 searches for the requested image data from among the image data stored in the recording medium 110, and loads the searched image data into the working memory 104.

[0121] Next, in step S1107, the control unit 101 transmits the image data held in the working memory 104 to the mobile phone 200, and the process returns to step S1101. As a result of this process, the mobile phone 200 executes the image data reception process of step S910.

[0122] Next, the case where the process proceeds to step S1108 will be described. In step S1108, the control unit 101 determines whether the request received in step S1101 is a request to disconnect wireless LAN communication (the request transmitted in step S954). If it is determined that the request is a request to disconnect wireless LAN communication, the process proceeds to step S1109. If it is determined that the request is not a request to disconnect wireless LAN communication, the process proceeds to step S1112.

[0123] In step S1109, the control unit 101 determines whether or not the device itself is operating as a simple AP. If it is determined that the device itself is not operating as a simple AP, the process proceeds to step S1110. If it is determined that the device itself is operating as a simple AP, the process proceeds to step S1111.

[0124] In step S1110, control unit 101 performs processing to leave the network it is currently participating in. In response to this, in step S1111, control unit 101 causes the network that its own device currently forms to disappear. Specifically, it stops transmitting beacon signals and broadcasts a notice to the network that the network will be disappeared.

[0125] On the other hand, in step S1112, control unit 101 determines that the received request is one to which the device itself cannot respond appropriately, and transmits an error notification indicating that to mobile phone 200. Then, the process returns to step S1101.

[0126] In this embodiment, the control unit 201 of the mobile phone 200 transmits a disconnection request to the digital camera 100, and when the control unit 101 receives the request, the network disconnection process or extinction process described in steps S1109 to S1111 is performed. However, the present invention is not limited to this. For example, the mobile phone 200 may not transmit the disconnection request in step S954, and when the digital camera 100 determines that the wireless LAN communication with the connection partner has been disconnected, the network disconnection process or extinction process in steps S1109 to S1111 may be performed. For example, when the mobile phone 200 no longer exists on the network, or when the mobile phone itself cannot receive a beacon signal from an AP and loses sight of the network, the control unit 101 can determine that the communication with the connection partner has been disconnected. When the mobile phone itself is operating as a simple AP, the network will not be lost.

[0127] The above is the process in which the digital camera 100 sends an image to the mobile phone 200 in wireless LAN communication and then disconnects the communication.

[0128] In this embodiment, the user operates the mobile phone 200 to instruct the transmission of image data from the digital camera 100 to the mobile phone 200. Alternatively, the user may operate the digital camera 100 to transmit image data to the mobile phone 200.

[0129] In this embodiment, the control unit 201 is configured to request the OS to start a predefined application in the camera communication application when the user instructs to switch the application, but the present invention is not limited to this. For example, when the control unit 201 is instructed to switch to an application that displays an image, the control unit 201 may request the OS to start an arbitrary application having a function of displaying an image, and the corresponding application may be started by the processing of the OS. At this time, in the determination in step S953, the control unit 201 determines that communication using the external Internet will not be performed when the control unit 201 has requested the start of an application having a function of displaying an image. In addition, when a plurality of applications having a function of displaying an image are installed on the mobile phone 200, the control unit 201 may list and display the corresponding applications, and start the application selected by the user.

[0130] In this embodiment, the control unit 201 is configured to determine whether or not the selected application performs communication using an external network when a user operation on the camera communication application instructs switching of the application. However, this is not limited to this. For example, the control unit 201 may make a determination when it detects that the camera communication application is interrupted (i.e., moved to the background) in the mobile phone 200 and then another application is started (i.e., moved to the foreground). In addition, when making the determination, information on the other started application may be obtained via the OS, and based on the obtained information, it may be determined whether or not the started application performs communication using an external network.

[0131] In this embodiment, Bluetooth is used as the second communication method for handing over to wireless LAN communication, but the present invention is not limited to this. For example, NFC (Near Field Communication) can also be used as the second communication method. When NFC is used, the digital camera 100 is provided with an NFC tag, and the control unit 101 writes connection information for wireless LAN communication in the tag. Then, when the mobile phone 200 is brought close to the digital camera 100, the control unit 201 of the mobile phone 200 reads the information on the tag and can start the flow shown in FIG. 8.

[0132] As described above, when an instruction to switch applications is received, the mobile phone 200 of this embodiment is configured to leave the currently participating network if it is determined that the switching destination application uses an external network such as the Internet. This allows the mobile phone 200 to use the Internet without any inconvenience in the switching destination application that is considered to use an external network such as the Internet. Furthermore, even if the switching destination application does not use the Internet, the mobile phone 200 of this embodiment is configured to leave the currently participating network if it has participated in the network by handover. This allows the switching destination application and the application beyond it to use the Internet, and even if the switching destination application is switched back to the camera communication application, the wireless LAN communication connection can be restored without any effort on the part of the user.

[0133] Furthermore, by appropriately switching between leaving the network and maintaining participation in the network using the control unit 201, the user of the mobile phone 200 can receive images and share them over the Internet without being aware of the network in which he or she is currently participating.

[0134] (Other Examples) The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions.

Claims

1. A communication device capable of participating in a network, a first communication means for establishing communication with a data processing device via the network and performing data communication with the data processing device according to a first communication method; a second communication means for performing data communication with the data processing device according to a second communication method having a communication speed slower than that of data communication according to the first communication method; a control means for controlling the establishment of communication in the first communication method by any one of a plurality of procedures including a first procedure and a second procedure requiring a larger amount of user operation for establishing communication in the first communication method compared to the first procedure, and for controlling execution of a plurality of applications including an application for communicating with the data processing device; A receiving means for receiving an instruction to switch the application; a determination means for determining whether or not a switching destination application that has received the switching instruction requires a connection to the Internet when the application switching instruction is received in a state where communication with the data processing device is established via the first communication means, the control means controls whether or not to disconnect the communication in the first communication method according to a result of the determination by the determination means and a procedure by which the communication in the first communication method was established; the first step is a means for establishing communication in the first communication method based on information communicated with the data processing device in the second communication method; the second step is a step of establishing communication in the first communication method based on information input by a user operation; the control means disconnects the communication in the first communication method in response to a result of the determination by the determination means and a procedure in which the communication in the first communication method was established being the first procedure; A communication device characterized in that the communication using the first communication method is not disconnected depending on the result of the judgment by the judgment means and the fact that the procedure by which communication using the first communication method was established is the second procedure.

2. the control means, when it is determined by the determination means that the application of the switching destination that has received the switching instruction requires a connection to the Internet, performs control to disconnect communication in the first communication method; The communication device according to claim 1, characterized in that when the judgment means judges that the application to be switched to that has received the switching instruction does not require a connection to the Internet, and when communication with the data processing device via the first communication means that was established when the application switching instruction was accepted is established in the first procedure, the communication device controls to disconnect communication using the first communication method.

3. The communication device according to claim 2, characterized in that the control means controls communication using the first communication method not to be disconnected when the judgment means judges that the application to be switched to that has received the switching instruction does not require a connection to the Internet, and when communication with the data processing device via the first communication means that was established when the application switching instruction was accepted is established in the second procedure.

4. 4. The communication device according to claim 1, wherein the determining unit determines that a connection to the Internet is not required when the application to be switched to is an application for displaying images.

5. 5. The communication device according to claim 4, wherein the application for displaying the image is an application pre-installed in the communication device.

6. When the network in which the communication device participates is a network formed by an external access point having a function of connecting to the Internet, the control means The communication device according to any one of claims 1 to 5, characterized in that even if an instruction to switch the application is received, the communication using the first communication method is controlled not to be disconnected regardless of the judgment of the judgment means.

7. A method for controlling a communication device having a first communication means for participating in a network, establishing communication with a data processing device via the network, and performing data communication with the data processing device according to a first communication method, and a second communication means for performing data communication with the data processing device according to a second communication method having a communication speed slower than that of data communication according to the first communication method, comprising: a control step of controlling to establish communication in the first communication method by any one of a plurality of procedures including a first procedure and a second procedure requiring a larger amount of user operation to establish communication in the first communication method compared to the first procedure, and further controlling execution of a plurality of applications including an application for communicating with the data processing device; a receiving step of receiving an instruction to switch the application; a determination step of determining whether or not a switching destination application that has received the switching instruction requires a connection to the Internet when the application switching instruction is received in a state where communication with the data processing device is established via the first communication means; a step of controlling whether or not to disconnect the communication in the first communication method according to a result of the determination in the determination step and a procedure by which the communication in the first communication method is established; the first step is a means for establishing communication in the first communication method based on information communicated with the data processing device in the second communication method; the second step is a step of establishing communication in the first communication method based on information input by a user operation; The step of controlling whether to disconnect the communication in the first communication method includes disconnecting the communication in the first communication method in response to a result of the determination by the determination means and a procedure in which the communication in the first communication method has been established being the first procedure; A method for controlling a communication device, characterized in that communication using the first communication method is not disconnected depending on the result of the judgment by the judgment means and the fact that the procedure by which communication using the first communication method was established is the second procedure.

8. A computer readable program for causing a computer to function as each of the means of the communication device according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Communication terminal capable of effecting wireline and wireless communication

    JP2007166577A

  • Communication device, data processing device, control method therefor, and program

    JP2014086844A

  • Communication device, data processing device, its control method, and program

    JP2015073169A