Communication apparatus, electronic apparatus, control method and program

JP2023057861A5Active Publication Date: 2024-10-17CANON KK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2021167576
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2021-10-12
Publication Date
2024-10-17
Estimated Expiration
2041-10-12

AI Technical Summary

Technical Problem

Electronic devices lacking a display unit, such as digital cameras, face challenges in inputting or confirming network connection information like SSID and passwords, necessitating repeated manual input when connection details change, compromising confidentiality.

Method used

A communication device with input and display means facilitates setting and transmitting connection information to the electronic device, while maintaining confidentiality by displaying only partial or obscured information.

Benefits of technology

Reduces the trouble of manual input while ensuring network connection information remains confidential, enabling seamless wireless communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0001_ABST
    Figure 00000000_0001_ABST
  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

To provide a communication apparatus which reduces man-hours for inputting connection information of a network to the communication apparatus while keeping confidentiality of the connection information of the network, and an electronic apparatus.SOLUTION: A communication apparatus 200 comprises: communication means capable of communicating with an electronic apparatus 100; input means which inputs connection information of a first network for performing wireless communication with an external apparatus 300; and control means for transmitting the connection information to the electronic apparatus via the communication means. In response to requesting connection information which has been set to the electronic apparatus via the communication means, regarding first information which has been set to the electronic apparatus and is acquired from the electronic apparatus in the connection information acquired from the electronic apparatus, the control means displays the first information on display means and regarding second information which has been set to the electronic apparatus but is not acquired from the electronic apparatus, the control means displays information different from the second information on the display means.SELECTED DRAWING: Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a system in which an electronic device performs wireless communication with a communication device and an external device.

Background Art

[0002] Some electronic devices such as digital cameras that perform wireless communication with communication devices such as smart devices and external devices such as personal computers (PCs) do not have a display unit or have only a minimum necessary operation unit for miniaturization and weight reduction. Such electronic devices cannot input and confirm connection information such as an SSID (Service Set Identifier) and a password for connecting to a network such as a wireless LAN.

[0003] Patent Document 1 describes a method of performing wireless connection settings of an electronic device using a communication device by transmitting connection information from a communication device such as a smart device to an electronic device such as a printer.

Prior Art Documents

Patent Documents

[0004]

Patent Document 1

Summary of the Invention

Problems to be Solved by the Invention

[0005] However, in a network where a user can change connection information, when the connection information is changed, the electronic device needs to reset the network connection information. In this case, in Patent Document 1, it is necessary to re-enter the changed connection information into the communication device and transmit it to the electronic device. Also, a method of obtaining the connection information set in the electronic device from the electronic device by wireless communication by the communication device is conceivable, but there are concerns such as leakage and eavesdropping since the password is obtained by wireless communication.

[0006] This invention has been made in view of the above problems, and its purpose is to realize a technology that can reduce the effort required to input network connection information into communication equipment while maintaining the confidentiality of network connection information. [Means for solving the problem]

[0007] To solve the above problems and achieve the objective, the communication device of the present invention comprises: communication means capable of communicating with an electronic device; input means for inputting connection information of a first network that performs wireless communication with an external device; and control means for transmitting the connection information to the electronic device via the communication means. The control means, in response to a request for connection information already set in the electronic device via the communication means, displays the first information that is already set in the electronic device and has been acquired from the electronic device on the display means, and displays information different from the second information that is already set in the electronic device but has not been acquired from the electronic device on the display means.

[0008] Furthermore, the electronic device of the present invention includes communication means capable of communicating with a communication device, control means for receiving connection information for a first network for wireless communication with an external device from the communication device via the communication means, and storage means for storing the connection information received from the communication device. The control means, in response to a request from the communication device, transmits a first piece of connection information stored in the storage means to the communication device, and transmits a second piece of information different from the second piece of information to the communication device. [Effects of the Invention]

[0009] According to the present invention, it is possible to reduce the effort required to input network connection information into communication devices while maintaining the confidentiality of the network connection information. [Brief explanation of the drawing]

[0010] [Figure 1] A block diagram showing the configuration of the electronic device of this embodiment. [Figure 2]A block diagram showing the configuration of the communication equipment in this embodiment. [Figure 3] A block diagram showing the configuration of the external devices in this embodiment. [Figure 4] Network configuration diagram of this embodiment. [Figure 5] A diagram illustrating the UI screen of the communication device according to this embodiment. [Figure 6] A sequence diagram showing the communication process between the electronic device, communication device, and external device of this embodiment. [Figure 7] A flowchart illustrating the processing of the electronic device in this embodiment. [Figure 8] A flowchart illustrating the processing of the communication device in this embodiment. [Modes for carrying out the invention]

[0011] The embodiments will be described in detail below with reference to the attached drawings. Note that the following embodiments do not limit the invention as defined in the claims. While the embodiments describe multiple features, not all of these features are essential to the invention, and the features may be combined in any way. Furthermore, in the attached drawings, identical or similar configurations are given the same reference numerals, and redundant descriptions are omitted.

[0012] The following describes in detail, with reference to the attached drawings, embodiments of the present invention in which the electronic device is applied to an imaging device such as a digital camera, the communication device is applied to a portable terminal such as a smart device, and the external device is applied to an information processing device such as a personal computer (PC).

[0013] <Device Configuration> First, the configuration and functions of the electronic equipment, communication equipment, and external equipment of this embodiment will be described with reference to Figures 1 to 3.

[0014] Figure 1 is a block diagram showing the configuration of the digital camera 100 of this embodiment. While the following description focuses on a digital camera as an example of electronic equipment, it is not limited to this; it may also be applied to webcams, network cameras, in-vehicle cameras, surveillance cameras, medical cameras, smart speakers, etc., that can transfer images to a PC via a network.

[0015] The control unit 101 is a processing unit (CPU) that comprehensively controls the entire digital camera (hereinafter referred to as camera) 100, and executes a program stored in the non-volatile memory 103, which will be described later, to realize the communication processing and control processing described later. Alternatively, instead of the control unit 101 controlling the entire device, multiple hardware components may share the processing to control the entire device.

[0016] The imaging unit 102 includes a lens group including a zoom lens and a focus lens, and a shutter with an aperture function. The imaging unit 102 also has an image sensor composed of a CCD or CMOS element that converts the subject image into an electrical signal, and an A / D converter that converts the analog image signal output from the image sensor into a digital signal. Under the control of the control unit 101, the imaging unit 102 converts the subject image light formed by the lenses included in the imaging unit 102 into an electrical signal using the image sensor, performs noise reduction processing, and outputs image data consisting of a digital signal.

[0017] The control unit 101 performs resizing processes such as pixel interpolation and reduction, and color conversion processes on the image data captured by the imaging unit 102. Further, the control unit 101 compresses and encodes the still image data subjected to image processing by JPEG or the like, or encodes the video data by a video compression method such as MPEG2 or H.264 to generate an image file, and records it on the recording medium 110. In the camera 100 of the present embodiment, the image data is recorded on the recording medium 110 in accordance with the DCF (Design Rule for Camera File system) standard. Further, the control unit 101 performs predetermined arithmetic processing using the captured image data, and based on the obtained arithmetic result, the control unit 101 controls the focus lens, aperture, and shutter of the imaging unit 102 to perform AF (autofocus) processing and AE (autoexposure) processing.

[0018] The nonvolatile memory 103 is an electrically erasable and recordable memory, and for example, EEPROM or the like is used. In the nonvolatile memory 103, constants, programs, etc. for the operation of the control unit 101 are recorded. The program mentioned here is a program for executing the communication processing and control processing described later in the present embodiment.

[0019] The working memory 104 is used as a working area for expanding constants, variables, programs read from the nonvolatile memory 103, etc. for the operation of the control unit 101. Further, the working memory 104 is used as a buffer memory for temporarily holding the image data captured by the imaging unit 102.

[0020] The control unit 105 consists of various switches, buttons, and other operating components that accept various operations from the user. The control unit 105 includes, for example, a power button for turning the power on and off, a shutter button for instructing still image capture, a shutter button for instructing the start and end of video recording, a playback button for instructing image playback, and a mode switching button for changing the camera's operating mode to still image shooting mode, video recording mode, or playback mode. The control unit 105 also includes a dedicated connection button for initiating communication with external devices such as the smart device 200, PC 300, and access point (hereinafter referred to as AP) 400, which will be described later.

[0021] The shutter button turns on during operation, specifically when it is half-pressed (instructing the camera to prepare for shooting), generating a first shutter switch signal SW1. Upon receiving the first shutter switch signal SW1, the control unit 101 controls the imaging unit 102 to start operations such as AF (autofocus), AE (automatic exposure), AWB (auto white balance), and EF (flash pre-flash). Furthermore, when the shutter button operation is completed, specifically when it is fully pressed (instructing the camera to shoot), it turns on and generates a second shutter switch signal SW2. Upon receiving the second shutter switch signal SW2, the control unit 101 starts a series of shooting operations, from reading the signal from the imaging unit 102 to writing the image data to the recording medium 110.

[0022] The camera 100 of this embodiment does not have a display unit or a touch panel integrally formed on the display unit for displaying live view images, captured images, or UI screens for interactive operation. Therefore, the camera 100 of this embodiment does not allow the user to input or confirm connection information such as the SSID, password, username, and user password for connecting to the PC 300 and AP 400 via the wireless LAN network described later.

[0023] The recording medium 110 stores image data output from the imaging unit 102, or reads image files already recorded by the control unit 101. The recording medium 110 may be a memory card or hard disk drive attached to the camera 100, or it may be a flash memory or hard disk drive built into the camera 100. The camera 100 only needs to have means to access the recording medium 110.

[0024] The first communication unit 111 is an interface for connecting to external devices such as the smart device 200, AP400, and PC300, which will be described later. The camera 100 in this embodiment can exchange data with external devices via the first communication unit 111. For example, image data generated by the imaging unit 102 can be transmitted to an external device via the first communication unit 111. In this embodiment, the first communication unit 111 includes an interface for communicating with an external device via wireless LAN in accordance with the IEEE802.11 standard. The control unit 101 realizes wireless communication with the external device by controlling the first communication unit 111. Note that the communication method is not limited to wireless LAN, and can include, for example, an infrared communication interface, a wireless communication interface such as WirelessUSB, and a wired communication interface such as a USB cable, HDMI (registered trademark), or IEEE1394.

[0025] The second communication unit 112 consists of, for example, an antenna for wireless communication and a modulation / demodulation circuit and communication controller for processing wireless signals. The second communication unit 112 outputs a modulated wireless signal from the antenna and demodulates the wireless signal received by the antenna to realize short-range wireless communication in accordance with the IEEE 802.15 standard (Bluetooth®). In this embodiment, Bluetooth® Low Energy (BLE) version 4.0, which has low power consumption, is used for Bluetooth® communication. Bluetooth® communication has a narrower communication range (i.e., a shorter communication distance) compared to wireless LAN communication. Also, Bluetooth® communication is slower than wireless LAN communication. On the other hand, Bluetooth® communication consumes less power than wireless LAN communication.

[0026] The camera 100 of this embodiment can exchange data with an external device via the second communication unit 112. The control unit 101, for example, controls the imaging unit 102 to perform a shooting operation when it receives a shooting instruction from an external device, or controls the first communication unit 111 to perform a communication operation when it receives a control command to exchange data via wireless LAN.

[0027] In this embodiment, the first communication unit 111 of the camera 100 has an AP mode in which it operates as an access point in infrastructure mode, and a CL mode in which it operates as a client in infrastructure mode. By operating the first communication unit 111 in CL mode, the camera 100 in this embodiment can operate as a CL device in infrastructure mode. When the camera 100 operates as a CL device, it can connect to surrounding AP devices and participate in the network formed by the AP devices. Furthermore, by operating the first communication unit 111 in AP mode, the camera 100 in this embodiment can also operate as a simpler AP (hereinafter referred to as a simple AP), although it is a type of AP, with more limited functionality. When the camera 100 operates as a simple AP, the camera 100 forms its own network. Peripheral devices of the camera 100 recognize the camera 100 as an AP device and can participate in the network formed by the camera 100. The program for operating the camera 100 as described above is stored in the non-volatile memory 103.

[0028] In this embodiment, although the camera 100 is a type of AP, it is a simple AP that does not have a gateway function to transfer data received from CL devices to an Internet provider or the like. Therefore, even if it receives data from other devices participating in the network it has formed, it cannot transfer that data to the Internet or other networks.

[0029] Figure 2 is a block diagram showing the configuration of the smart device 200 in this embodiment. While the following description describes a smart device as an example of a communication device, it is not limited to this and may also be applied to desktop PCs, tablet PCs, smartwatches, smart glasses, etc., that can communicate with the camera 100.

[0030] The smart device 200 of this embodiment comprises a control unit 201, an imaging unit 202, a non-volatile memory 203, a working memory 204, an operation unit 205, a recording medium 210, a first communication unit 211, and a second communication unit 212. The basic functions of these elements are the same as those of the camera 100, and therefore their explanation is omitted.

[0031] The non-volatile memory 203 stores the operating system (OS), which is the basic software executed by the control unit 201, and applications that work in cooperation with the OS to realize advanced functions. In this embodiment, the non-volatile memory 203 also stores an application for communicating with the camera 100.

[0032] The processing of the smart device 200 in this embodiment is achieved by loading software provided by an application. The application is assumed to have software for utilizing the basic functions of the OS installed on the smart device 200. The OS of the smart device 200 may also have software for implementing the processing in this embodiment.

[0033] The operation unit 205 consists of various operating components such as switches, buttons, and touch panels that accept various operations from the user. The operation unit 205 includes, for example, a power button for turning the power on and off. The operation unit 105 also includes a dedicated connection button for starting communication with an external device such as a camera 100 or a PC 300, which will be described later. The touch panel, which is integrally formed with the display unit 206, which will be described later, is also included in the operation unit 205.

[0034] The display unit 206 displays the live view image during shooting, displays captured images, and displays a UI screen for interactive operation. The display unit 206 is, for example, a display device such as a liquid crystal display or an organic EL display. The display unit 206 may be integrated with the smart device 200 or it may be an external device connected to the smart device 200. The smart device 200 only needs to be able to connect to the display unit 206 and have the function to control the display of the display unit 206.

[0035] The first communication unit 211 includes a wireless communication interface for wirelessly communicating with an external device such as a camera 100. The control unit 201 enables wireless communication with the external device by controlling the first communication unit 211. The first communication unit 211 may be directly connected to the camera 100 or connected via an access point. As a protocol for communicating data, for example, HTTP (Hyper Text Transfer Protocol) or PTP / IP (Picture Transfer Protocol over Internet Protocol) can be used via a wireless LAN. However, communication with the camera 100 is not limited to these. For example, the first communication unit 211 may include an infrared communication interface, a wireless communication interface such as WirelessUSB, or a wired communication interface such as a USB cable, HDMI (registered trademark), or IEEE1394.

[0036] The public network connection unit 213 is an interface used when performing wireless communication via a wide area network (WAN) such as 4G / LTE or 5G. The smart device 200 can make calls and perform data communication with other devices via the public network connection unit 213. In the case of a call, the control unit 201 inputs and outputs voice signals via the microphone 214 and speaker 215. In this embodiment, the public network connection unit 213 is not limited to 4G / LTE or 5G, but may also use other communication methods such as local 5G, WiMAX, ADSL, or FTTH. In this embodiment, the public network connection unit 213 is an antenna, and the control unit 201 can connect to the public network via the antenna. The first communication unit 211 and the public network connection unit 213 can also be shared by a single antenna. The first communication unit 211 and the public network connection unit 213 do not necessarily need to be configured with independent hardware; for example, they can be shared by a single antenna.

[0037] Figure 3 is a block diagram showing the configuration of the PC3300 in this embodiment. While the following description uses a desktop PC as an example of an information processing device, it is not limited to this and may also be applied to televisions, tablet PCs, smart devices, smartwatches, smart glasses, etc., capable of receiving images transmitted from the camera 100 via a network.

[0038] The PC300 of this embodiment includes a control unit 301, a non-volatile memory 303, a working memory 304, an operation unit 305, a display unit 306, a first communication unit 311, and a speaker 315. The basic functions of these elements are the same as those of the smart device 200, and therefore their explanation is omitted.

[0039] <Network Configuration> Next, referring to Figure 4, the network configuration when the camera 100 of this embodiment obtains connection information from the smart device 200 and connects to the PC 300 and AP 400 will be described.

[0040] Figure 4 illustrates the network configuration when the camera 100 of this embodiment acquires connection information from the smart device 200 and connects to the PC 300 and AP 400.

[0041] Since the camera 100 in this embodiment does not have a display unit, the user cannot directly input connection information for connecting to the wireless LAN into the camera 100 or check the settings. Therefore, in this embodiment, the connection information for the camera 100 to connect to the AP400 and PC300 is set using the smart device 200.

[0042] Figure 4(a) illustrates a network configuration in which the camera 100 and the smart device 200 are directly connected in order for the camera 100 to send and receive connection information for connecting to the AP400 and PC300. Figure 4(b) illustrates a network configuration in which the camera 100 and PC300 are connected to the wireless LAN formed by the AP400.

[0043] In Figure 4(a), camera 100 operates as a simple access point (AP) to form a wireless LAN network and begins periodically transmitting beacon signals. Smart device 200 detects the beacon signals and joins the wireless LAN network formed by camera 100. After joining the wireless LAN network where camera 100 operates as a simple AP, smart device 200 establishes a connection through mutual device discovery, device capability acquisition, etc., and becomes capable of sending and receiving data.

[0044] In Figure 4(b), the camera 100 and PC 300 join the wireless LAN network formed by the AP 400. The camera 100 and PC 300 detect the beacon signals that the AP 400 periodically transmits and join the wireless LAN network formed by the AP 400. After the camera 100 and PC 300 join the same wireless LAN network formed by the AP 400, they discover each other's devices, acquire device capabilities, etc., and become capable of sending and receiving data via wireless LAN.

[0045] In this embodiment, the smart device 200 transmits connection information to the camera 100 for connecting to the AP400, and the camera 100 can join the wireless LAN network using the connection information obtained from the smart device 200. In this embodiment, the connection information is described as an SSID and password, but it is not limited to these and may also include information such as the wireless LAN channel and encryption method, as long as it is information for connecting to the wireless LAN network. Furthermore, the connection information may also include authentication information (account information) such as the username and password for the PC 300 to connect to the camera 100 via the AP400.

[0046] In this embodiment, a configuration is described in which the PC300 uses HTTP authentication (Basic authentication / Digest authentication) when communicating data with the camera 100. The smart device 200 transmits a username and user password for the PC300 to connect to the camera 100, similar to the SSID and password. When the camera 100 connects to the PC300 via the AP400, it uses the username and user password to determine whether or not the PC300 is allowed to access it.

[0047] In the following explanation, connection information will be assumed to include communication parameters consisting of the SSID and password used for connecting to the wireless LAN, and authentication information consisting of the username and user password used for authenticating devices connected via the wireless LAN.

[0048] <Setting and updating connection information> Next, referring to Figure 5, we will explain how to set the connection information for the camera 100 of this embodiment to obtain connection information from the smart device 200 and connect to the PC 300 and AP 400, and how to update the connection information when the AP 400's connection information is changed.

[0049] Figure 5 illustrates the UI screen of the smart device 200 when the camera 100 of this embodiment obtains connection information from the smart device 200 and connects to the PC 300 and AP 400. Figure 6 is a sequence diagram illustrating how the camera 100 of this embodiment obtains connection information from the smart device 200 and connects to the PC 300 and AP 400.

[0050] Figure 5(a) shows an example of the UI screen of the smart device 200 when the camera 100 does not have connection information for AP400 configured. Figure 5(b) shows an example of the UI screen of the smart device 200 when the connection information for setting up the camera 100 has been entered. Figure 6(a) is a sequence diagram explaining how to set up connection information when it is not set up for the camera 100.

[0051] Referring to Figures 5(a), 5(b), and 6(a), the method for setting connection information to camera 100 will be explained.

[0052] In Figure 6(a), in step S601, when the user connects to the smart device 200 using the control unit 105 of the camera 100, the camera 100 operates as a simple AP and forms a wireless LAN network.

[0053] In step S602, when the user performs an operation to connect to the camera 100 using the control unit 205 of the smart device 200, the smart device 200 joins the wireless LAN network formed by the camera 100 and establishes a Wi-Fi® connection.

[0054] In step S603, the smart device 200 sends a request to the camera 100 to acquire connection information as a connection setting via the first communication unit 211. In this case, since the camera 100 has not set any connection information, in S604 the camera 100 sends a response with an empty value for the connection information. In this embodiment, the camera 100 responds with an empty value when no connection information is set, but is not limited to this. For example, if no connection information is set, it may respond with an error value indicating that it is not set, or it may respond with information that allows the smart device 200 to recognize that the camera 100 has not set any connection information.

[0055] In step S605, the smart device 200 displays the UI screen shown in Figure 5(a) on the display unit 206.

[0056] The UI screen in Figure 5(a) is explained below. Input field 501 is a text box for displaying and entering the SSID from the camera 100's connection information. Input field 502 is a text box for displaying and entering the password from the camera 100's connection information. Input field 503 is a text box for displaying and entering the username from the camera 100's authentication information. Input field 504 is a text box for displaying and entering the user password from the camera 100's authentication information. Button 505 is a button for sending a request to camera 100 to reflect the connection information from smart device 200. In Figure 5(a), input fields 501 to 504 are displayed blank to indicate that no connection information obtained from camera 100 has been set. Button 505 is displayed grayed out to indicate that it is not possible to request camera 100 to reflect the connection information because no connection information has been entered.

[0057] In step S606, when the user inputs connection information via the operation unit 205 of the smart device 200, the UI screen shown in Figure 5(b) is displayed on the display unit 206 of the smart device 200. The input fields 521-524 and button 525 are the same as the input fields 501-504 and button 505 in Figure 5(a). The data entered in step S606 is displayed in input fields 521-524, and button 525 is no longer grayed out to indicate that connection information has been entered and that it is possible to request the camera 100 to reflect the connection information.

[0058] In the example in Figure 5(b), the characters entered in input field 522 and the user password entered in input field 524 are displayed exactly as they are. However, to prevent leakage through someone peeking at the displayed screen, it may be better to not display the entered characters and only indicate that something has been entered. Specifically, if one character is entered, one "*" would be displayed. In this way, even if a password is entered, only the masked characters will be displayed on the screen, reducing the risk of password leakage even if someone peeks at the screen.

[0059] Furthermore, if the same masking character "*" as shown in Figure 5(c) later is used, it may become impossible to distinguish it from the case where information has not been acquired from camera 100, as shown in the UI screen of Figure 5(c). Therefore, when a password is entered, a different masking character may be used than when information has not been acquired from camera 100. For example, it may be displayed as "●", or the same character "*" may be used but in bold, underlined, or italicized. In this way, by using the same character as displayed when connection information has not been acquired on the screen where connection information has been acquired, but with a different font or display style, it is possible to display both information that should be kept secret and information that has been entered.

[0060] In step S607, when the user operates button 505 using the control unit 205 of the smart device 200, a request to reflect connection information is sent to the camera 100. The smart device 200 transmits connection information to the camera 100 using the first communication unit 211.

[0061] In step S608, the camera 100 updates the connection information stored in the non-volatile memory 103 based on the connection information received from the smart device 200 by the first communication unit 111.

[0062] In step S609, the camera 100 sends a response via the first communication unit 111 to the smart device 200 indicating that the connection information has been successfully reflected. In this embodiment, the connection information set in Figure 6(a) is "network01" for the SSID, "abcd0001" for the password, "user0001" for the username, and "userpw01" for the user password.

[0063] This procedure allows the smart device 200 to be used to set connection information on camera 100 if the camera 100 does not already have connection information configured.

[0064] Next, we will explain how to connect to AP400 and PC300 when camera 100 has connection information configured. Here, we assume that the connection information for AP400 is the same as the connection information configured for camera 100, with the SSID being "network01" and the password being "abcd0001".

[0065] Figure 6(b) is a sequence diagram illustrating how to connect to AP400 and PC300 when connection information is set on camera 100. Note that the explanation of the process by which PC300 and AP400 establish a Wi-Fi® connection is omitted.

[0066] In step S621, when the user connects to the AP400 using the control unit 105 of the camera 100, in step S622, the camera 100 detects a beacon signal that the AP400 periodically transmits. The beacon signal is the SSID "network01" which is set as connection information in Figure 6(a). The AP400 periodically transmits the beacon signal for SSID "network01", and when the camera 100 detects the beacon signal, in step S623, it sends an authentication request to the AP400 using the connection information password "abcd0001".

[0067] In step S624, AP400 confirms that the requested password matches the set password, and sends a successful authentication response to camera 100, establishing a Wi-Fi® connection.

[0068] In step S625, the PC300 sends a communication request to the camera 100 via the first communication unit 311. When the PC300 makes a communication request, it displays a screen on the display unit 306 prompting the user to enter a username and user password.

[0069] In step S626, the camera 100 performs HTTP authentication using the username and user password sent from the PC 300 and the username and user password stored in the camera 100, and responds to the connection request. The content of the communication between the camera 100 and the PC 300 is expected to be, for example, the transfer of real-time images or recorded images from the camera 100 to the PC 300.

[0070] Through this procedure, camera 100 can connect to AP400 and PC300 using the connection information set in smart device 200.

[0071] Here, the AP400's connection information may be changed by the user. When the connection information is changed, the connection information stored in the camera 100 will differ from the connection information in the AP400, and the camera 100 will be unable to connect to the AP400. Specifically, if the SSID in the AP400's connection information is changed, in step S622 of Figure 6(b), the camera 100 will no longer be able to detect the AP400's beacon signal. Also, if the password in the AP400's connection information is changed, the authentication request in step S623 of Figure 6(b) will be met with an authentication failure response in step S624, and the connection between the camera 100 and the AP400 will not be established. It is cumbersome for the user to re-enter all connection information using the smart device 200 in order to update the AP400's connection information set in the camera 100. As an alternative, it is conceivable that the smart device 200 could obtain and display the connection information already set in the camera 100, thereby eliminating the need for input. However, when obtaining passwords and user passwords wirelessly, there are concerns about leakage and eavesdropping. Therefore, in this embodiment, when updating the AP400 connection information stored in the camera 100 using the smart device 200, the update process is performed without obtaining the password and user password.

[0072] The following describes the process when the SSID in the AP400's connection information is changed, with reference to Figures 5(c) and 6(c). Figure 5(c) shows an example of the UI screen of the smart device 200 when the SSID in the AP400's connection information is changed. Figure 6(c) is a sequence diagram illustrating the operation of the camera 100 and the smart device 200 when the SSID in the AP400's connection information is changed to "network02".

[0073] In Figure 6(c), in step S641, when the user connects to the smart device 200 using the control unit 105 of the camera 100, the camera 100 operates as a simple AP and forms a wireless LAN network.

[0074] In step S642, when the user performs an operation to connect to the camera 100 using the control unit 205 of the smart device 200, the smart device 200 joins the wireless LAN network formed by the camera 100 and establishes a Wi-Fi® connection.

[0075] In step S643, the smart device 200 requests the camera 100 to acquire connection information via the first communication unit 211.

[0076] In step S644, the camera 100 responds with connection information via the first communication unit 111. Here, the password for the communication parameter and the user password for the authentication information are responded with the string "null". "null" is originally a string meaning an empty value, i.e., not set, but in this embodiment, it means that the password for the communication parameter and the user password for the authentication information are set but the camera 100 has not transmitted them. In this embodiment, the password for the communication parameter and the user password for the authentication information are responded with the string "null", but this is not limited to this. For example, the camera 100 could respond with the number of characters in the password and user password, or any other information that allows the smart device 200 to recognize that the password is set but the camera 100 has not transmitted it and therefore the smart device 200 has not been able to obtain it.

[0077] In step S645, the smart device 200 displays the UI screen shown in Figure 5(c) on the display unit 206. The input fields 541-544 and button 545 are the same as the input fields 501-504 and button 505 in Figure 5(a). Input fields 541 and 543 display the SSID and username obtained from the camera 100. Input fields 542 and 544 display specific information that is different from the password and user password, and includes characters or symbols that make it impossible to distinguish between the password and user password. Furthermore, the specific information is displayed as a string of asterisks ("********") in this embodiment, for example, as information that the user can identify as being set in the camera 100 but not obtained from the camera 100. Note that the specific information is not limited to this, and for example, the color of input fields 542 and 544 may be changed, or the number of characters in the password and user password may be obtained from the camera 100 and the specific information may be displayed based on that number of characters.

[0078] In step S646, the user enters the SSID "network02" into the input field 541 using the operation unit 205 of the smart device 200. If the camera 100 is unable to detect the AP400's beacon signal, the smart device 200 may be notified that the beacon signal could not be detected, and this may be displayed on the smart device 200's display unit 206. This allows the user to recognize that information needs to be entered into the input field 541.

[0079] In step S647, the user operates button 545 using the control unit 205 of the smart device 200, causing the smart device 200 to send a request to the camera 100 to reflect connection information. The smart device 200 sends connection information to the camera 100 using the first communication unit 211. Here, the password for the communication parameter and the user password for the authentication information among the connection information are responded with the string "null". "null" is originally a string meaning an empty value, i.e., not set, but in this embodiment, it means that the settings of the camera 100 will not be updated.

[0080] In step S648, when the camera 100 receives connection information from the smart device 200 via the first communication unit 111, it stores the connection information in the non-volatile memory 103. In this case, the camera 100 updates the items in the connection information received from the smart device 200 that have been changed from the already set items, and leaves the "null" items as they are without updating their information.

[0081] In step S649, the camera 100 responds via the first communication unit 111 that the connection information has been successfully reflected to the smart device 200. In this embodiment, the connection information set in Figure 6(c) is "network02" for the SSID, "abcd0001" for the password, "user0001" for the username, and "userpw01" for the user password.

[0082] In this way, when updating the AP400 connection information already configured on camera 100 using smart device 200, the communication parameter password and the user password for authentication information are not obtained from camera 100. This allows camera 100 and smart device 200 to communicate wirelessly while maintaining the confidentiality of the connection information, and reduces the effort required for smart device 200 to input the camera 100's connection information.

[0083] Next, referring to Figures 5(d) and 6(d), we will explain the process for handling changes to the password among the communication parameters of the AP400.

[0084] Figure 5(d) shows an example of the UI screen of the smart device 200 when the password among the communication parameters of AP400 is changed. Figure 6(d) is a sequence diagram explaining the operation of the camera 100 and smart device 200 when the password among the communication parameters of AP400 is changed to "abcd0002".

[0085] Steps S661 to S665 are the same as steps S641 to S645.

[0086] In step S666, the user enters "network02" as the password for the AP400's communication parameters into the input field 562 of the UI screen in Figure 5(d) using the operation unit 205 of the smart device 200. In this case, when user operation on the input field 562 is detected, specific information ("********") in the input field 562 is cleared and displayed as blank to make the user aware that information needs to be entered into the input field 562. Furthermore, to make it easier for the user to recognize, if the camera 100 fails to authenticate the AP400, it may notify the smart device 200 of the authentication failure and display it on the display unit 206 of the smart device 200.

[0087] In step S667, when the user operates button 565 using the control unit 205 of the smart device 200, the smart device 20 sends a request to the camera 100 to reflect the connection information and connection information with "network02" entered in the input field 562 of the UI screen in Figure 5(d). Here, of the connection information sent to the camera 100, the user password in the authentication information input field 564 of the UI screen in Figure 5(d) is sent as the string "null" to indicate that it will not be updated.

[0088] In step S668, the camera 100 updates the connection information stored in the non-volatile memory 103 based on the connection information received from the smart device 200 by the first communication unit 111. In this case, the camera 100 updates the items in the connection information received from the smart device 200 that have been changed, starting with the already configured items, and leaves the "null" items as they are without updating their information.

[0089] In step S669, the camera 100 responds via the first communication unit 111 that the connection information has been successfully reflected to the smart device 200. The connection information set in Figure 6(d) is "network02" for the SSID, "abcd0002" for the password, "user0001" for the username, and "userpw01" for the user password.

[0090] In this way, when updating the AP400 connection information already configured on camera 100 using smart device 200, the communication parameter password and the user password for authentication information are not obtained from camera 100. This allows camera 100 and smart device 200 to communicate wirelessly while maintaining the confidentiality of the connection information, and reduces the effort required for smart device 200 to input the camera 100's connection information.

[0091] In this embodiment, we have described the case where communication parameters among the connection information are changed, but the same applies when the username or user password in the authentication information is changed.

[0092] Furthermore, the AP400 can also have its password setting unset among its communication parameters. When configuring a connection to an AP400 without a password, for example, the smart device 200 sends a request to the camera 100 with connection information where the password for the AP400's communication parameters is an empty string. The camera 100 updates the connection information stored in its non-volatile memory 103 with the connection information received from the smart device 200 where the password for the AP400's communication parameters is an empty string, thereby enabling it to connect to the AP400 without requiring authentication.

[0093] <Processing of Camera 100> Next, referring to Figure 7, the process by which the camera 100 of this embodiment connects to the AP400 and PC300 using the smart device 200 will be described.

[0094] The process shown in Figure 7 is achieved by the control unit 101 of the camera 100 executing a program stored in the non-volatile memory 103 and controlling each component of the camera 100.

[0095] In step S701, the control unit 101 determines whether or not it has detected an operation by the user to connect to the smart device 200 by operating the operation unit 105. If the control unit 101 determines that it has detected an operation to connect to the smart device 200, it proceeds to step S702. If the control unit 101 determines that it has not detected an operation to connect to the smart device 200, it proceeds to step S751.

[0096] In step S751, the control unit 101 determines whether it has detected an operation to connect to the AP400 by the user operating the operation unit 105. If the control unit 101 determines that it has detected an operation to connect to the AP400, it proceeds to step S752. If the control unit 101 determines that it has not detected an operation to connect to the AP400, it returns to step S701. In this way, the camera 100 starts processing triggered by the detection of an operation to connect to the smart device 200 or an operation to connect to the AP400.

[0097] The following describes the process of connecting with the smart device 200 from step S702, and then the process of connecting with the AP400 from step S752.

[0098] In step S702, the control unit 101 operates as a simple AP via the first communication unit 111 to connect with the smart device 200 and forms a wireless LAN network. The smart device 200 then joins the wireless LAN network formed by the camera 100 and establishes a Wi-Fi® connection.

[0099] In step S703, the control unit 101 determines whether or not it has received a request to acquire connection information from the smart device 200 via the first communication unit 111. The connection information consists of communication parameters, name, and password, and authentication information, name and password. If the control unit 101 determines that it has received a request to acquire connection information from the smart device 200, it proceeds to step S704. If the control unit 101 determines that it has not received a request to acquire connection information from the smart device 200, it proceeds to step S707.

[0100] In step S704, the control unit 101 determines whether or not connection information has already been set. If the control unit 101 determines that connection information has already been set, it proceeds to step S705. If the control unit 101 determines that connection information has not already been set, it proceeds to step S706.

[0101] In step S705, the control unit 101 converts the password for the communication parameter and the user password for the authentication information from the configured connection information into the string "null" to indicate that they are configured for the camera 100 but the camera 100 has not transmitted them. The control unit 101 then sends the SSID for the communication parameter and the password converted to "null", as well as the username for the authentication information and the user password converted to "null", to the smart device 200 via the first communication unit 111 as connection information.

[0102] In this way, the camera 100 does not transmit the password for the communication parameters and the user password for the authentication information from the configured connection information to the smart device 200, thus maintaining the confidentiality of the connection information.

[0103] In step S706, the control unit 101 transmits to the smart device 200 via the first communication unit 111 that connection information has not been set. One way to notify that connection information has not been set is to transmit information indicating that each item of the connection information is blank.

[0104] In step S707, the control unit 101 determines whether or not it has received a request to reflect connection information from the smart device 200 via the first communication unit 111. If the control unit 101 determines that it has received a request to reflect connection information from the smart device 200 via the first communication unit 111, it proceeds to step S708. If the control unit 101 determines that it has not received a request to reflect connection information from the smart device 200 via the first communication unit 111, it proceeds to step S712.

[0105] In step S708, the control unit 101 determines whether or not the connection information has been reflected. If the control unit 101 determines that the connection information has been reflected, it proceeds to step S709. If the control unit 101 determines that the connection information has not been reflected, it proceeds to step S711.

[0106] In step S709, the control unit 101 determines whether the password for the communication parameters and the user password for the authentication information in the connection information received from the smart device 200 by the first communication unit 111 are the string "null" which indicates that they will not be updated. If the control unit 101 determines that the password for the communication parameters and the user password for the authentication information in the connection information received from the smart device 200 are the string "null" which indicates that they will not be updated, the process proceeds to step S710. If the control unit 101 determines that the password for the communication parameters and the user password for the authentication information in the connection information received from the smart device 200 are not the string "null" which indicates that they will not be updated, the process proceeds to step S711.

[0107] In step S710, the control unit 101 does not update the password for the communication parameters or the user password for the authentication information among the connection information received from the smart device 200, but updates the other connection information and stores it in the non-volatile memory 103.

[0108] In step S711, the control unit 101 updates the connection information stored in the non-volatile memory 103 with the connection information received from the smart device 200.

[0109] In step S712, the control unit 101 determines whether the connection to the smart device 200 has been disconnected. If the control unit 101 determines that the connection to the smart device 200 has been disconnected, it terminates the process. If the control unit 101 determines that the connection to the smart device 200 has not been disconnected, it returns to step S703.

[0110] Next, we will explain the process of establishing a connection with AP400 from step S752.

[0111] In step S752, the control unit 101 determines whether or not connection information has already been set. If the control unit 101 determines that connection information has already been set, it proceeds to step S753. If the control unit 101 determines that connection information has not been set, it terminates the process because it is not possible to connect to the AP400.

[0112] In step S753, the control unit 101 detects the beacon signal that AP400 periodically transmits using the first communication unit 111. AP400 periodically transmits the beacon signal, and when camera 100 detects the beacon signal, it makes an authentication request using the password of the communication parameters among the connection information stored in the non-volatile memory 103.

[0113] In step S754, the control unit 101 determines whether or not it has received a successful authentication response from AP400 via the first communication unit 111. If the control unit 101 determines that it has received a successful authentication response from AP400 via the first communication unit 111, it establishes a Wi-Fi® connection and proceeds to step S755. If the control unit 101 determines that it has received a failed authentication response from AP400 via the first communication unit 111, it cannot establish a Wi-Fi® connection and terminates the process.

[0114] In step S755, the control unit 101 determines whether or not it has received a communication request from the PC 300 via the first communication unit 111. If the control unit 101 determines that it has received a communication request from the PC 300 via the first communication unit 111, it proceeds to step S756. If the control unit 101 determines that it has not received a communication request from the PC 300 via the first communication unit 111, it proceeds to step S759.

[0115] In step S756, the control unit 101 performs HTTP authentication using the authentication information from the connection information received from the PC 300 by the first communication unit 111. The control unit 101 sends an authentication information request to the PC 300 by the first communication unit 111 and determines whether the username and user password received from the PC 300 match the username and user password stored in the non-volatile memory 103. If the username and user password received from the PC 300 match the username and user password stored in the non-volatile memory 103, the control unit 101 determines that authentication is successful and proceeds to step S757. If the username and user password received from the PC 300 do not match the username and user password stored in the non-volatile memory 103, the control unit 101 determines that authentication has failed and proceeds to step S758.

[0116] In step S757, the control unit 101 transmits a response to the communication request from the PC 300 via the first communication unit 111.

[0117] In step S758, the control unit 101 sends an authentication failure response to the PC300's communication request via the first communication unit 111.

[0118] In step S759, the control unit 101 determines whether the connection to AP400 has been disconnected. If the control unit 101 determines that the connection to AP400 has been disconnected, it terminates the process. If the control unit 101 determines that the connection to AP400 has not been disconnected, it returns to step S755 and waits for a communication request from PC300.

[0119] <Processing by Smart Device 200> Next, referring to Figure 8, the process by which the smart device 200 of this embodiment sets the connection information of AP400 to the camera 100 will be described.

[0120] The process shown in Figure 8 is achieved by the control unit 201 of the smart device 200 executing a program stored in the non-volatile memory 203 and controlling each component of the smart device 200.

[0121] In step S801, the control unit 201 waits until it detects an operation by the user to connect to the camera 100 by operating the operation unit 205. If the control unit 201 detects an operation to connect to the camera 100, it proceeds to step S802.

[0122] In step S802, the control unit 201 joins the wireless LAN network formed by the camera 100 via the first communication unit 211 and establishes a Wi-Fi® connection.

[0123] In step S803, the control unit 201 sends a request to the camera 100 via the first communication unit 211 to acquire connection information. The smart device 200 acquires information from the camera 100 indicating that it can acquire the configured information and that any unconfigured information is blank.

[0124] In step S804, the control unit 201 determines whether or not it was able to obtain connection information from the camera 100 using the first communication unit 211. If the control unit 201 determines that it was able to obtain connection information from the camera 100, it proceeds to step S805. If the control unit 201 determines that it was not able to obtain connection information from the camera 100, it proceeds to step S806.

[0125] In step S805, the control unit 201 displays the UI screen shown in Figure 5(c) on the display unit 206. The display unit 206 displays "null" information, which indicates that the camera 100 has configured the connection information but the smart device 200 has not been able to acquire it because the camera 100 has not transmitted it, as shown in the input fields 542 and 544 in Figure 5(c) with specific information ("********"). Information other than "null" is displayed as acquired information.

[0126] In step S806, the control unit 201 displays the UI screen shown in Figure 5(a) on the display unit 206 to notify the user that no connection information has been set for the camera 100, and then proceeds to step S809.

[0127] In step S807, the control unit 201 determines whether or not user operation has been detected for input fields 542 and 544, which are displayed with specific information ("********") on the UI screen in Figure 5(c). If the control unit 201 determines that user operation has been detected, it proceeds to step S808. If the control unit 201 determines that no user operation has been detected, it proceeds to step S809.

[0128] The following section describes what happens when an operation to change the password in input field 542 of the UI screen in Figure 5(c) is detected.

[0129] In step S808, the control unit 201 changes the display of input field 542, which is shown with specific information ("********") as in the UI screen of Figure 5(c), to a blank display indicating that connection information has not been set and that connection information can be entered, as in input field 502 on the UI screen of Figure 5(a). This is to prevent the specific information ("********") displayed in input field 542 on the UI screen of Figure 5(c) from interfering with user input.

[0130] In step S809, the control unit 201 determines whether or not an operation of the button 545 for requesting the camera 100 to reflect connection information has been detected in the input field 542 of the UI screen in Figure 5(c). If the control unit 201 determines that an operation of the button 545 for requesting the camera 100 to reflect connection information has been detected, the process proceeds to step S810. If the control unit 201 determines that an operation of the button 545 for requesting the camera 100 to reflect connection information has not been detected, the process proceeds to step S813.

[0131] In step S810, the control unit 201 determines whether the password in input field 542 of the UI screen in Figure 5(c) has been changed by the user. If the control unit 201 determines that the password in input field 542 of the UI screen in Figure 5(c) has been changed by the user, it proceeds to step S811. If the control unit 201 determines that the password in input field 542 of the UI screen in Figure 5(c) has not been changed by the user, it proceeds to step S812.

[0132] In step S811, the control unit 201 sends a request to the camera 100 via the first communication unit 211 to reflect the change in the connection information, specifically the password in the input field 542 of the UI screen shown in Figure 5(c).

[0133] In step S812, the control unit 201 sends a request to the camera 100 via the first communication unit 211 to reflect connection information, in which "null" is entered in the input field 542 of the UI screen in Figure 5(c), indicating that the password will not be updated.

[0134] In step S813, the control unit 201 determines whether the connection to the camera 100 has been disconnected. If the control unit 201 determines that the connection to the camera 100 has been disconnected, it terminates the process. If the control unit 201 determines that the connection to the camera 100 has not been disconnected, it returns to step S755.

[0135] The explanation of the process by which PC300 and AP400 establish a Wi-Fi® connection will be omitted.

[0136] In this embodiment, the camera 100 is not equipped with a display unit, making it difficult to input and confirm network connection settings. However, it is also effective when a display unit is provided.

[0137] In this embodiment, an example was described in which HTTP is used as the authentication method when PC300 communicates with camera100 via AP400. However, this is not limited to this, and other authentication and authorization methods such as OAuth 2.0, OpenID, OpenID Connect, and SAML (Security Assertion Markup Language) may be used, or authentication may not be used during data communication, but only during connection setup.

[0138] [Other embodiments] The present invention can also be realized by supplying a program that implements one or more functions of each embodiment to a system or device via a network or storage medium, and by having one or more processors in the computer of that system or device read and execute the program. Furthermore, the present invention can also be realized by a circuit (e.g., an ASIC) that implements one or more functions.

[0139] The invention is not limited to the embodiments described above, and various modifications and variations are possible without departing from the spirit and scope of the invention. Accordingly, claims are attached to disclose the scope of the invention. [Explanation of symbols]

[0140] 100…Digital camera (electronic device), 101…Control unit, 111…First communication unit, 200…Smart device (communication device), 201…Control unit, 205…Operation unit, 206…Display unit, 211…First communication unit, 300…PC (external device), 400…Access point (AP)

Claims

1. A communication means capable of communicating with an electronic device; an input means for inputting connection information of a first network for wireless communication with an external device; a control unit that transmits the connection information to the electronic device by the communication unit, The control means among the connection information acquired from the electronic device in response to the request for connection information already set in the electronic device by the communication means, first information that has already been set in the electronic device and acquired from the electronic device is displayed on a display means; A communication device characterized in that second information that has been set in the electronic device but not acquired from the electronic device is displayed on the display means as information different from the second information.

2. The communication device described in claim 1, characterized in that when the different information displayed on the display means is changed, the control means sends to the electronic device a request to update the second information already set in the electronic device with the changed information, and when the different information displayed on the display means is not changed, connection information converted from the different information into third information is sent to the electronic device, and the third information is information for notifying the communication device that the second information already set in the electronic device will not be updated.

3. 3. The communication device according to claim 1, wherein the control means, when detecting a user operation on the different information displayed on the display means, erases the different information and enables new information to be input.

4. The communication device according to any one of claims 1 to 3, characterized in that the control means displays on the display means blank connection information that is not set in the electronic device among the connection information acquired from the electronic device.

5. 5. The communication device according to claim 4, wherein when connection information is input into the blank space, the control means transmits to the electronic device a request to set the input connection information into the electronic device.

6. 6. The communication device according to claim 1, wherein the communication means is connectable to a second network formed by the electronic device.

7. 7. The communication device according to claim 1, wherein the different information is information containing characters or symbols that make it impossible to determine the content of the second information.

8. 8. The communication device according to claim 1, wherein when the control means receives a notification from the electronic device indicating that the first network could not be detected, the control means displays on the display means that the electronic device could not detect the first network or that connection information for the first network needs to be updated.

9. 8. The communication device according to claim 1, wherein when the control means receives a notification from the electronic device indicating that authentication for connecting to the first network has failed, the control means displays on the display means that authentication for connecting to the first network has failed or that connection information for the first network needs to be updated.

10. the control means acquires from the electronic device the number of characters of the second information that has been set in the electronic device but has not been acquired from the electronic device; A communication device according to any one of claims 1 to 9, characterized in that the second information that has been set in the electronic device but has not been acquired from the electronic device is displayed on the display means using the different information and the number of characters.

11. the first network is a network that performs wireless communication with the external device via a wireless LAN access point, the connection information includes an ID and a password of the access point, and an ID and a password for the external device to connect to the electronic device via the access point; A communication device described in any one of claims 1 to 10, characterized in that the connection information obtained from the electronic device has the password converted into fourth information, and the fourth information is information for notifying the communication device that the password has been set in the electronic device but has not been transmitted by the electronic device.

12. a communication means capable of communicating with the communication device; a control means for receiving connection information of a first network for wirelessly communicating with an external device from the communication device by the communication means; a storage means for storing the connection information received from the communication device, The control means In response to a request from the communication device, the first information among the connection information stored in the storage means is transmitted to the communication device; The electronic device is characterized in that the second information is information different from the second information transmitted to the communication device.

13. 13. The electronic device according to claim 12, wherein the different information is information for notifying the communication device that the second information has been set in the electronic device but has not been transmitted by the electronic device.

14. The electronic device described in claim 12, characterized in that the control means transmits to the communication device, in response to a request from the communication device, any connection information that is not stored in the storage means, as information to notify the communication device that the information is not set in the electronic device.

15. The electronic device according to any one of claims 12 to 14, characterized in that if the connection information received from the communication device by the communication means contains information that has been changed from the information stored in the storage means, the control means updates the information stored in the storage means to the changed information.

16. 15. The electronic device according to claim 12, wherein the communication means forms a second network to which the communication device can be connected.

17. 17. The electronic device according to claim 12, wherein the control means notifies the communication device that the communication means has not been able to detect the first network.

18. 17. The electronic device according to claim 12, wherein the control means notifies the communication device that authentication for connecting to the first network has failed.

19. the first network is a network that performs wireless communication with the external device via a wireless LAN access point, the connection information includes an ID and a password of the access point, and an ID and a password for the external device to connect to the electronic device via the access point; 19. The electronic device according to claim 12, wherein the password in the connection information transmitted to the communication device is converted into the different information.

20. A method for controlling a communication device, comprising: The communication device includes: A communication means capable of communicating with an electronic device; an input means for inputting connection information of a first network for wireless communication with an external device; a control unit that transmits the connection information to the electronic device by the communication unit, The control method includes: among the connection information acquired from the electronic device in response to the request for connection information already set in the electronic device by the communication means, first information that has already been set in the electronic device and acquired from the electronic device is displayed on a display means; A control method characterized by including a step of controlling the display means to display information different from second information that has already been set in the electronic device but has not been obtained from the electronic device.

21. A method for controlling an electronic device, comprising: The electronic device includes: a communication means capable of communicating with the communication device; a control means for receiving connection information of a first network for wirelessly communicating with an external device from the communication device by the communication means; a storage means for storing the connection information received from the communication device, The control method includes: In response to a request from the communication device, the first information among the connection information stored in the storage means is transmitted to the communication device; A control method comprising the step of transmitting second information to the communication device, the second information being different from the second information.

22. A program for causing a computer to function as the control means for the communication device according to any one of claims 1 to 11.

23. A program for causing a computer to function as the control means for the electronic device according to any one of claims 12 to 19.