Search

JP-7857089-B2 - Communication devices, information processing devices, methods, programs, and storage media

JP7857089B2JP 7857089 B2JP7857089 B2JP 7857089B2JP-7857089-B2

Inventors

  • 稲垣 光治

Assignees

  • キヤノン株式会社

Dates

Publication Date
20260512
Application Date
20211001

Claims (20)

  1. A computer in a communication device that can communicate with an information processing device, Display control means for displaying a first two-dimensional code on a display unit so that the information processing device can capture it, which includes both first information used for communication to establish a wireless connection between the information processing device and the communication device using a first connection method and an external access point different from the communication device, and second information for establishing a wireless connection between the information processing device and the communication device using a second connection method that does not go through the external access point. Receiving means for receiving a transmission request from the information processing device based on the first information or the second information, A communication means that performs communication for establishing a wireless connection using the first connection method based on the request transmitted based on the first information, A first connection means for establishing a wireless connection according to the first connection method, based on communication for establishing a wireless connection according to the first connection method, A second connection means for establishing a wireless connection using the second connection method based on the request transmitted based on the second information, A program characterized by being designed to function as such.
  2. The program according to claim 1, characterized in that the display control means causes the first two-dimensional code to be displayed on the display unit when the communication device is in a first state, and causes the second two-dimensional code, which includes either the first information or the second information but does not include the other, to be displayed on the display unit when the communication device is in a second state.
  3. The program according to claim 2, characterized in that the first state is a state in which both communication for establishing a wireless connection using the first connection method and wireless connection using the second connection method are possible.
  4. The program according to claim 2 or 3, characterized in that the second state is a state in which neither communication for establishing a wireless connection using the first connection method nor wireless connection using the second connection method is possible.
  5. The communication device is further configured to function as a determination means for determining whether it is in the first state or the second state. The display control means causes the display unit to display the first two-dimensional code or the second two-dimensional code based on the result of the determination by the determination means. The program according to any one of claims 2 to 4.
  6. The program according to claim 5, characterized in that the determination means determines whether the communication device is in the first state or the second state based on at least one of the radio wave intensity and the number of devices already connected by the second connection method.
  7. To further enhance its functionality as a search method for finding external access points, If the radio wave intensity detected from the access point searched by the search means is not above a certain value, the determination means determines that the communication device is in the second state, and the display control means causes the display unit to display the second two-dimensional code which includes the second information but does not include the first information. L according to feature 6.
  8. The program according to claim 6 or 7, characterized in that, if the number of devices already connected by the second connection method reaches the upper limit, the determination means determines that the communication device is in the second state, and the display control means causes the display unit to display the second two-dimensional code which includes the first information but does not include the second information.
  9. The program according to any one of claims 1 to 8, characterized in that, if the communication device is in a state where neither wireless connection by the first connection method nor wireless connection by the second connection method is possible, the display control means causes a two-dimensional code containing error information to be displayed on the display unit.
  10. The program according to any one of claims 1 to 9, characterized in that the first information and the second information include identification information of the communication device.
  11. In establishing a wireless connection using the first connection means and the second connection means, communication parameters are communicated between the communication device and the information processing device. The first information and the second information are information used for encrypting the communication parameters. The program according to any one of claims 1 to 10.
  12. The program according to claim 11, characterized in that the information used for encrypting the aforementioned communication parameters includes at least one of a public key and a shared key.
  13. The program according to claim 11 or 12, characterized in that the communication parameters include at least one of a network identifier and information for authentication.
  14. The program according to any one of claims 11 to 13, characterized in that the communication for establishing a wireless connection using the first connection method is performed by DPP (Device Provisioning Protocol).
  15. The program according to claim 14, characterized in that the communication performed by DPP (Device Provisioning Protocol) is the communication of the aforementioned communication parameters.
  16. The program according to any one of claims 11 to 15, characterized in that the second connection method is a WFD (Wi-Fi Direct) connection method.
  17. The program according to any one of claims 1 to 16 , characterized in that the communication device is a printer.
  18. A method performed in a communication device capable of communicating with an information processing device, A display control step in which the information processing device displays a first two-dimensional code on a display unit so that the information processing device can capture it, which includes both first information used for communication to establish a wireless connection between the information processing device and the communication device using a first connection method and an external access point different from the information processing device and the communication device, and second information for establishing a wireless connection between the information processing device and the communication device using a second connection method that does not go through the external access point. A receiving step of receiving a transmission request from the information processing device based on the first information or the second information, A communication step in which communication for establishing a wireless connection using the first connection method is performed based on the request transmitted based on the first information, A first connection step of establishing a wireless connection using the first connection method based on communication for establishing a wireless connection using the first connection method, A second connection step, which establishes a wireless connection using the second connection method based on the request transmitted based on the second information, A method characterized by having the following:
  19. A communication device capable of communicating with an information processing device, A display control means causes the information processing device to display a first two-dimensional code on a display unit so that the information processing device can capture it, which includes both first information used for communication to establish a wireless connection between the information processing device and the communication device using a first connection method and a second information for establishing a wireless connection between the information processing device and the communication device using a second connection method that does not go through the external access point. Receiving means for receiving a transmission request from the information processing device based on the first information or the second information, A communication means that performs communication for establishing a wireless connection using the first connection method based on the request transmitted based on the first information, A first connection means for establishing a wireless connection according to the first connection method, based on communication for establishing a wireless connection according to the first connection method, A second connection means for establishing a wireless connection using the second connection method based on the request transmitted based on the second information, A communication device characterized by comprising:
  20. A computer of a communication device and an information processing device capable of communication, Acquisition means for capturing an image of a two-dimensional code displayed on the display unit of the communication device and acquiring information contained in the two-dimensional code . When the acquisition means has acquired both first information used for communication to establish a wireless connection between the communication device and an external access point different from the information processing device and the communication device using a first connection method, and second information for establishing a wireless connection between the information processing device and the communication device using a second connection method that does not go through the external access point, the decision means determines, based on the connection status between the information processing device and the external access point, whether to make a first request to the communication device , which is a request for communication using the first information to establish a wireless connection between the communication device and the external access point using the first connection method, or to make a second request to the communication device , which is a request for establishing a wireless connection between the communication device and the information processing device using the second information and the second connection method. Request means for making the first request or the second request to the communication device based on the decision made by the decision means, A program designed to function as such.

Description

The present invention relates to a communication device, information processing device, method , program , and storage medium capable of establishing a wireless connection with an external device. In recent years, electronic devices such as digital cameras, printers, and mobile phones/smartphones have increasingly incorporated wireless communication capabilities, and these devices are increasingly being used as communication devices connected to wireless networks. Connecting electronic devices to a wireless network requires setting various communication parameters, including encryption methods, encryption keys, authentication methods, and authentication keys. Therefore, setting these communication parameters is complex and daunting for users of digital cameras and printers. To address this, mechanisms are being used to simplify the setting of communication parameters. Furthermore, to prevent information leaks regarding communication parameters, mechanisms are being used to encrypt these parameters using public-key cryptography before notifying the user's terminal. Patent Document 1 describes a technology that facilitates the setting of communication parameters in a communication terminal by using a QR code (registered trademark) image containing information about communication parameters. Patent Document 2 describes a system where a QR code corresponding to the user's selection of a communication parameter setting method is displayed. Japanese Patent Publication No. 2006-261938Japanese Patent Publication No. 2016-213573 This diagram shows the configuration of an information processing device and a communication device.This flowchart shows the connection process performed by the communication device.This is a flowchart showing the connection process performed by the information processing device.This is a diagram illustrating the connection process using WEC.This flowchart shows the connection process performed by the communication device.This flowchart shows the connection process performed by the communication device.This flowchart shows the connection process performed by the communication device.This is a flowchart showing the connection process performed by the information processing device.This is a diagram showing the WEC start screen. 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 multiple features are described in the embodiments, 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. [First Embodiment] The information processing device 101 and communication device 151 included in the communication system of this embodiment will now be described. In this embodiment, a smartphone is used as an example of the information processing device 101, but it is not limited to this. For example, various devices such as mobile terminals, PCs (personal computers), tablet terminals, PDAs (Personal Digital Assistants), and digital cameras can be used as the information processing device 101. Similarly, a printer is used as an example of the communication device 151, but it is not limited to this, and various devices capable of wireless communication with the information processing device 101 can be used. For example, if it is a printer, an inkjet printer, a full-color laser beam printer, a monochrome printer, etc. can be used. In addition to printers, copiers, facsimile machines, mobile terminals, smartphones, notebook PCs, tablet terminals, PDAs, digital cameras, music playback devices, televisions, smart speakers, etc. can also be used. Furthermore, a multifunction device equipped with multiple functions such as copying, faxing, and printing can also be used. Furthermore, in this embodiment, if the information processing device 101 supports a function called Wi-Fi Easy Connect (hereinafter referred to as WEC) (registered trademark), it can execute that function. WEC is a function that uses the Device Provisioning Protocol (hereinafter referred to as DPP), established by the Wi-Fi Alliance, to perform network setup for other devices. Specifically, network setup for other devices refers to the process of connecting other devices to access points that form a network. In WEC, communication takes place between a device operating in the role of "Configurator" (hereinafter referred to as the Configurator device) and a device operating in the role of "Enrollee" (hereinafter referred to as the Enrollee device). The Configurator device obtains Bootstrapping information from the Enrollee device. The Bootstrapping information includes, for example, the identification information of the Enrollee device (such as its MAC address) and public key information used to perform secure communication