Image processing apparatus, and computer program for image processing apparatus

The image processing apparatus addresses server processing load issues in cloud print systems by implementing state transition units and event management, enhancing efficiency and reducing unnecessary server interactions.

JP2024161242AActive Publication Date: 2024-11-15BROTHER KOGYO KK
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2024153140
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-09-05
Publication Date
2024-11-15
Estimated Expiration
2040-12-25

AI Technical Summary

Technical Problem

Existing cloud print systems place a significant processing load on servers when transitioning between enabled and disabled states for receiving print jobs, leading to inefficiencies.

Method used

An image processing apparatus with state transition units and event registration/deletion instructions to manage service states and reduce server processing load by minimizing unnecessary server interactions.

Benefits of technology

The solution effectively reduces server processing load by optimizing state transitions and event management, ensuring efficient communication and resource utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024161242000001_ABST
    Figure 2024161242000001_ABST
Patent Text Reader

Abstract

To disclose a technique to reduce a processing load on a server that can transmit a job to an image processing apparatus.SOLUTION: An image processing apparatus may comprise: a second state transition unit that, in a situation where a service state is a valid state, when an invalidation instruction to cause the service state to transition to an invalid state is acquired, causes the service state to transition from the valid state to the invalid state; and a first deletion instruction transmission unit that, in a situation where the service state is the valid state, when the invalidation instruction is acquired, transmits a first event deletion instruction to the server. The first event deletion instruction is an instruction to delete reception of a job transmission request made by the server from an event to be notified to the image processing apparatus.SELECTED DRAWING: Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The technology disclosed in this specification relates to an image processing apparatus that receives a job from a server. [Background technology]

[0002] Patent Literature 1 discloses a cloud print system including a printer and a server. When a print job is added to the server, the printer receives the print job from the server and executes printing. [Prior art documents] [Patent documents]

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

[0004] This specification discloses a technique for reducing the processing load of a server capable of transmitting a job to an image processing apparatus. [Means for solving the problem]

[0005] The image processing apparatus disclosed in this specification includes an image processing engine, and a first state transition unit that transitions a service state for receiving a job providing service from a server from an invalid state when the service state is invalid and an enable instruction for transitioning the service state to an valid state is acquired, the first state transition unit transitioning the service state from the invalid state to the valid state, the invalid state being a state in which a job, which is an instruction to execute image processing, cannot be received from the server, and the valid state being a state in which the job can be received from the server, and a first registration instruction transmission unit that transmits a first event registration instruction to the server when the enable instruction is acquired when the service state is invalid, the first event registration instruction being an instruction for registering acceptance of a job transmission request by the server as an event to be notified to the image processing apparatus, and the job transmission request being transmitted to the server. the first registration instruction sending unit, which is a request to send a job to the image processing device via the server; an engine control unit, which causes the image processing engine to execute image processing according to the job when the job is received from the server when the service state is the valid state; a second state transition unit, which transitions the service state from the valid state to the invalid state when an invalidation instruction for transitioning the service state to the invalid state is obtained when the service state is the valid state; and a first deletion instruction sending unit, which transmits a first event deletion instruction to the server when the invalidation instruction is obtained when the service state is the valid state, the first event deletion instruction being an instruction to delete the acceptance of the job transmission request by the server from events to be notified to the image processing device.

[0006] According to the above configuration, when the image processing device acquires the invalidation instruction, the image processing device transmits the first event deletion instruction to the server. As a result, the server does not need to execute the process in response to the acceptance of the job transmission request. Therefore, the processing load of the server can be reduced.

[0007] A computer program for the image processing device, a computer-readable recording medium storing the computer program, and a method executed by the image processing device are also novel and useful. Also, a system including the image processing device and a server is novel and useful. [Brief description of the drawings]

[0008] [Figure 1] 1 shows the configuration of a communication system. [Diagram 2] FIG. 13 shows a sequence diagram of a registration process. [Diagram 3] 1 shows a sequence diagram of a first embodiment. [Figure 4] The sequence diagram continues from Figure 3. [Diagram 5] 13 shows a sequence diagram of the second embodiment. [Figure 6] 13 shows a sequence diagram of the third embodiment. [Figure 7] 13 shows a sequence diagram of the fourth embodiment. [Figure 8] A sequence diagram of the fifth embodiment is shown. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] (First Example) (Communication system configuration; Figure 1) 1, the communication system 2 includes a printer 10, a terminal 50, and a print intermediary server 100. The devices 10, 50, and 100 are connected to the Internet 6 and can communicate with each other via the Internet 6.

[0010] (Printer 10 Configuration) The printer 10 is a peripheral device (for example, a peripheral device of the terminal 50) capable of executing a printing function. In a modified example, the printer 10 may be a multi-function device capable of executing a scanning function, a fax function, etc. The printer 10 is assigned a printer ID "P1" for identifying the printer 10. The printer 10 includes an operation unit 12, a display unit 14, a communication interface 16, a print engine 18, and a control unit 30. The units 12 to 30 are connected to a bus line (reference numerals omitted). In the following, the interface is referred to as "I / F".

[0011] The operation unit 12 has a plurality of keys. A user can input various instructions to the printer 10 by operating the operation unit 12. The display unit 14 is a display for displaying various information. The display unit 14 also functions as a touch panel (i.e., an operation unit) that accepts instructions from the user. The communication I / F 16 is connected to the Internet 6. The print engine 18 has a printing mechanism such as an inkjet type or a laser type.

[0012] The control unit 30 includes a CPU 32 and a memory 34. The CPU 32 executes various processes in accordance with a program 36 stored in the memory 34. The memory 34 is composed of a volatile memory, a non-volatile memory, etc. The memory 34 further stores a service state for receiving a job providing service (in other words, a cloud printing service) from the server 100 in accordance with IPP (abbreviation of Internet Printing Protocol).

[0013] The service status indicates either "enabled", which indicates that the printer 10 can receive jobs from the server 100, or "disabled", which indicates that the printer 10 cannot receive jobs from the server 100. In the following, a state in which the service status in the memory 34 indicates "enabled" and a state in which the service status in the memory 34 indicates "disabled" may be expressed as "the service status of the printer 10 is enabled" and "the service status of the printer 10 is disabled", respectively.

[0014] (Configuration of terminal 50) The terminal 50 is, for example, a portable terminal device such as a mobile phone, a smartphone, a PDA, a notebook PC, a tablet PC, etc. In a modified example, the terminal 50 may be a stationary terminal device such as a desktop PC.

[0015] (Configuration of the print intermediary server 100) In the following, the print intermediary server 100 will be abbreviated to "server 100". The server 100 is a server that provides a cloud printing service. The server 100 is a server that is installed on the Internet 6 by a business entity (e.g., a business entity that provides a cloud printing service) different from the vendor of the printer 10. In a modified example, the server 100 may be installed by the vendor of the printer 10. When the server 100 receives image data from the terminal 50, for example, it generates a job and transmits the job to the printer 10. The job includes print data that is generated by converting the image data into a data format that can be interpreted by the printer 10.

[0016] The server 100 includes a communication I / F 116 and a control unit 130. The units 116 to 130 are connected to a bus (reference numerals omitted). The communication I / F 116 is connected to the Internet 6.

[0017] The control unit 130 includes a CPU 132 and a memory 134. The CPU 132 executes various processes in accordance with a program 136 stored in the memory 134. The memory 134 is composed of a volatile memory, a non-volatile memory, etc. The memory 134 further stores a printer table 138.

[0018] The printer table 138 is a table that stores a printer ID, an access token, accepting-jobs, and Subscriptions in association with each other. The access token is information used by the server 100 to authenticate the printer when a request conforming to IPP is communicated between the printer and the server 100. The access token is also used to establish a constant connection between the printer and the server 100. In this embodiment, the printer 10 uses a persistent connection conforming to HTTP (abbreviation of Hypertext Transfer Protocol) to realize a behavior similar to a constant connection. In a modified example, the constant connection may be a connection conforming to XMPP (abbreviation of eXtensible Messaging and Presence Protocol). The accepting-jobs is information indicating a printer attribute conforming to IPP, and specifically, is information indicating whether the server 100 accepts a print request. The accepting-jobs indicates either yes indicating that a print request is accepted or no indicating that a print request is not accepted. Here, "accepting a print request" means that the server 100 generates a job in response to receiving a print request. "Not accepting a print request" means that the server 100 does not generate a job even if it receives a print request. Subscriptions is information that indicates events that the server 100 should monitor and notify.

[0019] (Registration process; Figure 2) With reference to FIG. 2, a process for registering information about the printer 10 in the server 100 in order to receive a cloud printing service from the server 100 will be described. Note that, for ease of understanding, the operations executed by the CPU of each device (e.g., CPU 32, etc.) will be described below with reference to each device (e.g., printer 10) rather than the CPU. Also, all communications executed by each device 10, 100 are executed via the communication I / F 16, 116. For this reason, the phrase "via communication I / F 16 (or 116)" will be omitted below.

[0020] In response to receiving an operation from the user, the terminal 50 accesses a web server in the printer 10. Then, in response to receiving a further operation for receiving a cloud printing service from the user, the terminal 50 transmits a registration instruction to the printer 10 at T10.

[0021] When the printer 10 receives a registration instruction from the terminal 50 at T10, the printer 10 transmits a registration request including the printer ID "P1" to the server 100 at T12.

[0022] When the server 100 receives a registration request from the printer 10 in T12, the server 100 generates a PIN code "C" in T14. In a modified example, the server 100 may generate a password (i.e., a character string) in T14. The server 100 then associates the printer ID "P1" included in the registration request with the generated PIN code "C" and stores them in the memory 134. Next, the server 100 transmits the PIN code "C" and a login URL (short for Uniform Resource Locator) to the printer 10 in T20. The login URL is information indicating the location of authentication screen data (described later) in the server 100.

[0023] When the printer 10 receives the PIN code "C" and the URL from the server 100 in T20, it transmits them to the terminal 50 in T22.

[0024] When the terminal 50 receives the PIN code "C" and the URL from the printer 10 in T22, it displays them in T30. Next, when the terminal 50 accepts an operation to select the URL from the user in T32, it transmits an authentication request including the URL to the server 100 in T40.

[0025] When server 100 receives an authentication request from terminal 50 in T40, server 100 transmits, in T42, authentication screen data identified by the URL included in the authentication request to terminal 50. The authentication screen data is data representing an authentication screen for inputting a PIN code.

[0026] When the terminal 50 receives the authentication screen data from the server 100 in T42, it displays the authentication screen in T44. Next, the terminal 50 accepts input of the PIN code "C" displayed in T30 from the user in T46. In this case, the terminal 50 transmits the input PIN code "C" to the server 100 in T50.

[0027] When the server 100 receives the PIN code "C" from the terminal 50 in T50, the server 100 executes authentication of the received PIN code "C" in T52. Specifically, the server 100 judges whether or not the received PIN code "C" has been stored. If the server 100 judges that the received PIN code "C" has been stored, that is, if the authentication is successful, the server 100 generates an access token AT1, which is a unique character string, in T54. Then, the server 100 stores the generated access token AT1 in the printer table 138 in association with the printer ID "P1" stored in T14 in T56. Thereafter, the server 100 transmits an authentication notification including the generated access token AT1 to the printer 10 in T60.

[0028] When the printer 10 receives the authentication notification from the server 100 in T60, the printer 10 stores the access token AT1 included in the authentication notification in the memory 34 in T62.

[0029] (Continuation of Figure 2; Figure 3) FIG. 3 shows a continuation of the case shown in FIG. 2, specifically, a case in which the service state of the printer 10 is shifted from the disabled state to the enabled state.

[0030] In response to receiving an operation from the user, the terminal 50 accesses a web server in the printer 10. Then, in response to receiving a setting change operation from the user in T100, the terminal 50 transmits a setting change screen request to the printer 10 in T102.

[0031] When the printer 10 receives the setting change screen request from the terminal 50 in T102, it transmits to the terminal 50 setting change screen data representing the setting change screen SC1.

[0032] When the terminal 50 receives the setting change screen data from the printer 10 in T104, it displays the setting change screen SC1 in T106. The setting change screen SC1 is a screen for changing the service status of the printer, and includes the printer ID "P1", a check box for setting the service status to valid, a check box for setting the service status to invalid, and an OK button. At the moment, the service status of the printer 10 is invalid, so a check is placed in the invalid check box on the setting change screen SC1.

[0033] In T110, the terminal 50 accepts the selection of the OK button after accepting an operation to check the valid check box in the setting change screen SC1 from the user. In this case, the terminal 50 transmits an activation instruction to the printer 10 in T112.

[0034] When the printer 10 receives an activation instruction from the terminal 50 in T112, the printer 10 transitions the service state from disabled to enabled in T114. Specifically, the printer 10 changes the service state in the memory 34 from disabled to enabled. Then, the printer 10 transmits completion screen data representing the completion screen SC2 to the terminal 50 in T116.

[0035] When the terminal 50 receives the completion screen data from the printer 10 in T116, the terminal 50 displays the completion screen SC2 in T118. The completion screen SC2 includes a message indicating that the service status of the printer 10 has been changed. Therefore, the user can confirm that the change in the service status of the printer 10 has been completed by looking at the completion screen SC2.

[0036] When the printer 10 transitions to the valid state in T114, in T120, it establishes a constant connection with the server 100 using the stored access token AT1 (see T62 in FIG. 2). By using the constant connection, the server 100 can transmit a signal to the printer 10 across the firewall of the LAN to which the printer 10 belongs, even if it does not receive a request from the printer 10. In other words, the constant connection is a connection that allows server push type communication to be performed. The constant connection is maintained until the service state of the printer 10 transitions to the invalid state.

[0037] Next, in T122 and T124, the printer 10 sends various commands including the printer ID "P1" to the server 100. The command in T122 is a command for registering "yes" as accepting-jobs in the server 100. This allows the server 100 to execute the acceptance of the print request. The command in T124 is Creative-Printer-Subscriptions (hereinafter referred to as "CPS"). CPS is a command for registering a new event as Subscriptions in the server 100.

[0038] The CPS of T124 is a command for registering job-fetchable in the server 100. job-fetchable is an event for accepting a print request. In other words, the CPS of T124 is an instruction for causing the server 100 to monitor the acceptance of a print request and notify the printer 10 of that fact (i.e., send a job notification, which will be described later). This makes it possible to cause the server 100 to notify the acceptance of a print request.

[0039] When the server 100 receives various commands from the printer 10 in T122 and T124, the server 100 updates the printer table 138 in T126. Specifically, the server 100 stores "yes" as "accepting-jobs" in association with the printer ID "P1" included in the command in T122. The server 100 further stores "job-fetchable" as "Subscriptions" in association with the printer ID "P1" included in the CPS in T124.

[0040] Thereafter, in response to receiving instructions from the user including a designation of the printer to execute printing (printer 10 in this case) and a designation of the image to be printed, terminal 50 transmits a print request to server 100 at T130. The print request includes printer ID "P1" that identifies printer 10 designated by the user, and image data representing the image to be printed.

[0041] When the server 100 receives a print request from the terminal 50 in T130, it first identifies the printer ID "P1" included in the request from the printer table 138. Then, the printer 10 judges whether accepting-jobs associated with the printer ID "P1" in the printer table 138 indicates yes or no. In this case, since accepting-jobs indicates yes (see T122, T126), the server 100 accepts the print request. That is, the server 100 generates a job identified by the job ID "Job1" in T132. Specifically, the server 100 first converts the image data already received from the terminal 50 to generate print data having a data format that the printer 10 can interpret. Then, the server 100 stores the printer ID "P1", the job ID "Job1", and the print data in the memory 134 in association with each other.

[0042] Next, the server 100 determines whether or not job-fetchable is stored as a Subscription associated with the printer ID "P1" in the printer table 138. In this case, since job-fetchable is stored (see T124, T126), the server 100 notifies the printer 10 that a print request acceptance event has occurred. That is, in T134, the server 100 uses a constant connection to send a job notification to the printer 10 indicating that a job has been generated. The job notification includes the job ID "Job1" of the job generated in T132.

[0043] When the printer 10 receives the job notification from the server 100 in T134, the printer 10 transmits a job request including the job ID "Job1" to the server 100 in T136.

[0044] When the server 100 receives a job request from the printer 10 in T136, the server 100 identifies the print data stored in association with the job ID “Job1” included in the job request. Then, in T138, the server 100 transmits a job including the print data to the printer 10.

[0045] When the printer 10 receives a job including print data from the server 100 in T138, the printer 10 supplies the print data to the print engine 18 in T140. As a result, printing of an image represented by the print data is executed by the print engine 18. In this way, the printer 10 can execute printing of an image by using a cloud print service.

[0046] (Continuation of Figure 3; Figure 4) Figure 4 is a continuation of the case in Figure 3, and specifically, a case in which the service state of the printer 10 is transitioned from an enabled state to an disabled state. The processes of T200 to T206 in Figure 4 are similar to the processes of T100 to T106 in Figure 3. Although not shown, since the service state of the printer 10 is enabled (see T114 in Figure 3), a check mark is placed in the enabled check box on the setting change screen SC1 displayed in T206.

[0047] In T210, the terminal 50 accepts the selection of the OK button after accepting an operation to check the invalid check box in the setting change screen SC1 from the user. In this case, the terminal 50 transmits an invalidation instruction to the printer 10 in T212.

[0048] When the printer 10 receives a disable instruction from the terminal 50 in T212, the printer 10 transitions the service state from the enabled state to the disabled state in T214. Specifically, the printer 10 changes the service state in the memory 34 from enabled to disabled. The processes of T216 and T218 are similar to the processes of T116 and T118 in FIG. 3. Furthermore, when the printer 10 transitions to the disabled state in T214, the printer 10 disconnects the constant connection with the server 100 in T220 (see T120 in FIG. 3). This eliminates the need to perform various communications for maintaining a constant connection between the printer 10 and the server 100. As a result, the communication load between the printer 10 and the server 100 is reduced.

[0049] Next, in T222, the printer 10 sends a command including the printer ID "P1" to the server 100. The command is Cancel-Subscriptions (hereinafter referred to as "CS"). CS is a command for deleting an event from Subscriptions. CS in T222 is a command for deleting a job-fetchable (see T124 in FIG. 3) from the server 100.

[0050] When the server 100 receives the CS from the printer 10 in T222, the server 100 updates the printer table 138 in T224. Specifically, the server 100 deletes job-fetchable from the Subscriptions associated with the printer ID "P1" included in the CS of T222. As a result, the server 100 stops monitoring the acceptance of print requests and notifying the printer 10 of the acceptance.

[0051] The processes of T230 and T232 are similar to the processes of T140 and T142 in Fig. 3, except that the job ID of the job to be generated is "Job2". At this point, the server 100 does not store job-fetchable, so it does not send a job notification to the printer 10.

[0052] According to the above configuration, when the printer 10 receives an invalidation instruction from the terminal 50 (T212 in FIG. 4), the printer 10 transmits to the server 100 a CS for deleting the job-fetchable from the server 100. As a result, the server 100 does not need to execute processing in response to the acceptance of a print request. Specifically, the server 100 does not need to execute processing for monitoring that a new job that the printer 10 should print has been generated. This reduces the processing load on the server 100.

[0053] (Correspondence) The printer 10 and the print intermediary server 100 are examples of an "image processing device" and a "server", respectively. The print engine 18 is an example of an "image processing engine". The CPS sent at T124 in FIG. 3 and the CS sent at T222 in FIG. 4 are examples of a "first event registration instruction" and a "first event deletion instruction", respectively. The print request sent at T130 in FIG. 3 (and the print request sent at T230 in FIG. 4) is an example of a "job transmission request". The printing performed at T140 in FIG. 3 is an example of "image processing".

[0054] The processes of T114, T124, and T140 in Fig. 3 are examples of processes executed by a "first state transition unit," a "first registration instruction transmission unit," and an "engine control unit," respectively. The processes of T214 and T222 in Fig. 4 are examples of processes executed by a "second state transition unit," and a "first deletion instruction transmission unit," respectively.

[0055] (Second embodiment; Figure 5) Next, a second embodiment will be described with reference to Fig. 5. The second embodiment differs from the first embodiment in that job-state-changed is further used as Subscriptions. Fig. 5 shows a case following Fig. 2.

[0056] In FIG. 5, first, the same processes as T100 to T122 in FIG. 3 are executed. As a result, in T324, the printer 10 transmits a CPS including the printer ID "P1" to the server 100. The CPS in T324 is a command for registering job-fetchable and job-state-changed in the server 100. In a modified example, the printer 10 may transmit a CPS for registering job-fetchable in the server 100 and a CPS for registering job-state-changed in the server 100 separately to the server 100. The job-state-changed is an event of a change in the status of a job. That is, the CPS in T324 is an instruction for the server 100 to monitor the acceptance of a print request and notify the printer 10 of the acceptance (i.e., to send a job notification), and is also an instruction for the server 100 to monitor the change in the status of a job and notify the printer 10 of the acceptance (i.e., to send a cancellation notification, which will be described later). This allows the server 100 to notify the acceptance of a print request, and also to notify the server 100 of a change in the status of the job. In the following, the cancellation of a job will be described as a change in the status of the job, but in a modified example, the change in the status of the job may be, for example, putting printing on hold according to the job. The processing of T326 is similar to the processing of T126 in FIG. 3, except that job-state-changed is further stored as Subscriptions.

[0057] The processing from T330 to T338 is the same as the processing from T130 to T138 in Fig. 3. Thereafter, before printing according to the job of T338 is executed by the printer 10, the terminal 50 accepts a print cancellation instruction including designation of the job ID "Job1" from the user. In this case, the terminal 50 transmits a print cancellation request to the server 100 in T340. The print cancellation request includes the job ID "Job1" designated by the user.

[0058] When the server 100 receives a print cancellation request from the terminal 50 in T340, it identifies the printer ID "P1" associated with the job ID "Job1". Then, it determines whether or not job-state-changed is stored as a Subscription associated with the printer ID "P1" in the printer table 138. In this case, since job-state-changed is stored (see T324, T326), the server 100 notifies the printer 10 that a job status change event has occurred. That is, in T342, the server 100 uses a constant connection (see T120 in FIG. 3) to send a cancellation notification to the printer 10 indicating that the job has been canceled. The cancellation notification includes the job ID "Job1". Then, in T344, the server 100 deletes the job identified by the job ID "Job1" included in the print cancellation request.

[0059] When the printer 10 receives a cancellation notice from the server 100 in T342, the printer 10 deletes the job identified by the job ID "Job1" included in the cancellation notice (i.e., the job already received in T338). This enables the printer 10 to stop printing the job identified by the job ID "Job1".

[0060] 4 is executed, the printer 10 transmits a CS including the printer ID “P1” to the server 100 in T360. The CS in T360 is a command for deleting job-fetchable and job-state-changed from the server 100.

[0061] When the server 100 receives the CS from the printer 10 in T360, the server 100 updates the printer table 138 in T362. Specifically, the server 100 deletes job-fetchable and job-state-changed from the Subscriptions associated with the printer ID "P1" included in the CS of T360. As a result, the server 100 stops monitoring the acceptance of print requests and notifying the printer 10 of such acceptance, and stops monitoring changes in the job status and notifying the printer 10 of such acceptance.

[0062] The processes of T370 and T372 are similar to the processes of T230 and T232 in Fig. 4. In this case, the server 100 does not transmit a job notification to the printer 10 because the server 100 does not store job-fetchable.

[0063] The processes of T380 and T384 are similar to those of T340 and T344, except that the job ID of the job to be deleted is “Job2.” In this case, the server 100 does not store job-state-changed, so it does not send a cancellation notice to the printer 10.

[0064] When the printer 10 acquires an invalidation instruction (T212 in FIG. 4 cited in FIG. 5), the printer 10 transmits to the server 100 a CS for deleting job-state-changed from the server 100 (T360). As a result, the server 100 does not need to execute processing in response to the acceptance of the print cancellation request. Specifically, the server 100 does not need to execute processing for monitoring that the job status has been changed in the server 100 (canceled in this case). This reduces the processing load on the server 100.

[0065] In particular, when the printer 10 receives an invalidation instruction without storing even one job (T212 in FIG. 4 cited in FIG. 5), it immediately transmits a CS to the server 100 for deleting the job-state-changed from the server 100 (T360). This is because, in such a situation, an event in which the printer 10 receives a cancellation notification from the server 100 cannot occur. Therefore, the printer 10 can quickly reduce the processing load of the server 100 by quickly transmitting a CS to the server 100.

[0066] (Correspondence) The CPS transmitted at T324 in FIG. 5 is an example of a "first event registration instruction" and a "second event registration instruction". The CS transmitted at T360 is an example of a "first event deletion instruction" and a "second event deletion instruction". The processing of T324 is an example of a processing executed by a "first registration instruction transmitting unit" and a "second registration instruction transmitting unit". The processing of T360 is an example of a processing executed by a "first deletion instruction transmitting unit" and a "second deletion instruction transmitting unit".

[0067] (Third embodiment; Figure 6) Next, a third embodiment will be described with reference to Fig. 6. In the third embodiment, the timing at which job-state-changed is deleted differs from that in the second embodiment. Fig. 6 shows a continuation of Fig. 2. In Fig. 6, first, processes similar to T100 to T122 in Fig. 3 and processes similar to T322 and T324 in Fig. 5 are executed.

[0068] The processing from T400 to T408 is the same as the processing from T130 to T138 in Fig. 3. As a result, in T410, printer 10 supplies the print data received in T408 to print engine 18, causing print engine 18 to start printing the image represented by the print data.

[0069] Thereafter, while the printer 10 is executing the printing started in T410, the server 100 receives a new print request in T420 including the printer ID "P1" and image data different from the image data of T400. The processing from T422 to T428 is similar to the processing from T132 to T138 in FIG. 3, except that the job ID is "Job2".

[0070] 4 are executed. That is, a CS for deleting job-fetchable from the server 100 is sent to the server 100, but a CS for deleting job-state-changed from the server 100 is not sent to the server 100. This is because, at the present time, the printer 10 stores a job identified by the job ID "Job1". As a result, the server 100 deletes only job-fetchable from the Subscriptions associated with the printer ID "P1", and does not delete job-state-changed.

[0071] The printer 10 maintains a constant connection even if the service state is transitioned to a disabled state while job-state-changed is stored in the server 100 as a Subscription. This is because the printer 10 can receive a cancellation notification from the server 100.

[0072] The processes of T430 and T432 are the same as those of T130 and T132 in Fig. 3, except that the job ID is "Job3". At this point, the server 100 does not store job-fetchable, so it does not send a job notification to the printer 10.

[0073] The processing from T440 to T446 is the same as the processing from T340 to T346 in FIG. 5, except that the job ID of the job to be canceled is "Job2".

[0074] Thereafter, in T450, the printing started in T410 is completed. In this case, the printer 10 deletes the job identified by the job ID "Job1". As a result, no job is stored in the memory 34 of the printer 10. In response, in T460, the printer 10 sends a CS to the server 100. The CS sent in T460 is a command for deleting the job-state-changed from the server 100.

[0075] When the server 100 receives the CS from the printer 10 in T460, the server 100 updates the printer table 138 in T462. Specifically, the server 100 deletes job-state-changed from the Subscriptions associated with the printer ID "P1" included in the CS of T460. As a result, the server 100 stops monitoring the job status change and notifying the printer 10 of the change.

[0076] In T462, all of the Subscriptions corresponding to the printer 10 are deleted from the server 100, so the printer 10 disconnects the constant connection (see T120 in FIG. 3) with the server 100 in T470.

[0077] In this way, when the printer 10 acquires an invalidation instruction while storing one or more jobs (T212 in FIG. 4 cited in FIG. 6), the printer 10 does not immediately transmit a CS to the server 100 for deleting the job-state-changed from the server 100. This allows the printer 10 to properly receive a cancellation notification from the server 100 and cancel printing according to the job. After that, when printing according to one or more jobs is completed (T450 in FIG. 6), the printer 10 transmits a CS to the server 100 for deleting the job-state-changed from the server 100 (T460). As a result, the server 100 does not need to execute processing in response to the print cancellation request. This reduces the processing load on the server 100.

[0078] (Fourth embodiment; Figure 7) Next, a fourth embodiment will be described with reference to FIG. 7. The fourth embodiment differs from the first embodiment in that when an invalidation instruction is acquired in the printer 10, a command for registering "no" as accepting-jobs in the server 100 is sent to the server 100. FIG. 7 shows a continuation of the case in FIG. 2. In FIG. 7, first, the same processes as T100 to T120 in FIG. 3 are executed. The processes of T522 to T526 are the same as the processes of T122 to T126 in FIG. 3.

[0079] Thereafter, the same processes as T200 to T220 in Fig. 4 are executed. In this case, in T530, the printer 10 transmits a command including the printer ID "P1" to the server 100. This command is a command for registering "no" as accepting-jobs in the server 100. The process of T532 is the same as the process of T222 in Fig. 4.

[0080] The server 100 receives a command from the printer 10 in T530, and receives a CPS in T532. In this case, the server 100 updates the printer table 138 in T534. Specifically, the server 100 stores "no" instead of "yes" as "accepting-jobs" in association with the printer ID "P1" included in the command of T530. The server 100 further deletes "job-fetchable" from "Subscriptions" associated with the printer ID "P1" included in the CS of T532. As a result, the server 100 stops accepting print requests to cause the printer 10 to execute printing, stops monitoring the acceptance of print requests, and stops notifying the printer 10 of the acceptance.

[0081] The processing of T540 is the same as the processing of T30 in Fig. 3. Since server 100 has stopped accepting print requests, it does not generate a job even if it receives a print request from terminal 50. Furthermore, since no job is generated in server 100, no job notification is sent. Then, in T542, server 100 sends error screen data representing error screen SC3 to terminal 50.

[0082] When the terminal 50 receives the error screen data from the server 100 in T542, the terminal 50 displays the error screen SC3 in T544. The error screen SC3 includes the printer ID "P1" and a message indicating that the acceptance of print requests has been stopped. Therefore, by looking at the error screen SC3, the user can know that the printer 10 cannot use the cloud printing service.

[0083] In this way, when the printer 10 receives an invalidation instruction from the terminal 50 (T212 in FIG. 4 cited in FIG. 7), it registers "no" as accepting-jobs in the server 100 (T530 in FIG. 7). As a result, the server 100 stops accepting print requests. This makes it possible to prevent the server 100 from accepting a print request and generating a job even though the service state of the printer 10 has transitioned to the invalid state and the continuous connection between the printer 10 and the server 100 has been disconnected (i.e., even though the server 100 cannot send a job notification to the printer 10). Since the server 100 does not need to accept a print request and generate a job, the processing load of the server 100 can be reduced.

[0084] (Correspondence) The commands transmitted in T522 and T530 in FIG. 7 are examples of an "acceptance instruction" and an "acceptance stop instruction", respectively. These are examples of processes executed by the "acceptance instruction transmitting unit" and the "stop acceptance instruction transmitting unit", respectively.

[0085] (Fifth embodiment; Figure 8) Next, a fifth embodiment will be described with reference to Fig. 8. The fifth embodiment differs from the fourth embodiment in that the printer 10 transmits inquiry screen data to the terminal 50 in response to acquiring an invalidation instruction. Fig. 8 shows a continuation of case C in Fig. 7. The processes of T632 and T634 are similar to those of T222 and T224 in Fig. 4.

[0086] The printer 10 transmits inquiry screen data representing the inquiry screen SC4 to the terminal 50 in T640.

[0087] When the terminal 50 receives the inquiry screen data from the printer 10 in T640, in T642, the terminal 50 displays an inquiry screen SC4 on the display unit of the terminal 50. The inquiry screen SC4 includes a message for inquiring whether or not to stop accepting print requests, a YES button, and a NO button.

[0088] (Fifth Example Case A) In case A, the terminal 50 accepts the selection of the YES button in the inquiry screen SC4 in T650. In this case, the terminal 50 transmits YES selection information indicating that the YES button has been selected to the printer 10 in T652.

[0089] When the printer 10 receives YES selection information from the terminal 50 in T652, it transmits a command for registering "no" as accepting-jobs to the server 100 in T654. As a result, the printer table 138 is updated in the server 100 (i.e., "no" is registered as accepting-jobs) (T656), and the acceptance of print requests is stopped.

[0090] (Fifth Example Case B) On the other hand, in case B, the terminal 50 accepts the selection of the NO button in the inquiry screen SC4 in T660. In this case, the terminal 50 transmits NO selection information indicating that the NO button in the inquiry screen SC4 was selected to the printer 10 in T662.

[0091] When the printer 10 receives the NO selection information from the terminal 50 in T662, it does not transmit a command to register "no" as accepting-jobs to the server 100. As a result, the service status of the printer 10 is changed to a disabled state, but the server 100 continues to accept print requests.

[0092] In this way, when the printer 10 acquires an invalidation instruction (T212 in FIG. 4 cited in FIG. 7), it transmits inquiry screen data to the terminal 50 (T640 in FIG. 8). As a result, the terminal 50 displays the inquiry screen SC4 (T642). Therefore, the user can select on the inquiry screen SC4 whether or not to stop accepting print requests.

[0093] For example, the user can select whether to stop accepting print requests depending on whether the time for which the service state of the printer 10 is to be maintained in the disabled state is relatively short or relatively long. When the time for which the service state of the printer 10 is to be maintained in the disabled state is relatively short (for example, in the case of maintenance of the printer 10, etc.), the user can select the NO button in the inquiry screen SC4 to continue accepting print requests. This allows the printer 10 to execute printing in response to a print request received by the server 100 while the service state is in the disabled state after the service state transitions back to the enabled state. Also, when the time for which the service state of the printer 10 is to be maintained in the disabled state is relatively long (for example, in the case of a long vacation of the office where the printer 10 is installed, etc.), the user can select the YES button in the inquiry screen SC4 to stop accepting print requests. This can reduce the processing load of the server 100.

[0094] (Correspondence) The inquiry screen SC4 is an example of an "inquiry screen." The display unit of the terminal 50 is an example of a "display unit." The process of T640 in FIG. 8 is an example of a process executed by a "display control unit."

[0095] Although specific examples of the technology disclosed in this specification have been described in detail above, these are merely examples and do not limit the scope of the claims. The technology described in the claims includes various modifications and variations of the specific examples exemplified above. Modifications of the above embodiments are listed below.

[0096] (Variation 1) In each of the above embodiments, when the service state of the printer 10 transitions to an active state, a constant connection is established between the printer 10 and the server 100 (see, for example, T120 in FIG. 3). The server 100 then uses the constant connection to send a job notification to the printer 10 (see, for example, T144). Alternatively, the printer 10 may transition to a state in which it periodically sends polling to the server 100, instead of establishing a constant connection. In this case, when the server 100 receives polling from the printer 10, it may send a job to the printer 10 in response. In this variation, the state in which polling is sent and the state in which polling is not sent are examples of the "active state" and the "inactive state", respectively.

[0097] (Variation 2) The printer 10 may be a multi-function device capable of executing a scan function, a fax function, and the like. In addition, in each of the above embodiments, a job providing service for causing the printer 10 to execute printing has been described, but in a variation, the job providing service may be a job providing service for causing the multi-function device to execute fax transmission. In this variation, fax transmission is an example of "image processing", and the engine that executes the fax transmission is an example of an "image processing engine". In another variation, the job providing service may be a job providing service for instructing the multi-function device to execute a scan. In this variation, scanning is an example of "image processing", and the engine that executes the scan is an example of an "image processing engine".

[0098] (Variation 3) Instead of processing T640 in Fig. 8, printer 10 may display inquiry screen SC4 on display unit 14 of printer 10. In this variation, processing T642 can be omitted. In this variation, displaying inquiry screen SC4 is an example of processing executed by a "display control unit", and display unit 14 of printer 10 is an example of a "display unit".

[0099] (Modification 4) In each of the above embodiments, the processes in FIGS. 2 to 8 are executed by software (eg, programs 36, 136), but at least one of these processes may be realized by hardware such as a logic circuit.

[0100] The technical elements described in this specification or drawings have technical utility either alone or in various combinations, and are not limited to the combinations described in the claims at the time of filing. In addition, the technologies illustrated in this specification or drawings can achieve multiple objectives simultaneously, and achieving one of these objectives is itself technically useful. [Explanation of symbols]

[0101] 2: communication system, 6: Internet, 10: printer, 12: operation unit, 14: display unit, 16, 116: communication I / F, 18: print engine, 30, 130: control unit, 32, 132: CPU, 34, 134: memory, 36, 136: program, 50: terminal, 138: printer table

Claims

1. An image processing device, An image processing engine; a first state transition unit that transitions a service state for receiving a job providing service from a server from an invalid state when an enabling instruction for transitioning the service state to an valid state is acquired, the first state transition unit transitioning the service state from the invalid state to the valid state, the invalid state being a state in which a job, which is an instruction for executing image processing, cannot be received from the server, and the valid state being a state in which the job can be received from the server; a first registration instruction transmission unit that transmits a first event registration instruction to the server when the activation instruction is acquired in a situation where the service state is the disabled state, the first event registration instruction being an instruction for registering acceptance of a job transmission request by the server as an event to be notified to the image processing device, and the job transmission request being a request for transmitting a job to the image processing device via the server; an engine control unit that, when the job is received from the server in a state in which the service state is the enabled state, causes the image processing engine to execute image processing according to the job; a second state transition unit that transitions the service state from the enabled state to the disabled state when an invalidation instruction for transitioning the service state to the disabled state is acquired in a situation in which the service state is the enabled state; a first deletion instruction transmission unit that transmits a first event deletion instruction to the server when the disable instruction is acquired in a situation where the service state is the enabled state, the first event deletion instruction being an instruction for deleting acceptance of the job transmission request by the server from events to be notified to the image processing device; An image processing device comprising:

2. The image processing device further comprises: a second registration instruction transmission unit that transmits a second event registration instruction to the server when the activation instruction is acquired in a situation where the service state is the disabled state, the second event registration instruction being an instruction to register a change in a job status in the server as an event to be notified to the image processing device; a second deletion instruction transmission unit that transmits a second event deletion instruction to the server when the disable instruction is acquired in a situation where the service state is the enabled state, the second event deletion instruction being an instruction to delete a change in a job status in the server from an event to be notified to the image processing device; The image processing device according to claim 1 , comprising:

3. the first deletion instruction transmission unit transmits the first event deletion instruction to the server when the invalidation instruction is acquired in a state in which the service state is the enabled state and the image processing device has stored one or more of the jobs received from the server; the second deletion instruction transmission unit transmits the second event deletion instruction to the server when the invalidation instruction is acquired in a state in which the service state is the enabled state and the image processing device does not store any of the jobs; 3. The image processing device of claim 2, wherein when the service state is the enabled state and the disable instruction is obtained while the image processing device is storing one or more of the jobs received from the server, the second event deletion instruction is not sent to the server.

4. 4. The image processing device according to claim 3, wherein the second deletion instruction sending unit sends the second event deletion instruction to the server when the service state is in the enabled state, the disable instruction is acquired while the image processing device is storing one or more of the jobs received from the server, and image processing according to the one or more jobs is completed.

5. The image processing device further comprises: an acceptance instruction transmission unit that transmits an acceptance instruction to the server when the activation instruction is acquired in a situation where the service state is the disabled state, the acceptance instruction being an instruction for causing the server to execute acceptance of the job transmission request; an acceptance stop instruction transmission unit that transmits an acceptance stop instruction to the server when the invalidation instruction is acquired in a situation where the service state is the valid state, the acceptance stop instruction being an instruction for causing the server to stop accepting the job transmission request; The image processing device according to any one of claims 1 to 4, comprising:

6. The image processing device further comprises: a display control unit that displays an inquiry screen on a display unit when the disable instruction is acquired in a situation where the service state is the enabled state, the inquiry screen being a screen for inquiring whether or not the server should stop accepting the job transmission request; the reception stop instruction transmission unit transmits the reception stop instruction to the server when a selection is made on the inquiry screen to stop reception of the job transmission request; The image processing apparatus according to claim 5 , wherein when it is selected on the inquiry screen that acceptance of the job transmission request should not be stopped, the acceptance stop instruction is not transmitted to the server.

7. A computer program for an image processing device, comprising: The image processing device includes: An image processing engine; A computer, Equipped with The computer program causes the computer to operate in the following manner: a first state transition unit that transitions a service state for receiving a job providing service from a server from an invalid state when an enabling instruction for transitioning the service state to an valid state is acquired, the first state transition unit transitioning the service state from the invalid state to the valid state, the invalid state being a state in which a job, which is an instruction for executing image processing, cannot be received from the server, and the valid state being a state in which the job can be received from the server; a first registration instruction transmission unit that transmits a first event registration instruction to the server when the activation instruction is acquired in a situation where the service state is the disabled state, the first event registration instruction being an instruction for registering acceptance of a job transmission request by the server as an event to be notified to the image processing device, and the job transmission request being a request for transmitting a job to the image processing device via the server; an engine control unit that, when the job is received from the server in a state in which the service state is the enabled state, causes the image processing engine to execute image processing according to the job; a second state transition unit that transitions the service state from the enabled state to the disabled state when an invalidation instruction for transitioning the service state to the disabled state is acquired in a situation in which the service state is the enabled state; a first deletion instruction transmission unit that transmits a first event deletion instruction to the server when the disable instruction is acquired in a situation where the service state is the enabled state, the first event deletion instruction being an instruction for deleting acceptance of the job transmission request by the server from events to be notified to the image processing device; A computer program that functions as a

Citation Information

Patent Citations

  • Image formation device and image formation system

    JP2015054412A

  • Image forming apparatus and image forming method

    JP2016165901A

  • Printing system, printing device, control method, and program

    JP2019137068A