Image forming apparatus, terminal device, method for controlling the image forming apparatus, and method for controlling the terminal device
The QUIC and HTTP/3 protocol combination in image forming apparatuses and terminal devices securely resumes communication, addressing security risks in multifunction peripheral operations.
Patent Information
- Application Number
- JP2025084333
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2025-05-20
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2041-09-15
AI Technical Summary
Existing remote operation techniques for multifunction peripherals are vulnerable to security risks, such as leakage of personal information like phone numbers and print data due to communication interception and spoofing, during connection resumption with terminal devices.
Implementing QUIC protocol for connection establishment and HTTP/3 for secure communication, using identification and encryption keys to securely resume communication between image forming apparatuses and terminal devices.
Ensures secure and efficient resumption of communication between image forming apparatuses and terminal devices, protecting against information leakage and spoofing attacks.
Smart Images

Figure 0007955426000001 
Figure 0007955426000002 
Figure 0007955426000003
Abstract
Description
[Technical Field]
[0001] The present disclosure relates to an image forming apparatus and the like. [Background Art]
[0002] Conventionally, a remote operation technique for operating a so-called multifunction peripheral including a copy function, a scan function, a document print function, and the like from a terminal device such as a mobile terminal has been used.
[0003] Further, a technique for improving usability during remote operation has also been proposed. For example, when wireless communication with a mobile terminal is interrupted while receiving processing target data transferred from the mobile terminal, interrupted job information including unique information (phone number) of the mobile terminal is stored, and if the phone number of the mobile terminal connected after the interruption matches the phone number included in the interrupted job information, an image processing apparatus that resumes wireless communication with the mobile terminal has been proposed (for example, see Patent Document 1). [Description of Related Art] [Patent Document]
[0004] [Patent Document 1] Japanese Patent Application Laid-Open No. 2010-003175 [Summary of the Invention] [Problem to be Solved by the Invention]
[0005] In order to resume communication between the multifunction peripheral and the terminal device using the technique described in Patent Document 1, it is necessary to transmit mobile-specific information such as a phone number and print information (storage location of print data and print settings) from the terminal device to the multifunction peripheral and hold the information on the multifunction peripheral side. Therefore, there is a problem with respect to the risk that personal information such as a phone number and print information are leaked due to a malicious attack (for example, communication interception). In addition, mobile-specific information such as a phone number may be known to a third party, and there is a concern that print data may be leaked due to spoofing.
[0006] In view of the above-mentioned issues, this disclosure aims to provide an image forming apparatus, etc., that can securely resume communication with a terminal device. [Means for solving the problem]
[0007] To solve the above-mentioned problems, the image forming apparatus of the present disclosure comprises a control unit, a storage unit, and a communication unit, wherein the control unit establishes a connection with a terminal device via the communication unit using QUIC, stores identification information for identifying the connection and key information used to encrypt transmission and reception information transmitted and received with the terminal device in the storage unit, communicates the transmission and reception information with the terminal device using HTTP / 3, and if the connection with the terminal device is disconnected, establishes a connection with the terminal device using the identification information and key information and resumes communication of the transmission and reception information with the terminal device.
[0008] The terminal device of this disclosure comprises a control unit, a storage unit, and a communication unit, wherein the control unit establishes a connection with an image forming apparatus via the communication unit using QUIC, stores identification information for identifying the connection and key information used to encrypt transmission and reception information transmitted and received with the image forming apparatus in the storage unit, communicates the transmission and reception information with the image forming apparatus using HTTP / 3, and, if the connection with the image forming apparatus is disconnected, reconnects to the image forming apparatus using the identification information and key information, and resumes communication of the transmission and reception information with the image forming apparatus.
[0009] The control method for an image forming apparatus according to this disclosure is characterized by including the steps of: establishing a connection with a terminal device by QUIC; storing identification information for identifying the connection and key information used to encrypt transmission and reception information transmitted and received with the terminal device; communicating the transmission and reception information with the terminal device by HTTP / 3; and, if the connection with the terminal device is disconnected, establishing a connection with the terminal device using the identification information and key information and resuming communication of the transmission and reception information with the terminal device.
[0010] The terminal device control method according to this disclosure is characterized by including the steps of: establishing a connection with an image forming apparatus by QUIC; storing identification information for identifying the connection and key information used to encrypt transmission and reception information transmitted and received with the image forming apparatus; communicating the transmission and reception information with the image forming apparatus by HTTP / 3; and, if the connection with the image forming apparatus is disconnected, reconnecting to the image forming apparatus using the identification information and key information, and resuming communication of the transmission and reception information with the image forming apparatus. [Effects of the Invention]
[0011] According to this disclosure, it is possible to provide an image forming apparatus, etc., that can securely resume communication with a terminal device. [Brief explanation of the drawing]
[0012] [Figure 1] This is a diagram illustrating the overall configuration of the system in the first embodiment. [Figure 2] This figure shows the functional configuration of the terminal device in the first embodiment. [Figure 3] This figure shows an example of the data structure of the multifunction printer information in the first embodiment. [Figure 4] This figure shows the functional configuration of the multifunction device in the first embodiment. [Figure 5] This figure shows an example of the data structure for job details in the first embodiment. [Figure 6] This is a sequence diagram showing the processing flow in the first embodiment. [Figure 7] This is a flowchart showing the processing flow of the terminal device in the first embodiment. [Figure 8] This is a flowchart showing the processing flow of the multifunction printer in the first embodiment. [Figure 9] This is a flowchart showing the reconnection processing flow in the first embodiment. [Figure 10] This figure shows an example of operation in the first embodiment. [Figure 11] FIG. 11 is a diagram illustrating an operation example in the first embodiment. [Figure 12] FIG. 12 is a diagram illustrating an operation example in the first embodiment. [Figure 13] FIG. 13 is a diagram illustrating an operation example in the first embodiment. [Figure 14] FIG. 14 is a diagram illustrating an operation example in the first embodiment. [Figure 15] FIG. 15 is a flowchart illustrating a processing flow of a terminal device in a second embodiment. [Figure 16] FIG. 16 is a flowchart illustrating a flow of reconnection handling processing in the second embodiment. [Figure 17] FIG. 17 is a flowchart illustrating a flow of power-on processing in the second embodiment. [Figure 18] FIG. 18 is a sequence diagram illustrating a processing flow in a third embodiment. [Figure 19] FIG. 19 is a sequence diagram illustrating a processing flow in the third embodiment. [Figure 20] FIG. 20 is a sequence diagram illustrating a processing flow in the third embodiment. [Figure 21] FIG. 21 is a flowchart illustrating a processing flow of a terminal device in the third embodiment. [Figure 22] FIG. 22 is a flowchart illustrating a processing flow of a multifunction peripheral in the third embodiment. [Figure 23] FIG. 23 is a flowchart illustrating a flow of reconnection handling processing in the third embodiment. [Embodiments for Carrying Out the Invention]
[0013] Hereinafter, an embodiment for carrying out the present disclosure will be described with reference to the drawings. The following embodiment is an example for describing the present disclosure, and the technical scope of the invention described in the claims is not limited to the following description.
[0014] [1. First Embodiment] [1.1 Overall Configuration] Referring to Figure 1, the overall configuration of System 1 in this embodiment will be described. As shown in Figure 1, System 1 includes a terminal device 10 and a multifunction printer 20. The terminal device 10 and the multifunction printer 20 can be connected, for example, via a wireless LAN (Local Area Network). The terminal device 10 and the multifunction printer 20 may be directly connected or connected via a wireless access point.
[0015] Terminal device 10 is an information processing device carried by the user. Terminal device 10 is, for example, a smartphone, tablet, or PC (Personal Computer).
[0016] The multifunction device 20 is an information processing device that has functions such as copying, scanning, and printing documents, and is also called an MFP (Multi-Function Printer / Peripheral). The multifunction device 20 may be an image processing device that processes images, or it may be an image forming device equipped with means for forming images on recording paper using means such as electrophotography.
[0017] In this embodiment, when operations or jobs (print jobs and transmission jobs) are performed from the terminal device 10 to the multifunction printer 20, the connection between the terminal device 10 and the multifunction printer 20 is established using QUIC (Quick UDP Internet Connections) as the communication protocol (transport protocol). QUIC is a protocol that uses UDP (User Datagram Protocol) to establish bidirectional connections between two devices. The two devices that have established a connection via QUIC send a UDP packet that includes a QUIC packet in its UDP payload. A QUIC packet consists of a QUIC packet header and a payload containing predetermined information.
[0018] Although UDP is a connectionless protocol, the QUIC packet header includes identification information (e.g., Connection ID) used to identify the connection. Therefore, two devices that have established a connection via QUIC can identify the connection based on this identification information. Because the connection is identified based on this identification information, even if the IP (Internet Protocol) addresses or port numbers of the devices that have established the connection change, the two devices that have established the connection can maintain the connection between them.
[0019] Furthermore, the payload within the QUIC packet is encrypted. A shared key, which is shared by the devices that have established a QUIC connection, is used as the key information for encrypting and decrypting the encrypted payload. This shared key is generated by the two devices establishing the connection when the process of establishing the QUIC connection is executed.
[0020] Furthermore, the terminal device 10 and the multifunction printer 20 transfer (send and receive) information related to remote operation and job execution. For the transfer of this information, for example, HTTP / 3, a type of HTTP (Hypertext Transfer Protocol) protocol, is used.
[0021] The transmitted and received information includes, for example, operation information and job information transmitted from the terminal device 10 to the multifunction printer 20, and operation screen information (UI data) transmitted from the multifunction printer 20 to the terminal device 10. Operation information is information that indicates the content of the operation entered by the user. Job information is information that indicates the content of the job. Job information may also include data (processing data) that will be processed by the multifunction printer 20, such as printing or sending, when the job is executed. The terminal device 10 may send only job information to the multifunction printer 20, or it may send both operation information and processing data. Operation screen information is information used to display a screen for accepting user operations. The transmitted and received information can be any information that causes the multifunction printer 20 to execute a predetermined job.
[0022] The terminal device 10 operates the multifunction printer 20 by transmitting information such as operation information and job information to the multifunction printer 20. This operation by the terminal device 10 communicating with the multifunction printer 20 is also called remote operation.
[0023] [1.2 Functional Configuration] [1.2.1 Terminal Devices] The functional configuration of the terminal device 10 will be explained with reference to Figure 2. As shown in Figure 2, the terminal device 10 is configured to include a control unit 100, a display unit 140, an operation unit 150, a storage unit 160, and a communication unit 190.
[0024] The control unit 100 controls the entire terminal device 10. The control unit 100 implements various functions by reading and executing various programs stored in the memory unit 160, and is composed of one or more arithmetic units (e.g., CPUs (Central Processing Units)). The control unit 100 may also be configured as a System on a Chip (SoC) having multiple functions among those described below.
[0025] The display unit 140 displays various information. The display unit 140 is composed of a display device such as an LCD (Liquid Crystal Display), an OLED (Electro-Luminescence) display, or a microLED (Light Emitting Diode) display.
[0026] The operation unit 150 receives input from the user using the terminal device 10. The operation unit 150 is composed of input devices such as touch sensors. The method used to detect input in the touch sensor can be any common detection method, such as resistive, infrared, electromagnetic induction, or capacitive touch. The terminal device 10 may also be equipped with a touch panel in which the display unit 140 and the operation unit 150 are integrally formed.
[0027] The storage unit 160 stores various programs and data necessary for the operation of the terminal device 10. The storage unit 160 is composed of, for example, a storage device such as an SSD (Solid State Drive) or an HDD (Hard Disk Drive), which are semiconductor memory.
[0028] The memory unit 160 stores the operation application 162 and reserves the multifunction printer information storage area 164 as a storage area.
[0029] The operation application 162 is an application that enables the control unit 100 to implement functions for remotely operating the multifunction printer 20. For example, the operation application 162 enables the control unit 100 to implement functions for displaying the screen used for remote operation on the display unit 140, and also implements functions related to connection with the multifunction printer 20 and information communication.
[0030] The multifunction printer information storage area 164 stores information about the multifunction printer 20 (multifunction printer information). The multifunction printer information includes, for example, the name of the multifunction printer 20 (e.g., "xxxx"), the address of the multifunction printer 20 (e.g., "192.168.0.11"), the terminal device Connection ID (e.g., "9dc9001122334455") and the multifunction printer Connection ID (e.g., "8ba9001122334455") that identify the connection to the multifunction printer 20, and key information (e.g., "******") used to encrypt information sent to and received from the multifunction printer 20.
[0031] The address is information used to identify the multifunction printer 20 connected to the network to which the terminal device 10 is connected, and is used to establish a connection with the multifunction printer 20. The address is, for example, an IP address.
[0032] The Connection ID is information (identification information) used to identify the connection between the terminal device 10 and the multifunction printer 20. In this embodiment, the Terminal Device Connection ID and the Multifunction Printer Connection ID are stored as the Connection ID. The Terminal Device Connection ID is used when the multifunction printer 20 communicates with the Terminal Device 10. The Multifunction Printer Connection ID is used when the Terminal Device 10 communicates with the multifunction printer 20.
[0033] Furthermore, key information refers to, for example, the information of a shared key (TLS key information) used when communicating using the TLS (Transport Layer Security) protocol.
[0034] In addition to the information mentioned above, the multifunction printer information may also include information such as the port number of the multifunction printer 20.
[0035] The communication unit 190 communicates with external devices such as the multifunction printer 20. The communication unit 190 is composed of a communication device that has the function of connecting to a wireless LAN using a method compliant with the IEEE 802.11b / g / n standard. For example, the communication unit 190 is composed of a NIC (Network Interface Card) and a communication module that can connect to LTE (Long Term Evolution) / LTE-A (LTE-Advanced) / LAA (License-Assisted Access using LTE) / 5G lines.
[0036] [1.2.2 Multifunction device] The functional configuration of the multifunction device 20 will be explained with reference to Figure 4. As shown in Figure 4, the multifunction device 20 is composed of a control unit 200, an image input unit 220, an image forming unit 230, a display unit 240, an operation unit 250, a storage unit 260, and a communication unit 290.
[0037] The control unit 200 controls the entire multifunction device 20. The control unit 200 implements various functions by reading and executing various programs stored in the memory unit 260, and is composed of one or more arithmetic units (e.g., CPUs). The control unit 200 may also be configured as an SoC having multiple functions from among those described below.
[0038] The control unit 200 functions as an image processing unit 202 by executing a program stored in the memory unit 260. The image processing unit 202 performs various image processing operations on the image data input by the image input unit 220. For example, the image processing unit 202 may perform image sharpening or color conversion.
[0039] The image input unit 220 reads the original document and inputs the data of the scanned image. For example, the image input unit 220 is composed of a scanning device equipped with equipment that converts optical information such as a CIS (Contact Image Sensor) or CCD (Charge Coupled Device) into electrical signals, and reads the original document placed on the tray of the multifunction printer 20.
[0040] The image forming unit 230 forms (prints) an image on a recording medium such as recording paper. The image forming unit 230 is composed of, for example, a laser printer using an electrophotographic method.
[0041] The display unit 240 displays various information. The display unit 240 is composed of a display device such as an LCD, an organic EL display, or a microLED display.
[0042] The control unit 250 receives input from the user using the multifunction printer 20. The control unit 250 is composed of input devices such as hardware keys (physical keys, numeric keypad) and touch sensors. The multifunction printer 20 may also be equipped with a touch panel in which the display unit 240 and the control unit 250 are integrally formed.
[0043] The storage unit 260 stores various programs and data necessary for the operation of the multifunction printer 20. The storage unit 260 is composed of, for example, a storage device such as an SSD or HDD, which are semiconductor memory devices.
[0044] The memory unit 260 reserves a processing data storage area 262 and a job details information storage area 264 as storage areas.
[0045] The processing data storage area 262 stores data processed by the multifunction device 20. Processing data includes, for example, data representing images formed by the image forming unit 230, and data transmitted to other devices via the communication unit 290.
[0046] The job details information storage area 264 stores detailed information (job details) about the jobs that the multifunction printer 20 executes. The job details include, for example, a job ID that identifies the job (e.g., "25"), the address of the terminal device 10 (e.g., "192.168.0.101"), the port number for communication with the terminal device 10 (e.g., "19999"), the terminal device Connection ID (e.g., "9dc9001122334455") and the multifunction printer Connection ID (e.g., "8ba9001122334455") used for communication with the terminal device 10, key information used to encrypt the information to be sent to the terminal device 10 (e.g., "******"), operation information and job information which are transmitted and received information from the terminal device 10 (e.g., "Simple Copy, Paper: A4, Color Mode: Color, Processing Data: 20210801170000"), and the job status (e.g., "Not Executed").
[0047] The processing data may be stored in the job details or in the processing data storage area 262. If the processing data is stored in the processing data storage area 262, the job details only need to store information that identifies the processing data stored in the processing data storage area 262 (for example, the data name).
[0048] The address is, for example, an IP (Internet Protocol) address. The job status stores information indicating the progress of the job, such as "Not running," "Running," or "Completed." In addition, the detailed job information may include information other than that mentioned above.
[0049] The communication unit 290 communicates with external devices such as the terminal device 10. The communication unit 290 is composed of communication devices (communication modules) similar to those of the communication unit 190.
[0050] [1.3 Processing Flow] [1.3.1 Overview of the process] Referring to Figure 6, an overview of the processes performed by the terminal device 10 and the multifunction device 20 will be explained. First, the terminal device 10 receives a request to start remote operation of the multifunction device 20 (S1000). Next, a QUIC Handshake is performed between the terminal device 10 and the multifunction device 20 using the QUIC protocol (S1002). This starts a session between the terminal device 10 and the multifunction device 20. In S1002, the terminal device 10 and the multifunction device 20 perform the following processes. (1) Confirm and send the Connection ID The terminal device 10 generates a terminal device Connection ID and sends it to the multifunction printer 20. The multifunction printer 20 generates a multifunction printer Connection ID and sends it to the terminal device 10. As a result, the Connection ID is shared between the terminal device 10 and the multifunction printer 20. (2) Determination of the TLS common key Terminal device 10 and multifunction printer 20 each generate a shared key using the information they exchange during the handshake. When terminal device 10 and multifunction printer 20 confirm that the same shared key has been generated, they confirm that the shared key is the TLS key information. For example, if terminal device 10 and multifunction printer 20 send encrypted data using the shared key and can decrypt the data received from the other device using the same shared key, they can determine that the same shared key has been generated.
[0051] A handshake is performed, establishing a connection between the terminal device 10 and the multifunction printer 20, and initiating (establishing) a session. The multifunction printer 20 stores the Connection ID and TLS key information used by the QUIC protocol at the start of the session (S1004). Similarly, the terminal device 10 stores the Connection ID and TLS key information used by the QUIC protocol at the start of the session (S1006).
[0052] Next, the terminal device 10 and the multifunction printer 20 communicate the transmission and reception information (Application Data) using the Connection ID and TLS key information (S1008).
[0053] For example, the multifunction printer 20 encrypts the information on the operation screen (UI data) using TLS key information. Furthermore, the multifunction printer 20 transmits the encrypted information and a Connection ID (for example, a terminal device Connection ID received from the terminal device 10) to the terminal device 10 to identify the connection with the terminal device 10. The terminal device 10 decrypts the information received from the multifunction printer 20 using the TLS key information corresponding to the multifunction printer 20, displays an operation screen based on the received information on the display unit 140, and accepts operation input from the user.
[0054] Furthermore, the terminal device 10 encrypts operation information and job information using TLS key information and transmits it to the multifunction printer 20. The multifunction printer 20 decrypts the operation information and job information using the TLS key information corresponding to the terminal device 10, and stores the decrypted operation information and job information in association with the Connection ID and TLS key information related to the communication with the terminal device 10.
[0055] Next, we will explain what happens when the connection between terminal device 10 and multifunction printer 20 is disconnected, the session is interrupted, and communication is interrupted. Disconnection of the connection can occur, for example, due to a wireless communication network failure on the terminal device 10 side, or a change in the IP address of terminal device 10 due to a change in the base station to which terminal device 10 is connected.
[0056] If communication between terminal device 10 and multifunction printer 20 is interrupted, the multifunction printer 20 sets a communication timeout period (S1010). The communication timeout period is the time during which the multifunction printer 20 will accept a reconnection from terminal device 10. The multifunction printer 20 maintains a state in which it can accept a reconnection from terminal device 10 (a state in which communication is accepted) until the communication timeout period has elapsed. On the other hand, after the communication timeout period has elapsed, the multifunction printer 20 refuses to reconnect from terminal device 10 (does not reconnect to terminal device 10), thereby reducing the consumption of resources (e.g., memory) of the multifunction printer 20 and preventing a prolonged period in which another user is unable to operate the multifunction printer 20.
[0057] Furthermore, the terminal device 10 reconnects to the multifunction printer 20 when the IP address change is complete or when the network is restored (S1012). For example, the terminal device 10 requests reconnection by sending the multifunction printer Connection ID and information encrypted using TLS key information to the multifunction printer 20 (S1014).
[0058] The multifunction printer 20 identifies jobs waiting to be reconnected based on the Connection ID received from the terminal device 10 and the TLS key information of the terminal device 10 (S1016). The multifunction printer 20 also performs a reconnection process with the terminal device 10 (S1018). For example, as part of the reconnection process, the multifunction printer 20 confirms that it can communicate with the terminal device 10 normally, sends information indicating the next operation information or job information that needs to be sent to the terminal device 10, and sends information for the operation screen for entering the next operation to the terminal device 10. As a result of the reconnection process, the terminal device 10 and the multifunction printer 20 are connected and the session is resumed, and communication between the terminal device 10 and the multifunction printer 20 is resumed.
[0059] Next, the terminal device 10 and the multifunction printer 20 communicate (restart) the transmission and reception information (Application Data) using the Connection ID and TLS key information, similar to S1008 (S1020). As a result, remote operation becomes possible again on the terminal device 10 (S1022).
[0060] In this way, when the terminal device 10's network connection is restored after the wireless or other connection on the terminal device 10's side has been disconnected, the interrupted communication can be resumed. This allows the terminal device 10 to resume communication to send operation information and job information that could not be sent to the multifunction printer 20.
[0061] When the terminal device 10 resumes communication with the multifunction printer 20, it uses the Connection ID and TLS key information used in the QUIC protocol to resume communication using the QUIC protocol. Since the terminal device 10 does not need to perform processes to re-establish a session with the multifunction printer 20, such as handshake (session reconnection process), it can efficiently reconnect with the multifunction printer 20.
[0062] Furthermore, although the multifunction printer 20 is in the middle of communication and communication from the terminal device 10 is interrupted, it maintains a state where it can accept communication by storing the Connection ID and TLS key information used in the QUIC protocol. Therefore, the multifunction printer 20 can resume communication with the terminal device 10 using the Connection ID and TLS key information. In addition, by using the QUIC protocol, the multifunction printer 20 can establish a connection with the terminal device 10 when communication from the terminal device 10 resumes, and can resume the session with the terminal device 10 without performing any special session resumption processing. As a result, the multifunction printer 20 can efficiently resume communication with the terminal device 10 from where it left off.
[0063] Thus, when resuming a session between the terminal device 10 and the multifunction printer 20, there is no need to perform session resumption processing (session processing) again between the terminal device 10 and the multifunction printer 20, and information can be sent and received (data processing) from where the interrupted communication left off.
[0064] [1.3.2 Processing of terminal devices] Next, the processing performed by the terminal device 10 will be explained with reference to Figure 7. The processing shown in Figure 7 is performed by the control unit 100, which reads the operation application 162. It should be assumed that the multifunction device information storage area 164 already stores multifunction device information, including the name and address of the multifunction device 20.
[0065] First, the control unit 100 receives a request to start remote operation (step S100). For example, the control unit 100 displays a screen on the display unit 140 that lists the names of the multifunction printers included in the multifunction printer information stored in the multifunction printer information storage area 164 (multifunction printer selection screen). When a user selects one multifunction printer 20 and performs an operation to start the connection, the control unit 100 receives a request to start remote operation of the selected multifunction printer 20.
[0066] Next, the control unit 100 performs a handshake with the multifunction device 20 using the QUIC protocol via the communication unit 190 (step S102). For example, the control unit 100 reads the multifunction device information corresponding to the multifunction device 20 selected in step S100 from the multifunction device information storage area 164. Furthermore, the control unit 100 sends a packet for performing the handshake to the address included in the read multifunction device information.
[0067] At this time, the control unit 100 generates a terminal device Connection ID and sends it to the multifunction printer 20, and receives a multifunction printer Connection ID from the multifunction printer 20. Furthermore, the control unit 100 generates a shared key using the information transmitted and received during the handshake. Also, if the shared key generated by the control unit 100 is the same as the shared key generated by the multifunction printer 20, the control unit 100 confirms that the shared key is the TLS key information. For example, if the control unit 100 receives encrypted information from the multifunction printer 20 and can decrypt that information with the generated shared key, it can determine that the shared key generated by the control unit 100 is the same as the shared key generated by the multifunction printer 20.
[0068] Next, the control unit 100 stores the terminal device Connection ID, the multifunction device Connection ID, and the TLS key information in the multifunction device information corresponding to the multifunction device 20 selected in step S100 (step S104).
[0069] Next, the control unit 100 starts remote operation (step S106). For example, the control unit 100 displays a screen for performing remote operation (operation screen) on the display unit 140.
[0070] Next, the control unit 100 transmits operation information and job information via the communication unit 190 (step S108). For example, the control unit 100 encrypts operation information indicating the operation entered by the user using TLS key information corresponding to the connected multifunction device 20. Furthermore, the control unit 100 sends a packet containing the multifunction device Connection ID corresponding to the connected multifunction device 20 and the encrypted operation information to the multifunction device 20.
[0071] The control unit 100 may encrypt the job information based on the user's operation using TLS key information and send a packet containing the multifunction device Connection ID corresponding to the connected multifunction device 20 and the encrypted operation information to the multifunction device 20. Alternatively, the control unit 100 may read a file selected by the user and generate the job information as data (processing data) indicating the contents of that file.
[0072] Furthermore, when the control unit 100 receives information from the multifunction device 20, it decrypts the received information using the TLS key information determined in step S102. When the control unit 100 receives information for the operation screen from the multifunction device 20, it may display the operation screen based on that information on the display unit 140.
[0073] Next, the control unit 100 determines whether or not the connection to the multifunction printer 20 has been disconnected (step S110). For example, the control unit 100 monitors the communication unit 190 and detects whether or not the connection to the multifunction printer 20 has been disconnected. If the connection to the multifunction printer 20 has been disconnected, the control unit 100 may display a message on the display unit 140 indicating that the connection to the multifunction printer 20 has been disconnected.
[0074] If the connection to the multifunction printer 20 is lost, the control unit 100 periodically determines whether the network has been restored (step S110; Yes → step S112). For example, the control unit 100 determines that the network has been restored when it becomes possible to connect to the base station or when an IP address is determined. If the network is not restored, the control unit 100 repeatedly executes the process in step S112 (step S112; No).
[0075] When the network is restored, the control unit 100 uses the multifunction printer Connection ID and TLS key information stored in step S104 to reconnect to the multifunction printer 20 via the communication unit 190 (step S112; Yes → step S114). As a result, the control unit 100 requests a reconnection to the multifunction printer 20. The control unit 100 may also display a message on the display unit 140 indicating that the remote connection to the multifunction printer 20 is being resumed.
[0076] Furthermore, the control unit 100 performs a reconnection process (step S116). For example, the control unit 100 receives information from the multifunction device 20 indicating the next operation information or job information to be transmitted, or information for the operation screen to input the next operation, and displays the operation screen based on that information on the display unit 140. In addition, when the reconnection process is completed, the control unit 100 may display a message on the display unit 140 indicating that communication with the multifunction device 20 has resumed or that remote operation has resumed.
[0077] Furthermore, if the control unit 100 receives information in step S116 indicating that the multifunction device 20 is refusing to reconnect, it may display a message on the display unit 140 indicating that it was not possible to reconnect with the multifunction device 20, or return to step S100. Also, if the control unit 100 determines in step S110 that the connection with the multifunction device 20 has not been disconnected, it may skip the processing from steps S112 to S116 (step S110; No).
[0078] Next, the control unit 100 determines whether or not the job has been executed (step S118). For example, the control unit 100 determines that the job has been executed when it receives information from the multifunction device 20 indicating that the job has been completed.
[0079] If a job is executed, the control unit 100 terminates the remote operation (step S118; Yes → step S120). At this time, the control unit 100 may display a message indicating that a job has been executed or the multifunction printer selection screen on the display unit 140. If the control unit 100 determines that no job has been executed, it returns to step S108 (step S118; No → step S108).
[0080] [1.3.3 Processing of Multifunction Printers] Next, the processes performed by the multifunction device 20 will be explained with reference to Figures 8 and 9. The processes shown in Figures 8 and 9 are executed by the control unit 200, which reads the program stored in the storage unit 260.
[0081] First, the process shown in Figure 8 will be explained. When the control unit 200 receives information (packets) for performing a handshake from the terminal device 10 via the communication unit 290, it performs a handshake with the terminal device 10 using the QUIC protocol (step S150). For example, the control unit 200 may receive a terminal device Connection ID from the terminal device 10 or generate a multifunction printer Connection ID and send it to the terminal device 10. The control unit 200 also generates a common key using the information transmitted and received during the handshake, and if the generated common key is the same as the common key generated by the terminal device 10, it confirms the common key as TLS key information.
[0082] Furthermore, when the control unit 200 executes the process in step S150, and the display unit 240 is showing a screen for accepting operations via the operation unit 250, it may also display a message indicating that it is executing the process for starting remote operation.
[0083] Next, the control unit 200 stores the terminal device Connection ID, the multifunction printer Connection ID, and the confirmed TLS key information (step S152). For example, the control unit 200 issues a job ID and stores the job details, including the job ID, the terminal device Connection ID, the multifunction printer Connection ID, and the TLS key information, in the job details storage area 264. Furthermore, the control unit 200 stores the address and port number of the terminal device 10 that performed the handshake in the job details and sets the job status in the job details to "not executed".
[0084] Next, the control unit 200 starts accepting remote operations from the terminal device 10 (step S154). At this time, the control unit 200 may stop accepting operation input via the operation unit 250, or display a screen (lock screen) on the display unit 240 indicating that remote operations are being performed.
[0085] Next, the control unit 200 receives and stores operation information and job information from the terminal device 10 (step S156). For example, when the control unit 200 receives information from the terminal device 10, it decrypts the received information using the TLS key information corresponding to the terminal device 10. At this time, when the control unit 200 receives operation information or job information from the terminal device 10, it stores the operation information or job information received from the terminal device 10 in the job details information corresponding to the terminal device 10.
[0086] Furthermore, when the control unit 200 receives processing data from the terminal device 10, it may store the processing data in the processing data storage area 262 and store the data name of the processing data in the job details information.
[0087] Furthermore, the control unit 200 may transmit information about the operation screen (UI data) for inputting the next operation to the terminal device 10. For example, the control unit 200 encrypts the operation screen information using TLS key information corresponding to the connected terminal device 10. In addition, the control unit 200 transmits a packet to the terminal device 10 containing the terminal device Connection ID corresponding to the connected terminal device 10 and the encrypted operation screen information.
[0088] Next, the control unit 200 determines whether or not the connection with the terminal device 10 has been disconnected (step S158). For example, the control unit 200 monitors the communication unit 290 and detects that the connection with the multifunction printer 20 has been disconnected.
[0089] If the connection with the terminal device 10 is disconnected, the control unit 200 will suspend accepting remote operations from the terminal device 10 (step S158; Yes → step S160).
[0090] Furthermore, the control unit 200 sets a communication timeout period for the disconnected terminal device 10 (step S162). For example, the control unit 200 may store the communication timeout period in the storage unit 260 in association with the job information details where the terminal device Connection ID of the connected terminal device 10 is stored. The communication timeout period may be set in advance, or it may be set by the administrator of the multifunction printer 20 or the like.
[0091] In this case, the control unit 200 may display a screen on the display unit 240 indicating that it is accepting an operation via the operation unit 250, and may also display a message indicating that the remote operation has been interrupted.
[0092] Next, the control unit 200 performs a process to respond to the reconnection from the terminal device 10 (reconnection response process) (step S164). The reconnection response process will be described later. In addition, by performing the reconnection response process, the control unit 200 resumes the connection with the terminal device 10.
[0093] Next, the control unit 200 determines whether or not a job based on the operation information and job information stored in step S156 is executable (step S166). If the job is not executable, the control unit 200 returns to step S156 (step S166; No → step S156).
[0094] On the other hand, if the job is executable, the control unit 200 executes the job based on the job information stored in step S156 (step S166; Yes → step S168). At this time, the control unit 200 may update the job status of the job details corresponding to the job to be executed to information such as "executing" or "execution completed" according to the progress of the job. In addition, when the execution of the job is completed, the control unit 200 may send information to the terminal device 10 indicating that the execution of the job has been completed.
[0095] Next, the control unit 200 terminates the acceptance of remote operations (step S170). For example, the control unit 200 disconnects the connection with the terminal device 10 or displays a screen on the display unit 240 for accepting operations from the operation unit 250.
[0096] Next, the reconnection handling process will be explained with reference to Figure 9. The control unit 200 determines whether or not a reconnection has been made from the terminal device 10 (step S180). If a reconnection is not made from the terminal device 10, the control unit 200 repeatedly executes the process in step S180 (step S180; No).
[0097] When the terminal device 10 reconnects, the control unit 200 identifies the job waiting to reconnect from the Connection ID received from the terminal device 10 and the TLS key information of the terminal device 10 (step S180; Yes → step S182). For example, the control unit 200 reads job details from the job details storage area 264 that contain the same multifunction device Connection ID as the multifunction device Connection ID received from the terminal device 10. Furthermore, the control unit 200 decrypts the information received from the terminal device 10 using the TLS key information contained in the read job details. If the decryption is successful, the control unit 200 identifies the job based on the operation information and job information contained in the read job details as the job waiting to reconnect.
[0098] Next, the control unit 200 determines whether the communication timeout period set for the reconnected terminal device 10 has elapsed (step S184). If the communication timeout period has elapsed, the control unit 200 rejects the reconnection from the terminal device 10 and terminates the process shown in Figure 8 (step S184; No → step S190). In this case, the control unit 200 does not reconnect with the target terminal device 10 and terminates the remote operation with the terminal device 10. The control unit 200 may also send information to the terminal device 10 indicating that the reconnection is rejected. If the communication timeout period has elapsed, the terminal device 10 can establish a new connection by performing a handshake with the multifunction printer 20 and perform a new remote operation.
[0099] On the other hand, if the communication timeout period has not elapsed, the control unit 200 executes a reconnection process (step S184; Yes → step S186). For example, the control unit 200 checks whether it is possible to communicate with the terminal device 10. The control unit 200 also stores (updates) the new IP address and port number received from the terminal device 10 in step S180 in the job details read in step S182. As a result, even if the IP address or port number of the terminal device 10 changes, the control unit 200 can use the changed IP address and port number.
[0100] Furthermore, the control unit 200 may, based on the job details (job information) identified in step S182, send operation information or job information that needs to be sent next to the terminal device 10, or send information for the operation screen to input the next operation.
[0101] Furthermore, when the control unit 200 is performing the reconnection process, it may display a message on the display unit 240 indicating that it has received a reconnection request from the terminal device 10. When the reconnection process is complete and remote operation from the terminal device 10 has resumed, the control unit 200 may display a screen (lock screen) on the display unit 240 indicating that remote operation is in progress.
[0102] [1.4 Example of Operation] Next, with reference to the figures, the screens displayed on the display unit 140 of the terminal device 10 and the display unit 240 of the multifunction printer 20 when the processing in this embodiment is executed will be described.
[0103] Figure 10 shows the screen displayed when communication for remote operation (remote communication) is initiated. Figure 10(a) shows the multifunction printer selection screen W100 displayed on the display unit 140. The multifunction printer selection screen W100 includes an area E100 in which the names of multifunction printers included in the multifunction printer information stored in the terminal device 10 are displayed for selection. The user can initiate a connection to the selected multifunction printer 20 from area E100 by selecting one multifunction printer 20 and then selecting the connect button B100.
[0104] Figure 10(b) shows the display screen W110 displayed on the display unit 240. The display screen W110 is displayed, for example, when a handshake is being performed. The display screen W110 displays a message M110 indicating that communication for remote operation has been initiated.
[0105] Figure 11 shows a screen displayed when remote operation is being performed. Figure 11(a) is an example of the operation screen W120 displayed on the display unit 140. The operation screen W120 displays buttons and other elements for setting jobs to be executed by the multifunction printer 20. For example, as shown in Figure 11(a), a button for selecting a job to be executed by the multifunction printer 20 is displayed. The operation screen W120 may also display buttons or lists for setting job settings (e.g., number of copies, color mode, paper size, destination for sending processing data, etc.) and selecting files (processing data) to send to the multifunction printer 20. Operation information corresponding to operations entered by the user via the operation screen W120, and job information based on the user's operations, are sent to the multifunction printer 20.
[0106] Figure 11(b) shows an example of the lock screen W130 displayed on the display unit 240. The display of the lock screen allows the user to understand that operations via the operation unit 250 are not being accepted. The lock screen W130 may also include an interrupt button B130 for performing operations via the operation unit 250 when remote operation is in progress. If the interrupt button B130 is selected, the multifunction device 20 may interrupt the remote operation and become capable of receiving input via the operation unit 250.
[0107] Figure 12 shows the screen displayed when the connection between the terminal device 10 and the multifunction printer 20 is disconnected and communication (remote communication) is interrupted. Figure 12(a) is an example of the display screen W140 shown on the display unit 140. Display screen W140 includes message M140, which indicates that the connection with the multifunction printer 20 has been disconnected. The user can understand that the connection with the multifunction printer 20 has been disconnected by checking message M140. The user can also instruct the terminal device 10 to resume communication with the multifunction printer 20 by selecting the resume button B140.
[0108] Figure 12(b) shows an example of the display screen W150 shown on the display unit 240. The display screen W150 includes message M150, which indicates that the execution of a job based on remote operation has been interrupted due to an interruption in remote communication. By checking message M150, the user can understand that the remote operation has been interrupted and that it may be possible to resume the remote operation.
[0109] Figure 13 shows the screen displayed when remote communication is resumed. Figure 13(a) is an example of the display screen W160 shown on the display unit 140. The display screen W160 shows message M160 indicating that the connection between the terminal device 10 and the multifunction printer 20 is being resumed.
[0110] Figure 13(b) shows an example of the display screen W170 shown on the display unit 240. The display screen W170 shows a message M170 indicating that the connection between the terminal device 10 and the multifunction printer 20 is being resumed. The message M170 may also include a cancel button B170 for canceling the resumption of the connection between the terminal device 10 and the multifunction printer 20. If the cancel button B170 is selected, the resumption of the connection between the terminal device 10 and the multifunction printer 20 is canceled, and the device may become capable of inputting operations via the operation unit 250.
[0111] Figure 14 shows the screen displayed when remote communication is resumed. Figure 14(a) is an example of the display screen W180 shown on the display unit 140. The display screen W180 shows message M180 indicating that communication between the terminal device 10 and the multifunction printer 20 has resumed. Figure 14(b) is an example of the lock screen W190 shown on the display unit 240. The lock screen W190 is the same screen as the lock screen W130 in Figure 11(b).
[0112] Thus, the terminal device and multifunction printer of this embodiment can resume a session and restart communication using the Connection ID and TLS key information used in the QUIC protocol. In particular, the multifunction printer of this embodiment does not need to send, receive, or store mobile-specific information such as telephone numbers by resuming communication with the terminal device without using such information. Therefore, even if communication is intercepted or the storage unit of the multifunction printer is illegally accessed, mobile-specific information will not be leaked. Furthermore, since the multifunction printer of this embodiment does not associate mobile-specific information with job information, it can avoid the leakage of job information due to impersonation.
[0113] Furthermore, the terminal device and multifunction printer of this embodiment encrypt information before sending and receiving it. Therefore, the risk of leakage of processing data such as print data, and information being sent and received (operation information and job information), can be reduced. In this way, this embodiment does not use mobile-specific information and utilizes a highly secure communication standard, thereby enhancing the security of resuming communication and reducing the risk of information leakage. As a result, the terminal device and multifunction printer of this embodiment can securely resume communication.
[0114] Furthermore, the terminal device and multifunction printer of this embodiment communicate using a communication protocol that can flexibly respond to network outages and IP address changes, and maintain communication information such as Connection ID and TLS key information. As a result, even if a network failure or IP address change occurs on the terminal device side, the terminal device and multifunction printer of this embodiment allow the user to continue operation. In particular, if the connection to the terminal device is lost, the multifunction printer of this embodiment uses the Connection ID that identifies the connection and the key information corresponding to the terminal device to reconnect to the terminal device. Since the terminal device and multifunction printer of this embodiment do not require any special processing to restart the session when reconnecting after a connection has been lost, reconnection and resumption of communication can be performed efficiently.
[0115] [2. Second Embodiment] Next, a second embodiment will be described. In addition to the process described in the first embodiment, the second embodiment is an embodiment in which the operation of the terminal device is switched according to the state of the multifunction device when communication between the terminal device and the multifunction device is resumed. In this embodiment, Figure 7 in the first embodiment is replaced with Figure 15, and Figure 9 is replaced with Figure 16. The same reference numerals are used for the same processes, and their descriptions are omitted.
[0116] If a network failure occurs on the terminal device 10 side, it is expected that the communication between the terminal device 10 and the multifunction printer 20 will be interrupted for a long time due to the time it takes for the network to recover. During such a long interruption, the state of the multifunction printer 20 may change. Therefore, in this embodiment, the terminal device 10 performs an action according to the state of the multifunction printer 20 when communication with the multifunction printer 20 is resumed.
[0117] [2.1 Overview of Terminal Device Operation] In this embodiment, when communication between the terminal device 10 and the multifunction printer 20 is interrupted, if the state of the multifunction printer 20 becomes any of the following states (1) to (6), the terminal device 10 switches its operation according to the state of the multifunction printer 20.
[0118] (1) When the operating state of the multifunction printer 20 switches to the energy-saving state The energy-saving state is one of the operating states of the multifunction printer 20, in which the power supply is more restricted than in the normal operating state. The multifunction printer 20 allows for individual settings of the time (energy-saving setting time) for transitioning to the energy-saving state as a setting for remote operation. The multifunction printer 20 transitions to the energy-saving state if communication with the terminal device 10 is disconnected during remote operation and communication with the terminal device 10 is not resumed after the energy-saving setting time has elapsed. The multifunction printer 20 may also allow for selection, through settings, whether or not to retain job details, operation information, and job information.
[0119] Furthermore, when communication from the terminal device 10 is resumed, the multifunction printer 20 returns from the energy-saving state to the normal state (energy-saving recovery). The normal state is the operating state in which power is supplied to each functional part of the multifunction printer 20.
[0120] If the terminal device 10 receives a notification from the multifunction printer 20 indicating that it is performing an energy-saving recovery, it may display a message on the display unit 140 indicating that the multifunction printer 20 is performing an energy-saving recovery. The terminal device 10 may also display a message on the display unit 140 indicating that it will take time to recover from the energy-saving recovery and that it will take time to update the operation screen for inputting the next operation from the terminal device 10. Alternatively, by pre-storing UI data for operating the multifunction printer 20 in the storage unit 160, the terminal device 10 may display an operation screen based on the said UI data and accept the next operation.
[0121] (2) If the power of the multifunction printer 20 is turned OFF When communication with the terminal device 10 is interrupted, the user may directly turn off the power to the multifunction printer 20. In this case, since the terminal device 10 cannot resume communication with the multifunction printer 20, the terminal device 10 displays a message to the user prompting them to check the status of the multifunction printer 20. Alternatively, the terminal device 10 may store a resume screen (for example, an operation screen for entering the next operation) in the storage unit 160 or the like to allow the user to resume operation when the power to the multifunction printer 20 is turned on, and display this resume screen.
[0122] Furthermore, if the terminal device 10 is unable to continue a print / transmit job after the power of the multifunction printer 20 has been turned on, it may display a message on the display unit 140 indicating that the job cannot be continued.
[0123] (3) When a communication timeout occurs from the recipient When the multifunction printer 20 sends image data, etc., to a destination specified by the user, such as with the Scan To Email function, it does not receive all the job information from the terminal device 10 at once, but rather receives the job information from the terminal device 10 page by page and can execute them sequentially.
[0124] If communication with the terminal device 10 is interrupted while the multifunction printer 20 is executing a job based on page-by-page job information, a timeout may occur in communication with the destination. In this case, the multifunction printer 20 stores the fact that a timeout occurred, associated with the job details of the terminal device 10 from which communication was interrupted. Furthermore, if a timeout occurs in communication with the destination, the terminal device 10 displays a message on the display unit 140 indicating that a timeout has occurred at the destination of the job information.
[0125] (4) If the job is canceled on the multifunction printer 20 When communication with the terminal device 10 is interrupted, if it is possible to cancel interrupted operations or jobs, the multifunction device 20 may cancel jobs related to remote operations with the terminal device 10. In this case, the terminal device 10 displays a message on the display unit 140 indicating that the job has been canceled.
[0126] (5) If a problem occurs with the multifunction printer 20 When communication with the terminal device 10 is interrupted, the multifunction printer 20 may experience problems. In this case, the terminal device 10 displays a message on the display unit 140 indicating that a problem has occurred with the multifunction printer 20.
[0127] (6) If the settings of the multifunction printer 20 are changed When communication with the terminal device 10 is interrupted, the settings and status of the multifunction printer 20 may change. For example, the paper size and orientation in the paper tray, or the contents of the address book (information on the destinations of image data) may change on the multifunction printer 20.
[0128] When communication with the terminal device 10 is resumed, the multifunction printer 20 sends information to the terminal device 10 indicating that the settings of the multifunction printer 20 have been changed. In this case, the terminal device 10 displays a message on the display unit 140 indicating that the settings of the multifunction printer 20 have been changed. The terminal device 10 may also ask the user whether or not to update the changed parts of the job information (changed information) from the previous information.
[0129] [2.2 Processing Flow] [2.2.1 Terminal Devices] Referring to Figure 15, the processing performed by the terminal device 10 in this embodiment will be described. In this embodiment, after reconnecting to the multifunction printer 20 (step S114), the control unit 100 determines whether or not a response was received from the multifunction printer 20 within a predetermined time (step S200). The predetermined time may be predetermined or it may be set by the user.
[0130] If the control unit 100 receives a response from the multifunction printer 20 within a predetermined time, it obtains the status of the multifunction printer 20 (step S200; Yes → step S202). For example, the control unit 100 may obtain the status of the multifunction printer 20 by querying the multifunction printer 20 for its status. Alternatively, the control unit 100 may obtain the status of the multifunction printer 20 based on the response from the multifunction printer 20 by configuring the multifunction printer 20 to send a response that includes information indicating the status of the multifunction printer 20 when it is reconnected from the terminal device 10.
[0131] As described in the processing overview, the following states are obtained for the status of the multifunction printer 20. • Energy-saving measures are being implemented. • A communication timeout occurred from the recipient. • Job cancelled • A problem occurred on the multifunction printer 20 side. • The settings were changed on the multifunction printer 20.
[0132] The control unit 100 displays a message indicating the status of the multifunction printer 20, depending on the status of the multifunction printer 20 (step S204). For example, if the multifunction printer 20 is in an energy-saving recovery state, the control unit 100 displays a message on the display unit 140 indicating that the multifunction printer 20 is in an energy-saving recovery state. In this case, if the multifunction printer 20 is in an energy-saving recovery state, the control unit 100 may also display an operation screen for inputting the next operation. Furthermore, if the status of the multifunction printer 20 is a state where settings have been changed on the multifunction printer 20 side, the control unit 100 may ask the user whether to update the parts that have been changed from past information.
[0133] The control unit 100 displays a message indicating the status of the multifunction device and then performs the reconnection process (step S116). However, if there is no change in the status of the multifunction device 20, the control unit 100 may skip the process in step S204 and perform the reconnection process.
[0134] On the other hand, if the control unit 100 does not receive a response from the multifunction printer 20 within a predetermined time, it displays a message on the display unit 140 prompting the user to check the multifunction printer (step S200; No → step S206). At this time, the control unit 100 may also display a resume screen on the display unit 140.
[0135] Alternatively, the control unit 100 may periodically reconnect to the multifunction printer 20 so that the connection is resumed when the power of the multifunction printer 20 is turned ON (power-on). Here, when the connection with the multifunction printer 20 is resumed, the control unit 100 receives information indicating whether the job can be continued (step S208) and determines whether the job cannot be continued (step S210).
[0136] If the job cannot be continued, the control unit 100 displays a message indicating that the job cannot be continued on the display unit 140 (step S210; Yes → step S212), and terminates the process shown in Figure 15. On the other hand, if the job can be continued, the control unit 100 executes the process in step S116 (step S210; No → step S116).
[0137] [2.2.2 Multifunction device] (Reconnection support process) Referring to Figure 16, the reconnection response process performed by the multifunction printer 20 of this embodiment will be described. The control unit 200 determines whether or not a change has occurred in the state of the multifunction printer 20 (step S280). Changes in the state of the multifunction printer 20 include transitioning to energy-saving mode, a timeout occurring at the destination of job information, a job being canceled, a problem occurring, or a setting being changed.
[0138] When a change occurs in the state of the multifunction printer 20, the control unit 200 stores the changed state of the multifunction printer 20 in correspondence with the information of the terminal device 10 whose communication is interrupted (step S280; Yes → step S282). For example, the control unit 200 may store information indicating the state of the multifunction printer 20 in the job details where the status is "not executed," or it may store information indicating the state of the multifunction printer 20 separately from the job details in correspondence with the said job details.
[0139] Furthermore, if there is no change in the state of the multifunction printer 20, the control unit 200 omits the processing in step S282 (step S280; No).
[0140] Furthermore, before executing the reconnection process, the control unit 200 transmits information indicating the status of the multifunction printer 20 to the terminal device 10 that transmitted information regarding the job waiting for reconnection (step S284). The control unit 200 may transmit the information indicating the status of the multifunction printer 20 in response to an inquiry from the terminal device 10, or it may transmit it as part of the response to the reconnection from the terminal device 10.
[0141] (Power-on processing) When the power is turned ON, the control unit 200 executes the power-on processing shown in Figure 17. First, the control unit 200 identifies jobs that are waiting to be reconnected. For example, the control unit 200 identifies jobs that correspond to the operation information and job information included in the detailed information of jobs with a status of "not executed" as jobs waiting to be reconnected.
[0142] Next, the control unit 200 determines whether the job identified in step S290 can be continued and transmits information indicating whether the job can be continued to the terminal device 10 that transmitted the job information corresponding to the job (step S292).
[0143] As the above-described process is performed by the terminal device 10 and the multifunction printer 20, the terminal device 10 can obtain the status of the multifunction printer 20 after communication with the multifunction printer 20 has resumed, and switch the process according to the status of the multifunction printer 20.
[0144] Thus, when reconnecting to the multifunction printer, the terminal device of this embodiment can display an appropriate message according to the status of the multifunction printer, or prompt the user to input the next operation. As a result, the terminal device of this embodiment can provide the user with highly convenient remote operation.
[0145] [3. Third Embodiment] Next, a third embodiment will be described. The third embodiment is an embodiment that, in addition to the processing described in the first embodiment, addresses the case when a remote operation is interrupted by one user and another user requests remote operation. In this embodiment, Figure 6 is replaced with Figures 18 to 20, Figure 7 with Figure 21, Figure 8 with Figure 22, and Figure 9 with Figure 23. The same reference numerals are used for the same processes, and their descriptions are omitted.
[0146] When communication between the multifunction printer 20 and the terminal device 10 is interrupted, another user (another terminal device 10) may perform remote operations on the multifunction printer 20, which may then execute operations or jobs performed by that other user. In this case, if the interrupted communication is resumed and another user is performing remote operations, the terminal device 10 that resumed the interrupted communication will display a message indicating that another user is performing operations.
[0147] Furthermore, if the interrupted communication resumes and another user is performing remote operation, the multifunction printer 20 may reserve a remote operation from the terminal device 10 that resumed communication. The terminal device 10 may also store UI data for operating the multifunction printer 20 in advance, and when the multifunction printer 20 is being operated by another user, it may display an operation screen based on that UI data and accept the next operation. In addition, when the remote operation by the other user has finished, the multifunction printer 20 may notify the terminal device 10 that remote operation is now possible. When the terminal device 10 receives a notification from the multifunction printer 20 indicating that remote operation is now possible, it resumes remote operation.
[0148] Furthermore, the multifunction printer 20 may be configured to allow or prohibit remote operation or job execution by another user when communication with the terminal device 10 is interrupted. If another user is prohibited from performing another operation or job execution, the multifunction printer 20 may display a message on the display unit 240 to that other user indicating that they are prohibited from performing another operation or job execution.
[0149] When communication with terminal device 10 is interrupted, the setting to allow or prohibit remote operation or job execution by another user is set, for example, by the administrator of the multifunction printer 20, and stored in the storage unit 260.
[0150] [3.1 Overview of the process] Next, an overview of the processing in this embodiment will be described with reference to Figures 18 to 20. It should be assumed that the multifunction printer 20 is connectable to two terminal devices 10 (a first terminal device 10 and a second terminal device 10).
[0151] First, the first terminal device 10 and the multifunction printer 20 execute the processes from S1000 to S1010. As a result, the multifunction printer 20 maintains a state in which it can accept a reconnection request from the first terminal device 10 (a state in which communication is possible).
[0152] Meanwhile, the second terminal device 10 receives a remote operation start request (S3000) and establishes a connection with the multifunction device 20 by performing a QUIC protocol handshake (QUIC Handshake) (S3002).
[0153] The multifunction device 20 stores the Connection ID and TLS key information related to communication with the second terminal device 10 (S3004). Similarly, the second terminal device 10 stores the Connection ID and TLS key information (S3006). The processing from S3000 to S3006 is the same as the processing from S1000 to S1006.
[0154] Next, the multifunction printer 20 determines whether it is configured to allow remote operation or job execution by another user when communication with the terminal device 10 is interrupted (S3008). If it does not allow remote operation or job execution by another user when communication with the terminal device 10 is interrupted, the multifunction printer 20 sends a busy notification to the second terminal device 10 (S3008; No → S3010). A busy notification is a notification indicating that remote operation is not possible because another user is using the multifunction printer 20. The second terminal device 10, having received the busy notification, displays a message on the display unit 140 indicating that another user is using the multifunction printer 20 (S3012).
[0155] On the other hand, if remote operation or job execution by another user is permitted while communication with terminal device 10 is interrupted, the multifunction printer 20 initiates communication with the second terminal device 10 and communicates transmission and reception information (Application Data) using the Connection ID and TLS key information (S3008; Yes → S3014). This enables remote operation of the second terminal device 10 (S3016). The second terminal device 10 terminates the remote operation by performing termination processing on the multifunction printer 20. Termination processing is, for example, the process of sending information (Application Data) indicating that the remote operation has been terminated (S3018). At this time, the second terminal device 10 may disconnect from the multifunction printer 20. This terminates the use of the multifunction printer 20 by the user using the second terminal device 10.
[0156] On the other hand, when remote operation is being performed by the second terminal device 10, if the IP address change of the first terminal device 10 is completed or the network of the first terminal device 10 is restored, the first terminal device 10 requests reconnection from the multifunction printer 20 (S1014). The multifunction printer 20 identifies the job that is waiting to be reconnected from the multifunction printer Connection ID received from the first terminal device 10 and the TLS key information corresponding to the multifunction printer Connection ID (S1016). This allows the multifunction printer 20 to determine that remote operation is being performed again from the first terminal device 10, from which communication was interrupted.
[0157] If another user is using the multifunction printer 20, the multifunction printer 20 sends a busy notification to the first terminal device 10 (S3018; Yes → S3020). The first terminal device 10, having received the busy notification, displays a message on the display unit 140 indicating that another user is using the multifunction printer 20 (S3022). At this time, the multifunction printer 20 sets the user of the first terminal device 10 who reconnected when another user was using the multifunction printer 20 as a waiting user. As a result, the multifunction printer 20 puts the first terminal device 10 into a state of waiting for remote operation.
[0158] On the other hand, if another user is not using the multifunction printer 20, the multifunction printer 20 will perform a reconnection process with the terminal device 10 without issuing a busy notification and will resume communication of transmitted and received information (S3018; No → S1018 → S1020).
[0159] Furthermore, when the remote operation is completed, the multifunction printer 20 determines whether or not there is a waiting user (S3024). If there is a waiting user, the multifunction printer 20 performs a reconnection process to the terminal device 10 used by that waiting user (the first terminal device 10 which is in a remote waiting state) (S3024; Yes → S1018). At this time, the multifunction printer 20 may notify the terminal device 10 that the operation by another user has been completed (operation completion notification). If an operation completion notification is sent from the multifunction printer 20, the terminal device 10 and the multifunction printer 20 may perform a reconnection process.
[0160] As a result, the first terminal device 10 and the multifunction printer 20 resume communication of predetermined information (S1020). In addition, the first terminal device 10 becomes remotely controllable (S1022).
[0161] [3.2 Processing of terminal devices] The processing flow of the terminal device 10 in this embodiment will be explained with reference to Figure 21.
[0162] In this embodiment, after executing the process in step S104, the control unit 100 determines whether or not a busy notification has been sent from the multifunction device 20 (step S300). If a busy notification is sent, the control unit 100 displays a message on the display unit 140 indicating that another user is using the multifunction device 20 (step S300; Yes → step S302), and terminates the process shown in Figure 21. In this case, the control unit 100 may restart the process from step S100. If no busy notification is sent, the control unit 100 starts remote operation (step S300; No → step S106).
[0163] Furthermore, after executing the process in step S114, the control unit 100 determines whether or not a busy notification has been sent from the multifunction device 20 (step S304). If a busy notification is sent, the control unit 100 displays a message on the display unit 140 indicating that another user is using the multifunction device 20 (step S304; Yes → step S306). If no busy notification is sent, the control unit 100 performs a reconnection process (step S304; No → step S116).
[0164] Next, the control unit 100 determines whether it has received notification from the multifunction printer 20 that another user has finished operating the multifunction printer 20 (step S308). If the control unit 100 receives an operation completion notification from the multifunction printer 20 indicating that another user has finished operating the multifunction printer 20, it executes a reconnection process (step S308; Yes → step S116). If the control unit 100 does not receive an operation completion notification, it repeats the process in step S308 until it receives an operation completion notification (step S308; No).
[0165] Through the process described above, the control unit 100 can wait until it receives an operation completion notification if it receives a busy notification when reconnecting to the multifunction printer 20, and then execute the reconnection process when it receives the operation completion notification.
[0166] [3.3 Processing of Multifunction Printers] The processing flow of the multifunction device 20 in this embodiment will be explained with reference to Figures 22 and 23. First, the processing shown in Figure 22 will be explained.
[0167] After executing the process in step S152, the control unit 200 determines whether another user is using the multifunction printer 20 (step S350). If another user is using the multifunction printer 20, it sends a busy notification to the terminal device 10 that performed the handshake (step S350; Yes → step S356).
[0168] Furthermore, the control unit 200 determines whether there is a user whose communication based on remote operation is interrupted, provided that no other user is using the system (step S350; No → step S352). For example, if a remote operation is interrupted, the control unit 200 stores information indicating that the remote operation has been interrupted in the storage unit 260. The control unit 200 determines that there is a user whose operation is interrupted if information indicating that the remote operation has been interrupted is stored in the storage unit 260.
[0169] The control unit 200 determines whether another user is permitted to perform remote operations or execute jobs if there is a user who is currently interrupted (step S352; Yes → step S354). If the control unit 200 is not permitted to perform remote operations or execute jobs by another user, it sends a busy notification to the terminal device 10 that performed the handshake (step S354; No → step S356).
[0170] Furthermore, if there are no users currently suspended, the control unit 200 will start accepting remote operations from the terminal device 10 that performed the handshake (step S352; No → step S154). Also, even if there are users currently suspended, if the control unit 200 is permitted to perform remote operations or execute jobs by another user during the suspension, it will start accepting remote operations from the terminal device 10 that performed the handshake (step S354; Yes → step S154).
[0171] Next, with reference to Figure 23, the reconnection response process performed by the multifunction printer 20 of this embodiment will be described. In the description of Figure 23, the terminal device 10 whose connection was interrupted will be referred to as the first terminal device 10, and another terminal device 10 different from the first terminal device 10 will be referred to as the second terminal device 10.
[0172] First, the control unit 200 determines whether a handshake has been requested from the second terminal device 10 (step S380). If a handshake is requested, the multifunction device 20 performs a handshake with the second terminal device (step S380; Yes → step S382).
[0173] Next, the control unit 200 determines whether another user is permitted to perform remote operations or execute jobs if there is a user who is currently interrupted (step S384). If the control unit 200 is permitted to perform remote operations or execute jobs by another user, it accepts remote operations from the user using the second terminal device (the other user) (step S384; Yes → step S386). On the other hand, if the control unit 200 is not permitted to perform remote operations or execute jobs by another user, it sends a busy notification to the second terminal device (step S384; No → step S388).
[0174] If the control unit 200 determines in step S380 that the second terminal device 10 has not requested a handshake, it will skip the processing from steps S382 to S388 (step S380; No).
[0175] Next, the control unit 200 determines whether or not the first terminal device 10 has reconnected (step S390). If the first terminal device 10 has not reconnected, the control unit 200 returns to step S380 (step S390; No → step S380). On the other hand, if the first terminal device 10 has reconnected, the control unit 200 identifies the job waiting to reconnect from the Connection ID received from the first terminal device 10 and the TLS key information of the first terminal device 10 (step S390; Yes → step S182).
[0176] Next, the control unit 200 determines whether the communication timeout period set for the first terminal device 10 that has reconnected has elapsed (step S184). If the timeout period has elapsed, the control unit 200 rejects the reconnection from the first terminal device 10 (step S184; No → step S190). On the other hand, if the timeout period has not elapsed, the control unit 200 determines whether another user is using the multifunction printer 20 (step S184; Yes → step S392).
[0177] The control unit 200 sends a busy notification to the first terminal device 10 if another user is using the multifunction printer 20 (step S392; Yes → step S394). The control unit 200 also determines whether the other user has finished using the multifunction printer 20 (step S396). If the other user has not finished using the multifunction printer 20, the control unit 200 repeatedly executes the process in step S396 (step S396; No). On the other hand, if the other user has finished using the multifunction printer 20, the control unit 200 sends an operation completion notification to the first terminal device 10 (step S396; Yes → step S398).
[0178] Furthermore, if the control unit 200 determines in step S392 that no other user is using the multifunction printer 20, it omits the processes from steps S394 to S398 described above and executes the reconnection process in step S186 (step S392; No → step S186). In this case, the control unit 200 does not send a busy notification to the first terminal device 10. As a result, if the first terminal device 10 reconnects to the multifunction printer 20, the reconnection process is executed between the first terminal device 10 and the multifunction printer 20.
[0179] Through the process described above, when the multifunction printer 20 is remotely operated via the first terminal device 10 and the second terminal device 10, it can initiate remote operation or issue busy notifications based on the communication status and settings with the terminal device 10.
[0180] As described above, the terminal device and multifunction printer in this embodiment are capable of performing remote operations appropriately when remote operation is initiated by another user in the event of a communication interruption.
[0181] [4. Variant] The present invention is not limited to the embodiments described above, and various modifications are possible. That is, embodiments obtained by combining technical means that are appropriately modified without departing from the spirit of the present invention are also included in the technical scope of the present invention.
[0182] Furthermore, although the embodiments described above are explained separately for the sake of explanation, they can, of course, be combined and implemented to the extent that is technically possible. For example, the second and third embodiments may be combined. In this case, the terminal device can perform processing according to the status of the multifunction printer when communication with the multifunction printer is resumed. In addition, the terminal device and the multifunction printer can appropriately handle cases where they are remotely operated by multiple users.
[0183] Furthermore, in the embodiments, the programs that run in each device are programs that control the CPU and the like (programs that make the computer function) in order to realize the functions of the embodiments described above. The information handled by these devices is temporarily stored in a temporary storage device (for example, RAM) during processing, and then stored in storage devices such as various ROMs (Read Only Memory) and HDDs, and read, modified, and written by the CPU as needed.
[0184] Here, the recording medium for storing the program may be any of the following: semiconductor media (e.g., ROM or non-volatile memory card), optical recording medium / magneto-optical recording medium (e.g., DVD (Digital Versatile Disc), MO (Magneto Optical Disc), MD (Mini Disc), CD (Compact Disc), BD (Blu-ray® Disc), etc.), magnetic recording medium (e.g., magnetic tape, flexible disk, etc.). Furthermore, in addition to realizing the functions of the above-described embodiment by executing the loaded program, the functions of the present invention may also be realized by processing in cooperation with the operating system or other application programs based on the instructions of the program.
[0185] Furthermore, when distributing the program to the market, it can be stored on a portable recording medium and distributed, or transferred to a server computer connected via a network such as the Internet. In this case, the storage device of the server computer is, of course, also included in the present invention. [Explanation of Symbols]
[0186] 1 System 10 Terminal devices 100 Control Unit 140 Display section 150 Operation section 160 Storage section 162 Operation Apps 164 Multifunction device information storage area 190 Communications Department 20 Multifunction device 200 Control Unit 202 Image Processing Unit 220 Image Input Section 230 Image forming unit 240 Display section 250 Operation section 260 Storage section 262 Processing data storage area 264 Job Details Storage Area 290 Communications Department
Claims
1. It comprises a control unit, a storage unit, and a communication unit. The control unit, The connection with the terminal device is established via the aforementioned communication unit using QUIC (Quick UDP Internet Connections), The storage unit stores identification information for identifying the connection and key information used to encrypt the transmission and reception information transmitted and received with the terminal device. Communication between the terminal device and the transmitted / received information is performed using HTTP (Hypertext Transfer Protocol) / 3. An image forming apparatus characterized in that, if the connection with the terminal device is disconnected, it establishes a connection with the terminal device using the identification information and resumes communication of the transmitted and received information with the terminal device.
2. The image forming apparatus according to claim 1, characterized in that the key information is information of a common key used for communication using the TLS (Transport Layer Security) protocol.
3. The control unit, The identification information, key information, and transmission / reception information received from the terminal device are stored in association with each other. The image forming apparatus according to claim 1 or 2, characterized in that when communication with the terminal device is resumed, communication of transmitted and received information associated with the identification information is resumed.
4. The control unit, If the connection to the terminal device is disconnected, set a time to accept reconnection from the terminal device. The image forming apparatus according to claim 1, characterized in that, if the terminal device attempts to reconnect after a certain period of time has elapsed, the apparatus refuses to resume communication of transmitted and received information with the terminal device.
5. The communication unit communicates with a plurality of terminal devices, including the terminal device. The control unit, If the connection to the first terminal device is disconnected after the connection to the first terminal device has been established, a connection to the second terminal device is then established. The second terminal device communicates with the other terminal device regarding the transmission and reception information. Subsequently, a reconnection with the first terminal device is established, and communication of transmission and reception information is performed with the first terminal device. The image forming apparatus according to any one of claims 1 to 4.
6. If the connection to the first terminal device is disconnected after the connection to the first terminal device has been established, The communication of the aforementioned transmission and reception information is performed after the connection with the second terminal device is established. The image forming apparatus according to claim 5, characterized in that the control unit notifies the first terminal device of the user's usage status of the image forming apparatus when the first terminal device requests the establishment of a reconnection.
7. It comprises a control unit, a storage unit, and a communication unit. The control unit, The connection with the image forming apparatus is established via the aforementioned communication unit using QUIC (Quick UDP Internet Connections), The storage unit stores identification information for identifying the connection and key information used for encrypting the transmitted and received information transmitted and received between the image forming apparatus and the storage unit. Communication of transmitted and received information with the aforementioned image forming apparatus is performed using HTTP (Hypertext Transfer Protocol) / 3. If the connection to the image forming apparatus is disconnected, the system will use the identification information to reconnect to the image forming apparatus and resume communication of transmitted and received information with the image forming apparatus. A terminal device characterized by the following features.
8. The terminal device according to claim 7, characterized in that the control unit controls the display of a message corresponding to the status of the image forming apparatus when resuming communication of transmitted and received information with the image forming apparatus.
9. A method for controlling an image forming apparatus, Steps to establish a connection with the terminal device using QUIC (Quick UDP Internet Connections), A step of storing identification information for identifying a connection and key information used for encrypting transmitted and received information between the terminal device and the terminal device, The steps include: communicating information to and from the terminal device using HTTP (Hypertext Transfer Protocol) / 3; If the connection to the terminal device is disconnected, the steps include: reconnecting to the terminal device using the identification information and resuming communication of transmission and reception information with the terminal device; A control method for an image forming apparatus, characterized by including the following:
10. A method for controlling a terminal device, The steps include establishing a connection with the image forming apparatus using QUIC (Quick UDP Internet Connections), A step of storing identification information for identifying a connection and key information used for encrypting transmitted and received information between the image forming apparatus and the device, The communication of information to and from the image forming apparatus is performed using HTTP (Hypertext Transfer Protocol) / 3, and The steps include: when the connection to the image forming apparatus is disconnected, reconnecting to the image forming apparatus using identification information and resuming communication of transmitted and received information with the image forming apparatus; A method for controlling a terminal device, characterized by including the following:
Citation Information
Patent Citations
Image processing device, job execution method in image processing device, and job execution program
JP2010003175A
