COMMUNICATION SYSTEM, COMMUNICATION DEVICE, PROGRAM, AND TRANSMISSION METHOD
The communication system uses short-range wireless communication and authentication tokens to securely control printers from authorized devices, reducing user workload and enhancing security by eliminating the need for manual device checks.
Patent Information
- Application Number
- JP2021060501
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-03-31
- Publication Date
- 2025-01-17
- Estimated Expiration
- 2041-03-31
AI Technical Summary
Existing systems require users to perform manual checks on terminal devices to limit control instructions, increasing workload and potential security risks.
A communication system and method that utilizes short-range wireless communication and multiple identification and authentication tokens to securely connect and control a printer from a specific terminal device, reducing the need for manual user intervention.
This approach reduces user workload by allowing secure, proximity-based control of printers, ensuring only authorized devices can issue commands, thereby enhancing security and convenience.
Smart Images

Figure 0007615840000001 
Figure 0007615840000002 
Figure 0007615840000003
Abstract
Description
[Technical field]
[0001] The present application relates to a communication system, a communication device, a program, and a transmission method. [Background technology]
[0002] Conventionally, various techniques for performing short-distance wireless communication between a terminal device and a printer have been proposed. For example, a printer disclosed in Patent Document 1 notifies a portable communication terminal device approaching the printer of an error by communication conforming to the NFC (Near Field Communication) standard when an error occurs. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2013-187567 A Summary of the Invention [Problem to be solved by the invention]
[0004] From the viewpoint of security, it is preferable that terminal devices that can issue control instructions to communication devices such as printers be limited to specific terminal devices. However, if the user is required to check the terminal device in order to limit the terminal devices that can accept control instructions from the communication device side, this may increase the workload of the user.
[0005] The present application has been made to solve the above-mentioned problems, and provides a communication system, a communication device, a program, and a transmission method that can reduce the burden of the work of executing control instructions for a communication device from a specific terminal device. [Means for solving the problem]
[0006] The communication system of the present application includes a terminal device and a communication device, the terminal device includes a terminal device side short-range wireless communication unit capable of short-range wireless communication, a terminal device side wireless communication unit capable of first wireless communication of a wireless communication method different from the short-range wireless communication, and a terminal device side control unit, the communication device includes a communication device side short-range wireless communication unit capable of the short-range wireless communication, a communication device side wireless communication unit capable of the first wireless communication, and a communication device side control unit, the terminal device side control unit executes a communication start process for executing the short-range wireless communication between the terminal device side short-range wireless communication unit and the communication device side short-range wireless communication unit, and the communication device side control unit controls a communication start process to select a communication device to be used for connection of the first wireless communication in response to the communication start process. a first identification information transmission process for transmitting first connection information acquired from the communication device by the first identification information transmission process and first identification information for identifying the terminal device that has executed the communication start process from the communication device-side short-range wireless communication unit to the terminal device-side short-range wireless communication unit via the short-range wireless communication, and the terminal device-side control unit executes a first control information transmission process for transmitting first control information from the terminal device-side wireless communication unit to the communication device-side wireless communication unit via the first wireless communication using the first connection information acquired from the communication device by the first identification information transmission process, and the communication device-side control unit executes a control process for controlling the communication device based on the first control information acquired from the terminal device by the first control information transmission process.
[0007] Further, a communication system of the present application includes a terminal device and a communication device, the terminal device includes a terminal device side short-range wireless communication unit capable of short-range wireless communication, a terminal device side wireless communication unit capable of first wireless communication of a wireless communication method different from the short-range wireless communication, and a terminal device side control unit, the communication device includes a communication device side short-range wireless communication unit capable of the short-range wireless communication, a communication device side wireless communication unit capable of the first wireless communication, and a communication device side control unit, the terminal device side control unit executes a communication start process for executing the short-range wireless communication between the terminal device side short-range wireless communication unit and the communication device side short-range wireless communication unit, and the communication device side control unit executes the communication start process. In accordance with the process, the communication device executes a first identification information transmission process of transmitting first connection information used for connecting the first wireless communication and first identification information for identifying the terminal device that has executed the communication start process from the communication device-side short-range wireless communication unit to the terminal device-side short-range wireless communication unit via the short-range wireless communication, a first connection process of establishing a connection of the first wireless communication with the terminal device based on the first connection information, a second connection process of establishing a second wireless communication using first control information transmitted from the terminal device through the first wireless communication, and an authentication process of authenticating the terminal device based on the first identification information transmitted from the terminal device through the second wireless communication.
[0008] Furthermore, the contents disclosed in this application are not limited to implementation as a communication system, but may also be usefully implemented as, for example, a computer-readable program for a communication device and a terminal device that perform wireless communication, and a transmission method in a communication system. Effect of the Invention
[0009] According to the communication system, communication device, program, and transmission method configured as above, it is possible to reduce the workload of a task of causing a specific terminal device to execute a control instruction to a communication device. [Brief description of the drawings]
[0010] [Figure 1] FIG. 1 is a configuration diagram of a printing system according to an embodiment. [Diagram 2]FIG. 2 is an explanatory diagram of the printer management table shown in FIG. [Diagram 3] FIG. 2 is an explanatory diagram of a server management table shown in FIG. [Figure 4] FIG. 11 is a sequence diagram when a wireless control process is executed. [Diagram 5] FIG. 11 is a sequence diagram when an initial setting process is executed. [Figure 6] FIG. 11 is a sequence diagram when a free charge process is executed. [Figure 7] 13 is a sequence diagram showing a case where a touch operation is performed after the communication settings of the printer are completed. FIG. [Figure 8] FIG. 11 is a sequence diagram when a print process is executed. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] (Printing system 1 configuration) A printing system 1, which is an embodiment of the communication system of the present application, will be described below with reference to the drawings. FIG. 1 is a configuration diagram of the printing system 1 according to this embodiment. The printing system 1 includes, for example, a plurality of printers 20 and a mobile terminal device 10, and provides a printing service to a user. The printing service is a service that allows a user to print by charging the user for the number of printable sheets, which is the number of sheets of paper that can be printed by the printer 20. For example, when a user applies for this printing service, the user pays an initial fee, and is granted a predetermined number of printable sheets (for example, 2000 sheets). In the following description, the term "charging" may refer to setting the number of printable sheets or increasing the number of printable sheets by charging an additional fee.
[0012] Moreover, in this embodiment, the printer 20 is, for example, an inkjet printer. The printer 20 sent from the vendor to the user is filled with an amount of ink necessary to print more than the predetermined printable number of sheets granted to the user (for example, 2000 sheets + α sheets). Therefore, with this printing service, after obtaining the printer 20, the user does not need to take the trouble of filling the printer 20 with ink or replacing ink cartridges until printing the printable number of sheets granted by paying the initial fee. Therefore, this printing service is a service that is highly convenient for the user, as it does not require the work of refilling the printer 20 with ink.
[0013] Furthermore, if the user wishes to print more than the predetermined number of printable pages granted by paying the initial fee, the user pays an additional fee. By purchasing the additional number of printable pages, the user can continue to use the printer 20. If the amount of ink remaining in the printer 20 acquired by paying the initial fee becomes low as the user repeatedly purchases the additional number of printable pages, the user can request a replacement of the printer 20, and the printer 20 can be replaced, thereby continuing the printing service.
[0014] As shown in FIG. 1, the printing system 1 includes a mobile terminal device 10, a printer 20, and a server 30. In order to avoid the drawing becoming complicated, only one mobile terminal device 10 and one printer 20 are illustrated in FIG. 1. The mobile terminal device 10 and the printer 20 are connected to each other via a router 2 so that they can communicate with each other. In addition, the mobile terminal device 10 and the printer 20 are connected to the server 30 via the router 2 and the Internet 3 so that they can communicate with each other. In addition, the above-mentioned network configuration is an example. For example, the server 30 may be placed in a LAN, and the mobile terminal device 10 and the printer 20 may be connected to the server 30 without going through the Internet 3. In addition, the number of the mobile terminal device 10 and the printer 20 connected to the server 30 may be one or more. In addition, one printer 20 may be shared by multiple mobile terminal devices 10, and one mobile terminal device 10 may use multiple printers 20 separately.
[0015] (Configuration of mobile terminal device 10) The mobile terminal device 10 causes a printer 20 to print an image on paper. The mobile terminal device 10 is, for example, a smartphone. The mobile terminal device 10 includes a terminal control unit 11, a short-range communication unit 13, a touch panel 14, and an external communication unit 16. These components are capable of communicating with each other via a bus 19.
[0016] The terminal control unit 11 includes a terminal CPU 17 and a terminal storage unit 18. The terminal storage unit 18 is configured by combining, for example, a RAM, a ROM, a flash memory, and the like. The terminal storage unit 18 stores a terminal program 18A, a management application (abbreviation of application program) 18B, a print application 18C, and a printable number 18D. The terminal program 18A, the management application 18B, the print application 18C, and the printable number 18D are stored in, for example, a readable and writable flash memory or a ROM such as an SSD in the terminal storage unit 18. The terminal program 18A is a program that comprehensively controls the mobile terminal device 10, and provides basic functions and services to the management application 18B and the print application 18C. The terminal program 18A is, for example, Android (registered trademark) OS or iOS (registered trademark). In addition, when the mobile terminal device 10 is, for example, a PC, the terminal program 18A is, for example, Windows (registered trademark) OS.
[0017] The management application 18B and the print application 18C are, for example, programs provided by the vendor of the printer 20, and are programs that execute various processes for the printer 20 using the functions of the terminal program 18A, etc. The management application 18B executes, for example, an instruction to register the printer 20 in the server 30, a charge instruction to the server 30, etc. The print application 18C executes, for example, setting instructions and print instructions to the printer 20. The management application 18B and the print application 18C may be one application software.
[0018] The terminal control unit 11 executes the terminal program 18A, management application 18B, and print application 18C on the terminal CPU 17, and generally controls the mobile terminal device 10. The printable number 18D is information on the printable number of sheets of the printer 20 (see FIG. 2) stored on the mobile terminal device 10 side. The mobile terminal device 10 displays the current printable number 18D on a screen that accepts a print instruction to the printer 20, for example.
[0019] In the following description, the terminal control unit 11 that executes the terminal program 18A, the management application 18B, and the print application 18C on the terminal CPU 17 may be simply described by the device name. For example, the description "the mobile terminal device 10" may mean "the terminal control unit 11 that executes the terminal program 18A, the management application 18B, and the print application 18C on the terminal CPU 17." In addition, in this specification, the processing of the terminal CPU 17 according to the instructions written in the program is mainly indicated. That is, the processing of "determination," "transmission," and the like in the following description represents the processing of the terminal CPU 17. The processing by the terminal CPU 17 includes hardware control. The same also applies to the printer control unit 26 (printer 20) that executes the printer program 26B1 on the printer CPU 26A and the server control unit 32 (server 30) that executes the server program 32B1 on the server CPU 32A, which will be described later. In addition, "data" in this specification is represented by a bit string that can be read by a computer. Data that has the same substantial meaning but different formats is treated as the same data. The same applies to "information" in this specification.
[0020] Furthermore, the terminal storage unit 18 that stores the programs (terminal program 18A, management application 18B, print application 18C) may be a computer-readable storage medium. A computer-readable storage medium is a non-transitory medium. In addition to the above examples, non-transitory media also include recording media such as CD-ROMs and DVD-ROMs. Non-transitory media are also tangible media. On the other hand, an electrical signal that carries a program downloaded from a server on the Internet is a signal medium, which is a type of computer-readable medium, but is not included in non-transitory storage media. The same applies to the printer storage unit 26B that stores the printer program 26B1 and the server storage unit 32B that stores the server program 32B1, which will be described later.
[0021] The short-distance communication unit 13 is a communication interface capable of short-distance wireless communication conforming to the NFC (short for Near Field Communication) standard, for example. The short-distance wireless communication executed by the short-distance communication unit 13 is not limited to NFC, and may be short-distance wireless communication of other communication standards such as Bluetooth (registered trademark). The touch panel 14 includes, for example, a liquid crystal panel or a touch-sensitive film attached to the surface of the liquid crystal panel, and changes the display content of the liquid crystal panel based on the control of the terminal control unit 11. The touch panel 14 also receives an operation input from a user and outputs a signal corresponding to the operation input to the terminal control unit 11. The mobile terminal device 10 may include a power button and the like in addition to the touch panel 14. The user interface included in the mobile terminal device 10 is not limited to the touch panel 14. For example, the mobile terminal device 10 may include a display device such as an LCD or an organic EL display, and an input device such as a push button switch or a slide switch, separately.
[0022] The external communication unit 16 is a communication interface capable of wireless communication conforming to, for example, the Wi-Fi (registered trademark) communication standard. The mobile terminal device 10 is connected to a router 2 via the external communication unit 16. The router 2 is connected to a server 30 via the Internet 3. Note that the external communication unit 16 may be provided with a wired communication interface to which a wired cable such as a LAN cable can be connected instead of or in addition to the wireless communication interface.
[0023] (Printer 20 Configuration) The printer 20 is, for example, an inkjet type color printer. The printer 20 includes a short-distance communication unit 21, an external communication unit 22, a tank unit 23, an ink remaining amount detection unit 24, a printing unit 25, a user IF (abbreviation of interface) 27, and a printer control unit 26. The short-distance communication unit 21 is, for example, a communication interface capable of short-distance wireless communication conforming to the NFC standard. The short-distance wireless communication executed by the short-distance communication unit 21 is not limited to NFC, and may be short-distance wireless communication of other communication standards such as Bluetooth (registered trademark). The printer 20 can communicate with the short-distance communication unit 13 via the short-distance communication unit 21, and can acquire setting information and print instructions from the mobile terminal device 10. In this application, the term "acquire" is used as a concept that does not necessarily require a request. In other words, the process of the printer 20 receiving an instruction without a request is also included in the concept of "the printer 20 acquires an instruction."
[0024] The external communication unit 22 includes, for example, a communication interface capable of wireless communication conforming to the Wi-Fi (registered trademark) communication standard, and a wired communication interface to which a LAN cable can be connected. The printer 20 is connected to the router 2 via the external communication unit 22. The external communication unit 22 may be configured to include only one of the wireless communication interface or the wired communication interface.
[0025] The tank section 23 stores ink. In this embodiment, there are four types of ink (magenta M, cyan C, yellow Y, and black BK), and a plurality of tank sections 23 are provided for each type of ink. That is, the printer 20 uses a plurality of tank sections 23 to store each of the four types of ink independently. The printer 20 may be a monochrome printer. In this embodiment, when the printer 20 is supplied from the vendor to the user, each of the plurality of tank sections 23 is filled with an amount of ink that allows printing a predetermined number of sheets of paper, for example, when the single-color coverage is 5%. The predetermined number is a number that is greater than the number of printable sheets that is given to a user who applies for a printing service, and can be set appropriately by the vendor providing the printing service.
[0026] Moreover, the tank section 23 is provided so that the user cannot refill it with ink. Specifically, the tank section 23 is disposed in a position where the user cannot touch it. Moreover, the tank section 23 is fixed to the printer 20 so that it cannot be detached. The ink remaining amount detection section 24 detects the remaining amount of ink stored in the tank section 23. The ink remaining amount detection section 24 is an optical sensor disposed in the tank section 23 and detects the level of the ink liquid, thereby detecting the remaining amount of ink. The ink remaining amount detection section 24 is disposed in each of the multiple tank sections 23 and detects the remaining amount of ink in each of the multiple tank sections 23. The printer 20 may be configured so that the tank section 23 is replaceable by the user.
[0027] The printing unit 25 executes printing using the ink stored in the tank unit 23. The printing unit 25 includes, for example, an inkjet head and prints image data included in a print instruction obtained from the mobile terminal device 10 on paper using a known inkjet method. The user IF 27 includes, for example, a touch panel, a power button, and the like, and receives operation input from the user and displays various information. Note that the printer 20 may not be configured to include a user IF 27 such as a touch panel.
[0028] The printer control unit 26 generally controls the printer 20. The printer control unit 26 includes a printer CPU 26A and a printer storage unit 26B. The printer CPU 26A controls the operation of the printer 20 by executing a printer program 26B1 in the printer storage unit 26B. The printer program 26B1 is a program that generally controls the printer 20 and causes the printer 20 to execute various processes. The printer storage unit 26B is configured by combining, for example, a RAM, a ROM, a flash memory, a HDD, and the like. The printer program 26B1 is stored, for example, in a rewritable ROM (such as a flash memory) of the printer storage unit 26B.
[0029] The printer storage unit 26B also stores a printer management table PTB. The printer management table PTB is stored, for example, in a rewritable ROM of the printer storage unit 26B. The printer management table PTB is data that stores information about the printer 20 in relation to the use of the print service. As shown in FIG. 2, the printer management table PTB stores a device ID, the number of printable sheets, the remaining ink amount, and device settings in association with each other. The device ID is, for example, a serial number set by the vendor of the printer 20, and is unique information that can distinguish an arbitrary printer 20 from other printers 20. The device ID is not limited to a serial number, and may be other device-specific information, such as the MAC address of the short-range communication unit 21 or the external communication unit 22.
[0030] The printable number indicates the number of sheets of paper that can be printed by the printer 20. A user who uses the printer 20 can print within the range of the printable number stored in the printer management table PTB. The printable number is increased (charged) by the number of sheets according to the amount charged by the user. On the other hand, the number of sheets of paper used by the printer 20 for printing is subtracted from the printable number. For example, when the printable number of sheets becomes zero or less, the printer 20 is in a state where printing cannot be performed. For example, the printer 20 executes printing every time it receives a print instruction, subtracts the number of sheets to be printed from the printable number, and executes printing until the printable number becomes zero. When the printable number of sheets becomes zero, the printer 20 prohibits printing and notifies the mobile terminal device 10 of an error. Note that when the printer 20 receives a print instruction, if the number of sheets to be printed in the print instruction is equal to or greater than the printable number, it may notify the mobile terminal device 10 of an error without executing printing and leaving the printable number.
[0031] The remaining ink amount indicates the amount of remaining ink detected by the remaining ink amount detection unit 24. After the printer 20 executes an operation that uses ink, such as refilling the inkjet head with ink, checking the nozzles, printing, etc., the printer 20 stores the remaining ink amount detected by the remaining ink amount detection unit 24 in the printer management table PTB. The device settings are setting information such as the functions of the printer 20 (printing, etc.), settings for each function (paper size, color, magnification, etc.), and the language to be displayed on the user IF 27.
[0032] 2 is an example. For example, the printer management table PTB may include activation information managed by the server 30. The activation information here is information that, for example, when set to an on state by the server 30, allows the printing unit 25 to execute printing, and when set to an off state, restricts the printing unit 25 from executing printing. This allows the server 30 to control whether or not each printer 20 can print.
[0033] (Server 30 Configuration) 1, the server 30 includes an external communication unit 31 and a server control unit 32. The external communication unit 31 communicates with the mobile terminal device 10 and the printer 20 connected via the Internet 3. The server control unit 32 includes a server CPU 32A and a server storage unit 32B. The server CPU 32A executes a server program 32B1 in the server storage unit 32B to comprehensively control the operation of the server 30. The server program 32B1 is a program that comprehensively controls the server 30 and causes the server 30 to execute various processes.
[0034] The server storage unit 32B is configured by combining, for example, RAM, ROM, flash memory, HDD, etc. Also, the server storage unit 32B stores a server management table STB. The server management table STB is data that stores information required for using the print service. The server management table STB stores information on each printer 20 that uses the print service in association with the device ID of the printer 20, and is managed by the vendor.
[0035] As shown in FIG. 3, the server management table STB stores the device ID, the printable number, and the remaining ink amount in association with each other. The device ID, the printable number, and the remaining ink amount are the same data as those in the printer management table PTB described above, and the data in the printer management table PTB corresponding to the same device ID is stored. The server 30 of this embodiment manages the printable number of each printer 20 using the printing service by using the server management table STB that associates the device ID with the printable number. The server 30 executes a process to synchronize the printable number, which increases or decreases according to the print instruction or charge instruction of the mobile terminal device 10, with the printer 20, and manages the latest printable number in the server management table STB. The server 30 also collects the latest information on the remaining ink amount from the printer 20 by the synchronization process. When the remaining ink amount falls below a predetermined threshold, the server 30 notifies the mobile terminal device 10 of the replacement of the printer 20. This allows the user to apply for the replacement of the printer 20 and receive a new printer 20 before the remaining ink amount of the printer 20 in use runs out and printing becomes impossible.
[0036] (Radio control processing) Next, the user's work in the wireless control process executed between the mobile terminal device 10 and the printer 20 and the contents of the process of each device will be described. For example, when the user purchases the printer 20 for the first time and the printer 20 arrives from the vendor, the user performs the work shown in FIG. 4. Each device, the mobile terminal device 10, the printer 20, and the server 30, performs each process according to the user's work. Note that in the sequence diagrams from FIG. 4 onwards, the work performed by the user (person) is indicated by a downward arrow. Also, the processes, the contents and the order of the work shown in FIG. 4 onwards are merely examples. Also, a case will be described where the printer 20 with the device ID "dv1" (see FIG. 2) is used as the printer 20.
[0037] First, in step (hereinafter simply referred to as S) 11 in Fig. 4, the user turns on the power of the printer 20. When the printer 20 is turned on, the printer CPU 26A executes the printer program 26B1 and starts up the system of the printer 20 (S13). When the system is started, the printer 20 also activates the function of short-range wireless communication (hereinafter referred to as NFC communication) conforming to the NFC standard (S13). This puts the printer 20 in a state where it can communicate with the mobile terminal device 10 via NFC. The printer 20 may be set so that the function of NFC communication is not activated until an operation by the user is received.
[0038] The printer 20 also generates a printer one-time token PWT (S13). As described later, the printer 20 and the server 30 of this embodiment generate a token as information for identifying the communication partner (for example, the mobile terminal device 10). For example, a character string combining numbers and letters can be used as the token. The printer 20 and the server 30 transmit the token to the communication partner, and then execute authentication using the token transmitted in communication with the communication partner, thereby preventing the occurrence of spoofing, data leakage, data tampering, and the like. For example, when the communication partner receives a token from the printer 20 or the like transmits data to the printer 20 or the server 30, the communication partner transmits the data with the token attached thereto, thereby proving that it is the device that obtained the token. The printer 20 or the like determines that the authentication has been successful when the token obtained from the communication partner matches the token held by the own device.
[0039] The printer 20 and the server 30 may not generate tokens appropriately. For example, a number of tokens corresponding to the number of communication partners may be generated in advance, and the printer 20 and the server 30 may select a token to be used from the generated tokens and use it. That is, the printer 20 and the server 30 may select a token and execute a setting process to associate the token with the communication partner without generating a token appropriately. Also, the usage of the token is not limited to the above-mentioned method of determining whether the tokens match. The printer 20, etc. may determine that the authentication is successful even if the character strings of the tokens do not match completely, for example, even if there is a difference in uppercase or lowercase letters. Alternatively, the printer 20, etc. may determine that the authentication is successful when a hash value generated based on authentication information acquired from the communication partner device matches a hash value held by the printer 20, etc. Also, the printer 20, etc. may execute encryption of data using a token, and determine that the authentication of the communication partner is successful based on the data being successfully decrypted.
[0040] Furthermore, a one-time token has a relatively short validity period compared to a token, for example, and is used to authenticate a communication partner in communication before the token is generated. By shortening the validity period of the one-time token, even if the number of characters in the one-time token is shortened, the security level can be maintained by reducing the opportunities (time of attempts) for authentication due to unauthorized token generation such as random or brute force. The printer 20 updates the printer one-time token PWT to be used, for example, every predetermined time (for example, every hour), and changes the valid printer one-time token PWT (S13).
[0041] Meanwhile, the user executes the setting of the mobile terminal device 10 (S15). For example, the user operates the touch panel 14 to input the SSID and encryption key of the router 2, and connects the external communication unit 16 of the mobile terminal device 10 and the router 2 by wireless communication of the Wi-Fi (registered trademark) system (S15). The user also operates the touch panel 14 to execute the installation of the management application 18B and the print application 18C (S15). For example, the mobile terminal device 10 enables the function of NFC communication using the management application 18B and the print application 18C by installing the management application 18B and the print application 18C. Note that the mobile terminal device 10 may disable the function of NFC communication until a user operation is received, instead of automatically enabling it.
[0042] After installing the management application 18B, etc., the user performs a touch operation of bringing the short-range communication unit 13 of the mobile terminal device 10 close to the short-range communication unit 21 of the printer 20 (S17). On the other hand, when the printer 20 activates the NFC communication function in S13, for example, it transmits radio waves from the short-range communication unit 13 (or generates a magnetic field) and performs polling. When the mobile terminal device 10 receives radio waves from the printer 20 (or when an induced current flows due to electromagnetic induction), it transmits a start notification to the printer 20 to start NFC communication (S18). In the start notification, the mobile terminal device 10 transmits information required for NFC communication, such as an NFCID, for example.
[0043] When the printer 20 receives the start notification of S18 and detects that a wireless terminal capable of NFC communication has been brought close to the short-range communication unit 21 by a touch operation, the printer 20 determines the state of the printer itself (S19). The printer 20 responds with information according to the state of the printer itself in response to the NFC communication in response to the touch operation (S21). For example, in the state shown in FIG. 4, the printer 20 is in a state where it has just been shipped from the vendor and has not yet executed a registration process to the server 30, which will be described later. Therefore, in S21, the printer 20 transmits information instructing the startup of the management application 18B and information instructing the management application 18B to register in the server 30. Note that the printer 20 does not need to execute the process of determining the state of the printer itself based on the fact that a wireless terminal capable of NFC communication has been brought close in S19. In this case, the printer 20 may transmit only Wi-Fi Direct authentication information and a printer one-time token PWT, which will be described later, in S21.
[0044] 4, for example, the printer 20 is not yet configured with the external communication unit 22, and is not connected to the router 2 or the Internet 3. Therefore, the printer 20 acquires information about the network to which the mobile terminal device 10 is connected (for example, information about the router 2) from the mobile terminal device 10, and executes a process to connect to the network to which the mobile terminal device 10 is connected. More specifically, in S21, the printer 20 transmits Wi-Fi Direct authentication information and the printer one-time token PWT generated in S13 to the mobile terminal device 10 by NFC communication. The Wi-Fi Direct authentication information is authentication information for executing wireless communication according to the Wi-Fi Direct (registered trademark, hereinafter abbreviated as WFD) method. The WFD method is a wireless communication method described in, for example, the standard "Wi-Fi Peer-to-Peer (P2P) Technical Specification Version 1.1" created by the Wi-Fi Alliance, and is a wireless communication method for performing wireless communication in accordance with the IEEE 802.11 standard and equivalent standards (e.g., 802.11a, 11b, 11g, 11n, etc.).
[0045] For example, in S21, the printer 20 transmits the SSID and encryption key as WFD authentication information to the mobile terminal device 10, and then starts the WFD application software (S23) and causes the external communication unit 22 of the printer 20 to function as an access point (see FIG. 1). This WFD application is included in, for example, the printer program 26B1. When the printer 20 detects access to the access point using the SSID and encryption key transmitted in S21, it executes P2P communication with the communication partner through wireless communication in the WFD system (hereinafter, sometimes referred to as WFD communication).
[0046] When the mobile terminal device 10 acquires information instructing the start of the management application 18B in S21, the mobile terminal device 10 starts the management application 18B (S25). For example, the printer 20 transmits an application ID (an example of information used to execute the registration process of the present application) to the mobile terminal device 10 as information instructing the start of the management application in S21. The application ID here is information for identifying an application used in the Android (registered trademark) OS or iOS (registered trademark). More specifically, for an application of the Android (registered trademark) OS, the application ID is information that can uniquely identify the application, such as "com.example.xxx". Applications such as the management application 18B are uniquely identified by the application ID on the device (mobile terminal device 10) or in an application distribution service (such as Google's Play Store or Apple's App Store).
[0047] By acquiring the application ID of the management application 18B in S21, the mobile terminal device 10 starts the management application 18B if the management application 18B has already been installed. If the management application 18B is not installed, the mobile terminal device 10 displays text such as "Do you want to install the management application 18B?" on the touch panel 14, or displays a page such as an App Store for installing the management application 18B. The information instructing the start of the management application 18B is not limited to the application ID described above. For example, the information instructing the start of the management application 18B may be the URL of the server of the vendor of the printer 20 or the URL of a website of a distribution service for the management application 18B. The mobile terminal device 10 may start the management application 18B based on an operation by the user, not on an instruction from the printer 20.
[0048] When the mobile terminal device 10 starts the management application 18B in S25, it executes WFD communication with the printer 20 via the management application 18B (S27). The mobile terminal device 10 executes the processes from S27 onwards with the management application 18B. The mobile terminal device 10 accesses the external communication unit 22 (access point) of the printer 20 from the external communication unit 16 using the SSID and encryption key of the WFD acquired in S21 (S27). The printer 20 executes authentication processing using the SSID and encryption key acquired from the mobile terminal device 10 in S27, and if it determines that the authentication is successful, executes WFD communication with the mobile terminal device 10. As a result, the external communication unit 16 of the mobile terminal device 10 and the external communication unit 22 of the printer 20 are connected by WFD communication.
[0049] Furthermore, in S27, the mobile terminal device 10 transmits the SSID and encryption key of the router 2, i.e., connection information for connecting to the network to which the mobile terminal device 10 is connected, to the printer 20 (S27). For example, the mobile terminal device 10 may transmit the connection information to the printer 20 on condition that WFD authentication information has been acquired from the printer 20 in S21. In this case, the printer 20 can acquire the connection information from the mobile terminal device 10 by determining that the communication settings of the mobile terminal device are not yet set when a touch operation is executed (S19) and transmitting the WFD authentication information to the mobile terminal device 10. Alternatively, when the printer 20 determines that the communication settings of the mobile terminal device are not yet set (S19), in S21, the printer 20 may transmit an instruction to the mobile terminal device 10 requesting the connection information. In this case, if the printing process by WFD communication can be executed in response to a touch operation as shown in FIG. 8 described later, the mobile terminal device 10 executes S27 (transmission of connection information) in FIG. 4 if it executes the registration process or the like in FIG. 4 to FIG. 6 in response to a request instruction from the printer 20, and may transmit a printing instruction by WFD communication without responding to the request from the printer 20 if it executes the printing process in FIG. 8 (see S121 in FIG. 8). Note that the information to be transmitted from the printer 20 to the mobile terminal device 10 in S21 may be determined based on information other than the above-mentioned communication settings, remaining ink amount, etc. For example, if it is desired to change the network to which the printer 20, whose communication settings have already been completed, is connected, the user may input a predetermined operation to the user IF 27, and the printer 20 may request the connection information from the mobile terminal device 10 in response to a touch operation. This allows the communication settings (network) already set in the printer 20 to be changed by the SSID of the router 2 transmitted from the mobile terminal device 10 in response to a touch operation.
[0050] The printer 20 is accessed by the mobile terminal device 10 through WFD communication, and upon acquiring connection information of the router 2 (S27), ends the WFD application (S29). This disconnects the WFD communication between the mobile terminal device 10 and the printer 20. The printer 20 also connects to the router 2 through Wi-Fi (registered trademark) wireless communication using the connection information (SSID and encryption key) acquired from the mobile terminal device 10 in S27 (S29). The mobile terminal device 10 and the printer 20 are now able to communicate with each other via the router 2. The printer 20 is also now able to communicate with the server 30 via the router 2.
[0051] Next, the mobile terminal device 10 transmits an instruction to generate a printer token PT to the printer 20 via Wi-Fi (registered trademark) wireless communication (router 2) under the control of the management application 18B (S31). In the communication with the printer 20 in S31, the mobile terminal device 10 executes authentication using the printer one-time token PWT acquired in S21. For example, the mobile terminal device 10 adds the printer one-time token PWT to transmission data and transmits it to the printer 20. If the printer one-time token PWT added to the transmission data matches the printer one-time token PWT held by the printer 20, the printer 20 can determine that the authentication has been successful and can identify the mobile terminal device 10 and management application 18B of the communication partner.
[0052] When the printer 20 acquires the generation instruction in S31, it generates a printer token PT (S33). The printer token PT is, for example, a token with a longer number of characters than the printer one-time token PWT to enhance security, and is information capable of identifying the mobile terminal device 10. The printer token PT may have the same number of characters as the printer one-time token PWT, or may have a smaller number of characters than the printer one-time token PWT. The printer 20 associates, for example, the identification information of the mobile terminal device 10 that transmitted the generation instruction in S31, that is, the mobile terminal device 10 identified by the printer one-time token PWT, with the generated printer token PT and stores them in the printer storage unit 26B. In subsequent processing, the printer 20 identifies and authenticates the mobile terminal device 10 of the communication partner based on this associated information. The identification information of the mobile terminal device 10 is, for example, information capable of identifying the device, such as the ID of the management application 18B or the MAC address of the external communication unit 22.
[0053] Furthermore, since the printer 20 has transitioned from a state in which the printer one-time token PWT is used as token information between the printer 20 and the mobile terminal device 10 to a state in which the printer 20 uses the printer one-time token PT, the printer 20 regenerates and updates the printer one-time token PWT (S33). As a result, the printer 20 enters a state in which it will not accept control instructions using the old printer one-time token PWT. Furthermore, when the printer 20 accepts access for NFC communication from a new mobile terminal device 10, it executes communication using the updated printer one-time token PWT.
[0054] The printer 20 transmits the printer token PT generated in S33 to the mobile terminal device 10 (S35). The mobile terminal device 10 and the printer 20 perform authentication using the printer token PT in communication via the router 2, and can execute various processes. For example, the mobile terminal device 10 and the printer 20 execute an initial setting process for the printer 20 (S37, see FIG. 5). That is, the mobile terminal device 10 and the printer 20 execute processes ranging from starting up the management application 18B to registering the printer 20, and even performing free charging, which will be described later, based on a touch operation via NFC communication.
[0055] When the portable terminal device 10 completes the execution of a predetermined process (for example, an initial setting process) using the printer token PT, the portable terminal device 10 transmits a deletion instruction to the printer 20 to delete the printer token PT (S39). The printer 20 deletes the printer token PT based on the deletion instruction from the portable terminal device 10 (S41). This causes the printer 20 to enter a state in which it does not accept control instructions using the deleted printer token PT. The printer 20 may automatically delete the printer token PT, for example, when it does not accept communication using the printer token PT for a certain period of time, without deleting the printer token PT based on an instruction from the portable terminal device 10. The printer 20 may also determine the portable terminal device 10 that is the source of the S39 based on the information associated in S33 (such as the ID of the management application 18B or the MAC address of the external communication unit 22), and check whether the portable terminal device 10 that is the source of the deletion instruction matches the portable terminal device 10 that has given the printer token PT. The process from S43 in FIG. 4 onwards will be described later.
[0056] 4 is an example. For example, the mobile terminal device 10 connects the printer 20 to the router 2 via NFC and Wi-Fi Direct (registered trademark), but the communication standard is not limited to this. For example, if two-way communication by NFC is possible and an SSID or the like can be set for the printer 20, the mobile terminal device 10 may execute control to connect the printer 20 to the router 2 only by NFC communication. In addition, the mobile terminal device 10 may execute acquisition of a printer one-time token PWT from the printer 20, acquisition of WFD authentication information, and transmission of connection information such as the SSID of the router 2, by other short-distance wireless communication such as Bluetooth (registered trademark).
[0057] (Initial setting process) Next, the initial setting process of S37 in FIG. 4 will be described with reference to FIG. 5. As described above, in S19 and S21 in FIG. 4, if the printer 20 is not registered in the server 30, the printer 20 transmits a registration instruction to the server 30 to the management application 18B of the mobile terminal device 10. The management application 18B of the mobile terminal device 10 automatically executes the registration process of the printer 20 based on this instruction. The printer 20 may transmit only an instruction to start the management application 18B in S21. After starting in S25, the management application 18B may ask the user whether or not to execute the registration process of the printer 20, and may execute the process of S27 and after if the execution instruction is received. Then, the management application 18B may execute the process from S27 to FIG. 5 and FIG. 6, and execute the registration process and free charge. In addition, the printer 20 may transmit an instruction to charge to the mobile terminal device 10 in S21 according to the determination result of S19, for example, if the printable number is less than a predetermined threshold.
[0058] As shown in FIG. 5, the communication between the mobile terminal device 10 (management application 18B) and the printer 20 uses the printer token PT generated and transmitted in S33 and S35 of FIG. 4 as authentication information. For example, when the mobile terminal device 10 (management application 18B) acquires the printer token PT in S35 of FIG. 4, it transmits an instruction to register the printer 20 to the server 30 (S53). When the printer 20 acquires the registration instruction in S53, it transmits the registration instruction to the server 30 (S55). The method by which the printer 20 acquires the information on the access destination of the server 30 is not particularly limited, but for example, the information on the access destination of the server 30 (such as a URL) may be set in advance in the printer storage unit 26B. Alternatively, the printer 20 may acquire the information on the access destination of the server 30 from the mobile terminal device 10.
[0059] In S55, the printer 20 transmits the device ID (in this case, "dv1"), the number of printable sheets, and the remaining amount of ink in the printer management table PTB to the server 30. When sent from the vendor, the number of printable sheets in the printer token PT is, for example, zero sheets. Also, the remaining amount of ink is almost full. When the server 30 receives a registration instruction from the printer 20 (S55), it registers the obtained information such as the device ID in the server management table STB (S57). This allows the information about the printer 20 sent from the vendor to be registered in the server 30.
[0060] Furthermore, the server 30 generates a server token ST in S57. The server 30 associates the generated server token ST with the device ID of the printer 20 that received the instruction in S55 and stores them in the server storage unit 32B. The server 30 may manage the server token ST in a server management table STB. The server 30 transmits the generated server token ST to the printer 20 (S59). The printer 20 stores the server token ST received from the server 30 in the printer storage unit 26B (S61). The server 30 and the printer 20 perform authentication using this server token ST in subsequent communications.
[0061] On the other hand, after transmitting the registration instruction in S53, the mobile terminal device 10, for example, executes polling to periodically inquire of the printer 20 as to whether or not the registration process to the server 30 has been completed (S63). When the printer 20 acquires the server token ST in S61, it transmits a registration completion notification indicating that registration has been completed in response to the inquiry from the mobile terminal device 10 in S63 (S65). Note that the mobile terminal device 10 may execute a process of waiting until it can acquire a registration completion notification from the printer 20 without executing polling.
[0062] When the mobile terminal device 10 receives a registration completion notification from the printer 20, it transmits an instruction to generate the service one-time token SVWT to the printer 20 (S67) in order to obtain the service one-time token SVWT from the server 30 via the printer 20. When the printer 20 receives the generation instruction from the mobile terminal device 10, it transmits an instruction to generate the service one-time token SVWT to the server 30 (S69).
[0063] When the server 30 receives the generation instruction of S69, it identifies the device ID of the printer 20 that is the transmission source based on the server token ST used in the communication of S69 and the device ID information associated with the server token ST in S57 (S71). The server 30 also generates a service one-time token SVWT, associates the generated service one-time token SVWT with the identified device ID, and stores it in the server storage unit 32B. This makes it possible to associate the specific printer 20 (device ID) with the service one-time token SVWT. The server 30 transmits the service one-time token SVWT generated in S71 to the mobile terminal device 10 via the printer 20 (S73, S75).
[0064] When the mobile terminal device 10 acquires the service one-time token SVWT from the printer 20, it transmits an instruction to generate the service token SVT directly to the server 30, not via the printer 20 (S77). In the communication of S77, the mobile terminal device 10 executes authentication using the service one-time token SVWT.
[0065] When the server 30 acquires the generation instruction of S77, it identifies the device ID based on the service one-time token SVWT used in the communication of S77 and the device ID information associated in S71, as in S71 (S79). The server 30 also generates a service token SVT, associates the generated service token SVT with the identified device ID, and stores it in the server storage unit 32B. This allows the specific printer 20 (device ID) and the communication partner (mobile terminal device 10) to be associated via the service token SVT. Note that the server 30 may associate the service token SVT with the identification information of the mobile terminal device 10 (terminal ID or ID of the management application 18B) in S79. The server 30 generates the service token SVT, and deletes the service one-time token SVWT because the authentication has shifted from the service one-time token SVWT to authentication using the service token SVT (S79). The server 30 transmits the service token SVT generated in S79 to the mobile terminal device 10 (S81).
[0066] As a result, the server 30 can use the service token SVT for authentication in communication with the mobile terminal device 10 to determine which printer 20 (device ID) the communication (control instruction, etc.) is intended for. The mobile terminal device 10 and the server 30 execute various processes using the service token SVT (S83). The various processes referred to here include, for example, a free charge process for charging the number of printable sheets free of charge in response to registration with the server 30, a paid charge process for charging the number of printable sheets in response to a charge, and an exchange request process for requesting an exchange of the printer 20.
[0067] (Free charge processing) In the following description, a free charge process will be described with reference to FIG. 6 as an example of a process using the service token SVT. Here, the printing system 1 of this embodiment collects a fee according to the execution of charging, and grants the printable number to the printer 20. For example, in order to increase the printable number, the user registers a payment method such as a credit card, and executes a charge operation to select the printable number to be charged (hereinafter referred to as the charge number) using the management application 18B. Since this charge operation requires the registration of a payment method, the user may hesitate to charge. In response to this, the printing system 1 of this embodiment executes a tutorial process to teach the user the charge operation using the management application 18B, while charging a predetermined printable number (hereinafter referred to as the free charge number) free of charge to the printer 20 registered in the server 30. For example, after acquiring the service token SVT in S81 of FIG. 5, the management application 18B transmits a confirmation instruction to the server to confirm whether to perform free charging (hereinafter referred to as free charging) (S85). The server 30 executes authentication using the service token SVT in communication with the mobile terminal device 10 in S85. For example, when the service token SVT transmitted from the mobile terminal device 10 exists among the service tokens SVT generated by the server 30, the server 30 executes control based on an instruction from the mobile terminal device 10 (a confirmation instruction in this case).
[0068] When the server 30 acquires the confirmation instruction of S85, it identifies the device ID ("dv1" in this case) associated with the service token SVT in S79 of FIG. 5 based on the service token SVT used for the authentication in S85 (S87). The server 30 judges whether or not free recharge has already been performed for the printer 20 of the identified device ID. For example, the server 30 may add execution information indicating whether or not free recharge has been performed to the device ID in the server management table STB, and update the execution information according to the execution of free recharge, thereby confirming whether or not free recharge has been performed. If free recharge has not been performed, the server 30 generates a charge one-time token CWT (S87). The server 30 associates the generated charge one-time token CWT with a device ID for which free recharge has not been performed. The server 30 also associates a value of the free recharge number (for example, 2000) with the charge one-time token CWT. If free recharge has already been performed by another mobile terminal device 10 (management application 18B), the server 30 may associate the free recharge number with zero and execute the tutorial process from S89 onward. This does not increase the number of printable sheets, but allows the execution of a tutorial process that teaches the recharge operation.
[0069] The server 30 transmits the charge one-time token CWT generated in S87 and the associated value of the free charge number to the mobile terminal device 10 (S89). When the mobile terminal device 10 acquires the charge one-time token CWT, etc., the management application 18B causes the touch panel 14 to display the free charge number (S91). In addition, the mobile terminal device 10, for example, displays the flow of an actual paid charge operation on the touch panel 14 while displaying the free charge number, and starts a tutorial process for the charge operation. For example, the mobile terminal device 10 accepts a charge operation for charging a free charge while simulating an actual charge operation (S91).
[0070] When the mobile terminal device 10 accepts an operation to perform charging in the tutorial process, it performs authentication using the charge one-time token CWT and transmits an instruction to perform charging to the server 30 (S93). The server 30 checks whether the charge one-time token CWT acquired from the mobile terminal device 10 matches the charge one-time token CWT generated in S87 and performs authentication (S95). If the authentication is successful, the server 30 identifies the free charge number associated in S87 (for example, 2000 or zero) and the device ID. The server 30 enables free charging for the printer 20 of the identified device ID. Specifically, when the server 30 acquires an instruction to synchronize the printable number for the printer 20 of the identified device ID, it sets the printer 20 to add the free charge number. The server 30 deletes the charge one-time token CWT in S95. This prevents the charge one-time token CWT that has been authenticated once from being authenticated again, thereby preventing the free charge of 2000 sheets from being performed multiple times. The server 30 transmits a completion notification indicating that the free charge has been accepted to the mobile terminal device 10 (S97).
[0071] When the mobile terminal device 10 receives the completion notification, it transmits a synchronization instruction to the printer 20 to start synchronization (S99). The destination of this synchronization instruction is the printer 20 selected in the tutorial processing operation, that is, the printer 20 with the device ID ("dv1" in this case) that executed the initial setting processing in FIG. 5. When the printer 20 receives the synchronization instruction in S99, it transmits the synchronization instruction to the server 30 (S101). The printer 20 performs authentication with the server 30 using, for example, the server token ST stored in S61 in FIG. 5, and transmits the synchronization instruction (S101).
[0072] The server 30 identifies the device ID associated in S79 of Fig. 5 based on the server token ST used in the communication of the synchronization instruction in S101 (S103). If there is a free recharge number for which free recharge was enabled in S95 for the device ID identified in S103, the server 30 executes free recharge. The server 30 transmits an instruction to add the free recharge number to the printer 20 (S105). The printer 20 adds the free recharge number to the printable number of the printer token PT of the printer 20 (S107), and notifies the server 30 of the printable number after the addition and a completion notification indicating that the addition has been completed (S109).
[0073] The server 30 overwrites the printable number of the server token ST (the printable number of the device ID "dv1") with the printable number after the addition acquired from the printer 20 (S111). The server 30 transmits a completion notification indicating that the free recharge has been completed and the printable number after the addition to the mobile terminal device 10 (S113). The mobile terminal device 10 updates the printable number 18D with the acquired printable number and displays it on the tutorial screen (S115). The mobile terminal device 10 displays a screen in which the printable number is increased, similar to an actual recharge operation, and ends the tutorial process. This allows the free recharge process to be executed as the process (S83) using the service token SVT set in the initial setting process of FIG. 5. Note that in the example of FIG. 6 described above, a free recharge confirmation instruction is transmitted to the server 30 in S85 as the "second control information related to the communication device" of the present application, but the second control information of the present application is not limited to this. For example, a paid recharge instruction that generates a fee payment may be adopted as the second control information, and a recharge instruction may be issued from the mobile terminal device 10 to the server 30. Also, an exchange request instruction for the printer 20 may be adopted as the second control information, and an exchange request may be executed from the mobile terminal device 10 to the server 30. In such paid recharge processing and exchange request processing, as in the above-described free recharge processing, the communication partner can be identified using the service token SVT and the recharge one-time token CWT, and the processing can be executed.
[0074] In addition, it is preferable to set an expiration date for the service token SVT generated by the server 30 in terms of preventing unauthorized use of the token, such as spoofing. For this reason, the server 30 may delete the service token SVT if no communication using the service token SVT occurs for a certain period of time after the service token SVT is generated. In this case, the service token SVT can be used when free recharge is immediately performed in S83 using the service token SVT generated in the initial setting process of FIG. 5 as described above, but if a certain period of time has passed since the initial setting process, the free recharge process, the paid recharge process, and the exchange application process are performed, the expiration date of the service token SVT may expire. As a result, the mobile terminal device 10 needs to resend an instruction to generate the service one-time token SVWT to the server 30 and obtain the service one-time token SVWT via the printer 20, as shown in S67 and subsequent steps of FIG. 5.
[0075] Therefore, the printer 20 may periodically acquire the service one-time token SVWT from the server 30 without an instruction from the mobile terminal device 10. For example, as shown in S43 of Fig. 4, after deleting the printer token PT, the printer 20 periodically executes a process for acquiring the service one-time token SVWT from the server 30 (S43) and stores the acquired service one-time token SVWT in the server storage unit 32B (S45). This allows a valid service one-time token SVWT to be constantly stored in the server storage unit 32B.
[0076] When the printer 20 acquires an instruction to generate the service one-time token SVWT from the mobile terminal device 10, it transmits the already acquired (stored) service one-time token SVWT to the mobile terminal device 10 (S49). The mobile terminal device 10 can acquire the service token SVT from the server 30 using the service one-time token SVWT acquired from the printer 20, and execute a process using the service token SVT, similar to S77 in Fig. 5. This can reduce the delay time that occurs when the printer 20 acquires the service one-time token SVWT.
[0077] (Touch operation after completing the communication settings of the printer 20) In the process of Fig. 4 described above, a case where a touch operation is performed when the communication settings of the printer 20 have not been set and the printer has not been registered with the server 30 has been described. In contrast, a case where a touch operation is performed after the communication settings of the printer 20 and the registration with the server 30 have been completed will be described. Fig. 7 shows the process of each device when a touch operation is performed after the communication settings of the printer 20 have been completed. In the following description, the same reference numerals are used for the contents similar to those of Figs. 4 to 6 described above, and the description thereof will be omitted as appropriate.
[0078] For example, even after the processes of Figs. 4 to 6 are completed and communication with the mobile terminal device 10 on which the touch operation was performed is disconnected, the printer 20 periodically executes S43 and S45 to update the service one-time token SVWT. After that, for example, a touch operation is performed from a mobile terminal device 10A different from the mobile terminal device 10 (S17, S18). For example, the mobile terminal device 10 is a device of a system administrator who performs communication settings, registration, free charging, etc. of the above-mentioned printer 20. Also, the mobile terminal device 10A is, for example, a terminal of a user who performs printing by the printer 20. Note that the mobile terminal device 10 and the mobile terminal device 10A may be the same device and the same user.
[0079] The printer 20 judges the state of the printer itself (S19) in response to the touch operation (S17, S18) of the mobile terminal device 10A. For example, the printer 20 judges that the state of the printer itself has been registered with the server 30. In addition, the printer 20 judges that the communication setting of the printer itself has been completed because the printer 20 has acquired the service one-time token SVWT from the server 30.
[0080] Since the printer 20 has completed registration and communication settings for the printer itself, the printer 20 judges the remaining ink level and the number of printable pages of the printer itself (S19) and transmits information according to the state. For example, the printer 20 first judges whether the remaining ink level is equal to or less than a predetermined remaining amount threshold, i.e., whether the printer 20 needs to be replaced. If it is equal to or less than the predetermined remaining amount threshold, the printer 20 transmits an exchange request instruction specifying the URL for making an exchange request to the server 30 and the application ID of the management application 18B by NFC communication (S116). As a result, when the mobile terminal device 10A acquires a URL, for example, it accesses the acquired URL by starting browser software (hereinafter referred to as browser software) and displays a Web page for the exchange request on the touch panel 14 (S117, S118). Also, when the mobile terminal device 10A acquires an application ID, for example, it starts the management application 18B and displays a screen for the exchange request (S117, S118).
[0081] Also, for example, when registration and communication settings are completed and the remaining ink amount is not a predetermined remaining amount threshold (when replacement is not necessary), the printer 20 judges whether the number of printable sheets is equal to or less than a predetermined number threshold, i.e., whether recharging is necessary (S19), and if it is equal to or less than the predetermined number threshold, it transmits a recharging instruction specifying the URL for recharging the server 30 and the application ID of the management application 18B by NFC communication (S116). As a result, when the mobile terminal device 10A acquires, for example, a URL, it accesses the acquired URL by starting a browser software or the like, and displays a recharging web page on the touch panel 14 (S117, S118). Also, when the mobile terminal device 10A acquires, for example, an application ID, it starts the management application 18B, and displays a recharging screen (S117, S118).
[0082] In addition, in S116, the printer 20 transmits the previously acquired service one-time token SVWT to the mobile terminal device 10A by NFC communication from the short-range communication unit 21 to the short-range communication unit 13. Upon acquiring the service one-time token SVWT, the mobile terminal device 10A acquires the service token SVT from the server 30, similarly to the above-described FIG. 5 (S77, S79, S81).
[0083] Then, when the mobile terminal device 10A acquires the URL for making the exchange request in S116, it starts the browser software (S117), adds the service token SVT acquired in S81 to the URL, and accesses the added URL with the browser software (S118). For example, by notifying the server 30 of the service token SVT as a variable (which may also be called a query parameter), it becomes possible to display an exchange request page for the device ID (printer 20) identified on the server 30 side based on the service token SVT (processing from S119 onward). Similarly, when the mobile terminal device 10A acquires an exchange request instruction specifying an application ID in S116, it starts the management application 18B (S117), and notifies the service token SVT when accessing the server 30 with the management application 18B (S118). As a result, the mobile terminal device 10A can display an exchange request screen of the management application 18B corresponding to the printer 20 identified on the server 30 side based on the service token SVT. The mobile terminal device 10A can instruct the server 30 to make an exchange application for the identified printer 20 (processing after S119).
[0084] In addition, when the mobile terminal device 10A receives a charge instruction, it can process it in the same way as the exchange application described above. Although details will be omitted, for example, when the mobile terminal device 10A acquires a URL for charging in S116, it can display the charge page of the server 30 by adding the service token SVT to the URL and accessing it (S118).
[0085] Incidentally, in the above-described embodiment, the printing system 1 is an example of a communication system. The mobile terminal devices 10 and 10A are examples of terminal devices. The printer 20 is an example of a communication device and a printing device. The terminal control unit 11 is an example of a terminal device-side control unit. The short-range communication unit 13 is an example of a terminal device-side short-range wireless communication unit. NFC is an example of short-range wireless communication. Wi-Fi Direct (registered trademark) is an example of a first wireless communication. The external communication unit 16 is an example of a terminal device-side wireless communication unit. The short-range communication unit 21 is an example of a communication device-side short-range wireless communication unit. The external communication unit 22 is an example of a communication device-side wireless communication unit. The printer control unit 26 is an example of a communication device-side control unit. The Wi-Fi Direct authentication information is an example of first connection information. The printer one-time token PWT is an example of first identification information. The connection information (SSID and encryption key) of the router 2 is an example of first control information and second connection information. Wi-Fi (registered trademark) is an example of second wireless communication. The router 2 is an example of an access point. The printer token PT is an example of second identification information. The service token SVT and the service one-time token SVWT are examples of server-side identification information. S18 is an example of a communication start process and a communication start step. S21 is an example of a first identification information transmission process and a first identification information transmission step and a first identification information acquisition process. S27 is an example of a first control information transmission process and a first control information transmission step and a first control information acquisition process. S29 is an example of a control process and a control step. S27 is an example of a first connection process. S29 is an example of a second connection process. S31 is an example of a first setting instruction transmission process and an authentication process. S33 and S35 are an example of a second identification information transmission process. S53 is an example of a registration instruction transmission process. S55 is an example of a registration process. S67 and S77 are an example of a server-side identification information acquisition process. S85 is an example of a second control information transmission process. S79 is an example of an association process. S43 is an example of a second server side identification information acquisition process. S49 is an example of a server side identification information transmission process. S116 is an example of a server side identification information transfer process.
[0086] (Effects) According to the above-described embodiment, the following effects are obtained. (1) The mobile terminal device 10 in the above embodiment transmits a communication start notification for executing NFC communication between the near field communication unit 13 and the near field communication unit 21 (S18). In response to the process of S18, the printer 20 transmits WFD authentication information used for connecting the WFD communication and the printer one-time token PWT from the near field communication unit 21 to the near field communication unit 13 by NFC communication (S21). Using the WFD authentication information acquired in S21, the mobile terminal device 10 transmits connection information (SSID and encryption key) of the router 2 from the external communication unit 16 to the external communication unit 22 by WFD communication (S27). The printer 20 executes connection settings to the router 2 based on the connection information of the router 2 acquired in S27 (S29).
[0087] According to this, the printer 20 can obtain connection information from a mobile terminal device 10 (user) capable of short-distance wireless communication, i.e., a mobile terminal device 10 that is relatively close, and can set up wireless communication on the printer 20. This allows a user who is close to the printer 20, i.e., a user who is likely to be a legitimate user, to execute control processing such as changing settings on the printer 20 and issuing operation instructions. Furthermore, it is possible to authenticate a user who is close to the printer 20 without requiring the user to perform physical authentication, such as by touching the user IF 27 of the printer 20. Therefore, when a control instruction for the printer 20 is executed from a specific mobile terminal device 10, it is possible to reduce the user's workload, such as physical authentication.
[0088] (2) In the above embodiment, communication conforming to the Near Field Communication (NFC) standard is used as the short-distance wireless communication. With this, only users who are within a short distance of the printer 20 capable of NFC communication are permitted to give control instructions to the printer 20.
[0089] (3) In the above embodiment, the first wireless communication of the present application employs WFD communication in which the mobile terminal device 10 and the printer 20 communicate directly without going through another device (such as the router 2). The mobile terminal device 10 is connected to an access point (the router 2) by Wi-Fi (registered trademark), and has an SSID and an encryption key used to connect to the router 2. In S27, the mobile terminal device 10 transmits the SSID of the router 2, etc. In S29, the printer 20 executes settings to connect to the router 2 by Wi-Fi (registered trademark) based on the connection information acquired from the mobile terminal device 10. This allows the printer 20 to acquire connection information from a nearby mobile terminal device 10 that is capable of NFC communication, and connect to the router 2. The printer 20 can be connected to the network by receiving connection information from the highly reliable mobile terminal device 10.
[0090] (4) The mobile terminal device 10 executes authentication using the printer one-time token PWT and transmits a generation instruction (an example of the first setting instruction of the present application) to the printer 20 via Wi-Fi (registered trademark) (S31). In response to acquiring the generation instruction of S31, the printer 20 generates a printer token PT that is different from the printer one-time token PWT and is for identifying the mobile terminal device 10 (S33) and transmits it to the mobile terminal device 10 (S35). In this way, the mobile terminal device 10 can instruct the printer 20, etc. to control the printer 20 using the printer token PT that is different from the printer one-time token PWT (an example of the first identification information of the present application) acquired by NFC communication. In addition, by changing the number of characters of the printer one-time token PWT and the printer token PT, the security level of the token used in the WFD communication and the Wi-Fi (registered trademark) communication can be changed. As described above, the printer 20 and the server 30 do not need to generate a token after receiving the generation instruction. For example, in S31 of Fig. 4, a setting instruction (an example of the first setting instruction of the present application) of the printer one-time token PWT is transmitted to the printer 20 (an example of the first setting instruction transmission process of the present application). The printer 20 has a plurality of printer tokens PT generated in advance, and in S33, selects a printer token PT to be used from among the generated printer tokens PT. For example, the printer 20 associates the selected printer token PT with the identification information of the portable terminal device 10 that transmitted the setting instruction of S31, i.e., the portable terminal device 10 specified by the printer one-time token PWT, and stores the associated printer token PT in the printer storage unit 26B. Therefore, the printer 20 may execute a setting process in which the printer token PT is selected from the generated printer tokens PT and associated with the portable terminal device 10 of the communication partner, without appropriately generating a printer token PT.
[0091] (5) The mobile terminal device 10 uses the printer token PT acquired in S35 to send a registration instruction to the server 30 to the printer 20 via Wi-Fi (registered trademark) (S53). Based on the acquisition of the registration instruction, the printer 20 connects to the server 30 via Wi-Fi (registered trademark) and registers information about the printer 20 (S55). This allows the highly reliable mobile terminal device 10 to send a registration instruction to the printer 20 using the printer token PT, and the printer 20 can be registered on the server 30. Registration of the printer 20 can be executed more safely.
[0092] (6) The printer 20 updates the printer one-time token PWT at predetermined time intervals in S13, and also updates the printer one-time token PWT when the printer token PT is generated in S33. By updating the printer one-time token PWT periodically or after each use, the security level for control using the printer one-time token PWT can be increased. For example, by shortening the validity period of the printer one-time token PWT, even if the number of characters in the printer one-time token PWT is shortened, the security level can be maintained by reducing the opportunities for authentication (time of attempts) by generating unauthorized tokens such as random or brute force. In other words, the number of characters in the printer one-time token PWT can be shortened.
[0093] (7) The server 30 can generate a service token SVT. The mobile terminal device 10 acquires the service token SVT via the printer 20 using the printer token PT acquired from the printer 20 in S33 and S35 (S67, S77). The mobile terminal device 10 transmits a free charge confirmation instruction (an example of the second control information of the present application) to the server 30 in S85 of FIG. 6 using the service token SVT. Before transmitting the service token SVT to the mobile terminal device 10 in S67 and S77 (S81), the server 30 identifies the printer 20 that was passed through in the service one-time token SVWT generation instruction in S67 using the server token ST (S71) and associates the device ID of the identified printer 20 with the service token SVT (S79). In response to acquiring the free charge confirmation instruction in S85, the server 30 executes free charge for the printer 20 associated with the service token SVT used in the communication (processing after S87). According to this, the server 30 associates the generated service token SVT with the printer 20 when generating the service token SVT. When the server 30 acquires a free charge confirmation instruction from the mobile terminal device 10, the server 30 can determine which printer 20 the instruction is intended for, based on the service token SVT used in the communication. The processing target of the control information from the mobile terminal device 10 can be specified using the service token SVT.
[0094] (8) In the above embodiment, the printer 20 that prints on paper (an example of a sheet) using ink (an example of a colorant) is used as the communication device of the present application. The printer 20 performs printing within the range of the printable number of sheets (an example of the permitted print amount of the present application) that allows the printing operation. The server 30 associates the device ID of the printer 20 with the printable number of sheets in the server management table STB. In S85, the mobile terminal device 10 transmits a free charge confirmation instruction to increase the permitted print amount. This allows the mobile terminal device 10 that instructs the server 30 to perform a free charge, a paid charge, an exchange instruction, etc., and the printer 20 that is the target of the instruction to be identified and processed by the service token SVT.
[0095] (9) After connecting to the server 30 via Wi-Fi (registered trademark), the printer 20 acquires a service one-time token SVWT related to the service token SVT from the server 30 at predetermined time intervals (S43). When the service one-time token SVWT is requested by the mobile terminal device 10 (S47), the server 30 transmits the service one-time token SVWT acquired in S43 to the mobile terminal device 10 (S49). This allows the mobile terminal device 10 to instruct the server 30 to generate the service token SVT using the service one-time token SVWT. This makes it possible to reduce the delay time that occurs when the printer 20 acquires the service one-time token SVWT.
[0096] (10) When the printer 20 is able to communicate with the server 30 via the router 2 by Wi-Fi (registered trademark), the printer 20 acquires a service one-time token SVWT from the server 30. In response to a touch operation of NFC communication (S18 in FIG. 7), the printer 20 transmits the service one-time token SVWT acquired from the server 30 to the mobile terminal device 10A by NFC communication from the short-range communication unit 21 to the short-range communication unit 13 (S116). As a result, the printer 20 transmits the service one-time token SVWT acquired in advance from the server 30 to the mobile terminal device 10A. The mobile terminal device 10A accesses the server 30 using the service token SVT acquired using the service one-time token SVWT, and the server 30 can identify which printer 20 is the target of the access by the service token SVT. In addition, by performing authentication using the service token SVT, when the exchange application page or charge page of the server 30 is accessed from the mobile terminal device 10A, authentication of the mobile terminal device 10A can be omitted and the page of the printer 20 identified by the service token SVT can be displayed.
[0097] (11) The mobile terminal device 10 also transmits a communication start notification for executing NFC communication between the short-range communication unit 13 and the short-range communication unit 21 (S18). In response to the process of S18, the printer 20 transmits WFD authentication information used for connecting the WFD communication and the printer one-time token PWT from the short-range communication unit 21 to the short-range communication unit 13 by NFC communication (S21). The printer 20 establishes a connection for WFD communication with the mobile terminal device 10 based on the transmitted WFD authentication information (S27). The printer 20 also establishes wireless communication based on the Wi-Fi (registered trademark) standard using the SSID and encryption key (an example of the first control information of the present application) of the router 2 transmitted from the mobile terminal device 10 through the WFD communication (S29). In the wireless communication based on the Wi-Fi (registered trademark) standard in S31, the printer 20 performs authentication using the printer one-time token PWT transmitted in S21 (an example of the authentication process of the present application). Note that the printer 20 may perform authentication using the printer one-time token PWT in the WFD communication in S27. In this case, S27 is an example of the authentication process of the present application.
[0098] According to this, WFD authentication information for establishing WFD communication between the mobile terminal device 10 and the printer 20 and a printer one-time token PWT for authenticating the mobile terminal device 10 to the printer 20 are transmitted by NFC communication. By performing short-distance wireless communication with a mobile terminal device 10 close to the printer 20 capable of short-distance wireless communication, WFD communication can be established and authentication can be performed using the printer one-time token PWT, the user's workload in the authentication process can be reduced, and secure authentication can be provided. In addition, the printer 20 can obtain connection information such as an SSID from a mobile terminal device 10 (user) capable of short-distance wireless communication, i.e., a mobile terminal device 10 that is located in a relatively short distance, and perform wireless communication settings on the printer 20.
[0099] (12) In response to executing the authentication process of S31, the printer 20 transmits the printer token PT to the mobile terminal device 10 through wireless communication conforming to the Wi-Fi (registered trademark) standard (S35). This allows the mobile terminal device 10 to instruct the printer 20, etc. to control the printer by using the printer token PT that is different from the printer one-time token PWT acquired through NFC communication.
[0100] (13) In S21, the printer 20 transmits the application ID of the management application 18B (an example of information used to execute the registration process of the present application) to the mobile terminal device 10. This allows the mobile terminal device 10 to receive information used for registration to the server 30 in NFC communication, and to start the management application 18B and automatically execute the registration process. This reduces the user's burden in the registration process.
[0101] (Printing using WFD communication) In the example shown in FIG. 4, the management application 18B is started in S25, the connection information (SSID and encryption key) of the router 2 is sent as the first control information of the present application, and the wireless communication setting for connecting the printer 20 to the router 2 is executed as the control processing of the present application. However, the first control information and control processing of the present application are not limited to the control information and control processing related to the wireless communication setting. For example, as shown in FIG. 8, the control information and control processing related to printing may be used. In the following description, the same reference numerals are used for the contents similar to those in FIG. 4, and the description thereof will be omitted as appropriate. In the example shown in FIG. 8, it is assumed that the printer 20 is charged with a predetermined number of printable sheets at the time of shipment from the vendor.
[0102] For example, after performing the touch operations of S17 and S18, the mobile terminal device 10 acquires WFD authentication information and the printer one-time token PWT from the printer 20 (S21), and starts the print application 18C (S120). The print application 18C may be started based on an instruction from the printer 20 or based on an instruction from the user. The user operates the print application 18C to instruct the printer 20 to print.
[0103] The mobile terminal device 10 transmits a print instruction to the printer 20 through WFD communication based on an operation input to the print application 18C (S121). In the communication of S121, the printer 20 performs authentication of the mobile terminal device 10, for example, using the printer one-time token PWT. That is, it determines whether the mobile terminal device 10 that transmitted the print instruction is the mobile terminal device 10 that performed the touch operation in S18. The printer 20 does not need to perform authentication using the printer one-time token PWT. In this case, the printer 20 does not need to transmit the printer one-time token PWT in S21. When the authentication is successful, the printer 20 performs printing based on the acquired print instruction in the printing unit 25 (S123). The printer 20 subtracts the number of printed sheets from the printable number in the printer management table PTB (S123), and then notifies the mobile terminal device 10 of the completion of printing through WFD communication (S125). The printer 20 notifies the mobile terminal device 10 of the printable number after the subtraction (S125).
[0104] 8, the print instruction in S121 is an example of the first control information of the present application, and the print process in S123 is an example of the control process.
[0105] In the process of FIG. 8 described above, the mobile terminal device 10 transmits a print instruction as the first control information (S121). In S123, the printer 20 executes printing based on the print instruction acquired from the mobile terminal device 10. This allows only users who are capable of NFC communication, that is, who are near the printer 20, to issue a print instruction to the printer 20. Therefore, similar to the setting of wireless communication of Wi-Fi (registered trademark) in FIG. 4, only users who are near the printer 20 and are likely to be legitimate users can issue a print instruction. In addition, a print instruction can be received from a user who is near the printer 20 without requiring a physical operation (authentication) on the user IF 27. Therefore, when a control instruction to the printer 20 is executed from a specific mobile terminal device 10, the user's workload, such as physical authentication, can be reduced.
[0106] (Modification) Although the specific examples of the present application have been described in detail above, these are merely examples and do not limit the scope of the claims. The technology described in the claims includes various modifications and alterations of the specific examples exemplified above. For example, although the mobile terminal device 10, which is a smartphone, is used as the terminal device of the present application, the present invention is not limited to this. As the terminal device, a desktop PC, a notebook PC, a tablet PC, or other terminals can be used. Although an inkjet printer 20 is used as the communication device of the present application, a laser printer or a thermal printer may also be used. The communication device of the present application may also be any of various devices capable of wireless communication, such as a multifunction machine equipped with a scanning, copying, and faxing function, a household or industrial sewing machine, or a machine tool. The printing system 1 may execute only the printing process shown in FIG. 8, and may not execute the process of connecting the printer 20 to the router 2 in FIG. 4 or the process of registering the printer 20 in the server 30 in FIG. In S13, the printer 20 updated the printer one-time token PWT at predetermined time intervals, but it is not necessary to update it. Furthermore, the printer 20 does not need to execute the processes of S43 and S45 in FIG. 4 for periodically acquiring the service one-time token SVWT.
[0107] In the above embodiment, the printable number of sheets is stored in the printer management table PTB or the like, and the printable number is subtracted each time printing is performed to determine whether printing can be performed. In contrast, the printable number of sheets may be managed using an amount that increases with printing, such as the number of sheets printed by the printer 20. In this case, for example, the value obtained by subtracting the accumulated number of printed sheets, which is the accumulated number of printed sheets, from the accumulated charged number, which is the accumulated value of the charged number, may be managed as the printable number of sheets (printing permitted amount). Also, the printing system 1 is a system that associates the device ID with the printable number of sheets and records them in the server management table STB, and manages the printable number of sheets for each printer 20, but is not limited to this. For example, the printing system 1 may be a system that manages the printable number of sheets by associating it with a user. The user here may be a user ID registered in the management application 18B, an ID of a user who uses the mobile terminal device 10, or the like. Furthermore, printer 20 is configured to store printer management table PTB in printer storage unit 26B, but this is not limited to the above. For example, printer 20 may be equipped with a reading IF capable of reading IC cards, memory cards, etc. Printer 20 may read and use information in printer management table PTB, such as the device ID and printable number of sheets, from an IC card or the like attached to the reading IF. In other words, printer 20 may be configured to manage printer management table PTB using an IC card or the like. Alternatively, printer 20 may store and manage information in printer management table PTB, such as the number of printable pages, in a memory provided in an ink tank of tank section 23, or in the case of a laser printer, in a memory of a toner cartridge or a memory of a photosensitive drum, or in other memory other than the memory section in which printer program 26B1 is stored. Furthermore, the permitted printing amount in this application is not limited to the number of printable sheets. For example, the permitted printing amount may be the amount of ink or toner consumed. The permitted printing amount may be the amount of dots (pixels) of ink permitted to be ejected or the amount of ink permitted to be used (e.g., ml). Alternatively, the permitted printing amount may be defined by the number of rotations of a member that rotates in conjunction with the printing operation, such as a photosensitive drum. The configuration of the printing system 1 in the above embodiment is just an example. The printing system 1 may not include the server 30. The printing system 1 may include multiple mobile terminal devices 10, printers 20, and servers 30, multiple mobile terminal devices 10 may use one printer 20, or one mobile terminal device 10 may use multiple printers 20. The printer 20 may be configured so that the user can refill ink (so that each ink tank in the tank unit 23 can be replaced). Another example of a means for refilling consumables such as ink is a configuration in which ink can be poured into the tank unit 23 from a bottle containing ink. Furthermore, the terminal device side control unit and the communication device side control unit of the present application do not need to include a storage unit such as the terminal storage unit 18 and the printer storage unit 26B. [Explanation of symbols]
[0108] 1 printing system (communication system), 2 router (access point), 10, 10A portable terminal device (terminal device), 11 terminal control unit (terminal device side control unit), 13 short-range communication unit (terminal device side short-range wireless communication unit), 16 external communication unit (terminal device side wireless communication unit), 20 printer (communication device, printing device), 21 short-range communication unit (communication device side short-range wireless communication unit), 22 external communication unit (communication device side wireless communication unit), 26 printer control unit (communication device side control unit), PWT printer one-time token (first identification information), PT printer token (second identification information), SVT service token (server side identification information).
Claims
1. A terminal device; A communication device; Equipped with The terminal device a terminal device side short-range wireless communication unit capable of short-range wireless communication; a terminal device side wireless communication unit capable of performing a first wireless communication of a wireless communication method different from the short-range wireless communication; A terminal device side control unit; Equipped with The communication device includes: a communication device-side short-range wireless communication unit capable of the short-range wireless communication; a communication device side wireless communication unit capable of performing the first wireless communication; A communication device side control unit; Equipped with The terminal device side control unit execute a communication start process for executing the short-range wireless communication between the terminal device short-range wireless communication unit and the communication device short-range wireless communication unit; The communication device side control unit executes a first identification information transmission process in response to the communication start process, in which first connection information used for connecting the first wireless communication and first identification information for identifying the terminal device that executed the communication start process are transmitted from the communication device side short-range wireless communication unit to the terminal device side short-range wireless communication unit by the short-range wireless communication; The terminal device side control unit executing a first control information transmission process to transmit first control information from the terminal device side wireless communication unit to the communication device side wireless communication unit via the first wireless communication, using the first connection information acquired from the communication device by the first identification information transmission process; The communication device side control unit A communication system that executes a control process for controlling the communication device based on the first control information acquired from the terminal device by the first control information transmission process.
2. The short-range wireless communication includes: The communication system according to claim 1 , wherein communication is in compliance with the NFC (Near Field Communication) standard.
3. The first wireless communication includes: The wireless communication is a direct communication between the terminal device and the communication device without going through another device, The terminal device a second wireless communication device connected to an access point, the second wireless communication device having second connection information used to connect to the access point; The terminal device side control unit In the first control information transmission process, the second connection information is transmitted as the first control information; The communication device side control unit The communication system according to claim 1 , wherein in the control process, a setting for connecting to the access point through the second wireless communication is executed based on the first control information acquired from the terminal device.
4. The terminal device side control unit executing a first setting instruction transmission process of performing authentication using the first identification information and transmitting a first setting instruction for setting second identification information to the communication device via the second wireless communication; The communication device side control unit The communication system according to claim 3, further comprising: a second identification information transmission process for transmitting, to the terminal device, identification information that is different from the first identification information and is for identifying the terminal device, as the second identification information, in response to obtaining the first setting instruction.
5. The terminal device side control unit executing a registration instruction transmission process of transmitting a registration instruction to a server to the communication device through the second wireless communication by using the second identification information acquired from the communication device through the second identification information transmission process; The communication device side control unit The communication system according to claim 4 , further comprising: a registration process for connecting to the server via the second wireless communication based on acquisition of the registration instruction, and registering information about the communication system itself in the server.
6. The communication device side control unit 6. The communication system according to claim 4, wherein the first identification information is updated at predetermined time intervals, and the first identification information is also updated when the second identification information is set in response to acquisition of the first setting instruction.
7. The communication device includes: The device is connected to a server via the second wireless communication; The server, Server-side identification information can be set, The terminal device side control unit a server-side identification information acquisition process for acquiring the server-side identification information via the communication device by using the second identification information acquired from the communication device by the second identification information transmission process; a second control information transmission process of transmitting second control information related to the communication device to the server by using the server side identification information; Run The server, an association process for associating the communication device through which the server-side identification information acquisition process is performed with the server-side identification information in response to transmission of the server-side identification information to the terminal device by the server-side identification information acquisition process; A communication system as described in any one of claims 4 to 6, wherein, in response to acquiring the second control information of the second control information transmission process, control based on the second control information is executed on the communication device associated with the server side identification information used to transmit the second control information.
8. The communication device includes: A printing device that performs printing on a sheet using a coloring agent, the printing operation being performed within a range of a print allowable amount that allows the printing operation, The server, The printing device and the print permission amount are stored in association with each other, The terminal device side control unit The communication system according to claim 7 , wherein, in the second control information transmission process, the second control information for increasing the permitted printing amount is transmitted.
9. The communication device side control unit a second server side identification information acquisition process for acquiring information related to the server side identification information from the server at predetermined time intervals after connecting to the server through the second wireless communication; a server-side identification information transmission process for transmitting, when information related to the server-side identification information is requested from the terminal device, information related to the server-side identification information acquired in the second server-side identification information acquisition process to the terminal device; The communication system according to claim 7 or 8, further comprising:
10. The communication device includes: A printing device that performs printing on a sheet using a colorant, The terminal device side control unit In the first control information transmission process, a print instruction is transmitted as the first control information; The communication device side control unit The communication system according to claim 1 , wherein in the control process, printing is executed based on the print instruction acquired from the terminal device.
11. The terminal device The second wireless communication is performed to connect to the server via the access point, The server, Server-side identification information can be set, The communication device side control unit The communication system according to any one of claims 1 to 10, wherein when the server side identification information is acquired from the server via the access point by the second wireless communication, a server side identification information transfer process is executed in response to the communication start process, in which the server side identification information is transmitted from the communication device side short-range wireless communication unit to the terminal device side short-range wireless communication unit by the short-range wireless communication.
12. a communication device-side short-range wireless communication unit capable of short-range wireless communication; a communication device-side wireless communication unit capable of performing a first wireless communication of a wireless communication method different from the short-range wireless communication; A communication device side control unit; A communication device comprising: The communication device side control unit a communication start process for executing the short-range wireless communication between a terminal device and the short-range wireless communication unit of the communication device; a first identification information transmission process for transmitting, in response to the communication start process, first connection information used for connection of the first wireless communication and first identification information for identifying the terminal device that has executed the communication start process, from the communication device side short-range wireless communication unit to the terminal device via the short-range wireless communication; a first control information acquisition process of acquiring first control information from the terminal device to the communication device side wireless communication unit through the first wireless communication by using the first connection information transmitted in the first identification information transmission process; A communication device that executes a control process that executes control based on the first control information acquired from the terminal device by the first control information acquisition process.
13. a terminal device side short-range wireless communication unit capable of short-range wireless communication; a terminal device side wireless communication unit capable of performing a first wireless communication of a wireless communication method different from the short-range wireless communication; A computer readable program for a terminal device comprising: The computer includes: a communication start process for executing the short-range wireless communication between the terminal device side short-range wireless communication unit and a communication device; a first identification information acquisition process for acquiring first connection information used for connection of the first wireless communication and first identification information for identifying the terminal device that has executed the communication start process from the communication device to the terminal device side short-range wireless communication unit through the short-range wireless communication; a first control information transmission process of transmitting first control information from the terminal device side wireless communication unit to the communication device through the first wireless communication by using the first connection information acquired from the communication device by the first identification information acquisition process, and causing the communication device to execute control based on the first control information; A program to execute.
14. A terminal device; A communication device; Equipped with The terminal device a terminal device side short-range wireless communication unit capable of short-range wireless communication; a terminal device side wireless communication unit capable of performing a first wireless communication of a wireless communication method different from the short-range wireless communication; A terminal device side control unit; Equipped with The communication device includes: a communication device-side short-range wireless communication unit capable of the short-range wireless communication; a communication device side wireless communication unit capable of performing the first wireless communication; A communication device side control unit; Equipped with The terminal device side control unit execute a communication start process for executing the short-range wireless communication between the terminal device short-range wireless communication unit and the communication device short-range wireless communication unit; The communication device side control unit a first identification information transmission process for transmitting, in response to the communication start process, first connection information used for connection of the first wireless communication and first identification information for identifying the terminal device that has executed the communication start process, from the communication device side short-range wireless communication unit to the terminal device side short-range wireless communication unit by the short-range wireless communication; a first connection process for establishing a connection of the first wireless communication with the terminal device based on the first connection information; a second connection process for establishing a second wireless communication using first control information transmitted from the terminal device through the first wireless communication; an authentication process for authenticating the terminal device based on the first identification information transmitted from the terminal device through the second wireless communication; A communication system that performs the above steps.
15. The communication device side control unit The communication system according to claim 14 , further comprising: a second identification information transmission process for transmitting second identification information to the terminal device through the second wireless communication in response to the authentication process being executed.
16. The terminal device connected to an access point via the second wireless communication; The terminal device side control unit executing a registration instruction transmission process of transmitting a registration instruction to a server to the communication device through the second wireless communication by using the second identification information acquired from the communication device through the second identification information transmission process; The communication device side control unit The communication system according to claim 15 , further comprising: a registration process for connecting to the server through the second wireless communication and registering information about the communication system in the server, based on acquisition of the registration instruction.
17. The communication device side control unit The communication system according to claim 16 , wherein in the first identification information transmission process, information used for executing the registration process is transmitted to the terminal device.
18. A method of transmission in a communication system, comprising: The communication system includes: A terminal device; A communication device; Equipped with The terminal device a terminal device side short-range wireless communication unit capable of short-range wireless communication; a terminal device side wireless communication unit capable of performing a first wireless communication of a wireless communication method different from the short-range wireless communication; A terminal device side control unit; Equipped with The communication device includes: a communication device-side short-range wireless communication unit capable of the short-range wireless communication; a communication device side wireless communication unit capable of performing the first wireless communication; A communication device side control unit; Equipped with a communication initiation step of causing the terminal device control unit to execute the short-range wireless communication between the terminal device short-range wireless communication unit and the communication device short-range wireless communication unit; a first identification information transmission step of transmitting, by the communication device side control unit in response to the communication initiation step, first connection information used for connecting the first wireless communication and first identification information for identifying the terminal device that has executed the communication initiation step, from the communication device side short-range wireless communication unit to the terminal device side short-range wireless communication unit by the short-range wireless communication; a first control information transmission step of transmitting, by the terminal device side control unit, first control information from the terminal device side wireless communication unit to the communication device side wireless communication unit through the first wireless communication, using the first connection information acquired from the communication device in the first identification information transmission step; a control step of executing control of the communication device based on the first control information acquired from the terminal device in the first control information transmission step by the communication device side control unit; A transmission method including:
19. The terminal device The second wireless communication is performed to connect to the server via the access point, The server, Server-side identification information can be set, When the communication device is not connected to the access point, the communication device side control unit executes the first identification information transmission step; The transmission method according to claim 18, further comprising a server-side identification information transfer step of transmitting, by the communication device side control unit, the server-side identification information acquired from the server via the short-range wireless communication unit of the communication device to the short-range wireless communication unit of the terminal device via the short-range wireless communication in response to the communication start step, when the communication device is able to communicate with the server via the access point by the second wireless communication.
Citation Information
Patent Citations
Information processing device, method for controlling information processing device, and program
JP2013187567A
Communication apparatus
JP2017069720A
Radio communication device, and control method and control program thereof
JP2018074458A
Printer and computer program for printer
JP2020166372A
Method of processing workflow and mobile device for performing the method
US20160179449A1