Information processing device, control method, and program

By establishing direct connections and utilizing cloud servers, the invention facilitates communication between information processing devices and communication devices despite network privacy restrictions, ensuring uninterrupted data transfer.

JP2024141565AInactive Publication Date: 2024-10-10CANON KK
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023053294
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-29
Publication Date
2024-10-10
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The challenge lies in implementing appropriate processing after an information processing device transmits connection information to a communication device, particularly when direct communication is not possible due to network privacy settings, necessitating alternative communication paths.

Method used

The solution involves establishing a direct connection between the information processing device and the communication device using Wi-Fi or Bluetooth Low Energy (BLE), allowing communication via a second path through the Internet when direct communication is hindered, and utilizing cloud servers for data transfer.

Benefits of technology

This approach enables seamless communication and data transfer between devices even when direct network connections are restricted, ensuring uninterrupted functionality and data exchange.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024141565000001_ABST
    Figure 2024141565000001_ABST
Patent Text Reader

Abstract

To execute appropriate processing as processing after an information processing device transmits information for connecting to a network to a communication device, in a form in which the information processing device transmits the information for connecting to the network to the communication device.SOLUTION: Provided is a program that causes a computer of an information processing device to execute: a transmission step of transmitting connection information to a communication device for connecting to a network formed by an access point; and an execution step of executing communication between the communication device and the information processing device by a second communication path via the Internet, on the basis of the fact that communication between the communication device and the information processing device by a first communication path via the network but not via the Internet is not possible after the connection information is transmitted.SELECTED DRAWING: Figure 5
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an information processing device, a control method, and a program. [Background technology]

[0002] A known form is that an information processing device such as a smartphone transmits information for connecting to an access point to a communication device such as a printer, and the communication device connects to the access point using the information. Patent Document 1 describes that the information processing device transmits information to the communication device, thereby setting a connection mode in the communication device for determining the connection form between the information processing device and the communication device. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Patent Publication No. 2016-127545 Summary of the Invention [Problem to be solved by the invention]

[0004] However, as the practice of an information processing device transmitting information for connecting to a network to a communication device becomes widespread, there is a demand for appropriate processing to be performed after the information processing device transmits the information for connecting to a network to the communication device.

[0005] Therefore, the present invention aims to perform appropriate processing as processing after the information processing device transmits information for connecting to a network to a communication device in a form in which the information processing device transmits information for connecting to a network to a communication device. [Means for solving the problem]

[0006] The present invention is a program that causes a computer of an information processing device to execute a transmission step of transmitting connection information to a communication device for connecting to a network formed by an access point, and an execution step of executing communication between the communication device and the information processing device via a second communication path via the Internet based on the fact that communication between the communication device and the information processing device via a first communication path via the network but not via the Internet is not possible after the connection information is transmitted. Effect of the Invention

[0007] According to the present invention, in a configuration in which an information processing device transmits information for connecting to a network to a communication device, it becomes possible to execute appropriate processing as processing after the information processing device transmits the information for connecting to the network to the communication device. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 is a diagram illustrating an example of a communication system according to an embodiment of the present invention. [Diagram 2] 1 is a diagram showing an example of a configuration of an information processing terminal device and a communication device according to a first embodiment of the present invention; [Diagram 3] 4 is an example of a sequence diagram of a connection setting process executed by an information processing terminal device and a communication device in the first embodiment of the present invention. [Figure 4] 5 is an example of a flowchart for an information processing terminal device to execute acquisition of detailed information about a communication device in the first embodiment of the present invention. [Diagram 5] 4 is an example of a sequence diagram of communication processing in an information processing terminal device, a communication device, and a cloud server in the first embodiment of the present invention. [Figure 6] 5 is an example of a flowchart when a print process is executed by the information terminal processing device in the first embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] First Embodiment An information processing device and a communication device included in the communication system of the present embodiment will be described. In the present embodiment, a smartphone is exemplified as the information processing device, but is not limited thereto, and various devices such as a terminal device, a notebook PC, a tablet terminal, a PDA (Personal Digital Assistant), and a digital camera can be applied. In addition, in the present embodiment, a printer is exemplified as the communication device, but is not limited thereto, and various devices that can perform wireless communication with the information processing device can be applied. For example, if it is a printer, it can be applied to an inkjet printer, a full-color laser beam printer, a monochrome printer, and the like. In addition to printers, it can also be applied to copiers, facsimile machines, terminal devices, smartphones, notebook PCs, tablet terminals, PDAs, digital cameras, music playback devices, televisions, smart speakers, and the like. In addition, it can also be applied to a multifunction machine having multiple functions such as a copy function, a FAX function, and a print function.

[0010] First, a system configuration for implementing this embodiment will be described.

[0011] 1 is a diagram showing an example of the configuration of a communication system according to the present embodiment. This system includes a communication device 151, a terminal device 101, an access point (AP) 131, and an external server 171.

[0012] The terminal device 101 is an information processing device of this embodiment. The communication device 151 is a communication device of this embodiment. The AP 131 is an external device that exists outside the terminal device 101 and outside the communication device 151. The external server 171 is a server that can provide services to devices connected to the AP 131 via the Internet.

[0013] A LAN (Local Area Network) formed by the AP 131 includes the AP 131, a communication device 151, and a terminal device 101. On the other hand, a WAN (Wide Area Network) includes the AP 131 and an external server 171.

[0014] In this embodiment, when an infrastructure connection described below is established, the terminal device 101 can communicate with the communication device 151 via the AP 131. Furthermore, when a direct connection described below is established, the terminal device 101 can communicate directly with the communication device 151 without going through the AP 131.

[0015] In this embodiment, the connection 141 between the terminal device 101 and the AP 131 and the connection 142 between the communication device 151 and the AP 131 are connections by a communication method based on the IEEE802.11 series of standards. Specifically, the communication method based on the IEEE802.11 series of standards is Wi-Fi (Wireless Fidelity) (registered trademark). In addition, the connection 143 between the terminal device 101 and the communication device 151 is Wi-Fi or Bluetooth (registered trademark) Low Energy (BLE). Note that the communication method used for each connection is not limited to this form, and may be, for example, Classic Bluetooth, Wi-Fi Aware, Near Field Communication (NFC), etc. The AP 131 and the external server 171 can communicate with each other via the Internet, and when the AP 131 is connected to the Internet, the devices connected to the AP 131 (the terminal device 101 and the communication device 151) can also use the Internet.

[0016] Next, the configuration of the information processing device of this embodiment and the communication device capable of communicating with the information processing device of this embodiment will be described with reference to the block diagram of Fig. 2. In addition, the following configuration will be described as an example in this embodiment, but this embodiment is applicable to devices capable of communicating with the communication device, and the functions are not particularly limited to those shown in this figure.

[0017] The terminal device 101 includes a face 102, a CPU 103, a ROM 104, a RAM 105, an external storage device 106, an output interface 107, a display unit 108, a communication unit 109, a short-range communication unit 110, and an image capturing device 111. The terminal device 101 is assumed to be a device such as a smartphone, but is not limited to a smartphone.

[0018] The input interface 102 is an interface for receiving data input and operational instructions from a user, and is composed of a physical keyboard, buttons, a touch panel, etc. Note that the output interface 107 described below and the input interface 102 may be configured in the same manner, so that the screen output and the reception of operations from the user are performed by the same configuration.

[0019] The CPU 103 is a system control unit, and controls the entire terminal device 101 .

[0020] The ROM 104 stores fixed data such as control programs and data tables executed by the CPU 103, and an embedded operating system (hereinafter referred to as OS) program. In this embodiment, each control program stored in the ROM 104 performs software execution control such as scheduling, task switching, and interrupt processing under the management of the embedded OS stored in the ROM 104. In this embodiment, the ROM 104 stores a setup application program (hereinafter referred to as a setup app). The setup app is installed in the terminal device 101 from the outside by, for example, a store application program. The setup app is an app provided by a vendor of the communication device 151.

[0021] The RAM 105 is composed of a static random access memory (SRAM) that requires a backup power source. Since the RAM 105 holds data using a primary battery (not shown) for data backup, it can store important data such as program control variables without volatilizing the data. The RAM 105 also has a memory area for storing setting information for the terminal device 101, management data for the terminal device 101, and the like. The RAM 105 is also used as the main memory and work memory for the CPU 103.

[0022] The external storage device 106 includes various programs such as a print information generation program that generates print information that can be interpreted by the communication device 151, and an information transmission / reception control program that transmits and receives information to and from the communication device 151 connected via the communication unit 109. The external storage device 106 also stores various information used by these programs, as well as image data obtained from other information processing devices and the Internet.

[0023] The output interface 107 is an interface that controls the display unit 108 to display data and to notify the status of the terminal device 101 .

[0024] The display unit 108 is composed of an LED (light emitting diode) and an LCD (liquid crystal display), and displays data and notifies the status of the terminal device 101. Note that a soft keyboard equipped with keys such as numeric input keys, a mode setting key, a decision key, a cancel key, and a power key may be provided on the display unit 108 to accept input from the user via the display unit 108.

[0025] The communication unit 109 is a configuration for connecting to a device such as the communication device 151 and performing data communication. For example, the communication unit 109 may directly communicate with the communication device 151 by wireless communication, or may communicate via an AP 131 that exists outside the terminal device 101 or the communication device 151. In this embodiment, Wi-Fi is used as the wireless communication method of the communication unit 109, but Bluetooth Classic or the like may also be used. In addition, the AP 131 may be, for example, a device such as a wireless LAN router. In this embodiment, a method in which the terminal device 101 and the communication device 151 are directly connected to each other without going through an external access point is called a direct connection method. In addition, a method in which the terminal device 101 and the communication device 151 are connected to each other through an external access point is called an infrastructure connection method.

[0026] The short-range communication unit 110 is configured to wirelessly connect to a device such as the communication device 151 at a short distance and execute data communication, and communicates by a communication method different from that of the communication unit 109. The short-range communication unit 110 can be connected to a short-range communication unit 157 in the communication device 151. Examples of the communication method of the short-range communication unit 110 include BLE, Bluetooth Classic, Wi-Fi Aware, and NFC.

[0027] The photographing device 111 is a device that converts an image photographed by an image sensor into digital data. The digital data is temporarily stored in the RAM 105. After that, the digital data is converted into a predetermined image format by a program executed by the CPU 103, and is stored in the external storage device 106 as image data.

[0028] The communication device 151 includes a ROM 152, a RAM 153, a CPU 154, a print engine 155, a communication unit 156, a short-range communication unit 157, an input interface 158, an output interface 159, a function control unit 160, a display unit 161, and the like.

[0029] The communication unit 156 is configured to connect to a device such as the terminal device 101 and execute data communication. In this embodiment, Wi-Fi is used as the wireless communication method of the communication unit 156, but Bluetooth Classic or the like may also be used. The communication unit 156 has an access point 156-a for connecting to a device such as the terminal device 101 as an access point inside the communication device 151. The access point can be connected to the communication unit 109 of the terminal device 101. The communication unit 156 may directly communicate with the terminal device 101 via the access point 156-a, or may communicate with the terminal device 101 via the AP 131. The access point 156-a may be hardware that functions as an access point, or the communication unit 156 may operate as the access point 156-a by software that functions as an access point. The access point inside the communication device 151 may be configured of multiple access points with different SSIDs and passwords. In this embodiment, the access points inside the communication device 151 include at least a connection setting AP, which will be described later.

[0030] The RAM 153 is composed of a DRAM or the like that requires a backup power source. Since the RAM 153 holds data by being supplied with a data backup power source (not shown), it can store important data such as program control variables without volatilizing the data. The RAM 153 is also used as the main memory and work memory of the CPU 154, and stores a receiving buffer for temporarily storing print information received from the terminal device 101, etc., and various other information.

[0031] ROM 152 stores fixed data such as control programs, data tables, and OS programs executed by CPU 154. In this embodiment, each control program stored in ROM 152 performs software execution control such as scheduling, task switching, and interrupt processing under the management of an embedded OS stored in ROM 152. ROM 152 also has a memory area for storing data that needs to be held even when power is not supplied, such as setting information for communication device 151 and management data for communication device 151.

[0032] The CPU 154 is a system control unit, and controls the entire communication device 151 .

[0033] Based on information stored in the print engine 155 and the RAM 153 and a print job received from the terminal device 101, etc., an image is formed on a recording medium such as paper using a recording agent such as ink, and the print result is output. At this time, the print job sent from the terminal device 101, etc., has a large amount of transmission data and requires high-speed communication, so it is received via the communication unit 156, which can communicate faster than the short-range communication unit 157.

[0034] The short-distance communication unit 157 is a component for establishing a short-distance wireless connection with devices such as the terminal device 101. Note that examples of the communication method of the short-distance communication unit 157 include BLE, Bluetooth Classic, and Wi-Fi Aware.

[0035] The input interface 158 is an interface for receiving data input and operation instructions from the user, and is composed of a physical keyboard, buttons, a touch panel, etc. Note that the output interface 159 described below and the input interface 158 may have the same configuration, and may output the screen and receive operations from the user with the same configuration. The output interface 159 is an interface that controls the display unit 161 to display data and notify the status of the communication device 151.

[0036] The function control unit 160 manages the function operations of the communication device 151, determining whether or not the functions are to be operated simultaneously.

[0037] Display unit 161 is composed of an LED (light emitting diode) and an LCD (liquid crystal display), and displays data and notifies the state of communication device 151. Note that a soft keyboard equipped with keys such as numeric input keys, a mode setting key, a decision key, a cancel key, and a power key may be provided on display unit 161 to accept input from a user via display unit 161.

[0038] <About the direct connection method> A direct connection refers to a wireless connection between devices directly (i.e., peer to peer) without going through an external device such as the access point 131. A direct connection is also called a peer to peer connection (P2P connection). The communication device 151 can operate in a mode for communicating via a direct connection (direct connection mode) as one of the connection modes. In Wi-Fi communication, there are multiple modes for communicating via a direct connection, such as a software AP mode and a Wi-Fi Direct (WFD) mode.

[0039] A mode in which a direct connection is performed by WFD is called a WFD mode. WFD is a standard established by the Wi-Fi Alliance, and is included in the IEEE802.11 series of communication standards. In the WFD mode, after a device to be a communication partner is searched for by a device search command, the roles of the P2P group owner (GO) and the P2P client are determined, and the remaining wireless connection processing is performed. The group owner corresponds to a Wi-Fi parent station (parent device), and the client corresponds to a Wi-Fi child station (child device). This role determination corresponds to, for example, GO Negotiation in P2P. Note that in the WFD mode before the role determination, the communication device 151 is in a state of neither a parent station nor a child station. Specifically, first, one device issues a device search command between devices to communicate with each other, and searches for a device to connect in WFD mode. When the other device to be a communication partner is searched for, information on services and functions that can be provided by each device is confirmed between the two devices. Note that this device provision information confirmation is optional and not required. This device provision information confirmation phase corresponds to, for example, Provision Discovery of P2P. Next, by mutually confirming this device provision information, it is determined which one will be the P2P client and which one will be the P2P group owner as their roles. Next, when the client and the group owner are determined, parameters for performing communication by WFD are exchanged between them. Based on the exchanged parameters, the remaining wireless connection processing and IP connection processing are performed between the P2P client and the group owner. Note that in the WFD mode, the communication device 151 may always operate as a GO without executing the above-mentioned GO Negotiation. That is, the communication device 151 may operate in a WFD mode that is an autonomous GO mode. Also, the state in which the communication device 151 operates in the WFD mode is, for example, a state in which the communication device 151 operates as a GO even though a WFD connection is not established, or a state in which a WFD connection is established and the communication device 151 operates as a GO.

[0040] In the software AP mode, between devices that communicate (for example, the information processing device 101 and the communication device 151), one device (for example, the information processing device 101) becomes a client that plays a role of requesting various services. The other device realizes the function of an access point in Wi-Fi by software settings. The software AP corresponds to a parent station of Wi-Fi, and the client corresponds to a child station of Wi-Fi. In the software AP mode, the client searches for a device that will become a software AP by a device search command. When the software AP is searched, the remaining wireless connection processing (establishment of a wireless connection, etc.) between the client and the software AP is performed, and then the IP connection processing (assignment of an IP address, etc.) is performed. Note that commands and parameters transmitted and received when realizing a wireless connection between the client and the software AP may be those specified in the Wi-Fi standard, and therefore a description thereof will be omitted here.

[0041] In this embodiment, when the communication device 151 establishes and maintains a direct connection, it operates as a master station in the network to which the communication device 151 belongs. The master station is a device that constructs a wireless network and provides a slave station with parameters used for connecting to the wireless network. The parameters used for connecting to the wireless network are, for example, parameters related to a channel used by the master station. By receiving the parameters, the slave station connects to the wireless network constructed by the master station using the channel used by the master station. In the direct connection mode, the communication device 151 operates as a master station, so that the communication device 151 can determine which frequency band and which channel are to be used for communication in the direct connection mode. In this embodiment, the communication device 151 is capable of using a channel corresponding to a 2.4 GHz frequency band and a channel corresponding to a 5 GHz frequency band for communication in the direct connection mode. The user can arbitrarily set which frequency band is to be used (i.e., which channel of the frequency band is to be used) by setting on the screen shown in FIG. 2(e). That is, when 2.4 GHz is selected on the screen shown in FIG. 2(e), the communication device 151 uses a channel corresponding to the 2.4 GHz frequency band for communication in the direct connection mode. On the other hand, when 5 GHz is selected on the screen shown in FIG. 2(e), the communication device 151 uses a channel corresponding to the 5 GHz frequency band for communication in the direct connection mode. However, in this embodiment, even if 5 GHz is selected on the screen shown in FIG. 2(e), the communication device 151 does not use a channel corresponding to the DFS (Dynamic Frequency Selection) band of the 5 GHz frequency band for communication in the direct connection mode. In other words, the communication device 151 uses only channels corresponding to frequency bands other than the DFS band of the 5 GHz frequency band for communication in the direct connection mode. Note that when a channel corresponding to the DFS band is being used and a radar wave of the frequency band corresponding to the channel is detected, the currently used channel must be changed.Such a frequency band where a channel change may occur due to the detection of radar waves is called a DFS band. For example, when a wireless chip compatible with the DFS function is used, a channel corresponding to the DFS (Dynamic Frequency Selection) band in the 5 GHz frequency band may be available for communication in the direct connection mode. The channel determined as the channel to be used in the direct connection mode is used in communication via the direct connection. Furthermore, the channel is also used for transmitting a beacon signal as a parent station and transmitting a response to a received command. That is, the channel is used not only for communication processing in the direct connection mode when a direct connection is established, but also for communication processing in the direct connection mode when a direct connection is not established.

[0042] In the above description, the user can set whether to use a channel corresponding to the 2.4 GHz frequency band or a channel corresponding to the 5 GHz frequency band in the direct connection mode, but the present invention is not limited to this. The user may set a specific channel number to be used in the direct connection mode by receiving a channel number designation from the user. Also, the channel used in the direct connection mode may not be arbitrarily set by the user, but may be set in advance in the communication device 151.

[0043] In the above description, the communication device 151 is described as being capable of using the 2.4 GHz frequency band and the 5 GHz frequency band, but is not limited to this. Other frequency bands may be usable, and in the process in which the 2.4 GHz frequency band and the 5 GHz frequency band are used in this embodiment, other frequency bands may be used. For example, since the IEEE802.11ad standard allows the use of the 60 GHz frequency band, 60 GHz may be used as the other frequency band.

[0044] <About infrastructure connection method> The infrastructure connection is a connection form in which devices that communicate with each other (for example, the information processing device 101 and the communication device 151) are connected to an access point (for example, the access point 131) that manages a network of the devices, and the devices communicate with each other via the access point. The communication device 151 can also operate in a mode for communicating via an infrastructure connection (infrastructure connection mode) as one of the connection modes.

[0045] In infrastructure connections, each device searches for an access point using a device search command. Once an access point has been found, the remaining wireless connection processing (establishment of a wireless connection, etc.) between the device and the access point is carried out, and then IP connection processing (assignment of an IP address, etc.) is carried out. Note that commands and parameters sent and received when establishing a wireless connection between a device and an access point can be those specified in the Wi-Fi standard, and so a description of these will be omitted here.

[0046] In this embodiment, when the communication device 151 operates in the infrastructure connection, the access point 131 operates as a parent station, and the communication device 151 operates as a child device. That is, in this embodiment, the infrastructure connection refers to a connection between the communication device 151 operating as a child device and a device operating as a parent device. When the communication device 151 has established an infrastructure connection and the information processing device 101 has also established an infrastructure connection with the access point 131, communication between the communication device 151 and the information processing device 101 via the access point 131 is possible. Since the channel used for communication in the infrastructure connection is determined by the access point 131, the communication device 151 executes communication in the infrastructure connection using the channel determined by the access point 131. In this embodiment, the communication device 151 is assumed to be able to use a channel corresponding to the 2.4 GHz frequency band and a channel corresponding to the 5 GHz frequency band for communication in the infrastructure connection. Note that the communication device 151 is also able to use a channel corresponding to the DFS band in the 5 GHz frequency band for communication in the infrastructure connection. In order for the information processing device 101 to communicate with the communication device 151 via the access point 131, the information processing device 101 needs to recognize that the communication device 151 belongs to the network formed by the access point 131 and to which the information processing device 101 belongs.

[0047] <Simultaneous operations> The communication device 151 of this embodiment is capable of simultaneously (in parallel) executing an operation in infrastructure mode and an operation in direct connection mode. Therefore, the communication device 151 can simultaneously (in parallel) maintain a connection for communication in infrastructure mode and a connection for communication in direct connection mode. In other words, the communication device 151 can simultaneously establish a Wi-Fi connection in which the communication device 151 is a child device and a Wi-Fi connection in which the communication device 151 is a parent device. Hereinafter, the simultaneous (parallel) establishment of an infrastructure connection and a direct connection and the operation capable of communicating simultaneously (in parallel) via the infrastructure connection and the direct connection are referred to as simultaneous operation. In other words, the simultaneous operation is an operation in which the communication device 151 performs an operation as a parent device (Group Owner or access point) and an operation as a child device in parallel.

[0048] The communication in the infrastructure mode and the communication in the direct connection mode are performed using a specific frequency band (specific channel). Therefore, in both the communication in the infrastructure mode and the communication in the direct connection mode, before the communication is started, it is necessary to determine the channel to be used for the communication and connection between the devices. In addition, in a form in which multiple channels are assigned to one wireless IC chip at the same time for communication, the configuration of each device performing communication and the process executed by each device become complicated. Therefore, for example, when the communication device 151 operates simultaneously, it is desirable to use a common channel in the communication in each mode. That is, it is desirable for the communication device 151 to use only one channel even when operating simultaneously. Therefore, in this embodiment, the communication unit 156 has only one wireless IC chip that realizes communication by a predetermined channel, and the communication device 151 does not communicate using multiple channels at the same time.

[0049] <About connection setting mode> Communication device 151 can operate in a connection setting mode. A trigger for communication device 151 to start operation in the connection setting mode may be, for example, a user pressing a connection setting mode button, or communication device 151 starting up (powering on) for the first time after arrival. The connection setting mode button may be a hard button provided in communication device 151, or may be a soft button displayed on display unit 161 by communication device 151.

[0050] When the communication device 151 starts operating in the connection setting mode, it enables both Wi-Fi communication and BLE communication. Specifically, the communication device 151 enables an internal AP (connection setting AP) of the communication device 151 that is dedicated to the connection setting mode as an enabling process of Wi-Fi communication. This allows the communication device 151 to be in a state in which it can establish a direct connection with the terminal device 101 by Wi-Fi. It is assumed that connection information (SSID and password) for connecting to the connection setting AP is held in advance in a setup application installed in the terminal device 101, and that the terminal device 101 recognizes the connection information for connecting to the connection setting AP in advance. Therefore, unlike the connection information of the AP enabled in the direct connection mode, it is assumed that the connection information for connecting to the connection setting AP cannot be arbitrarily changed by the user. Note that in the connection setting mode, the communication device 151 may connect to the terminal device 101 by Wi-Fi Direct (WFD) instead of normal Wi-Fi. That is, the communication device 151 may act as a Group Owner and receive a setting command from the terminal device 101 through communication using WFD.

[0051] <About the privacy separator function> In this embodiment, the terminal device 101 transmits an infrastructure mode setting instruction including information for connecting to the AP 131, so that the communication device 151 connects to the AP 131, and the terminal device 101 communicates with the communication device 151 via the AP 131. However, even if the communication device 151 can connect to the AP 131 by the infrastructure mode setting instruction, there are cases in which the terminal device 101 cannot communicate with the communication device 151 via the AP 131. Specifically, for example, this is the case when the privacy separator function of the AP 131 is on (enabled). The privacy separator function is a function that prohibits communication between multiple devices connected to the AP 131 by not mediating the communication between the multiple devices via the AP 131. Note that even if the privacy separator function is on, the devices connected to the AP 131 can communicate with the Internet via the AP 131. In other words, the communication prohibited by the privacy separator function is communication between multiple devices that goes through the AP 131 but does not go through the Internet. In other words, this is communication via the network formed by the AP 131 but not via the Internet. In this embodiment, a form will be described in which communication between the terminal device 101 and the communication device 151 can be executed via the Internet even when the AP 131 with the privacy separator function turned on is connected to the communication device 151 by an infrastructure mode setting instruction.

[0052] <Connection setting process and registration process using Wi-Fi executed in a communication system> Fig. 3 is a sequence diagram showing the process executed by each device in the communication system in the connection setting process using Wi-Fi. The process shown in the sequence diagram in Fig. 3 is realized, for example, by the CPU of each device reading a program stored in the memory of each device into the RAM of each device and executing it. In this embodiment, the terminal device 101 executes the process using a setup application.

[0053] First, in S301, the terminal device 101 connects to the AP 131 via Wi-Fi. Note that this process may be executed by an OS standard setting application, instead of a setup application, by receiving an operation from a user in the OS standard setting application.

[0054] Next, in S302, the communication device 151 starts operation in a connection setting mode.

[0055] Next, in S303, the terminal device 101 receives an instruction to execute a connection setting process from the user via a screen displayed on the display unit 108 by the setup application.

[0056] Next, in S304, the terminal device 101 stores information about the AP (AP131) connected when the instruction to execute the connection setting process is received in a memory such as the RAM 105. The information about AP131 is, for example, connection information (SSID and password) for connecting to AP131, and information about the frequency and channel used for connecting to AP131. In other words, the information about AP131 is information about the network formed by AP131, and information for connecting to the network formed by AP131.

[0057] Next, in S305, the terminal device 101 disconnects the connection with the AP 131 via Wi-Fi.

[0058] Next, in S306, the terminal device 101 establishes a connection via Wi-Fi with the connection setting AP inside the communication device 151, using connection information for connecting to a connection setting AP recognized in advance. As a result, the terminal device 101 temporarily establishes a direct connection via Wi-Fi with the communication device 151. The communications in S307 to S311 described below are assumed to be executed via a direct connection via Wi-Fi.

[0059] Next, in S307, the terminal device 101 communicates with the communication device 151, acquires identification information of the communication device 151, and stores the acquired information in the RAM 105 or the like. The identification information of the communication device 151 may be, for example, a serial number, a Media Access Control address (MAC address), or a Bonjour name.

[0060] Next, in S308, the terminal device 101 transmits a connection setting process start command to the communication device 151 via the Wi-Fi connection. Note that after the connection setting process start command is transmitted, an AP list, which will be described later, is received, and therefore the connection setting process start command can also be regarded as a request command for the AP list.

[0061] Next, in S309, the communication device 151 searches for an access point to which the communication device 151 can connect via Wi-Fi. The communication device 151 then transmits the search result, a list of access points to which the communication device 151 can connect via Wi-Fi (AP list), to the terminal device 101 via a connection via Wi-Fi. That is, the terminal device 101 acquires the AP list via a connection via Wi-Fi. The timing of the access point search is not limited to this timing, and may be, for example, immediately after starting operation in the connection setting mode. At this time, the communication device 151 may also transmit to the terminal device 101 connection information for establishing a direct connection via Wi-Fi with the communication device 151 operating in a direct connection mode different from the connection setting mode. In other words, the AP list is a list of networks formed by an access point. Therefore, for example, when one access point forms multiple networks, the AP list may include the multiple networks. In the following, a connection with an access point is, in other words, a connection with a network formed by the access point.

[0062] Next, in S310, the terminal device 101 transmits application identification information for identifying the setup application. It is assumed that the setup application has the application identification information in advance. At this time, the terminal device 101 may transmit information called a secret for issuing cloud registration information to the communication device 151. However, the secret may be held in advance by the communication device 151, and in this form, the secret does not need to be transmitted from the terminal device 101.

[0063] Next, in S311, the terminal device 101 transmits an infrastructure setting command to the communication device 151 via a Wi-Fi connection. The infrastructure setting command includes connection information for connecting to an access point to which the communication device 151 is to be connected. In other words, the connection information is a network formed by the access point, and is connection information for connecting to a network to which the communication device 151 is to be connected.

[0064] For example, if the AP list includes the AP 131 stored in a memory such as the RAM 105 in S304, the access point to which the communication device 151 is to be connected is the AP 131 corresponding to the information stored in the RAM 105 in S304. In other words, the network to which the communication device 151 is to be connected is a network formed by the AP 131 corresponding to the information stored in the RAM 105 in S304. Also, for example, if the AP list does not include the AP 131 stored in the RAM 105 in S304, the access point to which the communication device 151 is to be connected is an access point selected by the user from the AP list. In other words, the network to which the communication device 151 is to be connected is a network selected by the user from the AP list. Here, a case will be described where the access point to which the communication device 151 is to be connected is the AP 131 stored in the RAM 105 in S304. At this time, the terminal device 101 may accept input of additional connection information (such as a password) for connecting to the AP 131 from the user, and transmit the additional connection information to the communication device 151 as an infrastructure setting command.

[0065] Next, in S312, the communication device 151 connects to the AP 131 via Wi-Fi based on the infrastructure setting command, using the connection information for connecting to the AP 131 received in S309. As a result, an infrastructure connection is established between the terminal device 101 and the communication device 151 via the AP 131.

[0066] In this embodiment, when the communication device 151 receives an infrastructure setting command, the communication device 151 starts a simultaneous operation. Specifically, the communication device 151 starts an operation in infrastructure mode, connects to the AP 131, and then starts an operation in a direct connection mode different from the connection setting mode. This is because the operation in the direct connection mode is started after the communication channel used to connect to the AP 131 in the infrastructure mode is determined. The communication device 151 performs synchronization control so as to use the same communication channel as the communication channel used to connect to the AP 131 in the infrastructure mode in the connection in the direct connection mode. Note that the communication channel synchronization control may not be performed. In that form, for example, the operation in infrastructure mode may be started, and the operation in the direct connection mode may be started before connecting to the AP 131. When the operation in the direct connection mode is started, the terminal device 101 establishes the direct connection using the connection information for establishing the direct connection by Wi-Fi with the communication device 151 operating in the direct connection mode.

[0067] For example, the communication device 151 may continue to operate in the connection setting mode even after receiving the infrastructure setting command. The following communication between the communication device 151 and the terminal device 101 via a direct connection may be executed as communication via a direct connection in the connection setting mode.

[0068] Next, in S313, communication device 151 acquires cloud registration information from a server on the cloud via AP 131 and the Internet. In this embodiment, it is assumed that the cloud registration information is acquired from a server different from external server 171. Specifically, in this process, communication 151 first transmits the application identification information and secret acquired from terminal device 101 to a registration code issuing server which is a server different from external server 171. Note that communication with the registration code issuing server is also executed via AP 131 and the Internet. Upon receiving the application identification information and the secret, the registration code issuing server transmits an application token to communication device 151. Then, communication device 151 transmits the application token and identification information of communication device 151 to the registration code issuing server. In response to receiving the identification information of communication device 151, the registration code issuing server issues a registration code, stores the registration code issuing server in the registration code issuing server, and transmits the registration code to communication device 151. Then, communication device 151 transmits the registration code to an account management server different from external server 171. When the account management server receives the registration code, it issues cloud registration information, stores it in the account management server, and transmits it to communication device 151. The account management server thereby associates the cloud registration information with communication device 151 and manages them. The cloud registration information also includes an account and password for sending a print job to communication device 151 via the Internet. Communication device 151 stores the received cloud registration information in ROM 152.

[0069] Next, in S314, the communication device 151 transmits the cloud registration information to the terminal device 101 via a direct connection using Wi-Fi. The terminal device 101 that has received the cloud registration information stores the cloud registration information in its own memory (such as the external storage device 106).

[0070] Next, in S315, the terminal apparatus 101 disconnects the direct connection with the communication apparatus 151 via Wi-Fi.

[0071] Next, in S316, the terminal device 101 reconnects to the AP 131 via Wi-Fi using the connection information for connecting to the AP 131 stored in the RAM 105 or the like in S304. Note that in S316, if the connection information included in the infrastructure setting command transmitted in S311 is other connection information different from the connection information for connecting to the AP 131, the terminal device 101 may use the other connection information to connect to an access point corresponding to the other connection information via Wi-Fi.

[0072] Next, in S317, the terminal device 101 attempts to detect the communication device 151 on the network formed by the AP 131, using the identification information of the communication device 151 stored in the RAM 105 or the like in S307. If the communication device 151 has successfully connected to the AP 131 and the privacy separator function of the AP 131 is not on, the communication device 151 is detected in this process. On the other hand, if the communication device 151 has failed to connect to the AP 131 or the privacy separator function of the AP 131 is on, the communication device 151 is not detected in this process. If the communication device 151 is not detected, the processes of S318 and S319 are skipped.

[0073] Next, in S318, the terminal device 101 acquires detailed information about the communication device 151 from the communication device 151 via a network configured by the AP 131. The detailed information about the communication device 151 is information for using the functions of the communication device 151 on the terminal device 101, and is information indicating the capabilities of the communication device 151. For example, the detailed information about the communication device 151 includes items that can be set when executing printing (media size, media type, color / monochrome setting, borderless setting, double-sided printing setting, etc.) and information about the presence or absence of a scan function.

[0074] Next, in S319, the terminal device 101 saves the detailed information of the communication device 151 acquired in S317. At this time, it is desirable that the detailed information of the communication device 151 is saved in a non-volatile area such as the external storage device 106. Note that this results in the communication device 151 being registered in the setup application, and thereafter, it becomes possible to transmit various jobs to the communication device 151. The process of registering the communication device 151 in the setup application by acquiring the detailed information of the communication device 151 is called a registration process.

[0075] In the present embodiment, the communication device 151 acquires the cloud registration information from the external server 171 in S313, and transmits the information to the terminal device 101 in S314, so that the terminal device 101 acquires the cloud registration information. However, the present invention is not limited to this embodiment. For example, the following process may be performed. In S316, after the terminal device 101 connects to the AP 131 via Wi-Fi, the terminal device 101 transmits the application identification information and the secret to the registration code issuing server via the AP 131. Upon receiving the application identification information and the secret, the registration code issuing server transmits an application token to the terminal device 101. The terminal device 101 transmits the application token and the identification information of the communication device 151 acquired in S307 to the registration code issuing server. In response to receiving the identification information of the communication device 151, the registration code issuing server issues a registration code, stores the registration code in the registration code issuing server, and transmits the registration code to the terminal device 101. The terminal device 101 then transmits the registration code to the account management server. When the account management server receives the registration code, it issues cloud registration information, stores it in the account management server, and transmits it to the terminal device 101. Through such processing, the terminal device 101 may obtain the cloud registration information.

[0076] <Regarding the registration process executed by the terminal device 101> 4 is a flowchart showing a process (registration process) in which the terminal device 101 acquires detailed information about the communication device 151. This flowchart is realized by the CPU of the terminal device 101 reading a program stored in the memory of the terminal device 101 into the RAM of the terminal device 101 and executing the program. Note that in this embodiment, the terminal device 101 executes the process using a setup application.

[0077] In S401, the terminal device 101 searches for the communication device 151 on the network formed by the AP 131 using the identification information for identifying the communication device 151 stored in the RAM 105 or the like in S307, and attempts to detect the communication device 151. This process corresponds to the process of S317.

[0078] Next, in S402, the terminal device 101 determines whether or not the search executed in S401 has detected the communication device 151. If the communication device 151 has not been detected even after a certain period of time has elapsed since the search was started, the result of this determination is NO.

[0079] When it is determined in S402 that the communication device 151 has been detected, in S403, the terminal device 101 acquires detailed information about the communication device 151 from the communication device 151 via a network configured by the AP 131. This process corresponds to the process of S318. Note that when it is determined in S402 that the communication device 151 has been detected, new communication via a direct connection between the terminal device 101 and the communication device 151 does not need to be executed.

[0080] If it is determined in S402 that the communication device 151 has not been detected, in S404, the terminal device 101 stores in the RAM 105 or the like the connection information of the AP 131 to which the terminal device 101 is currently connected.

[0081] In S405, the terminal device 101 disconnects the Wi-Fi connection with the AP 131, and establishes a direct connection by Wi-Fi between the communication device 151 and the terminal device 101. At this time, the direct connection may be a connection to a connection setting AP that becomes connectable when the communication device 151 goes into a connection setting mode, or may be a connection in a direct connection mode that is different from the connection setting mode and is executed by operating simultaneously with the infrastructure mode.

[0082] In S406, the terminal device 101 acquires detailed information about the communication device 151 from the communication device 151 via the above-mentioned direct connection.

[0083] In S407, the terminal device 101 reconnects to the AP 131 by using the connection information of the AP 131 saved in S404.

[0084] Note that the present invention is not limited to the above-mentioned form, and the detailed information of the communication device 151 may be acquired in advance before the infrastructure mode setting instruction is transmitted via the direct connection established in S306, for example.

[0085] Also, for example, if the determination result of S402 is NO, the terminal device 101 may acquire, after S405, from the communication device 151, success / failure information indicating whether or not the establishment of the connection between the AP 131 and the communication device 151 by the infrastructure mode setting instruction has been successful. If the success / failure information indicates that the establishment of the connection between the AP 131 and the communication device 151 by the infrastructure mode setting instruction has been successful, the process may proceed to S406, and if the success / failure information indicates that the establishment of the connection between the AP 131 and the communication device 151 by the infrastructure mode setting instruction has failed, the process may proceed to S406 without proceeding to S406, and may execute a process for making the user re-enter a password for connecting to the AP 131. If the password for connecting to the AP 131 is re-entered, the terminal device 101 may execute the processes from S311 onwards again. That is, the terminal device 101 may transmit a new infrastructure mode setting instruction including the entered password to the communication device 151.

[0086] <Print job transmission process executed in the communication system> FIG. 5 is a diagram showing a process executed by each device in the communication system as a print job transmission process. The process shown in the sequence diagram of FIG. 3 is realized, for example, by a CPU of each device reading a program stored in the memory of each device into the RAM of each device and executing it. In this embodiment, the terminal device 101 executes the process by a setup application. In addition, this sequence diagram is started based on the setup application having a print function and an operation for transmitting a print job being executed on the setup application. In addition, this is not limited to this form, and for example, the process may be executed by a print application that is an application different from the setup application. In addition, this sequence diagram is executed after the processes of FIG. 3 and FIG. 4 are completed and the terminal device 101 acquires cloud registration information and detailed information of the communication device 151.

[0087] In S501, the terminal device 101 attempts to communicate with the communication device 151 via communication through the AP 131 but not through the Internet.

[0088] Here, a case will be described where the privacy separator function of the AP 131 is turned on. Therefore, in S502, it is determined that the terminal device 101 cannot communicate with the communication device 151. Specifically, it is determined that the terminal device 101 cannot communicate with the communication device 151 if the communication is not successful even after a certain time has elapsed since the communication was attempted.

[0089] Next, in S503, the terminal device 101 transmits the cloud registration information and the print job to the external server 171 via the AP 131 and the Internet. The print job includes print data and print setting information for causing the communication device 151 to execute printing. In response to receiving the cloud registration information and the print job from the terminal device 101, the external server spools the print job.

[0090] Next, in S504, the external server 171 transmits the cloud registration information to the account management server to obtain information for specifying and identifying which device is linked to and managed with the cloud registration information. Here, it is assumed that the device linked to and managed with the cloud registration information is the communication device 151. In this way, the external server 171 specifies and identifies the device to which the print job is to be sent as the communication device 151.

[0091] Next, in S505, the external server 171 transmits a notification indicating that the print job has been spooled to the communication device 151 identified in the cloud registration information.

[0092] Next, in S506, the communication device 151 transmits a print job acquisition request to the external server 171 in response to receiving a notification from the external server 171 indicating that the print job is spooled.

[0093] Next, in S507 , in response to receiving the print job acquisition request from the communication device 151 , the external server 171 transmits the print job to the communication device 151 .

[0094] Next, in S508, in response to receiving the print job from the external server 171, the communication device 151 executes the print process indicated by the print job.

[0095] In S509, the communication device 151 transmits a print completion notification to the external server 171 after the printing of the print job is completed.

[0096] In S510, in response to receiving the print completion notification, the external server 171 transmits a print completion notification to the terminal apparatus 101 by using a function such as a push notification.

[0097] In S511, in response to receiving the print completion notification from the external server 171, the terminal apparatus 101 displays on the display unit 108 that the printing has been completed.

[0098] As a result, even if terminal device 101 and communication device 151 are connected to AP 131 but communication cannot be performed because the privacy separator function is on, it is possible to perform printing processing without disconnecting terminal device 101 and communication device 151 from AP 131.

[0099] Although the above describes a form in which a print job is transmitted, a job other than a print job may be transmitted and processed by communication device 151. Examples of jobs other than a print job include a scan job for causing communication device 151 to execute a scan, and a setting change job for changing the settings of communication device 151.

[0100] <Print Job Transmission Processing Executed by the Terminal Apparatus 101> 6 is a flowchart showing a process in which the terminal device 101 transmits a print job. This flowchart is realized by the CPU of the terminal device 101 reading a program stored in the memory of the terminal device 101 into the RAM of the terminal device 101 and executing the program. In this embodiment, the terminal device 101 executes the process using a setup app. The process of this flowchart is started when the setup app has a print function and an operation for transmitting a print job is executed on the setup app. The process is not limited to this form, and may be executed, for example, by a print app that is a different app from the setup app.

[0101] In S601, the terminal device 101 attempts to communicate with the communication device 151 via a communication path that goes through the access point (here, AP131) to which the terminal device 101 is currently connected (to which the terminal device 101 is connected when the above operation is executed) but does not go through the Internet. This process corresponds to the process of S501.

[0102] In S602, the terminal device 101 judges whether the communication in S601 was successful. Specifically, if the communication is not successful even after a certain time has elapsed since the communication was attempted, it is judged that the terminal device 101 cannot communicate with the communication device 151. Also, if the AP 131 and the communication device 151 are connected and the privacy separator function of the AP 131 is not on, the communication in S601 may be successful. On the other hand, if the AP 131 and the communication device 151 are not connected, or if the AP 131 and the communication device 151 are connected but the privacy separator function of the AP 131 is on, the communication in S601 may fail. If the result of this judgment is YES, the process proceeds to S603, and if the result of this judgment is NO, the process proceeds to S604.

[0103] If it is determined that the communication in S601 was successful, then in S603 the terminal device 101 transmits the print job to the communication device 151 via a communication path that passes through the AP 131 but does not pass through the Internet. This causes the communication device 151 to execute print processing based on the print job. Note that if it is determined that the communication in S601 was successful, new communication via a direct connection between the terminal device 101 and the communication device 151 does not need to be executed.

[0104] If it is determined that the communication in S601 is not successful, in S604, the terminal device 101 determines whether or not cloud registration information is stored in the terminal device 101. A case in which the cloud registration information is stored in the terminal device 101 is a case in which the terminal device 101 has acquired the cloud registration information by the process described in Fig. 3. On the other hand, a case in which the cloud registration information is not stored in the terminal device 101 is a case in which the setup application has acquired detailed information about the communication device 151 and registered the communication device 151 in the setup application without sending an infrastructure mode setting instruction to the communication device 151. If the result of this determination is YES, the process proceeds to S605, and if the result of this determination is NO, the process proceeds to S606.

[0105] If it is determined that the cloud registration information is saved, in S605, the terminal apparatus 101 transmits the cloud registration information and the print job to the external server 171 via a communication path via the AP 131 and the Internet. This process corresponds to the process of S503.

[0106] If it is determined that the cloud registration information is not saved, the terminal device 101 saves the connection information of the currently connected AP 131 in the RAM 105 or the like in S606.

[0107] In S607, the terminal device 101 disconnects from the AP 131 and establishes a direct connection with the communication device 151. At this time, the direct connection may be a connection to a connection setting AP that becomes connectable when the communication device 151 goes into a connection setting mode, or may be a connection in a direct connection mode that is different from the connection setting mode and is executed by operating simultaneously with the infrastructure mode.

[0108] In S608, the terminal apparatus 101 transmits the application identification information to the communication apparatus 151. As a result, the communication apparatus 151 acquires the cloud registration information as described in S313. The terminal apparatus 101 then acquires the cloud registration information from the communication apparatus 151. Note that at this time, if the communication apparatus 151 is not connected to any AP and cannot execute communication via the Internet, the cloud registration information cannot be acquired. As a result, in this case, the terminal apparatus 101 cannot acquire the cloud registration information. If the terminal apparatus 101 cannot acquire the cloud registration information, the processing of this flowchart ends without transmitting the print job to the communication apparatus 151.

[0109] In S609, the terminal device 101 reconnects to the AP 131 by using the connection information of the AP 131 saved in S606. Then, the process proceeds to S605.

[0110] By adopting this configuration, even if the communication device 151 is connected to an AP with the privacy separator function turned on and a job cannot be sent from the terminal device 101 through communication via the AP but not via the Internet, it is possible to send a job through communication via the AP and the Internet.

[0111] <Second embodiment> In the first embodiment, when a direct connection is established between the terminal device 101 and the communication device 151, the terminal device 101 switches the Wi-Fi connection destination from the AP 131 to the communication device 151, but this is not limited to the above. For example, BLE may be used for the direct connection.

[0112] In this embodiment, a case where BLE is used for the direct connection implemented in the first embodiment will be described. Also, since some of the embodiments are the same as the first embodiment, only the differences will be described.

[0113] In this embodiment, the communication device 151 starts transmitting advertising information as a process of enabling BLE communication. This puts the communication device 151 in a state in which it can establish a connection with the terminal device 101 via BLE. Note that in this embodiment, the communication device 151 is in a state in which it can receive a pairing request via BLE for a predetermined period after the BLE communication is enabled. Then, when the communication device 151 receives a pairing request via BLE during the predetermined period, it performs pairing with the device that has sent the pairing request, and establishes a BLE connection. If a pairing request via BLE is not received during the predetermined period, the communication device 151 may disable the BLE communication.

[0114] When the communication device 151 enables both Wi-Fi communication and BLE communication in the connection setting mode, it receives setting commands via those communications and executes processing according to the received setting commands.

[0115] In the connection setup process using BLE, the communications in S307 to S311 and S314 are executed via a direct connection using BLE. Also, since there is no need to disconnect the Wi-Fi connection with the AP 131, the disconnection process in S305 is skipped, and the process proceeds while maintaining the Wi-Fi connection with the AP 131. Therefore, the Wi-Fi connection establishment process in S316 is also omitted.

[0116] Needless to say, the object of the present invention can also be achieved by supplying a recording medium on which is recorded the program code of software for realizing the functions of the above-mentioned embodiments to a system or device, and having the computer (or CPU or MPU) of the system or device read and execute the program code stored in the recording medium. In this case, the program code itself read from the recording medium will realize the functions of the above-mentioned embodiments, and the recording medium on which the program code is stored constitutes the present invention.

[0117] Examples of storage media for supplying the program code include flexible disks, hard disks, optical disks, magneto-optical disks, CD-ROMs, CD-Rs, magnetic tapes, non-volatile memory cards, ROMs, and DVDs.

[0118] Furthermore, it goes without saying that the functions of the above-mentioned embodiments are not only realized by the computer executing the program code it has read, but also that the functions of the above-mentioned embodiments are realized by an operating system (OS) running on the computer performing some or all of the actual processing based on the instructions of the program code. [Explanation of symbols]

[0119] 101 Information processing device 151 Communication equipment 131 Access Points

Claims

1. The computer of the information processing device a transmitting step of transmitting connection information for connecting to a network formed by the access point to the communication device; an execution step of executing communication between the communication device and the information processing device via a second communication path via the Internet, based on the fact that communication between the communication device and the information processing device via a first communication path via the network but not via the Internet is not possible after the connection information is transmitted; A program characterized by executing the above.

2. a second execution step of executing communication between the communication device and the information processing device via the first communication path when communication between the communication device and the information processing device via the first communication path is possible after the connection information is transmitted; 2. The program according to claim 1, further comprising:

3. 2. The program according to claim 1, wherein the second communication path is a communication path via a network formed by an access point corresponding to the connection information and the Internet.

4. 2. The program according to claim 1, wherein the connection information is transmitted via a direct connection between the information processing device and the communication device without passing through a device external to the information processing device and external to the communication device.

5. The method further includes the step of acquiring, via the direct connection, predetermined information for executing communication between the communication device and the information processing device via the second communication path; 5. The program according to claim 4, wherein communication between the communication device and the information processing device via the second communication path is executed based on the predetermined information.

6. The program described in claim 5, characterized in that the specified information is information acquired by the communication device via the network formed by the access point corresponding to the connection information and the Internet after the communication device connects to the network formed by the access point corresponding to the connection information.

7. 6. The program according to claim 5, wherein the direct connection is a connection using Wi-Fi (registered trademark) or Bluetooth (registered trademark).

8. The program according to claim 1, further comprising a connection step of executing a process for connecting the information processing device to a network formed by an access point corresponding to the connection information after the connection information is transmitted.

9. the connection information is connection information for connecting to a network formed by an access point to which the information processing device is connected when a predetermined instruction is received from a user, 2. The program according to claim 1, wherein the connection information is transmitted to the communication device based on receipt of the predetermined instruction from the user.

10. communication between the communication device and the information processing device via the second communication path is executed based on the fact that communication between the communication device and the information processing device via the first communication path is not possible after the connection information is transmitted, and establishment of a connection between the communication device and a network formed by an access point corresponding to the connection information is successful after the connection information is transmitted; The program described in claim 1, characterized in that, based on the fact that communication between the communication device and the information processing device via the first communication path is not possible after the connection information is transmitted, and establishment of a connection between the communication device and a network formed by an access point corresponding to the connection information has failed after the connection information is transmitted, communication between the communication device and the information processing device via the second communication path is not performed, and a process for resending the connection information to the communication device is executed.

11. The program according to claim 10, characterized in that the process for resending the connection information to the communication device includes a process for prompting the user to enter a password and a process for sending the connection information including the entered password to the communication device.

12. The program according to claim 10, further comprising an acquisition step of acquiring success / failure information indicating whether or not a connection between a network formed by an access point corresponding to the connection information and the communication device was successfully established after the connection information was transmitted.

13. The program described in claim 1, characterized in that a case in which communication between the communication device and the information processing device via the first communication path is not possible after the connection information is transmitted is a case in which a privacy separator function of an access point corresponding to the connection information is enabled.

14. a transmitting step of transmitting identification information for identifying the program to the communication device; and acquiring predetermined information for performing communication between the communication device and the information processing device via the second communication path, 2. The program according to claim 1, wherein the predetermined information is information acquired by the communication device based on the identification information.

15. the second communication path is a communication path via an external server outside the information processing device and the communication device and the Internet; 15. The program according to claim 14, wherein the predetermined information is transmitted from the information processing device to the external server, thereby executing communication between the communication device and the information processing device via the second communication path.

16. a receiving step of receiving an operation for executing communication of predetermined data from a user; After the operation is accepted, if communication between the communication device and the information processing device is not possible via the first communication path via the network to which the information processing device is connected but not via the Internet when the operation is accepted, and if predetermined information for executing communication via the second communication path has been acquired from the communication device, communication between the communication device and the information processing device via the second communication path by using the predetermined information is executed without newly executing communication between the information processing device and the communication device via a direct connection that does not go through a device external to the information processing device and the communication device, The program described in claim 1, characterized in that after the operation is accepted, if communication between the information processing device and another device other than the communication device is not possible via the first communication path via the network to which the information processing device is connected at the time the operation is accepted but not via the Internet, and the specified information has not been obtained from the other device, the specified information is obtained via a direct connection between the information processing device and the other device that does not go through a device outside the information processing device and outside the other device, and then communication between the other device and the information processing device is executed via the second communication path using the specified information.

17. 2. The program according to claim 1, wherein the communication device is a printing device.

18. 2. The program according to claim 1, wherein a print job for causing the communication device to execute printing is transmitted to the communication device through communication between the communication device and the information processing device via the second communication path.

19. A method for controlling an information processing device, comprising: a transmitting step of transmitting connection information for connecting to a network formed by the access point to the communication device; an execution step of executing communication between the communication device and the information processing device via a second communication path via the Internet, based on the fact that communication between the communication device and the information processing device via a first communication path via the network but not via the Internet is not possible after the connection information is transmitted; A control method comprising the steps of:

20. An information processing device, a transmitting means for transmitting connection information for connecting to a network formed by the access point to the communication device; an execution step of executing communication between the communication device and the information processing device via a second communication path via the Internet, based on the fact that communication between the communication device and the information processing device via a first communication path via the network but not via the Internet is not possible after the connection information is transmitted; 13. An information processing device comprising:

Citation Information

Patent Citations

  • Information processing device, control method, and program

    JP2016127545A