CN111183628B - Image forming apparatus, method of operating the same, and readable recording medium - Google Patents
Image forming apparatus, method of operating the same, and readable recording medium Download PDFInfo
- Publication number
- CN111183628B CN111183628B CN201880065464.7A CN201880065464A CN111183628B CN 111183628 B CN111183628 B CN 111183628B CN 201880065464 A CN201880065464 A CN 201880065464A CN 111183628 B CN111183628 B CN 111183628B
- Authority
- CN
- China
- Prior art keywords
- delay time
- response delay
- error
- image forming
- response
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title abstract description 27
- 230000004044 response Effects 0.000 claims abstract description 343
- 238000003384 imaging method Methods 0.000 claims abstract description 86
- 238000004891 communication Methods 0.000 claims abstract description 37
- 230000003247 decreasing effect Effects 0.000 claims description 7
- 238000011017 operating method Methods 0.000 claims 3
- 238000010586 diagram Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000000712 assembly Effects 0.000 description 1
- 238000000429 assembly Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/32—Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
- H04N1/32609—Fault detection or counter-measures, e.g. original mis-positioned, shortage of paper
- H04N1/32646—Counter-measures
- H04N1/32673—Adjusting or controlling an operating mode, e.g. from paper reception to memory reception
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1202—Dedicated interfaces to print systems specifically adapted to achieve a particular effect
- G06F3/121—Facilitating exception or error detection and recovery, e.g. fault, media or consumables depleted
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1236—Connection management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1278—Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
- G06F3/1285—Remote printer device, e.g. being remote from client or server
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/00127—Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
- H04N1/00204—Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a digital computer or a digital computer system, e.g. an internet server
- H04N1/00244—Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a digital computer or a digital computer system, e.g. an internet server with a server, e.g. an internet server
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/32—Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
- H04N1/32005—Automation of particular receiver jobs, e.g. rejecting unwanted calls
- H04N1/32032—Polling of transmitters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/32—Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
- H04N1/32609—Fault detection or counter-measures, e.g. original mis-positioned, shortage of paper
- H04N1/32625—Fault detection
- H04N1/32641—Fault detection of transmission or transmitted data, e.g. interruption or wrong number of pages
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N2201/00—Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
- H04N2201/0008—Connection or combination of a still picture apparatus with another apparatus
- H04N2201/0034—Details of the connection, e.g. connector, interface
- H04N2201/0036—Detecting or checking connection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N2201/00—Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
- H04N2201/0008—Connection or combination of a still picture apparatus with another apparatus
- H04N2201/0072—Detecting the status of a connected apparatus
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N2201/00—Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
- H04N2201/0077—Types of the still picture apparatus
- H04N2201/0094—Multifunctional device, i.e. a device capable of all of reading, reproducing, copying, facsimile transception, file transception
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Computing Systems (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
- Facsimiles In General (AREA)
Abstract
An imaging apparatus and method for determining a response delay time for maintaining a long polling connection are provided. In an example, the imaging device includes: communication means for communicating with an external device; a processor; and a memory storing instructions executable by the processor. The processor may execute the instructions to: a response as to whether there is a job to be executed by the image forming apparatus is requested to the external device based on a response delay time for the image forming apparatus to perform long polling of the external device. The processor may also execute the instructions to: detecting an error from the response; adjusting a response delay time; and determining a final response delay time for maintaining the connection for the long poll by readjusting the adjusted response delay time based on a result of performing the long poll according to the adjusted response delay time.
Description
Background
Polling is one such technique: with this technique, a client periodically requests a response to a server as to whether there is data to be sent to the client, and the server responds to the request when there is the data. That is, polling may be based on a client's request scheme and a server's response scheme.
In long polling, the client may not continue waiting for a response from the server, but may complete a transaction of a request from the client to the server and a response from the server to the client after a certain time and request a response from the server again.
Drawings
The above and other aspects, features and advantages of particular examples of the present disclosure will become more apparent from the following description taken in conjunction with the accompanying drawings in which:
fig. 1 is a block diagram of an imaging apparatus according to an example;
fig. 2 is a block diagram illustrating a connection between an imaging apparatus and a user device or a server according to an example;
fig. 3 is a block diagram of an imaging apparatus according to another example;
fig. 4 is a flowchart for describing a procedure of setting a response delay time for long polling of an external device by an imaging apparatus according to an example;
fig. 5 is a flow chart of a method of determining a response delay time for an imaging device to maintain a long polling connection, according to an example;
FIG. 6 is a flow diagram of a method of determining a response delay time based on a type of error detected by an imaging device, according to an example;
fig. 7 is a flow diagram of a method for an imaging device to determine a response delay time when a detected error is due to a network disconnect due to a firewall or proxy, according to an example;
fig. 8 is a table for describing a procedure in which the image forming apparatus determines a final response delay time by adjusting the response delay time when an error is caused by a network disconnection due to a firewall or a proxy, according to an example;
fig. 9 is a flow diagram of a method for an imaging device to determine a response delay time when an error is not due to a network disconnect due to a firewall or proxy, according to an example;
fig. 10 is a table for describing a procedure in which the image forming apparatus determines a final response delay time by adjusting the response delay time when an error is not caused by a disconnection of the network due to a firewall or a proxy, according to an example;
fig. 11 is a table for describing a procedure in which the image forming apparatus determines a final response delay time by adjusting the response delay time when an error is caused by a network disconnection due to a firewall or a proxy, according to another example.
Throughout the drawings, it should be noted that like reference numerals are used to depict the same or similar elements, features, components, assemblies and structures.
Detailed Description
The term "image forming apparatus" may include all apparatuses capable of performing an image forming job, for example, a printer, a scanner, a copy, a facsimile machine, a multifunction printer (MFP), a display device, and the like. The term "print data" may indicate data converted into a format printable by a printer, and the term "scan file" may indicate a file generated by scanning an image by a scanner.
In the following description, only certain examples of the present disclosure have been shown and described, simply by way of illustration. As one of ordinary skill in the art will appreciate, the described examples may be modified in a variety of different ways, all without departing from the scope of the present disclosure. As used herein, when a statement such as "at least one of … …" is used before an element of a list, the statement modifies the element of the entire list rather than a single element of the list.
Fig. 1 is a block diagram of an imaging apparatus according to an example.
Referring to fig. 1, the image forming apparatus 100 may include a User Interface (UI) device 110, a controller 120, a communication unit 130, a memory 140, and an image forming job execution unit 150. Although not shown in fig. 1, the image forming apparatus 100 may further include a power supply for supplying power to other elements.
The UI device 110 may include an input unit to receive an input indicating execution of an image forming job from a user, and an output unit to display information such as a result of executing the image forming job or status information of the image forming apparatus 100. For example, the UI device 110 may include an operation panel for receiving user input and a display panel for displaying a screen image.
More specifically, the input unit may include any device capable of receiving various user inputs, for example, a keyboard, physical buttons, a touch screen, a camera, a microphone, and the like. The output unit may include, for example, a display panel, a speaker, and the like. However, the UI device 110 is not limited thereto, and may include any device supporting various inputs and outputs.
The controller 120 controls the overall operation of the image forming apparatus 100, and may include at least one processor, such as a Central Processing Unit (CPU). The controller 120 may control other elements of the image forming apparatus 100 to perform an operation corresponding to a user input received through the UI device 110. The controller 120 may include two or more dedicated processors corresponding to different functions or a single integrated processor.
For example, the controller 120 may execute a program stored in the memory 140, read data or a file stored in the memory 140, or store a new file in the memory 140.
The communication unit 130 may communicate with another device or a network in a wired manner or a wireless manner. To this end, the communication unit 130 may include a communication module, such as a transceiver, supporting at least one of various wired and wireless communication schemes. For example, the communication module may be implemented as a chipset, a sticker/barcode including information required for communication (e.g., a sticker including a Near Field Communication (NFC) tag), and the like.
The communication unit 130 may support, for example, at least one of wireless fidelity (Wi-Fi), Wi-Fi direct, bluetooth, Ultra Wideband (UWB), NFC, and the like. The communication unit 130 may support, for example, at least one of a Universal Serial Bus (USB), a High Definition Multimedia Interface (HDMI), and the like.
The communication unit 130 may be connected to an external device located outside the image forming apparatus 100, and transmit and receive signals or data to and from the external device. For example, the image forming apparatus 100 may be connected to a user device through the communication unit 130. The communication unit 130 may transmit signals or data received from the user device to the controller 120 or transmit signals or data generated by the controller 120 to the user device. For example, when the communication unit 130 receives a print instruction signal and print data from a user apparatus, the controller 120 may output the received print data through the printing unit 151.
The image forming apparatus 100 of fig. 1 may perform long polling communication for periodically requesting a response regarding a job of the image forming apparatus 100 to an external server and receiving the response from the external server through the communication unit 130. As an example, the imaging apparatus 100 may perform long polling by requesting information from an external server in anticipation that the external server may not respond immediately. That is, the external server may keep the request open until a response, such as new data, is available. Once available, the external server may reply and send new information. Therefore, if the external server does not have new information for the imaging apparatus 100 when the request is received, instead of sending a null response, the external server may keep the request open and wait for the response information to become available.
Fig. 2 is a block diagram illustrating a connection between an imaging apparatus and a user device or a server according to an example.
Referring to fig. 2, the user device 200 may include an input/output unit 210, a controller 220, a communication unit 230, and a memory 240. The controller 220 may control an image forming job by executing a program stored in the memory 240 and transmitting a signal or data generated as a result of executing the program to the image forming apparatus 100 through the communication unit 230. User device 200 may include, for example, a smart phone, a tablet, a Personal Computer (PC), a home appliance, a medical appliance, a camera, a wearable device, and so forth.
The communication unit 130 may be directly connected to the server 250, and transmit and receive signals or data to and from the server 250. Alternatively, the communication unit 130 may be connected to the user device 200 through the server 250. That is, the communication unit 130 of the image forming apparatus 100 may transmit signals or data to the communication unit 230 of the user device 200 through the server 250 and receive signals or data from the communication unit 230 of the user device 200.
Referring back to fig. 1, the memory 140 may have installed therein programs such as applications and various types of data such as files. The controller 120 may access and use the data stored in the memory 140 or store new data in the memory 140. Further, the controller 120 may execute a program installed in the memory 140. The controller 120 may install an application received from the outside through the communication unit 130 in the memory 140.
The image forming job execution unit 150 can execute an image forming job such as printing, scanning, copying, or facsimile.
The image forming job execution unit 150 includes a printing unit 151, a scanner unit 152, and a facsimile unit 153. However, the image forming job performing unit 150 may include only a part of the above elements, or may further include an element for performing another type of image forming job.
The printing unit 151 may form an image on a recording medium based on various printing schemes such as an electrophotography scheme, an inkjet scheme, a thermal transfer scheme, a thermal sensing scheme, and the like.
The scanning unit 152 may read an image recorded on a document by projecting light onto the document and receiving reflected light on an image sensor. Examples of an image sensor for reading an image from a document include a Charge Coupled Device (CCD) or a contact type image sensor (CIS). The scanning unit 152 may have a platform structure in which a document is located at a fixed position and an image sensor reads an image while moving, a document feeding structure in which an image sensor is located at a fixed position and a document is fed, or a combination thereof.
The facsimile unit 153 may share an image scanning configuration with the scanner unit 152 and a document printing configuration with the printer unit 151, and transmit a scanned document to a destination or receive a document from the outside.
The above-described elements of the imaging device 100 may be named in different ways. The imaging apparatus 100 according to an example may include at least one of the above elements, and some elements may be omitted or additional elements may also be included.
The UI device 110 of fig. 1 may have a separate control system. That is, the UI device 110 may include a control system (e.g., a controller and a memory) for controlling a User Interface (UI) provided by the UI device 110, independently of the controller 120 of the image forming apparatus 100. An Operating System (OS) for providing a UI and programs (e.g., applications) for performing various functions may be installed in a control system of the UI device 110.
The image forming apparatus 100 of fig. 2 may perform long polling communication for periodically requesting a response to the server 250 about a job of the image forming apparatus 100 or the user device 200 through the communication unit 130 and receiving the response from the server 250. The user device 200 of fig. 2 may perform long polling communication for periodically requesting a response to the server 250 about a job of the image forming apparatus 100 or the user device 200 through the communication unit 230 and receiving the response from the server 250.
Fig. 3 is a block diagram of an imaging apparatus according to another example.
Referring to fig. 3, the image forming apparatus 300 may include a communication device 310, a processor 320, and a memory 330. However, not all of the illustrated elements are required, and imaging device 300 may include more or less elements. The above-mentioned elements will now be described.
The communication device 310 may correspond to the communication unit 130 shown in fig. 1, the processor 320 may correspond to the controller 120 shown in fig. 1, and the memory 330 may correspond to the memory 140 shown in fig. 1. Therefore, a repeated description between fig. 1 and 3 will not be provided herein.
The communication device 310 may communicate with an external device 350. Here, the external device 350 may be a device connectable to the image forming apparatus 300. For example, the external device 350 may be a server, but is not limited thereto.
The processor 320 may request a response regarding whether there is a job to be executed by the image forming apparatus 300 to the external device 350 based on a response delay time for the image forming apparatus 300 to perform long polling of the external device 350.
The term "response delay time" may refer to a delay in time at which the image forming apparatus 300 may receive a response from the external device 350 after the image forming apparatus 300 requests a response to the external device 350 regarding whether there is a job to be executed by the image forming apparatus 300. The response delay time may also be referred to as a timeout value. The response delay time may be a value determined by the imaging apparatus 300 or the external device 350, or a value determined based on a policy of the external device 350.
The term "job" may indicate any of various jobs (e.g., printing, scanning, copying, faxing, etc.) related to imaging and image file generation/storage/transmission. The job may indicate not only the image forming job but also a series of processes required to execute the image forming job comprehensively.
The processor 320 may receive a response to the request from the external device 350. When there is no data to be transmitted as a response to the long polling request from the image forming apparatus 300 during the response delay time, the external device 350 may transmit a response indicating that there is no data to be transmitted as a response when the response delay time is to end.
The processor 320 may detect an error between the imaging apparatus 300 and the external device 350, the error corresponding to a value of the received response. Here, the error may be an error due to the external device 350 or an error due to a network between the image forming apparatus 300 and the external device 350, but is not limited thereto. For example, the error due to the network may be an error due to the network being disconnected by firewall 360 or proxy 370.
The processor 320 may determine the final response delay time in such a manner that no error is detected by repeatedly performing the long polling based on the readjusted response delay time.
An example of a process in which the imaging apparatus 300 determines the final response delay time by reducing the response delay time will be described with reference to fig. 7 and 8. An example of a process in which the imaging apparatus 300 determines the final response delay time by increasing the response delay time will be described with reference to fig. 9 and 10.
Before the imaging apparatus 300 performs continuous long polling on the external device 350, the imaging apparatus 300 may determine whether a network between the imaging apparatus 300 and the external device 350 is connected. The imaging apparatus 300 may determine whether the network between the imaging apparatus 300 and the external device 350 is connected by performing the long polling based on the minimum response delay time for the long polling. Here, the minimum response delay time may be a time that is not affected by the network being disconnected by the firewall 360 or the agent 370. Therefore, when an error is not detected by repeatedly performing the long polling based on the minimum response delay time, the imaging apparatus 300 may determine that the network between the imaging apparatus 300 and the external device 350 is normally connected.
When it is determined that the network between the image forming apparatus 300 and the external device 350 is normally connected, the processor 320 may request a response regarding whether there is a job to be executed by the image forming apparatus 300 to the external device 350 based on the maximum response delay time for the long polling. The processor 320 may receive a response to the request from the external device 350 through the communication device 310.
For example, when the external device 350 is a server, the image forming apparatus 300 may determine whether the response is a normal response based on a value of the response received from the server. For example, when the value of the response received from the server is 200, the response may be a normal response. When the value of the response received from the server is 4xx or 5xx, the response may be an abnormal response that includes an error due to the server and indicates that the server has a data processing error or that the image forming apparatus 300 has transmitted an error request data. When no response is received from the server, the processor 320 may check for an error value returned from an Application Program Interface (API) requesting a response from the server. Processor 320 may determine whether the checked error value corresponds to a network-related error and, when the error value corresponds to a network-induced error, determine whether the error is due to the network being disconnected by firewall 360 or agent 370.
According to an example, when the error is due to a network disconnection by firewall 360 or agent 370, processor 320 may adjust the response delay time from a point in time when the long poll begins to a point in time when a response including the error is received. When an error is detected again by performing the long polling based on the adjusted response delay time, the processor 320 may repeatedly perform the long polling by reducing the adjusted response delay time by a preset time until no error occurs. The processor 320 may determine a response delay time corresponding to a time point when no error is detected by repeatedly performing long polling based on the decreased response delay time as a final response delay time. Here, the final response delay time may be an optimal response delay time for the imaging apparatus 300 to maintain a long polling connection with the external device 350.
According to another example, processor 320 may adjust the response delay time to a minimum value for the long polling period when the error is not due to a network disconnect due to firewall 360 or agent 370. When no error is detected by performing the long polling based on the response delay time adjusted to the minimum value of the long polling period, the processor 320 may increase the adjusted response delay time by a preset time until an error occurs. The processor 320 may determine a response delay time corresponding to a time point immediately before a time point when an error is detected again by repeatedly performing long polling based on the increased response delay time as a final response delay time.
When the network connection holding time set between the image forming apparatus 300 and the external device 350 by the firewall 360 or the agent 370 is changed, the processor 320 may determine a final response delay time for holding the long polling connection by readjusting the response delay time. For example, it is assumed that the network connection holding time set between the image forming apparatus 300 and the external device 350 by the firewall 360 or the agent 370 is set to 4 minutes, and the final response delay time is set to 3 minutes and 50 seconds. When the network connection holding time set by the firewall 360 or the agent 370 is changed to 3 minutes, the image forming apparatus 300 may not properly communicate with the external device 350 based on the previously set final response delay time (i.e., 3 minutes 50 seconds). Thus, the processor 320 may re-determine the final response delay time for maintaining the long polling connection by reducing the response delay time (e.g., the processor 320 may determine the final response delay time to be 2 minutes 50 seconds).
The memory 330 may store programs and data or files related to the image forming apparatus 300. The processor 320 may execute programs stored in the memory 330, read data or files stored in the memory 330, or store new files in the memory 330. Memory 330 may store program instructions, data files, data structures, etc., either individually or in combination.
For example, memory 330 may store the following instructions: the program includes instructions for requesting, to the external device 350, a response as to whether there is a job to be executed by the image forming apparatus 300 based on a response delay time for the image forming apparatus 300 to perform long polling on the external device 350, instructions for detecting an error corresponding to a response value for the response received for the request, instructions for adjusting the response delay time based on the error, and instructions for determining a final response delay time for maintaining the long polling connection by readjusting the adjusted response delay time based on a result of performing the long polling according to the adjusted response delay time. Further, memory 330 may include instructions related to the operation of processor 320 to determine a final response delay time.
In the following description, a context that one of ordinary skill in the art clearly understands and expects without specifying each element in the image forming apparatus 300 may be understood as a general implementation, and the scope of the present disclosure is not limited by the name of a specific element or physical/logical structure.
Fig. 4 is a flowchart for describing a procedure of setting a response delay time for long polling of an external device by an imaging apparatus according to an example.
Referring to fig. 4, the image forming apparatus 300 may attempt long polling based on a minimum response delay time in operation 401. Here, the minimum response delay time may be a time that is not affected by the network being disconnected by the firewall 360 or the agent 370. At operation 402, the external device 350 may determine a response to the long poll. In operation 403, the image forming apparatus 300 may receive a response to the long polling from the external device 350. In operation 404, when the response to the long polling is normal, the imaging apparatus 300 may determine that the network between the imaging apparatus 300 and the external device 350 is normally connected. When an error is not detected by repeatedly performing long polling based on the minimum response delay time, the imaging apparatus 300 may determine that the network between the imaging apparatus 300 and the external device 350 is normally connected.
At operation 405, the imaging device 300 may attempt long polling based on the maximum response delay time. At operation 406, the external device 350 may determine a response to the long poll. In operation 407, the image forming apparatus 300 may receive a response to the long polling from the external device 350. In operation 408, the image forming apparatus 300 may detect an error corresponding to the value of the received response. When the external device 350 has data for a response and thus the imaging apparatus 300 normally receives a response from the external device 350, the imaging apparatus 300 may maintain a long polling connection based on a previously set response delay time without performing processing for adjusting the response delay time.
In operation 409, the image forming apparatus 300 may adjust a response delay time based on the detected error. When the detected error is an error due to a network disconnection by the firewall 360 or the agent 370, the image forming apparatus 300 may adjust the response delay time as shown in the flowchart of fig. 7. When the detected error is an error due to the external device 350 or an error other than an error due to a network disconnection by the firewall 360 or the agent 370, the image forming apparatus 300 may adjust the response delay time as shown in the flowchart of fig. 9.
At operation 410, the imaging device 300 may attempt long polling based on the adjusted response delay time. In operation 411, the external device 350 may determine a response to the long poll. In operation 412, the imaging apparatus 300 may receive a response to the long polling from the external device 350. In operation 413, the imaging apparatus 300 may determine a final response delay time based on the result of performing the long polling. The imaging apparatus 300 may determine whether the final response delay time has no problem by repeatedly performing long polling on the external device 350 based on the final response delay time. At operation 414, the imaging device 300 may continue to perform long polling based on the final response delay time.
Fig. 5 is a flow chart of a method of determining a response delay time for an imaging device to maintain a long polling connection according to an example.
Referring to fig. 5, in operation 510, the image forming apparatus 300 may request a response regarding whether there is a job to be executed by the image forming apparatus 300 to the external device 350 based on a response delay time for long polling of the external device 350. For example, the imaging apparatus 300 may attempt long polling of the external device 350 based on the maximum response delay time for the long polling. The image forming apparatus 300 may determine whether the network between the image forming apparatus 300 and the external device 350 is normally connected, and attempt long polling.
In operation 520, the image forming apparatus 300 may detect an error corresponding to the value of the received response. For example, when the external device 350 is a server and the response value of the response received from the server is 4xx or 5xx, the image forming apparatus 300 may determine an error due to the server, and particularly detect the error due to the server as an error corresponding to the response value. When a response is not received from the server, the image forming apparatus 300 may check an error value returned from the API for requesting a response from the server, and determine whether the error value corresponds to a network-related error. When the error value corresponds to a network-related error, the image forming apparatus 300 may particularly detect the network-related error as an error corresponding to the error value (e.g., an error due to a network being disconnected by the firewall 360 or the agent 370).
In operation 530, the image forming apparatus 300 may adjust the response delay time based on the error.
In operation 540, the imaging apparatus 300 may determine a final response delay time for maintaining the long polling connection by readjusting the adjusted response delay time based on the result of performing the long polling according to the adjusted response delay time. Operations 530 and 540 of the image forming apparatus 300 will be described below with reference to fig. 7 to 11.
Fig. 6 is a flow diagram of a method of determining a response delay time based on a type of error detected by an imaging device according to an example.
Referring to fig. 6, the image forming apparatus 300 may determine whether the error is due to the external device 350 in operation 610. When the error is due to the external device 350, the image forming apparatus 300 may operate as shown in the flowchart of fig. 9. Otherwise, when the error is not due to the external device 350, the image forming apparatus 300 may proceed to operation 620.
At operation 620, the image forming apparatus 300 may determine whether the error is due to a network. When the error is due to a network, the image forming apparatus 300 may proceed to operation 630. Otherwise, when the error is not due to a network, the image forming apparatus 300 may operate as shown in the flowchart of fig. 9.
At operation 630, the image forming apparatus 300 may specifically determine whether the error due to the network is due to the network being disconnected by the firewall 360 or the agent 370. When the error is due to a network disconnection by the firewall 360 or the agent 370, the image forming apparatus 300 may operate as shown in the flowchart of fig. 7. Otherwise, when the error is not due to a network disconnection by the firewall 360 or the agent 370, the image forming apparatus 300 may operate as shown in the flowchart of fig. 9.
Fig. 7 is a flowchart of a method of an imaging device determining a response delay time when a detected error is due to a network disconnect due to a firewall or proxy, according to an example.
Referring to fig. 7, the image forming apparatus 300 may adjust the response delay time within a time from a time point when the long polling starts to a time point when a response including an error is received in operation 710. Since a time point when the error occurs is unknown, the imaging apparatus 300 may adjust the response delay time with respect to a time point when the response including the error is received. For example, the imaging apparatus 300 may adjust the response delay time by decreasing the time from the time point when the long polling starts to the time point when the response including the error is received by a preset time.
In operation 720, the image forming apparatus 300 may determine whether an error is detected again by performing long polling based on the adjusted response delay time. When the error is detected again, the image forming apparatus 300 may decrease the adjusted response delay time by a preset time according to operation 730. When the error is not detected again, the image forming apparatus 300 may determine the adjusted response delay time as the final response delay time according to operation 750.
In operation 740, the image forming apparatus 300 may determine whether an error is detected again by performing long polling based on the reduced response delay time. When an error is detected again, the image forming apparatus 300 may perform long polling by further reducing the reduced response delay time by a preset time, and determine whether an error is detected again.
When an error is not detected again, the imaging apparatus 300 may determine a response delay time corresponding to a time point when an error is not detected again as a final response delay time according to operation 750.
Fig. 8 is a table for describing a procedure in which the image forming apparatus determines a final response delay time by adjusting the response delay time when an error is caused by a disconnection of the network due to a firewall or a proxy, according to an example.
Referring to fig. 8, the maximum response delay time for the imaging apparatus 300 to perform long polling on the external device 350 may be set to 10 minutes. That is, after the image forming apparatus 300 requests a response regarding whether there is a job to be executed by the image forming apparatus 300 to the external device 350, the maximum delay in time for which the image forming apparatus 300 can receive the response from the external device 350 may be set to 10 minutes.
The connection maintenance time between the image forming apparatus 300 and the external device 350 may be limited by an error due to a network disconnection by the firewall 360 or the agent 370. For example, the error occurrence time due to the network being disconnected by the firewall 360 or the agent 370 may be set to 3 minutes and 20 seconds. Accordingly, the connection maintaining time between the image forming apparatus 300 and the external device 350 may be 3 minutes and 20 seconds. The image forming apparatus 300 may receive a response indicating that an error has occurred immediately after the error has occurred or receive the response after a certain time due to a process based on the occurrence of the error. In fig. 8, it is assumed that the error occurrence response reception time taken for the imaging apparatus 300 to receive a response regarding the occurrence of an error is set to 4 minutes and 40 seconds.
As shown in fig. 8, as a first attempt, the image forming apparatus 300 may request a first long polling response with respect to whether there is a job to be executed by the image forming apparatus 300 to the external device 350 based on the set maximum response delay time. When there is no job to be executed by the image forming apparatus 300, the image forming apparatus 300 may receive a response indicating that there is no job after 10 minutes from the request of the long polling. However, since the network between the image forming apparatus 300 and the external device 350 is disconnected by the firewall 360 or the agent 370 for 3 minutes and 20 seconds, the image forming apparatus 300 may not receive a response indicating that there is no job. However, the image forming apparatus 300 may receive a response indicating that an error occurs due to the network being disconnected by the firewall 360 or the agent 370 in 4 minutes and 40 seconds.
As a second attempt, the image forming apparatus 300 may reduce the response delay time based on the error occurrence response reception time to maintain the long polling connection in case the network is not disconnected by the firewall 360 or the agent 370. The image forming apparatus 300 may adjust the response delay time within a time from a time point when the long polling starts to a time point when a response regarding the occurrence of an error is received. For example, the imaging apparatus 300 may reduce the response delay time to 4 minutes 30 seconds, which is 10 seconds shorter than the error occurrence response reception time (i.e., 4 minutes 40 seconds). The image forming apparatus 300 may request the second-time long polling response to the external device 350 based on the second-time set response delay time. Also, since the network between the image forming apparatus 300 and the external device 350 is disconnected by the firewall 360 or the agent 370 for 3 minutes and 20 seconds, the image forming apparatus 300 may not receive a response indicating that there is no job. However, the image forming apparatus 300 may receive a response indicating that an error due to the network being disconnected by the firewall 360 or the agent 370 has occurred at 4 minutes and 40 seconds.
When an error due to disconnection of the network by the firewall 360 or the agent 370 is detected again by performing the long polling based on the adjusted response delay time, the image forming apparatus 300 may repeatedly perform the long polling by reducing the adjusted response delay time by a preset time until no error occurs, and determine a response delay time corresponding to a time point when no error occurs as a final response delay time.
As a third attempt, the imaging device 300 may reduce the response delay time to 4 minutes, which is 30 seconds shorter than the previous response delay time (i.e., 4 minutes 30 seconds). The image forming apparatus 300 may request the third long polling response to the external device 350 based on the third set response delay time. However, since the network between the image forming apparatus 300 and the external device 350 is disconnected by the firewall 360 or the agent 370 at 3 minutes and 20 seconds, the image forming apparatus 300 may not receive a response indicating that there is no job.
Likewise, as a fourth attempt, the imaging apparatus 300 may reduce the response delay time to 3 minutes and 30 seconds, which is 30 seconds shorter than the previous response delay time (i.e., 4 minutes). The image forming apparatus 300 may request the fourth long polling response to the external device 350 based on the fourth set response delay time. However, since the network between the image forming apparatus 300 and the external device 350 is disconnected by the firewall 360 or the agent 370 at 3 minutes and 20 seconds, the image forming apparatus 300 may not receive a response indicating that there is no job.
As a fifth attempt, the imaging device 300 may reduce the response delay time to 3 minutes, which is 30 seconds shorter than the previous response delay time (i.e., 3 minutes 30 seconds). The image forming apparatus 300 may request the fifth long polling response to the external device 350 based on the response delay time set for the fifth time. In this case, since the network between the image forming apparatus 300 and the external device 350 is disconnected by the firewall 360 or the agent 370 at 3 minutes and 20 seconds, the image forming apparatus 300 may receive a normal response indicating that there is no job before the network is disconnected by the firewall 360 or the agent 370.
The image forming apparatus 300 may maintain the long polling connection with the external device 350 by setting the response delay time (i.e., 3 minutes) set for the fifth time as the final response delay time. That is, since the image forming apparatus 300 may receive a response from the external device 350 before the network is disconnected due to the firewall 360 or the agent 370, the image forming apparatus 300 may appropriately communicate with the external device 350.
Fig. 9 is a flowchart of a method of an imaging device determining a response delay time when an error is not due to a network disconnect due to a firewall or proxy, according to an example.
Referring to fig. 9, the imaging apparatus 300 may adjust the response delay time to a minimum value of the long polling period in operation 910.
In operation 920, the image forming apparatus 300 may determine whether an error is detected again by performing long polling based on the adjusted response delay time. When an error is detected again, the imaging apparatus 300 may determine whether an error is detected again by performing long polling again based on the response delay time adjusted to the minimum value of the long polling period. When the error is not detected again, the image forming apparatus 300 may increase the adjusted response delay time by a preset time according to operation 930.
In operation 940, the imaging apparatus 300 may determine whether an error is detected again by performing long polling based on the increased response delay time. When the error is not detected again, the imaging apparatus 300 may repeatedly perform the following operations: increasing the increased response delay time by a preset time, performing long polling based on the increased response delay time, and determining whether an error is detected again.
When an error is detected again, the imaging apparatus 300 may determine a response delay time corresponding to a time point immediately before the time point when the error is detected again as a final response delay time according to operation 950.
Fig. 10 is a table for describing a procedure in which the image forming apparatus determines a final response delay time by adjusting the response delay time when an error is not caused by disconnection of the network due to a firewall or a proxy according to an example.
Referring to fig. 10, when the error is due to the external device 350, the image forming apparatus 300 may set the response delay time to a minimum value of the long polling period. For example, as a first attempt, the image forming apparatus 300 may set the minimum value of the long polling period to 1 minute and 30 seconds, and request a response to the external device 350 as to whether there is a job to be executed by the image forming apparatus 300 based on the minimum value of the long polling period. As described above with respect to fig. 8, the error occurrence time due to the network being disconnected by firewall 360 or agent 370 may be set to 3 minutes and 20 seconds. In this case, the image forming apparatus 300 may normally receive a response from the external device 350 before the network is disconnected by the firewall 360 or the agent 370.
When an error due to the external device 350 is not detected by performing the long polling based on the response delay time adjusted to the minimum value of the long polling period, the imaging apparatus 300 may repeatedly perform the long polling until the error occurs by increasing the adjusted response delay time by a preset time, and determine a response delay time corresponding to a time point immediately before a time point when the error is detected again as a final response delay time.
As a second attempt, the imaging device 300 may increase the response delay time to 2 minutes, which is 30 seconds longer than the previous response delay time (i.e., 1 minute 30 seconds). The image forming apparatus 300 may request the second-time long polling response to the external device 350 based on the second-time set response delay time. In this case, the image forming apparatus 300 may normally receive a response from the external device 350 before the network is disconnected by the firewall 360 or the agent 370.
As a third attempt, the imaging apparatus 300 increases the response delay time to 2 minutes and 30 seconds, which is 30 seconds longer than the previous response delay time (i.e., 2 minutes). The image forming apparatus 300 may request the third long polling response to the external device 350 based on the third set response delay time. In this case, the image forming apparatus 300 may normally receive a response from the external device 350 before the network is disconnected by the firewall 360 or the agent 370.
Likewise, as the fourth attempt, the response delay time may be set to 3 minutes, and the image forming apparatus 300 may normally receive a response from the external device 350.
As a fifth attempt, the response delay time may be set to 3 minutes and 30 seconds. Since the network between the image forming apparatus 300 and the external device 350 is disconnected by the firewall 360 or the agent 370 in 3 minutes and 20 seconds, the image forming apparatus 300 may not receive a normal response from the external device 350, but may receive a response indicating that an error due to the disconnection of the network by the firewall 360 or the agent 370 has occurred in 4 minutes and 40 seconds.
The image forming apparatus 300 may maintain the long polling connection with the external device 350 by setting the fourth set response delay time (i.e., 3 minutes) as the final response delay time.
Fig. 11 is a table for describing a procedure in which the image forming apparatus determines a final response delay time by adjusting the response delay time when an error is caused by a disconnection of the network due to a firewall or a proxy, according to another example.
Referring to fig. 11, the maximum response delay time for the imaging apparatus 300 to perform long polling on the external device 350 may be set to 10 minutes. The error occurrence time due to the network being disconnected by the firewall 360 or the agent 370 may be set to 3 minutes and 20 seconds. An error occurrence response reception time taken for the image forming apparatus 300 to receive a response regarding the occurrence of an error may be set to 3 minutes and 30 seconds.
As a first attempt, the image forming apparatus 300 may request a first long polling response with respect to whether there is a job to be executed by the image forming apparatus 300 to the external device 350 based on the set maximum response delay time. When there is no job to be executed by the image forming apparatus 300, since the network between the image forming apparatus 300 and the external device 350 is disconnected by the firewall 360 or the agent 370 at 3 minutes and 20 seconds, the image forming apparatus 300 may not receive a response indicating that there is no job. However, the image forming apparatus 300 may receive a response indicating that an error due to disconnection of the network by the firewall 360 or the agent 370 has occurred at 3 minutes and 30 seconds.
As a second attempt, the image forming apparatus 300 may reduce the response delay time based on the error occurrence response reception time to maintain the long polling connection in case the network is not disconnected by the firewall 360 or the agent 370. For example, the imaging apparatus 300 may reduce the response delay time to 3 minutes, which is 30 seconds shorter than the error occurrence response reception time (i.e., 3 minutes 30 seconds). The image forming apparatus 300 may request the second-time long polling response to the external device 350 based on the second-time set response delay time. In this case, since the network between the image forming apparatus 300 and the external device 350 is disconnected by the firewall 360 or the agent 370 for 3 minutes and 20 seconds, the image forming apparatus 300 may receive a normal response indicating that there is no job before the network is disconnected by the firewall 360 or the agent 370. Further, the imaging apparatus 300 may determine whether the imaging apparatus 300 can receive a normal response by repeatedly performing long polling based on the response delay time set for the second time.
To determine a more accurate response delay time, as a third attempt, the imaging device 300 may increase the response delay time to 3 minutes and 15 seconds, which is 15 seconds longer than the previous response delay time (i.e., 3 minutes). The image forming apparatus 300 may request the third long polling response to the external device 350 based on the third set response delay time. Also, since the network between the image forming apparatus 300 and the external device 350 is disconnected by the firewall 360 or the agent 370 for 3 minutes and 20 seconds, the image forming apparatus 300 may receive a normal response indicating that there is no job before the network is disconnected by the firewall 360 or the agent 370. Further, the imaging apparatus 300 may determine whether the imaging apparatus 300 can receive a normal response by repeatedly performing long polling based on the response delay time set for the third time.
As a fourth attempt, the imaging device 300 may increase the response delay time to 3 minutes and 22 seconds, which is 7 seconds longer than the previous response delay time (i.e., 3 minutes and 15 seconds). The image forming apparatus 300 may request the fourth long polling response to the external device 350 based on the fourth set response delay time. Since the network between the image forming apparatus 300 and the external device 350 is disconnected by the firewall 360 or the agent 370 at 3 minutes and 20 seconds, the image forming apparatus 300 may not receive a normal response from the external device 350, but may receive a response indicating that an error occurs due to the network being disconnected by the firewall 360 or the agent 370 at 3 minutes and 30 seconds.
By receiving a response indicating that an error due to the network being disconnected by the firewall 360 or the agent 370 occurs at 3 minutes 30 seconds, the image forming apparatus 300 may predict that the error due to the network being disconnected by the firewall 360 or the agent 370 occurs between the fourth set response delay time (i.e., 3 minutes 22 seconds) and the error occurrence response reception time (i.e., 3 minutes 30 seconds). The image forming apparatus 300 may maintain the long polling connection with the external device 350 by setting the response delay time set for the third time (i.e., 3 minutes and 15 seconds) as the final response delay time. Further, the imaging apparatus 300 may predict the error occurrence time (i.e., 3 minutes 20 seconds) by repeatedly increasing or decreasing the response delay time, and set a more optimal response delay time (e.g., set the final response delay time to 3 minutes 19 seconds).
Examples of the present disclosure may be written as computer programs and may be implemented in general-use digital computers that execute the programs using a non-transitory computer readable recording medium. Further, the data structure used in the examples of the present disclosure may be written in a non-transitory computer-readable recording medium in various ways. One or more examples may be implemented as computer readable code/instructions on a recording medium including computer readable commands, e.g., program modules, to be executed in a computer. For example, a method implemented as a software module or algorithm may be stored as computer-readable code or program instructions executable on a non-transitory computer-readable recording medium.
The non-transitory computer-readable recording medium may include any available media, volatile and non-volatile media, and removable and non-removable media that can be accessed by a computer. Examples of the non-transitory computer-readable recording medium include, but are not limited to, magnetic storage media (e.g., ROM, floppy disks, hard disks, etc.), optical recording media (e.g., CD-ROMs, or DVDs), and the like. Also, the non-transitory computer-readable recording medium may include computer storage media and communication media.
The non-transitory computer-readable recording medium may be distributed over networked computer systems, and data (e.g., program commands and code) stored in the distributed recording medium may be executed by using at least one computer.
Although one or more examples have been described with reference to the accompanying drawings, it is to be understood that various changes and modifications may be made from the above description, by one of ordinary skill in the art. For example, the same results may be achieved even if the foregoing techniques are performed in a different order than that described above, and/or the illustrated elements (such as systems, structures, devices, and circuits) are combined or combined in a different form than that described above, or other elements or equivalents are substituted or substituted for the illustrated elements.
Therefore, it should be noted that other embodiments, other examples, and equivalents of the appended claims also fall within the scope of the claims.
Claims (11)
1. An image forming apparatus comprising:
communication means for communicating with an external device;
a processor; and
a memory storing instructions executable by the processor,
wherein the processor executes the instructions to:
requesting, from the external device, a response as to whether there is a job to be executed by the image forming apparatus based on a response delay time for the image forming apparatus to perform long polling of the external device;
detecting an error between the image forming apparatus and an external device, the error corresponding to a value of a response received for the request;
adjusting a response delay time based on the error, wherein when the error is due to a network being disconnected by a firewall or an agent, the response delay time is adjusted within a time from a time point when a long poll starts to a time point when a response including the error is received, and when the error is not due to a network being disconnected by a firewall or an agent, the response delay time is adjusted to a minimum value of a period of the long poll; and
the final response delay time for maintaining the connection for the long poll is determined by readjusting the adjusted response delay time based on the result of performing the long poll according to the adjusted response delay time.
2. The imaging device of claim 1, wherein the processor further executes the instructions to:
determining whether the error is detected again by performing long polling based on the adjusted response delay time;
increasing or decreasing the adjusted response delay time based on whether the error is detected again; and
the final response delay time is determined in such a manner that the error is not detected by repeatedly performing the long polling based on the increased or decreased response delay time.
3. The imaging device of claim 1, wherein the processor further executes the instructions to: whether a network between the imaging apparatus and the external device is connected is determined by performing the long polling based on the minimum response delay time for the long polling.
4. The imaging device of claim 1, wherein the processor further executes the instructions to: based on the maximum response delay time for the long polling, a response is requested to the external device as to whether or not there is a job to be executed by the image forming apparatus.
5. The imaging device of claim 1, wherein the processor further executes the instructions to:
determining whether the error is due to an external device or a network between the image forming apparatus and the external device based on a value of the response; and
when the error is due to the network, determining whether the error is due to the network being disconnected by a firewall or a proxy.
6. The imaging device of claim 1, wherein the processor further executes the instructions to:
repeatedly performing long polling by reducing the adjusted response delay time by a preset time until the error does not occur; and
when the error is detected again by performing long polling based on the adjusted response delay time, a response delay time corresponding to a time point when the error does not occur is determined as a final response delay time.
7. The imaging device of claim 1, wherein the processor further executes the instructions to:
repeatedly performing long polling by increasing the adjusted response delay time by a preset time until the error occurs; and
when the error is not detected by performing the long polling based on the response delay time adjusted to the minimum value of the period of the long polling, the response delay time corresponding to the time point immediately before the time point when the error is detected again is determined as the final response delay time.
8. The imaging device of claim 1, wherein the processor further executes the instructions to: when the network connection holding time set between the image forming apparatus and the external device by the firewall or the agent is changed, the final response delay time for holding the connection for the long polling is determined by readjusting the response delay time.
9. An operating method of an image forming apparatus, the operating method comprising:
requesting a response regarding whether or not there is a job to be executed by the image forming apparatus to the external device based on a response delay time for the image forming apparatus to perform long polling on the external device;
detecting an error between the image forming apparatus and an external device, the error corresponding to a value of a response received for the request;
adjusting a response delay time based on the error; and
determining a final response delay time for a connection holding the long poll by readjusting the adjusted response delay time based on a result of performing the long poll according to the adjusted response delay time,
wherein the step of adjusting the response delay time comprises: when the error is an error due to a network disconnection by a firewall or an agent, adjusting a response delay time from a time point when a long polling starts to a time point when a response including the error is received; and adjusting the response delay time to a minimum value of the period of the long polling when the error is not an error due to a network disconnection by a firewall or an agent.
10. The operating method of claim 9, wherein the step of determining the final response delay time comprises:
determining whether the error is detected again by performing long polling based on the adjusted response delay time;
increasing or decreasing the adjusted response delay time based on whether the error is detected again; and
the final response delay time is determined in such a manner that the error is not detected by repeatedly performing the long polling based on the increased or decreased response delay time.
11. A non-transitory machine-readable recording medium having instructions recorded thereon that are executable by a processor, the non-transitory machine-readable recording medium comprising:
an instruction for requesting, from the external device, a response as to whether there is a job to be executed by the image forming apparatus, based on a response delay time for the image forming apparatus to perform long polling on the external device;
instructions for detecting an error between the imaging apparatus and an external device, the error corresponding to a value of a response received for the request;
instructions for adjusting a response delay time based on the error; and
instructions for determining a final response delay time for maintaining the connection for the long poll by readjusting the adjusted response delay time based on a result of performing the long poll according to the adjusted response delay time,
wherein the instructions for adjusting the response delay time based on the error comprise: instructions for adjusting a response delay time from a time point when the long polling starts to a time point when a response including the error is received, when the error is an error due to a network being disconnected by a firewall or an agent; and instructions to adjust the response delay time to a minimum value of a period of the long polling when the error is not an error due to a network disconnection by a firewall or an agent.
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR10-2017-0155813 | 2017-11-21 | ||
KR1020170155813A KR20190058132A (en) | 2017-11-21 | 2017-11-21 | Response delay time determination to maintain long polling connection |
PCT/KR2018/008000 WO2019103269A1 (en) | 2017-11-21 | 2018-07-16 | Response delay time determination to maintain long polling connection |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111183628A CN111183628A (en) | 2020-05-19 |
CN111183628B true CN111183628B (en) | 2022-08-09 |
Family
ID=66631584
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201880065464.7A Expired - Fee Related CN111183628B (en) | 2017-11-21 | 2018-07-16 | Image forming apparatus, method of operating the same, and readable recording medium |
Country Status (5)
Country | Link |
---|---|
US (1) | US11317002B2 (en) |
EP (1) | EP3692707A4 (en) |
KR (1) | KR20190058132A (en) |
CN (1) | CN111183628B (en) |
WO (1) | WO2019103269A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111669838B (en) * | 2020-05-27 | 2022-07-29 | 西安空间无线电技术研究所 | PCF access method and device suitable for satellite-to-ground WI-FI network |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106027837A (en) * | 2015-03-25 | 2016-10-12 | 柯尼卡美能达株式会社 | Image Processing System, Image Processing Apparatus, Instruction Server, and Storage Medium |
Family Cites Families (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3645443B2 (en) * | 1999-03-30 | 2005-05-11 | 株式会社リコー | Remote image forming apparatus management system, monitoring terminal apparatus and control method |
JP3944133B2 (en) * | 2003-07-25 | 2007-07-11 | キヤノン株式会社 | Information processing apparatus, information processing method, program, and computer-readable storage medium |
JP2006319707A (en) | 2005-05-13 | 2006-11-24 | Mitsubishi Electric Corp | Communication system, polling method, and program |
US8144587B2 (en) * | 2006-08-22 | 2012-03-27 | Embarq Holdings Company, Llc | System and method for load balancing network resources using a connection admission control engine |
JP4984903B2 (en) | 2007-01-17 | 2012-07-25 | 富士ゼロックス株式会社 | Management device and program |
JP2009065349A (en) | 2007-09-05 | 2009-03-26 | Yamatake Corp | Server/client system and communication control method |
KR100993606B1 (en) * | 2008-02-04 | 2010-11-10 | (주)지엔에스티 | method and system for remote management for image process device |
GB2499534B (en) * | 2010-11-01 | 2018-09-19 | Seven Networks Llc | Caching adapted for mobile application behavior and network conditions |
GB2499747B (en) * | 2010-11-22 | 2014-04-09 | Seven Networks Inc | Aligning data transfer to optimize connections established for transmission over a wireless network |
US9294564B2 (en) | 2011-06-30 | 2016-03-22 | Amazon Technologies, Inc. | Shadowing storage gateway |
JP5825034B2 (en) | 2011-10-17 | 2015-12-02 | 株式会社リコー | Printing system |
US9311038B2 (en) * | 2013-09-30 | 2016-04-12 | Samsung Electronics Co., Ltd. | System and method for providing cloud printing service |
JP6324134B2 (en) * | 2014-03-19 | 2018-05-16 | キヤノン株式会社 | Image forming apparatus, image forming apparatus control method, and program |
KR101720777B1 (en) * | 2014-08-28 | 2017-03-28 | 에스프린팅솔루션 주식회사 | Method for controlling image forming apparatus through user terminal, image forming apparatus and user terminal for performing the same |
CN105491594A (en) * | 2015-11-24 | 2016-04-13 | 小米科技有限责任公司 | Network connection processing method and device |
-
2017
- 2017-11-21 KR KR1020170155813A patent/KR20190058132A/en unknown
-
2018
- 2018-07-16 CN CN201880065464.7A patent/CN111183628B/en not_active Expired - Fee Related
- 2018-07-16 US US16/761,982 patent/US11317002B2/en active Active
- 2018-07-16 EP EP18880954.5A patent/EP3692707A4/en not_active Withdrawn
- 2018-07-16 WO PCT/KR2018/008000 patent/WO2019103269A1/en unknown
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106027837A (en) * | 2015-03-25 | 2016-10-12 | 柯尼卡美能达株式会社 | Image Processing System, Image Processing Apparatus, Instruction Server, and Storage Medium |
Also Published As
Publication number | Publication date |
---|---|
EP3692707A1 (en) | 2020-08-12 |
KR20190058132A (en) | 2019-05-29 |
US20210409568A1 (en) | 2021-12-30 |
CN111183628A (en) | 2020-05-19 |
US11317002B2 (en) | 2022-04-26 |
EP3692707A4 (en) | 2021-08-25 |
WO2019103269A1 (en) | 2019-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9542138B2 (en) | Printing control apparatus, image forming apparatus, image forming system, and image forming method for performing printing in a direct wireless manner | |
US8937730B2 (en) | System, image forming apparatus, server, and control method thereof | |
US10866776B2 (en) | Pull printing method and system using cloud server | |
US11392439B2 (en) | Program and information processing apparatus | |
US10776494B2 (en) | Method for verifying forgery and falsification of executable file in image forming apparatus and image forming apparatus using same | |
US10142517B2 (en) | Image forming apparatus, print system, method for controlling image forming apparatus, method for controlling print system, and storage medium storing program | |
US11689684B2 (en) | Information processing system, method, and image forming apparatus issues access token for accessing cloud service and display unit to display reauthorization object to reissue the access token for controlling image processing function | |
US11645024B2 (en) | Resuming print job by using accounting information | |
US11089176B2 (en) | Control of apps providing same or similar services in image forming device supporting multiple platforms | |
US20140118766A1 (en) | Host device, driving method of the host device, image forming device, image forming method, and computer-readable recording medium | |
CN111183628B (en) | Image forming apparatus, method of operating the same, and readable recording medium | |
US10397439B2 (en) | Server system transmitting job to processing apparatus, information processing system, and control method for server system | |
KR101840724B1 (en) | Method for printing by using a way of pull printing and image forming apparatus by using the same | |
US9473650B2 (en) | Image reading apparatus, image reading method, image processing system, and storage medium | |
KR20150015775A (en) | Image forming device and computing device for controlling data flow on image forming system, method for controlling data flow on image forming system thereof | |
US9442682B2 (en) | Image processing apparatus, control method therefor and storage medium | |
US10277765B2 (en) | Information processing device, control method, and program | |
US10129425B2 (en) | Communication apparatus capable of shifting to at least one of a first state and a second state in which less power is consumed than in the first state, and a control method and a non-transitory computer-readable storage medium for use with same | |
US9871938B2 (en) | Image processing apparatus, communication apparatus, image processing system, and image processing method | |
US10846035B2 (en) | Method for controlling image forming apparatus and image forming apparatus using same | |
US9531904B2 (en) | Information processing apparatus, control method of information processing apparatus, and recording medium | |
US20240107598A1 (en) | Storage medium, information processing apparatus, and control method for the information processing apparatus | |
US20150237162A1 (en) | Image Forming Apparatus and Event Notification System That Reduces Load of Server for Helping Event Notification | |
US11153450B2 (en) | Providing of user interface screen based on different user interface platforms | |
US10606530B2 (en) | Printing apparatus that prevents communication between components of the printing apparatus from becoming impossible, control method therefor, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20220809 |