Terminal device, control method for terminal device, and program

The terminal device uses dual communication methods to maintain connectivity with wireless devices by switching to NAN when NW fails, ensuring operational continuity and status confirmation.

JP2024140249APending Publication Date: 2024-10-10SEIKO EPSON CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023051299
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-28
Publication Date
2024-10-10

AI Technical Summary

Technical Problem

In wireless communication systems, if a problem occurs in the connection between a terminal device and a wireless communication device like a printer via an access point, the terminal device cannot confirm the status of the printer, leading to incomplete or failed printing tasks.

Method used

The terminal device employs a dual communication method, using both a NW (Wi-Fi) and NAN (Neighbor Awareness Network) standard to establish connections, allowing it to check the status of the wireless communication device even if the primary NW connection fails, by establishing a NAN connection and acquiring status information.

Benefits of technology

Ensures that the terminal device can confirm the status and functionality of the wireless communication device, enabling continued operation and preventing failed printing tasks by using a secondary NAN connection when the primary NW connection is lost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

To provide a technique for enabling a terminal device to check the state of a wireless communication device even when the terminal device cannot communicate with the wireless communication device via an access point.SOLUTION: A terminal device 100 includes: a first communication processor 151 that establishes a wireless communication connection according to a first wireless communication scheme; a transmission controller 154 that performs control to transmit, to a wireless communication device, instruction information giving an instruction to execute a function of the wireless communication device, using the wireless communication connection according to the first wireless communication scheme; a second communication processor 152 that establishes, with the wireless communication device, a wireless communication connection according to a second wireless communication scheme conforming to a NAN standard; and a state information acquisition unit 155 that acquires state information representing a state of the wireless communication device from the wireless communication device, using the wireless communication connection according to the second wireless communication scheme, when no response is given to the instruction information.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a terminal device, a control method for a terminal device, and a program. [Background technology]

[0002] There are known techniques for printing using wireless communication. For example, Patent Document 1 discloses a technique in which a terminal device and a printing device are connected to an access point via wireless communication, and printing is achieved by transmitting data from the terminal device to the printing device via the access point via wireless communication. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2018-19146 A Summary of the Invention [Problem to be solved by the invention]

[0004] In the technology disclosed in Patent Document 1, if a problem occurs in the wireless communication connection between the printing device and the access point, printing is not executed even if a print instruction is sent from the terminal device. In this case, the terminal device cannot communicate with the printing device via the access point, so the terminal device cannot check the status of the printing device. Therefore, there is a demand for a technology that allows the terminal device to check the status of a wireless communication device such as a printing device even when the terminal device cannot communicate with the wireless communication device via the access point. [Means for solving the problem]

[0005] A terminal device according to the present disclosure includes a first communication processing unit that establishes a wireless communication connection of a first wireless communication method, a transmission control unit that controls the wireless communication device to transmit, using the wireless communication connection of the first wireless communication method, instruction information that instructs the wireless communication device to execute a function possessed by the wireless communication device, a second communication processing unit that establishes a wireless communication connection of a second wireless communication method, which is a communication method conforming to the NAN standard and different from the first wireless communication method, with the wireless communication device, and a status information acquisition unit that acquires status information indicating the status of the wireless communication device from the wireless communication device using the wireless communication connection of the second wireless communication method when there is no response to the instruction information.

[0006] In addition, in the control method of a terminal device disclosed herein, a wireless communication connection of a first wireless communication method is used to control a wireless communication device to send instruction information instructing the wireless communication device to execute a function possessed by the wireless communication device, a wireless communication connection of a second wireless communication method that is a communication method conforming to the NAN standard and different from the first wireless communication method is established with the wireless communication device, and if there is no response to the instruction information, status information indicating the status of the wireless communication device is obtained from the wireless communication device using the wireless communication connection of the second wireless communication method.

[0007] In addition, the program disclosed herein causes a computer to execute a first communication processing step of establishing a wireless communication connection of a first wireless communication method; a transmission control step of controlling the wireless communication device to transmit, using the wireless communication connection of the first wireless communication method, instruction information instructing the wireless communication device to execute a function possessed by the wireless communication device; a second communication processing step of establishing, with the wireless communication device, a wireless communication connection of a second wireless communication method that is a communication method conforming to the NAN standard and different from the first wireless communication method; and a status information acquisition step of acquiring, when there is no response to the instruction information, status information indicating the status of the wireless communication device from the wireless communication device, using the wireless communication connection of the second wireless communication method. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 is a schematic diagram illustrating an example of a configuration of a communication system according to an embodiment. [Diagram 2] FIG. 2 is a block diagram showing an example of a configuration of a terminal device according to an embodiment; [Diagram 3] 1 is a block diagram showing an example of a configuration of a wireless communication device according to an embodiment; [Figure 4] 10 is a flowchart illustrating an example of an operation flow of a terminal device according to an embodiment. [Diagram 5] 1 is a flowchart illustrating an example of an operation flow of a wireless communication device according to an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] Hereinafter, the embodiments will be described with reference to the drawings. For clarity of explanation, the following description and drawings are omitted and simplified as appropriate. In addition, in each drawing, the same elements are given the same reference numerals, and duplicate explanations are omitted as necessary.

[0010] Wi-Fi Aware, one of the certification programs of the Wi-Fi Alliance, specifies a communication protocol called NAN (Neighbor Awareness Network), which allows devices to communicate wirelessly without going through an access point. Hereinafter, the standard for this NAN specified by the Wi-Fi Alliance will be referred to as the NAN standard. In the embodiment described below, in addition to communication via an access point, communication according to this NAN standard is performed.

[0011] 1 is a schematic diagram illustrating an example of a configuration of a communication system 10 according to an embodiment. The communication system 10 includes a terminal device 100, a wireless communication device 200, and an access point 300. The access point 300 is an access point of a wireless LAN (Local Area Network). Specifically, the wireless LAN is, for example, a Wi-Fi (registered trademark) network.

[0012] In this embodiment, the terminal device 100 uses the functions of the wireless communication device 200 by communication via the access point 300. Moreover, the wireless communication device 200 executes the functions of the wireless communication device 200 based on instructions received from the terminal device 100 by communication via the access point 300. In this embodiment, the function of the wireless communication device 200 is a printing function, for example. However, the function of the wireless communication device 200 is not limited to this, and may be any function such as a scanning function.

[0013] In the communication system 10, when a problem occurs in the wireless communication connection between the wireless communication device 200 and the access point 300, the functions of the wireless communication device 200 are not executed even if an instruction is transmitted from the terminal device 100. At this time, the terminal device 100 cannot communicate with the wireless communication device 200 via the access point 300, and therefore the terminal device 100 cannot check the status of the wireless communication device 200 by communication via the access point 300. Therefore, in this embodiment, the terminal device 100 checks the status of the wireless communication device 200 by communication according to the NAN standard.

[0014] In the present disclosure, the wireless communication method for performing communication via the access point 300 is also referred to as a NW (network) wireless communication method. The NW wireless communication method can be a method for performing communication via the access point 300 in accordance with the Wi-Fi (registered trademark) standard, or a wireless communication method in infrastructure mode. In the present disclosure, the communication method in accordance with the NAN standard is also referred to as a NAN wireless communication method. In FIG. 1, wireless communication connection C of the NW wireless communication method for the terminal device 100 is shown. NW is properly established, but for the wireless communication device 200, the wireless communication connection C of the NW wireless communication method NW For this reason, as described later, the terminal device 100 is NAN The state of the wireless communication device 200 is confirmed by this.

[0015] The terminal device 100 is, for example, a device operated by a user, such as a PC (Personal Computer), a smartphone, or a tablet terminal. In the present embodiment, the wireless communication device 200 is, for example, a printing device (printer). In the communication system 10, the terminal device 100 and the wireless communication device 200 communicate according to the NAN wireless communication method, that is, in accordance with the NAN standard, as described above.

[0016] Hereinafter, specific configurations and processes of the terminal device 100 and the wireless communication device 200 will be described. First, the terminal device 100 will be described. Fig. 2 is a block diagram showing an example of the configuration of the terminal device 100. As shown in Fig. 2, the terminal device 100 has a storage unit 110, a wireless communication unit 120, a display unit 130, an operation unit 140, and a control unit 150.

[0017] The storage unit 110 is a storage device that stores a program for implementing the processing of the control unit 150 and data used in the processing of the terminal device 100. This storage device may be, for example, a non-volatile storage device such as a hard disk or a flash memory, and may include a memory such as a RAM (Random access Memory).

[0018] The wireless communication unit 120 is hardware that performs wireless communication. That is, the wireless communication unit 120 is a wireless communication interface. The wireless communication unit 120 may include a transmitting circuit, a receiving circuit, and an antenna.

[0019] The display unit 130 and the operation unit 140 are a user interface. The display unit 130 is configured with a display or the like that displays various information to the user. The operation unit 140 is configured with buttons or the like that accept input operations from the user. The display unit 130 and the operation unit 140 may be configured integrally with a touch panel or the like.

[0020] The control unit 150 is a processor such as a CPU (Central Processing Unit) that controls each component of the terminal device 100. The control unit 150 may have multiple processors. The control unit 150 loads a program into a memory and executes the program. As a result, in this embodiment, the control unit 150 executes the processes of a communication processing unit 151, a communication processing unit 152, an input receiving unit 153, a transmission control unit 154, a state information acquisition unit 155, and a display control unit 156.

[0021] The terminal device 100 includes a communication processing unit 151 and a communication processing unit 152, and is configured to be capable of communicating in two different types of wireless communication systems. The communication processing unit 151 performs a process of executing communication in the NW wireless communication system. This process includes a process of establishing a wireless communication connection in the NW wireless communication system. Specifically, the communication processing unit 151 uses the SSID (Service Set Identifier) ​​and password of the access point 300 to establish a wireless communication connection in the NW wireless communication system with the access point 300.

[0022] The communication processing unit 152 performs a process of executing communication with the wireless communication device 200 in the NAN wireless communication system. This process includes a process of establishing a wireless communication connection in the NAN wireless communication system with the wireless communication device 200. Specifically, the communication processing unit 152 causes the terminal device 100 to belong to a NAN cluster, which will be described later, in accordance with the NAN standard, and then establishes a wireless communication connection in accordance with the NAN standard with the wireless communication device 200 belonging to the NAN cluster. Hereinafter, a wireless communication connection in accordance with the NAN standard, that is, a wireless communication connection in the NAN wireless communication system, is also referred to as a NAN connection. Hereinafter, the wireless communication connection in accordance with the NAN standard in this embodiment is specifically a NAN data link. The process of the communication processing unit 152 for establishing a NAN connection (NAN data link) between the terminal device 100 and the wireless communication device 200 will be described in detail later. In this embodiment, communication processing unit 152 establishes a NAN connection with wireless communication device 200 when there is no response to instruction information transmitted from terminal device 100 using a wireless communication connection of the NW wireless communication method, but may establish a NAN connection with wireless communication device 200 regardless of the presence or absence of a response. For example, communication processing unit 152 may establish a NAN connection before transmitting the instruction information, or may establish a NAN connection immediately after transmitting the instruction information.

[0023] Input reception unit 153 receives instructions or information input by the user via operation unit 140. In this embodiment, input reception unit 153 receives instructions to execute a function of wireless communication device 200. Specifically, input reception unit 153 receives a print instruction issued by the user via operation unit 140. This instruction may include an instruction to designate a device to execute the function, i.e., an instruction to designate wireless communication device 200. This instruction may also include an instruction to designate data to be printed. This instruction may also include an instruction to designate print settings.

[0024] The transmission control unit 154 controls the transmission of information using a wireless communication connection of the NW wireless communication method or a wireless communication connection of the NAN wireless communication method. In particular, in this embodiment, the transmission control unit 154 controls to transmit, to the wireless communication device 200, instruction information instructing the wireless communication device 200 to execute a function of the wireless communication device 200, using the wireless communication connection of the NW wireless communication method. For example, when the input reception unit 153 receives a print instruction, the transmission control unit 154 controls to transmit instruction information instructing the wireless communication device 200 to execute printing, to the wireless communication device 200, using the wireless communication connection of the NW wireless communication method. The instruction information instructing the wireless communication device 200 to execute printing may include data to be printed, or may include information specifying print settings.

[0025] In addition, when a problem occurs in the wireless communication connection of the NW wireless communication method of the wireless communication device 200, even if the terminal device 100 transmits instruction information, the terminal device 100 cannot obtain a response to this instruction information from the wireless communication device 200. Therefore, in this embodiment, when there is no response to the instruction information, the terminal device 100 checks the state of the wireless communication device 200 using the wireless communication connection of the NAN wireless communication method, as described later.

[0026] Furthermore, when there is no response from the wireless communication device 200 to the instruction information transmitted by the terminal device 100, the transmission control unit 154 may control to transmit the instruction information to the wireless communication device 200 using the NAN connection. That is, the transmission control unit 154 may control to retransmit the instruction information transmitted using the wireless communication connection of the NW wireless communication method using the NAN connection. This allows the function of the wireless communication device 200 to be used even when the instruction information cannot be transmitted through the wireless communication connection of the NW wireless communication method. In particular, the transmission control unit 154 may control to retransmit the instruction information using the NAN connection only when the state information acquired by the state information acquisition unit 155 described later does not indicate an abnormality in the function instructed to be executed by the instruction information. In other words, when the acquired state information indicates an abnormality in the function, the transmission control unit 154 may control not to transmit the instruction information using the NAN connection. This prevents the instruction information from being transmitted even when the function cannot be executed. In this embodiment, the functional abnormality may be an abnormality that prevents the execution of the function, and may be, for example, an abnormality in a mechanical component of the wireless communication device 200 that operates to execute the function, or a shortage of consumables that the wireless communication device 200 has to execute the function. Specifically, for example, the functional abnormality may be a paper jam in the wireless communication device 200, which is a printing device, or a shortage of color materials or paper (printing medium) in the wireless communication device 200.

[0027] The transmission control unit 154 may perform such retransmission of the instruction information in response to an instruction from a user. That is, the transmission control unit 154 may execute control to retransmit the instruction information when the input receiving unit 153 receives an instruction to transmit the instruction information using the NAN connection. The transmission control unit 154 may transmit the instruction information using the NAN connection after confirming that status information indicating a poor wireless communication connection of the NW wireless communication method of the wireless communication device 200 has been acquired.

[0028] When there is no response from wireless communication device 200 to instruction information transmitted using a wireless communication connection of the NW wireless communication method, state information acquisition unit 155 acquires state information indicating the state of wireless communication device 200 from wireless communication device 200 using the NAN connection. For example, when there is no response from wireless communication device 200 even after a predetermined time has elapsed since instruction information was transmitted using a wireless communication connection of the NW wireless communication method, state information acquisition unit 155 requests wireless communication device 200 to transmit state information via the NAN connection. As a result, state information acquisition unit 155 acquires state information from wireless communication device 200 via the NAN connection.

[0029] In this embodiment, in particular, the state information acquisition unit 155 acquires, as the state information, information on the state of the wireless communication connection of the NW wireless communication method of the wireless communication device 200. More specifically, in this embodiment, the state information acquisition unit 155 acquires, as the information on the state of the wireless communication connection, a result of a diagnosis performed by the wireless communication device 200 on the state of the wireless communication connection of the NW wireless communication method of the wireless communication device 200. In this way, the state information acquired by the state information acquisition unit 155 may include information indicating a result of the diagnosis performed by the wireless communication device 200 on the state of the wireless communication connection of the NW wireless communication method of the wireless communication device 200. This makes it possible to remotely utilize the result of the self-diagnosis process of the wireless communication device 200 on the wireless communication connection (specifically, the process of the diagnosis unit 243 described later).

[0030] Furthermore, the state information acquiring unit 155 may acquire reference information from the wireless communication device 200 using the NAN connection together with the result of diagnosis on the state of the wireless communication connection of the NW wireless communication method of the wireless communication device 200. Here, the reference information is information that the user should refer to in order to resolve a failure in the wireless communication connection of the NW wireless communication method of the wireless communication device 200. Specifically, the reference information may be, for example, a manual showing the work that the user should perform in order to resolve the failure in the wireless communication connection.

[0031] Moreover, the state information acquisition unit 155 may acquire information indicating a state related to the function of the wireless communication device 200 as the state information. That is, the state information acquired by the state information acquisition unit 155 may include information indicating a state related to the function of the wireless communication device 200. In addition, the function of the wireless communication device 200 here can be more specifically said to be a function provided by the wireless communication device 200 in response to a request from the terminal device 100. The information indicating the state related to the function may be information indicating the presence or absence of an abnormality in the function. In addition, when an abnormality occurs in the function, the information indicating the state related to the function may include information indicating the content of the abnormality in the function. For example, the information indicating the state related to the function may indicate the occurrence of an abnormality in a mechanical component, the occurrence of an abnormality due to a shortage of consumables, etc. In addition, as described later, in this embodiment, the state information acquisition unit 155 acquires the result of a diagnosis of the function of the wireless communication device 200 performed by the wireless communication device 200 as the information indicating the state related to the function. In the case where the wireless communication device 200 has various functions, the state information acquisition unit 155 may acquire information indicating the state related to the function for all functions, or may acquire information indicating the state related to the function for a specific function. When acquiring information indicating a state related to a specific function, state information acquiring unit 155 may notify wireless communication device 200 of a function for which state information needs to be acquired when requesting wireless communication device 200 to transmit state information. In this case, state information acquiring unit 155 may notify wireless communication device 200 of a function whose execution is instructed by instruction information transmitted via a wireless communication connection of the NW wireless communication method.

[0032] Furthermore, status information acquisition section 155 may acquire information about the remaining amount of consumables (e.g., color materials, paper, etc.) that wireless communication device 200 has for executing a function, as information indicating the status of the function. That is, the status information acquired by status information acquisition section 155 may include information about the remaining amount of consumables that wireless communication device 200 has for executing the function of wireless communication device 200. The information about the remaining amount of the consumables may indicate whether or not the remaining amount of the consumables is insufficient for executing the function, or may indicate the remaining amount of the consumables itself.

[0033] The display control unit 156 controls the display by the display unit 130. In this embodiment, the display control unit 156 controls the display unit 130 to display the information acquired by the status information acquisition unit 155. That is, the display control unit 156 controls the display unit 130 to display the status information transmitted from the wireless communication device 200. Note that, when the status information indicates a shortage of consumables in the wireless communication device 200, the display control unit 156 may control the display unit 130 to display a warning notifying the shortage of the consumables. By displaying the status information, the user can grasp the status of the wireless communication device 200, and the user's convenience is improved. Furthermore, by displaying a warning of a shortage of consumables, the user can be prompted to replenish the consumables.

[0034] In addition, when the state information acquisition unit 155 acquires the above-mentioned reference information, the display control unit 156 may control to display the reference information. The display control unit 156 may control to display reference information acquired from a source other than the wireless communication device 200. For example, the storage unit 110 of the terminal device 100 may store the reference information in advance. In this case, the display control unit 156 may control to display the reference information stored in the storage unit 110 on the display unit 130. At this time, the display control unit 156 may control to display the reference information corresponding to the result of the diagnosis by the wireless communication device 200, which is included in the state information acquired by the state information acquisition unit 155. That is, the display control unit 156 may control to extract and display only the reference information corresponding to the result of the diagnosis from among various reference information stored in the storage unit 110. By displaying the reference information, the user can easily obtain information that helps to solve a wireless communication connection problem, and the user's convenience is improved.

[0035] Next, the wireless communication device 200 will be described. FIG. 3 is a block diagram showing an example of the configuration of the wireless communication device 200. As shown in FIG. 3, the wireless communication device 200 has a storage unit 210, a wireless communication unit 220, a printing unit 230, and a control unit 240. The wireless communication device 200 also includes a color material 231 and a printing medium 232 for the printing function executed by the printing unit 230. The color material 231 and the printing medium 232 are examples of the above-mentioned consumables. The wireless communication device 200 may also include other components. For example, the wireless communication device 200 may further include a user interface such as a touch panel display, or may further include a scanner.

[0036] The storage unit 210 is a storage device that stores a program for implementing the processing of the control unit 240 and data used in the processing of the wireless communication device 200. This storage device may be, for example, a non-volatile storage device such as a hard disk or a flash memory, and may include a memory such as a RAM.

[0037] The wireless communication unit 220 is hardware that performs wireless communication. That is, the wireless communication unit 220 is a wireless communication interface. The wireless communication unit 220 may include a transmitting circuit, a receiving circuit, and an antenna.

[0038] The printing unit 230 has a configuration for printing on a printing medium 232 such as paper. Specifically, for example, the printing unit 230 includes a print engine. The print engine is a mechanical configuration that executes printing of an image on the printing medium 232 using color materials 231. The print engine may have a mechanism for printing using ink, which is the color material 231, by, for example, an inkjet method. Alternatively, the print engine may have a mechanism for printing using toner, which is the color material 231, by, for example, an electrophotographic method. The printing unit 230 may also have a transport mechanism for transporting the printing medium 232.

[0039] The control unit 240 is a processor such as a CPU that controls each component of the wireless communication device 200. The control unit 240 may have multiple processors. The control unit 240 loads a program into a memory and executes the program. As a result, in this embodiment, the control unit 240 executes the processes of the communication processing unit 241, the communication processing unit 242, the diagnosis unit 243, the transmission control unit 244, the instruction information acquisition unit 245, and the function execution unit 246.

[0040] The wireless communication device 200 includes a communication processing unit 241 and a communication processing unit 242, and is configured to be capable of communication using two different types of wireless communication systems. The communication processing unit 241 performs a process of executing communication in the NW wireless communication system. This process includes a process of establishing a wireless communication connection in the NW wireless communication system. Specifically, the communication processing unit 241 uses the SSID and password of the access point 300 to establish a wireless communication connection in the NW wireless communication system with the access point 300.

[0041] The communication processing unit 242 performs processing for executing communication in the NAN wireless communication system with the terminal device 100. This processing includes processing for establishing a NAN connection with the terminal device 100. Details of the processing by the communication processing unit 242 for establishing a NAN connection between the terminal device 100 and the wireless communication device 200 will be described later.

[0042] The diagnosis unit 243 diagnoses the state of the wireless communication device 200 and generates state information indicating the state of the wireless communication device 200. That is, the diagnosis unit 243 generates state information including the result of the diagnosis. The diagnosis unit 243 diagnoses the state of the wireless communication connection of the NW wireless communication method. For example, the diagnosis unit 243 executes a ping command to transmit a packet to the access point 300, thereby diagnosing the state of the wireless communication connection of the NW wireless communication method. Specifically, the diagnosis unit 243 checks a response to a packet transmitted by executing the ping command to determine whether the wireless communication connection of the NW wireless communication method is normally established or whether the wireless communication connection is poor. Here, a poor state includes not only a state in which the wireless communication connection cannot be established, but also a state in which the connection is unstable. For example, when no response is obtained to a packet transmitted by executing the ping command, the diagnosis unit 243 determines that the wireless communication connection is not established. Furthermore, when the time until a response to a packet transmitted by executing the ping command is obtained exceeds a threshold, the diagnosis unit 243 determines that the wireless communication connection is unstable. Here, execution of a ping command has been given as an example of a method for diagnosing the state of a wireless communication connection in a NW wireless communication method, but the method is not limited to this, and the diagnosis unit 243 may diagnose the state of the wireless communication connection by using other known diagnosis techniques. Also, the diagnosis unit 243 may generate state information including setting information currently set for a wireless communication connection in a NW wireless communication method. For example, the diagnosis unit 243 may generate state information including setting information (e.g., either one or both of an SSID and a password) used for connection with the access point 300, or may generate state information including an IP (Internet Protocol) address currently assigned to the wireless communication device 200.

[0043] Furthermore, the diagnostic unit 243 may diagnose the state of a function that is provided by the wireless communication device 200 in response to a request from another device, and generate state information. In this embodiment, specifically, the diagnostic unit 243 may diagnose the state of a printing function. For example, the diagnostic unit 243 may determine the presence or absence of an abnormality in the printing unit 230, or may diagnose the degree of shortage of consumables such as the color material 231 or the printing medium 232. Note that the abnormality in the printing unit 230 may be a failure of a component that configures the printing unit 230, or may be the occurrence of a paper jam. The diagnostic unit 243 may diagnose the state of the function using a known diagnostic technique provided in the wireless communication device 200. For example, the diagnostic unit 243 may detect an abnormality in the printing unit 230 by checking a signal from a sensor that detects a failure or a sensor that detects a paper jam in the printing unit 230. The diagnostic unit 243 may diagnose the degree of shortage of the consumables by checking a signal from a sensor that detects the remaining amount of the consumables.

[0044] The transmission control unit 244 controls the transmission of information using a wireless communication connection of the NW wireless communication method or a wireless communication connection of the NAN wireless communication method. In particular, in this embodiment, the transmission control unit 244 controls the transmission of status information generated by the diagnosis unit 243 to the terminal device 100 using a wireless communication connection of the NAN wireless communication method, i.e., a NAN connection. For example, when the transmission control unit 244 receives a request for transmission of status information from the terminal device 100 via the NAN connection, it controls the transmission of status information to the terminal device 100. The transmitted status information may include a result of a diagnosis performed by the diagnosis unit 243 in response to a request for transmission of status information from the terminal device 100, or may include a result of the latest diagnosis among the results of the diagnosis periodically performed by the diagnosis unit 243.

[0045] The transmission control unit 244 may transmit the above-mentioned reference information together with the state information to the terminal device 100 by using the NAN connection. In this case, the transmission control unit 244 controls, for example, the transmission of reference information stored in advance in the storage unit 210 of the wireless communication device 200. Note that the transmission control unit 244 may control to extract and transmit only the reference information corresponding to the result of the diagnosis by the diagnosis unit 243 from the various reference information stored in the storage unit 210.

[0046] As described above, the status information to be transmitted may be information indicating a status related to a function of the wireless communication device 200. In addition, when the wireless communication device 200 has a plurality of various functions, the transmission control unit 244 may perform control so as to transmit status information related to a function designated by the terminal device 100. In addition, the transmission control unit 244 may perform control so as to transmit information related to the remaining amount of consumables (e.g., the color material 231 and the printing medium 232) provided in the wireless communication device 200 for executing the function, as status information related to the function.

[0047] The instruction information acquisition unit 245 acquires instruction information from the terminal device 100 using the wireless communication connection of the NW wireless communication method established by the communication processing unit 241 or the NAN connection established by the communication processing unit 242. In this embodiment, specifically, the instruction information acquisition unit 245 acquires instruction information instructing execution of printing from the terminal device 100. When the instruction information acquisition unit 245 acquires instruction information from the terminal device 100, it returns a response to the terminal device 100 using the wireless communication connection used to transmit the instruction information. Note that this response may be a packet notifying that the instruction information has been accepted, or may be a packet indicating the execution result of a function, etc.

[0048] Function execution unit 246 performs processing for executing functions of wireless communication device 200. Specifically, function execution unit 246 performs processing for executing functions according to instruction information acquired by instruction information acquisition unit 245. In the present embodiment, specifically, function execution unit 246 uses print unit 230 to execute printing according to instruction information that instructs execution of printing.

[0049] Next, a detailed description will be given of the processing of the communication processing unit 152 and the communication processing unit 242 for establishing a NAN connection between the terminal device 100 and the wireless communication device 200. In order to establish a NAN connection, first, the terminal device 100 and the wireless communication device 200 configure a NAN cluster. After that, the terminal device 100 and the wireless communication device 200 build a NAN connection, that is, a NAN data link.

[0050] In the NAN standard, a period called a discovery window (DW) is defined. The discovery window is a communication period that occurs intermittently mainly for devices to announce and search for services, and arrives at a predetermined cycle. A set of devices that share the discovery window is called a NAN cluster. A device operating as a master transmits a discovery beacon to other devices that do not yet belong to the NAN cluster to make the other devices recognize the NAN cluster. In addition, the device operating as a master transmits a synchronization beacon to synchronize each device with the discovery window. In this embodiment, the terminal device 100 may operate as the master, or the wireless communication device 200 may operate as the master.

[0051] Each device that makes up a NAN cluster can check the services provided by each device by sending and receiving signals within the discovery window. Specifically, within the discovery window, signals consisting of frames in a format called a Service Discovery Frame are transmitted.

[0052] A device that constitutes a NAN cluster can establish a data link that enables mutual communication with other devices that constitute the NAN cluster, regardless of the discovery window period. In other words, a NAN connection can be established between devices that constitute a NAN cluster. In the NAN standard, the above-mentioned data link is called a NAN data link.

[0053] In order for the terminal device 100 and the wireless communication device 200 to establish a NAN connection, the terminal device 100 and the wireless communication device 200 must first share a discovery window. To share the discovery window, either the terminal device 100 or the wireless communication device 200 operates as a master. For example, when the terminal device 100 operates as a master, the communication processing unit 152 of the terminal device 100 performs a process of transmitting a discovery beacon and a synchronization beacon from the terminal device 100. In response to this, the communication processing unit 242 of the wireless communication device 200 performs a process of synchronizing with the discovery window, i.e., NAN synchronization, based on the discovery beacon and synchronization beacon transmitted from the terminal device 100.

[0054] When the terminal device 100 and the wireless communication device 200 share a discovery window, the communication processing unit 152 of the terminal device 100 identifies the wireless communication device 200, which is the destination of the instruction information transmitted using the wireless communication connection of the NW wireless communication method, from the NAN cluster (i.e., the group of devices sharing the discovery window). That is, the communication processing unit 152 identifies the device from which the state information should be requested. In other words, the communication processing unit 152 identifies the device to which the NAN connection should be established in order to obtain the state information. In this embodiment, the communication processing unit 152 identifies the connection target of the NAN connection from the NAN cluster based on the MAC (Media access Control) address of the wireless communication device 200, which is the destination of the instruction information transmitted using the wireless communication connection of the NW wireless communication method. This makes it possible to appropriately identify the connection target of the NAN connection. Note that this MAC address is acquired, for example, when communication between the terminal device 100 and the wireless communication device 200 was normally performed using the wireless communication connection of the NW wireless communication method, and is stored in the storage unit 110. The communication processing unit 152 confirms the MAC address of each device constituting the NAN cluster by, for example, confirming the MAC address included in the service discovery frame transmitted by the device constituting the NAN cluster. Note that the communication processing unit 152 may broadcast a message inquiring about the services of each device to each device constituting the NAN cluster in order to cause other devices to transmit service discovery frames.

[0055] When the communication processing unit 152 of the terminal device 100 identifies the wireless communication device 200 to which the NAN connection is to be connected, the communication processing unit 152 of the terminal device 100 and the communication processing unit 242 of the wireless communication device 200 execute processing to establish a NAN data link in accordance with a connection procedure in accordance with the NAN standard. In this manner, a NAN connection is established between the terminal device 100 and the wireless communication device 200.

[0056] Next, the operation flow of the terminal device 100 and the operation flow of the wireless communication device 200 will be described. First, the operation flow of the terminal device 100 will be described. FIG. 4 is a flowchart showing an example of the operation flow of the terminal device 100 according to the embodiment. The operation flow will be described below with reference to FIG. 4. It is assumed that the terminal device 100 has normally established a wireless communication connection of the NW wireless communication method prior to the operations described below.

[0057] In step S100, input receiving unit 153 receives from a user an instruction to execute a function of wireless communication device 200. In this embodiment, input receiving unit 153 specifically receives a print instruction.

[0058] Next, in step S101, the transmission control unit 154 of the terminal device 100 controls to transmit instruction information corresponding to the instruction received in step S100 to the wireless communication device 200 using the wireless communication connection of the NW wireless communication method. For example, the transmission control unit 154 controls to transmit the instruction information to the wireless communication device 200 specified by the input receiving unit 153, but may transmit the instruction information to a predetermined wireless communication device 200. The wireless communication device 200 to which the instruction information is to be transmitted via the wireless communication connection of the NW wireless communication method is, for example, a wireless communication device 200 that has successfully communicated with the terminal device 100 in the past via the wireless communication connection of the NW wireless communication method. However, the wireless communication device 200 to which the instruction information is to be transmitted via the wireless communication connection of the NW wireless communication method may be a device whose IP address is specified in advance, and may not necessarily be a wireless communication device 200 that has successfully communicated with the terminal device 100 in the past via the wireless communication connection of the NW wireless communication method.

[0059] If there is a response from the destination wireless communication device 200 to the instruction information transmitted in step S101 (YES in step S102), the instruction information has been transmitted normally, and the processing of the terminal device 100 ends. On the other hand, if there is no response from the wireless communication device 200 (NO in step S102), the processing proceeds to step S103.

[0060] For example, in the following case, a response cannot be obtained from the wireless communication device 200. For example, if the access point 300 has been replaced but the wireless communication device 200 has not been configured to wirelessly connect to the new access point 300, the terminal device 100 is no longer able to communicate with the wireless communication device 200 with which it was previously able to communicate normally, and therefore no response can be obtained. In addition, if the radio wave environment of the access point 300 and the wireless communication device 200 changes due to a change in the relative positional relationship between the access point 300 and the wireless communication device 200, the terminal device 100 may not be able to communicate normally with the wireless communication device 200. In addition, even if the IP address of the wireless communication device 200 has been updated by a Dynamic Host Configuration Protocol (DHCP) server or the like, if the terminal device 100 transmits instruction information using the IP address of the wireless communication device 200 before the update, no response can be obtained from the wireless communication device 200. Note that although the cases in which a response cannot be obtained from the wireless communication device 200 have been exemplified, these are merely examples, and the process may proceed to step S103 in cases other than the above cases.

[0061] In step S103, communication processing unit 152 of terminal device 100 establishes a NAN connection with wireless communication device 200. As described above, in order to establish the NAN connection, communication processing unit 152 executes processing in accordance with the NAN standard and causes terminal device 100 to belong to a NAN cluster. After that, communication processing unit 152 identifies wireless communication device 200, which is the destination of the instruction information in step S101, from among the devices constituting the NAN cluster, and establishes a NAN connection.

[0062] Next, in step S104, state information acquisition unit 155 requests wireless communication device 200 to transmit state information via the NAN connection established in step S103. Then, in step S105, state information acquisition unit 155 acquires state information from wireless communication device 200 via the NAN connection established in step S103. Note that, as described above, in this step, state information acquisition unit 155 can further acquire reference information from wireless communication device 200 via the NAN connection.

[0063] Next, in step S106, the display control unit 156 controls the display unit 130 to display the status information acquired in step S105. Furthermore, if reference information is also acquired in step S105, the display control unit 156 controls the display unit 130 to also display the reference information. Furthermore, as described above, the display control unit 156 may control the display unit 130 to display, instead of the reference information acquired from the wireless communication device 200, reference information that is pre-stored in the storage unit 110 and corresponds to the status of the wireless communication device 200 indicated by the acquired status information.

[0064] Then, if the status information acquired in step S105 does not indicate an abnormality in the function instructed to be executed by the instruction information (NO in step S107), the process proceeds to step S108. On the other hand, if the status information indicates an abnormality in the function instructed to be executed by the instruction information (YES in step S107), the function cannot be executed even if the instruction information is transmitted via the NAN connection, and the process ends.

[0065] In step S108, the transmission control unit 154 of the terminal device 100 retransmits the instruction information designated as the transmission target in step S101 to the wireless communication device 200, using the NAN connection established in step S103. As a result, printing is executed in the wireless communication device 200.

[0066] Next, a description will be given of an operation flow of the wireless communication device 200 when a problem occurs in a wireless communication connection of a NW wireless communication system in the wireless communication device 200. Fig. 5 is a flowchart showing an example of an operation flow of the wireless communication device 200 according to the embodiment.

[0067] Step S200 corresponds to step S103 in FIG. 4, and in this step, the communication processing unit 242 of the wireless communication device 200 establishes a NAN connection with the terminal device 100.

[0068] The next step S201 corresponds to step S104 in FIG. 4, and in this step the wireless communication device 200 receives a transmission request for state information from the terminal device 100 via the NAN connection.

[0069] Next, in step S202, diagnosis unit 243 diagnoses the state of wireless communication device 200 and generates state information. Note that in this flowchart, diagnosis unit 243 performs diagnosis and generates state information after receiving a transmission request for state information, but diagnosis unit 243 may perform diagnosis and generates state information before receiving a transmission request for state information.

[0070] Next, in step S203, the transmission control unit 244 of the wireless communication device 200 performs control so as to transmit the state information generated in step S202 to the terminal device 100, using the NAN connection established in step S200. Note that, as described above, the transmission control unit 244 may perform control so as to transmit, to the terminal device 100, reference information corresponding to the state of the wireless communication device 200 indicated by the state information, together with the state information, using the NAN connection.

[0071] Then, when the terminal device 100 transmits the instruction information using the NAN connection (that is, when the process of step S108 in FIG. 4 is performed), the wireless communication device 200 performs the processes of steps S204 and S205 described below.

[0072] In step S204, the instruction information acquisition unit 245 of the wireless communication device 200 acquires instruction information from the terminal device 100 via the NAN connection established in step S200. Then, in step S205, the function execution unit 246 performs processing to execute a function according to the instruction information acquired in step S204. That is, the function execution unit 246 executes printing according to the instruction information using the printing unit 230.

[0073] The embodiment has been described above. According to the embodiment, when there is no response to the instruction information transmitted using the wireless communication connection of the NW wireless communication method, the status information is transmitted using the NAN connection. Therefore, even when the terminal device 100 cannot communicate with the wireless communication device 200 using the wireless communication connection of the NW wireless communication method, the terminal device 100 can check the status of the wireless communication device 200.

[0074] Although the embodiment has been described above, the present invention is not limited to the above embodiment, and can be modified as appropriate without departing from the spirit and scope of the present invention.

[0075] Also, in the above examples, the program includes a set of instructions (or software code) that, when loaded into a computer, causes the computer to perform one or more functions described in the embodiments. The program may be stored in a non-transitory computer-readable medium or a tangible storage medium. By way of example and not limitation, the computer-readable medium or tangible storage medium includes random-access memory (RAM), read-only memory (ROM), flash memory, solid-state drive (SSD) or other memory technology, CD-ROM, digital versatile disk (DVD), Blu-ray (registered trademark) disk or other optical disk storage, magnetic cassette, magnetic tape, magnetic disk storage or other magnetic storage device. The program may be transmitted on a transitory computer-readable medium or communication medium. By way of example and not limitation, the transitory computer-readable medium or communication medium includes electrical, optical, acoustic, or other forms of propagated signals.

[0076] A part or all of the above-described embodiments can be described as, but is not limited to, the following supplementary notes. (Appendix 1) a first communication processing unit that establishes a wireless communication connection of a first wireless communication method; a transmission control unit that controls to transmit, to a wireless communication device, instruction information for instructing the wireless communication device to execute a function that the wireless communication device has, using the wireless communication connection of the first wireless communication method; a second communication processing unit that establishes a wireless communication connection of a second wireless communication method, which is a communication method conforming to a NAN (Neighbor Awareness Network) standard and is different from the first wireless communication method, with the wireless communication device; a status information acquisition unit that acquires, when there is no response to the instruction information, status information indicating a status of the wireless communication device from the wireless communication device using the wireless communication connection of the second wireless communication method; A terminal device having the above configuration. (Appendix 2) The display control unit controls the display of the status information. 2. A terminal device as described in claim 1. (Appendix 3) The state information includes information indicating a result of a diagnosis made by the wireless communication device regarding a state of a wireless communication connection of the first wireless communication method of the wireless communication device. 3. A terminal device according to claim 1 or 2. (Appendix 4) the state information includes information indicating a result of a diagnosis, made by the wireless communication device, of a state of a wireless communication connection of the first wireless communication method of the wireless communication device; the status information acquisition unit further acquires, together with a result of the diagnosis, reference information that is information that a user should refer to in order to resolve a failure in the wireless communication connection of the first wireless communication method of the wireless communication device, from the wireless communication device by using the wireless communication connection of the second wireless communication method; The display control unit further controls to display the reference information. 3. A terminal device as described in appended claim 2. (Appendix 5) the state information includes information indicating a result of a diagnosis, made by the wireless communication device, of a state of a wireless communication connection of the first wireless communication method of the wireless communication device; the terminal device has a storage unit configured to store reference information which is information to be referred to by a user in order to resolve a failure in the wireless communication connection of the first wireless communication method of the wireless communication device; The display control unit further controls to display the reference information corresponding to a result of the diagnosis. 3. A terminal device as described in appended claim 2. (Appendix 6) The transmission control unit further controls, when there is no response to the instruction information, to transmit the instruction information to the wireless communication device using the wireless communication connection of the second wireless communication method. 6. A terminal device according to any one of claims 1 to 5. (Appendix 7) the status information includes information indicating a status related to the function of the wireless communication device, The transmission control unit performs control not to transmit the instruction information to the wireless communication device using the wireless communication connection of the second wireless communication method when the status information indicates an abnormality in the function. 7. A terminal device as described in appended claim 6. (Appendix 8) the status information includes information about remaining amounts of consumables that the wireless communication device has for executing the function; The display control unit further controls, when the status information indicates a shortage of the consumable, to display a warning notifying the shortage of the consumable. 3. A terminal device as described in appended claim 2. (Appendix 9) The second communication processing unit identifies a connection target of the wireless communication connection of the second wireless communication method based on a media access control (MAC) address of the wireless communication device that is a destination of the instruction information. 9. A terminal device according to any one of appendix 1 to 8. (Appendix 10) Controlling to transmit, to a wireless communication device, instruction information for instructing the wireless communication device to execute a function that the wireless communication device has, using a wireless communication connection of a first wireless communication method; Establishing a wireless communication connection of a second wireless communication method, which is a communication method conforming to the NAN standard and different from the first wireless communication method, with the wireless communication device; When there is no response to the instruction information, status information indicating a status of the wireless communication device is acquired from the wireless communication device using the wireless communication connection of the second wireless communication method. A method for controlling a terminal device. (Appendix 11) a first communication processing step of establishing a wireless communication connection of a first wireless communication method; a transmission control step of controlling to transmit, to a wireless communication device, instruction information for instructing the wireless communication device to execute a function that the wireless communication device has, using the wireless communication connection of the first wireless communication method; a second communication processing step of establishing a wireless communication connection of a second wireless communication method, which is a communication method according to a NAN standard and different from the first wireless communication method, with the wireless communication device; a state information acquisition step of acquiring, when there is no response to the instruction information, state information indicating a state of the wireless communication device from the wireless communication device using the wireless communication connection of the second wireless communication method; A program that causes a computer to execute the following. [Explanation of symbols]

[0077] 10...communication system, 100...terminal device, 110...storage unit, 120...wireless communication unit, 130...display unit, 140...operation unit, 150...control unit, 151...communication processing unit, 152...communication processing unit, 153...input reception unit, 154...transmission control unit, 155...status information acquisition unit, 156...display control unit, 200...wireless communication device, 210...storage unit, 220...wireless communication unit, 230...printing unit, 231...coloring material, 232...printing medium, 240...control unit, 241...communication processing unit, 242...communication processing unit, 243...diagnosis unit, 244...transmission control unit, 245...instruction information acquisition unit, 246...function execution unit, 300...access point

Claims

1. a first communication processing unit that establishes a wireless communication connection of a first wireless communication method; a transmission control unit that controls to transmit, to a wireless communication device, instruction information for instructing the wireless communication device to execute a function that the wireless communication device has, using the wireless communication connection of the first wireless communication method; a second communication processing unit that establishes a wireless communication connection of a second wireless communication method, which is a communication method conforming to a Neighbor Awareness Network (NAN) standard and is different from the first wireless communication method, with the wireless communication device; a status information acquisition unit that acquires, when there is no response to the instruction information, status information indicating a status of the wireless communication device from the wireless communication device using the wireless communication connection of the second wireless communication method; A terminal device having the above configuration.

2. The display control unit controls the display of the status information. The terminal device according to claim 1 .

3. The state information includes information indicating a result of a diagnosis, made by the wireless communication device, of a state of a wireless communication connection of the first wireless communication method of the wireless communication device. The terminal device according to claim 1 or 2.

4. the status information includes information indicating a result of a diagnosis, made by the wireless communication device, of a status of a wireless communication connection of the first wireless communication method of the wireless communication device; The status information acquisition unit further acquires, together with a result of the diagnosis, reference information that is information that a user should refer to in order to resolve a failure in the wireless communication connection of the first wireless communication method of the wireless communication device, from the wireless communication device using the wireless communication connection of the second wireless communication method; The display control unit further controls to display the reference information. The terminal device according to claim 2.

5. the status information includes information indicating a result of a diagnosis, made by the wireless communication device, of a status of a wireless communication connection of the first wireless communication method of the wireless communication device; the terminal device has a storage unit configured to store reference information which is information to be referred to by a user in order to resolve a failure in the wireless communication connection of the first wireless communication method of the wireless communication device; The display control unit further controls to display the reference information corresponding to a result of the diagnosis. The terminal device according to claim 2.

6. The transmission control unit further controls, when there is no response to the instruction information, to transmit the instruction information to the wireless communication device using the wireless communication connection of the second wireless communication method. The terminal device according to claim 1 .

7. the status information includes information indicating a status related to the function of the wireless communication device, The transmission control unit controls not to transmit the instruction information to the wireless communication device using the wireless communication connection of the second wireless communication method when the status information indicates an abnormality in the function. The terminal device according to claim 6.

8. the status information includes information about remaining amounts of consumables that the wireless communication device has for executing the function; The display control unit further controls, when the status information indicates a shortage of the consumable, to display a warning notifying the shortage of the consumable. The terminal device according to claim 2.

9. The second communication processing unit identifies a connection target of the wireless communication connection of the second wireless communication method based on a media access control (MAC) address of the wireless communication device to which the instruction information is to be transmitted. The terminal device according to claim 1 .

10. Controlling the wireless communication device to transmit, via a wireless communication connection of a first wireless communication method, instruction information for instructing the wireless communication device to execute a function of the wireless communication device; Establishing a wireless communication connection of a second wireless communication method, which is a communication method according to the NAN standard and different from the first wireless communication method, with the wireless communication device; When there is no response to the instruction information, status information indicating a status of the wireless communication device is obtained from the wireless communication device using the wireless communication connection of the second wireless communication method. A method for controlling a terminal device.

11. a first communication processing step of establishing a wireless communication connection of a first wireless communication method; a transmission control step of controlling to transmit, to a wireless communication device, instruction information for instructing the wireless communication device to execute a function, using the wireless communication connection of the first wireless communication method; a second communication processing step of establishing a wireless communication connection of a second wireless communication method, which is a communication method according to the NAN standard and different from the first wireless communication method, with the wireless communication device; a state information acquiring step of acquiring, when there is no response to the instruction information, state information indicating a state of the wireless communication device from the wireless communication device using the wireless communication connection of the second wireless communication method; A program that causes a computer to execute the following.

Citation Information

Patent Citations

  • Communication apparatus and control method therefor, and program

    JP2018019146A