Image reading system, method for controlling the same, and program
The image reading system addresses inefficiencies in data processing and transfer by dividing image data into blocks for efficient server management, reducing server load and processing time while maintaining data integrity.
Patent Information
- Application Number
- JP2023020463
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-14
- Publication Date
- 2024-08-26
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing image reading devices face inefficiencies in processing and transferring large amounts of image data, leading to increased waiting times and server load, which affect user convenience and competitiveness due to the need for large-capacity storage and complex server processing.
An image reading system that divides image data into predetermined amounts and transfers these blocks to an image upload server, using a network of servers to manage and combine the data efficiently, reducing server load and processing time.
The system reduces server load and processing time by optimizing data transfer through fixed-length data communication, allowing for seamless integration with existing devices without firmware updates and ensuring data integrity despite varying communication paths.
Smart Images

Figure 2024115026000001
Abstract
Description
[Technical field]
[0001] The present invention relates to an image reading system, a control method thereof, and a program. [Background technology]
[0002] In recent years, there has been an increase in services that use cloud environments, known as SNS (social network services) on the Internet. In services that use cloud environments, users share information by storing text and images on a server using terminals such as personal computers and smartphones. When an image reading device is used to store images in a cloud environment, it is possible to read printed materials and the like as images without distortion, compared to images taken with a digital camera or the like. Patent Document 1 discloses a technology that integrates image acquisition from an image reading device and adding images to a cloud environment and allows the integration and operation from a terminal. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2016-19061 A Summary of the Invention [Problem to be solved by the invention]
[0004] The above-mentioned Patent Document 1 describes a method of reading a document page by page, temporarily storing the image data in a page buffer, and uploading the contents of the page buffer to an image data storage server after the completion of reading one page. In a process of reading and transferring in sequence, it is impossible to read the next document while uploading the image data. In a reading device that can transport documents in succession using an ADF (Auto Document Feeder), it is possible to read continuous documents. However, when image data stored in the page buffer is transferred between pages of document reading, a waiting time for the transfer occurs. Therefore, in addition to the time required to read the document, the waiting time for the transfer increases, which causes a problem of reducing user convenience. It is also possible to provide an ADF and have multiple page buffers to reduce the waiting time between pages, but in this case, a large-capacity storage device is required as a page buffer, which increases the cost of the reading device and reduces the price competitiveness of the product. In addition, in the case of a reading device that has the function of saving multiple documents in a single file, there is a problem in that it is not possible to guarantee that the file created from multiple documents will be stored in the page buffer, and image data may not be uploaded. Furthermore, if the configuration is such that an auxiliary storage device is included that temporarily stores all of the image data created by a reading device that has the function of saving multiple documents in a format that combines them into a single file, there is the problem that price competitiveness is lost, just as with the multiple page buffer configuration.
[0005] On the other hand, there is a method that does not require a large-capacity storage device, in which large data such as image data is divided and transferred as a set of fragments with added control information, i.e., chunks. Specifically, the method specified in HTTP 1.1 Transfer-Encoding:chunked is known (hereinafter referred to as "chunk transfer"). By providing multiple small buffers for the scanned image data, with a capacity equivalent to that of a page buffer, it is possible to perform the scanning of the document and the transfer of the chunked image data simultaneously in parallel. However, chunk transfer does not specify the capacity of the entire image data that is ultimately transferred, and only the data size of each chunk of data can be specified. And because chunk transfer is intended for the transfer of relatively small data such as character strings of indefinite length, an increase in server processing is expected when transferring large amounts of data such as image data. This is because chunk transfers are sent as TCP / IP packets, and the communication path may differ for each packet, so the server that receives and processes the image data sent by chunk transfer must process to confirm that the image data has been received in order. Furthermore, in some cases, processing to rearrange the order is required, which increases the load on the server that performs the receiving process. In addition, in recent years, servers that receive and process image data rarely perform the process independently, and it is common for them to be configured to connect to a virtual computing server via a content delivery acceleration server, an authentication server, and a load balancer server for load distribution. In such a configuration, each server must process chunk transfers, which increases the overall load on the server's receiving process. In view of the above problems, the present invention aims to provide an image reading system that reduces the load on the server that transfers the data by dividing image data generated by a reading process performed by an image reading device into predetermined amounts and transferring the divided amounts to an image upload server. [Means for solving the problem]
[0006] In order to solve the above problems, the present invention has the following configuration. The present invention is an image reading system in which a plurality of servers and an image reading device are connected via a network, the image reading device having a first receiving means for receiving from a second server an upload URL to which upload count information for transmitting image data to a first server is added, a first transmitting means for transmitting image data to the upload URL when the read image data reaches a predetermined amount or when the reading process is completed, a first notifying means for notifying the second server of a first notification that a scan job has been accepted, a second notifying means for notifying the second server of a second notification that the reading process is continuing if the reading process is continuing when the first transmitting means transmits the image data, and a third notifying means for notifying the second server of a third notification that the processing is completed when the processing is completed, and the first server has a second receiving means for receiving a predetermined amount of image data from the image reading device, and a third notifying means for transmitting the image data based on the upload count information in response to an instruction from the third server. the second server has a requesting means for requesting the third server for a notification of receipt of the second notification and an URL for uploading when the second server has received the first notification or the second notification, a second transmitting means for transmitting the URL for uploading received from the third server to the image reading device, and a third transmitting means for transmitting to the third server a fourth notification of completion of the reading process when the third notification has been received; the third server has a fourth transmitting means for transmitting to the second server an URL for uploading with information on the number of uploads added to the URL of the first server, the fourth transmitting means for transmitting the URL for uploading with information on the number of uploads added when the notification of receipt of the second notification has been received, and has an instruction means for instructing the first server to combine the transmitted image data when the fourth notification has been received from the second server. Effect of the Invention
[0007] According to the present invention, image data generated by an image reading device through a reading process is divided into predetermined amounts and then transferred to an image upload server, thereby reducing the load on the server that transfers the data. [Brief description of the drawings]
[0008] [Figure 1] Image reading system configuration according to the embodiment [Diagram 2] Block diagram showing the hardware configuration of the MFP [Diagram 3] Block diagram showing the overall configuration of the cloud scanning service [Figure 4] Block diagram showing the hardware configuration of each application server [Diagram 5] Image reading process sequence diagram [Figure 6] Mobile device processing flow [Figure 7] Web application server processing flow [Figure 8] Scan job server processing flow [Figure 9] Service wrap server processing flow [Figure 10] Image upload server processing flow [Figure 11] Image data storage server processing flow [Figure 12] MFP processing flow [Figure 13] Example of a mobile device screen [Figure 14] HTTP communication and URL example [Figure 15] Sequence diagram of processing when scan job execution is impossible [Figure 16] FIG. 11 is a sequence diagram of an image reading process according to another embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, embodiments of the present invention will be described with reference to the drawings. Note that the configurations shown in the following embodiments are merely examples, and the present invention is not limited to the configurations shown in the drawings. <Embodiment 1> Overall system configuration FIG. 1 is a diagram showing an example of an image reading system configuration of the present invention. The system configuration of this embodiment is an example of a cloud scan system, and is configured such that a cloud scan service 200, an MFP 100, and a mobile terminal 300 are connected via a network 400. The MFP 100 is an MFP (Multi Function Peripheral) that is an image processing device including a print function and a FAX function in addition to a reading function, but is not limited thereto, and may be any reading device having a reading function and a communication function. The cloud scan service 200 is configured by multiple servers, displays a UI screen on the screen of the mobile terminal 300, creates a scan job in response to an input to the UI screen by a user's operation, makes a reading request to the MFP 100, and acquires image data. The network 400 of this embodiment may be the Internet or a LAN (Local Area Network). The network 400 may be wired or wireless.
[0010] MFP hardware configuration 2 is a diagram showing an example of the hardware configuration of MFP 100. MFP 100 includes a CPU 111, ROM 112, RAM 113, storage 114, operation unit I / F 115, operation unit 116, reading unit I / F 117, reading unit 118, printing unit I / F 119, printing unit 120, wireless communication unit I / F 121, and wireless communication unit 122. MFP 100 also includes a FAX unit I / F 123, FAX communication unit 124, communication unit I / F 125, communication unit 126, scan job analysis unit 127, and upload URL storage unit 128. A control unit 110 including a CPU 111 controls the overall operation of the MFP 100 . The CPU 111 reads out a control program stored in the ROM 112 or the storage 114 into the RAM 113, and performs various types of control such as reading control and printing control. The ROM 112 stores a control program executable by the CPU 111. The ROM 112 also stores a boot program, font data, and the like. The RAM 113 is a main memory, and is used as a work area and a temporary storage area for developing various control programs stored in the ROM 112 and the storage 114. The storage 114 stores image data, print data, various programs, and various setting information. In this embodiment, the storage 114 is assumed to be a flash memory, but an auxiliary storage device such as an SSD (Solid State Drive) or an HDD (Hard Disc Drive) may also be used. Also, an eMMC (embedded Multi Media Card) may also be used. In the MFP 100 of this embodiment, one CPU 111 executes each process shown in the flowcharts described later using one memory (RAM 113), but this is not limited to this. For example, each process shown in the flowcharts described later can be executed by using multiple CPUs, RAMs, ROMs, and storages in cooperation. Also, some of the processes can be executed using hardware circuits such as ASICs and FPGAs.
[0011] An operation unit I / F 115 connects the control unit 110 to an operation unit 116 including a display unit such as a touch panel and hard keys. An operation unit 116 displays information to the user and detects inputs from the user. A reading unit I / F 117 connects the control unit 110 to a reading unit 118 such as a scanner. The reading unit 118 reads an image of an original document, and the CPU 111 converts the image into image data such as binary data. Image data generated based on the image read by the reading unit 118 is sent to an external device or printed on recording paper. The reading unit also has an ADF, and can transport an original document placed on an original document tray provided in the MFP 100, read the image of the transported original document, and generate image data. The printing unit I / F 119 connects a printing unit 120, such as a printer, to the control unit 110. The CPU 111 transfers image data (print data) stored in the RAM 113 to the printing unit 120 via the printing unit I / F 119. The printing unit 120 prints an image based on the transferred image data on a recording sheet fed from a paper feed cassette. The wireless communication unit I / F 121 is an interface for controlling the wireless communication unit 122, and can connect the control unit 110 to an external wireless device via wireless communication. The control unit 110 is connected to the public line network 107 by controlling a FAX communication unit 124 such as a facsimile via a FAX unit I / F 123 . The FAX unit I / F 123 is an interface for controlling a FAX communication unit 124, and by controlling a modem and an NCU for facsimile communication, it is possible to connect to a public line network, control a facsimile communication protocol, and the like.
[0012] The communication unit I / F 125 connects the control unit 110 and the network 400. The communication unit I / F 125 allows the communication unit 126 to transmit image data and various information inside the device to an external device on the network 400, and to receive print data or information on the network 400 from an information processing device on the network 400. As a method of transmission and reception via the network 400, transmission and reception using e-mail and file transmission using other protocols (for example, FTP, SMB, WEBDAV, etc.) can be performed. Furthermore, scan jobs and various setting data can be transmitted and received via the network 400 by accessing from the cloud scan service 200 through HTTP communication. The CPU 111 receives a scan job from the cloud scan service 200 connected via the network 400, and analyzes the scan job using the scan job analysis unit 127. The upload URL for uploading the scanned image data included in the analysis result to the cloud scan service 200 is stored in the upload URL storage unit 128. In addition, other scan parameters (document type: document, scan size: A4, etc.) are stored in the work area of the RAM 113. Here, URL stands for Uniform Resource Locator.
[0013] -Overall configuration of cloud scanning service FIG. 3 is a diagram illustrating an example of the configuration of the cloud scan service 200. The cloud scan service 200 includes a Web application server 210 , a scan job server 220 , a service wrap server 230 , an image upload server 240 , and an image data storage server 250 . The Web application server 210 transmits data (eg, HTML) for displaying an operation screen (eg, a reading start screen 1301) of the cloud scan service 200 to the mobile terminal 300, and responds to inputs made by the user operating the mobile terminal 300. The scan job server 220 cooperates with the Web application server 210 and the service wrap server 230 to control the entire cloud scan service 200 . The service wrapper server 230 generalizes the processing of the image upload server 240 and handles generalization of communication with the MFP 100 . The image upload server 240 performs processing specialized for image uploading, controls the order of the divided and uploaded image data, and combines the divided image data. The image data storage server 250 stores and saves the image data combined by the image upload server 240 .
[0014] - Application server hardware configuration diagram 4 is a diagram showing an example of a hardware configuration of the Web application server 210. The Web application server 210 includes a CPU 211, a ROM 212, a RAM 213, a storage 214, and a communication unit 215. The CPU 211 reads out a control program stored in the ROM 212 or the storage 214 into the RAM 213, and performs various controls such as control of communications with other connected servers. The ROM 212 stores a control program executable by the CPU 211. The ROM 212 also stores a boot program and the like. The RAM 213 is a main memory, and is used as a work area and a temporary storage area for developing various control programs stored in the ROM 212 and the storage 214. The storage 214 stores image data, various programs, and various setting information. In this embodiment, the storage 214 is assumed to be a flash memory, but an auxiliary storage device such as an SSD or HDD may also be used. Also, an eMMC may also be used. The communication unit 215 is connected to the network 400, and is controlled by the CPU 211 to communicate with the mobile terminal 300 and other connected servers. The scan job server 220, the service wrap server 230, the image upload server 240, and the image data storage server 250 have the same hardware configuration as the Web application server 210 in Fig. 4, and therefore their explanations are omitted. Also, each server may be configured as a virtual server that operates within a single hardware configuration.
[0015] Image reading process sequence 5 is a sequence diagram of an image reading process in which the cloud scan service 200, the MFP 100, and the mobile terminal 300 operate through the network 400. In the following, each step of the sequence is represented by "S." In S501, when a [Start reading] button 1303 displayed on a screen 1301 in FIG. 13A is pressed by a user operation, the mobile terminal 300 transmits a start reading input notification to the Web application server 210. In S502, when the Web application server 210 receives the read start input notification, it transmits a read start notification to the scan job server 220. The read start notification includes scan parameters, which are information for executing the read process. The scan parameters include, for example, the document type, read size, data format, and the like, which are shown as scan parameters 1302. The scan parameters 1302 are displayed on the screen of the mobile terminal 300 and are set by the user. Upon receiving the reading start notification, in S503, the scan job server 220 transmits a scan job notification to the MFP 100. The scan job notification includes scan parameters, which are information for executing the reading process. When the MFP 100 receives the scan job notification and the scan parameters, which are information for executing the reading process, it determines whether scanning can be performed. If it is determined that scanning can be performed, a job acceptance notification is sent to the scan job server 220 in S504. In this sequence, a case where scanning is possible will be described, and a case where scanning is not possible will be described later with reference to FIG. When the scan job server 220 receives the job acceptance notification, in S505 it transmits a processing notification to the Web application server 210 to indicate on the screen of the mobile terminal 300 that the job has been accepted and is being processed. In S506, when the Web application server 210 receives the processing notification 505, it transmits a processing indication to the mobile terminal 300. When the mobile terminal 300 receives the processing indication, it updates the display to a screen indicating that the scan job is being processed. For example, a display like screen 1304 (FIG. 13(b)) is displayed. After transmitting the in-process notification 505, the scan job server 220 transmits a URL request to the service wrap server 230 in order to notify the MFP 100 of the destination of the image data in S507. In S508, upon receiving the URL request, the service wrap server 230 transmits a URL acquisition request to the image upload server 240. An example of the URL acquisition request is communication such as the HTTP communication 1401 in FIG. In S509, upon receiving the URL acquisition request, the image upload server 240 issues a URL for uploading image data using the upload service, and transmits a notification of the URL to the service wrap server 230. An example of the URL transmitted by the image upload server 240 is in the format of URL 1402 in FIG. Upon receiving the URL issuance notified in S509, in S510 the service wrap server 230 transmits an upload URL to which the URL notification and the number of scan job uploads for the received URL have been added to the scan job server 220. An example of an upload URL to which the number of uploads information has been added is URL 1403 in Fig. 14, where the part "part=1" is the information added for the first upload. When the scan job server 220 notifies the user of the URL and receives the URL, the scan job server 220 transmits the URL notification and the received URL for uploading to the MFP 100 in step S511. When the MFP 100 receives the URL notification and the upload URL, in S511, the MFP 100 completes preparations for the reading process and starts the reading process. When the image data to be uploaded is acquired by executing the reading process and reaches a predetermined data size for executing the upload, in S512, the MFP 100 uses the upload URL to upload the image data to the image upload server 240. An example of this HTTP communication is HTTP communication 1404 in FIG. If the reading process is still continuing after the image data is uploaded, the MFP 100 transmits an upload continuation notification to the scan job server 220 in S513. When the scan job server 220 receives the upload continuation notification, in S514 it transmits a URL request to the service wrap server 230 to request a URL. When the service wrap server 230 receives the URL request, in S515, it prepares a URL with "part=2" as the URL for the second upload in which the number of uploads has been incremented to the scan job server 220, and transmits this together with the URL notification. When the scan job server 220 notifies the user of the URL and receives the URL, the scan job server 220 transmits the URL notification and the received URL for uploading to the MFP 100 in S516. When the MFP 100 receives the URL notification and the URL for uploading, it continues the reading process (S551) until the next upload timing. In this embodiment, a case where the reading process ends before the data size for uploading is reached will be described. In S517, MFP 100 uploads the image data from the continuation data from the previous time to the final image data to image upload server 240 as upload data. An example of the HTTP communication for the second data upload is the HTTP communication 1405 in FIG. In S518, the MFP 100 transmits an upload end notification to the scan job server 220 since the upload has been completed.
[0016] When the scan job server 220 receives the upload completion notification, it transmits a completion notification to the service lap server 230 in S519. When the service wrap server 230 receives the completion notification, in S520 it transmits a merge notification to the image upload server 240. An example of the merge notification is the HTTP communication 1406 in FIG. When the image upload server 240 receives the merge notification, it merges the uploaded image data based on the information specified by "part=" to create one image data file. Then, in S521, the image upload server 240 transfers the created image data to the image data storage server 250 as data. The image data storage server 250 stores the image data transferred from the image upload server 240 in S521. Furthermore, upon receiving the upload completion notification, the scan job server 220 transmits a read completion notification to the Web application server 210 in S522. When the Web application server 210 receives the reading completion notification, in S523, it transmits a reading completion indication to the mobile terminal 300. When the mobile terminal 300 receives the reading completion display, it updates the display to display the reading completion. An example of the screen display is the reading completion display 1305 in FIG.
[0017] (Processing on mobile devices) 6 is a flowchart of the mobile terminal 300 when operating as the cloud scan system of this embodiment. This flow is realized by the CPU of the mobile terminal expanding a program stored in the ROM or storage on the RAM and executing it. This process is started by starting the application of the cloud scan system. In S601, the mobile terminal 300 displays the reading start screen 1301 (FIG. 13(a)) and waits for the user to press the [Reading Start] button 1303. If the [Reading Start] button 1303 is pressed in S601, the mobile terminal 300 advances the process to S602. In S602, a reading start input notification is sent to the Web application server 210. Thereafter, in S603, the mobile terminal 300 waits for a display update from the Web application server 210. If a processing indication (S506), a reading completion indication (S523), or an impossible indication (S1503) is received from the Web application server 210 (Yes in S603), the process proceeds to S604. In S604, the display is updated to a processing in progress display screen 1304, a reading completion display screen 1305, and a scan job impossible screen 1307, respectively, as shown in Figures 13(b), (c), and (d), and the process returns to S603 to wait for a display update from the Web application server 210.
[0018] Processing on the web application server 7 is a flowchart of a process from when the Web application server 210, which is one of the servers constituting the cloud scan service 200 of this embodiment, receives a reading start input from the mobile terminal 300 until the MFP 100 completes reading. This flowchart is realized by the CPU of the Web application server 201 expanding a program stored in the ROM or storage on the RAM and executing it. In S701, the Web application server 210 waits to receive a reading start input transmitted from the mobile terminal 300 (S501). When the Web application server 210 receives the reading start input, the process proceeds to S702, and transmits the reading start command (S502) and scan parameters to the scan job server 220 (S503). The scan parameters are displayed on the mobile terminal 300 screen as shown in scan parameters 1302, but the setting contents are stored in the Web application server 210. When the user operates the mobile terminal 300 to change the setting values of the scan parameters, the mobile terminal 300 notifies the Web application server 210 and the changed values are stored. In S703, the Web application server 210 waits for a notification of scan job acceptance and other notifications from the scan job server 220. If a notification of scan job acceptance has been received (Yes in S703), the process proceeds to S704, and if not (No in S703), the process proceeds to S708. When the scan job server 220 receives the notification of job acceptance sent in S504, the process proceeds to S704, and a processing in progress indication is sent to the mobile terminal 300 (S506). In S705, the Web application server 210 waits to receive a notification of completion of reading from the scan job server 220 (S522). When the scan job server 220 receives the reading completion notification sent in S522, the process proceeds to S706, where it sends a reading completion indication to the mobile terminal 300 (S523), and ends the process. On the other hand, if a notification of scan job acceptance has not been received from the scan job server 220 in S703, the process proceeds to S708. In S708, if a notification has been received, the Web application server 210 determines whether the scan job cannot be executed. In S1502 (FIG. 15), if an impossibility notification has been received from the scan job server 220 (Yes in S708), the process proceeds to S709, and if not (No in S708), the process returns to S703 and the process waits for receipt of a notification. In S709, the Web application server 210 transmits an impossibility display S1503 to the mobile terminal 300.
[0019] Processing on the scan job server 8 is a flowchart of processing in the scan job server 220, which is one of the servers constituting the cloud scan service 200 of this embodiment. This flowchart is realized by the CPU of the scan job server 220 expanding a program stored in the ROM or storage on the RAM and executing it. In S801, the scan job server 220 determines whether the scan start notification sent by the Web application server 210 in S502 has been received. If the scan job server 220 receives the read start S502 and the scan parameters (Yes in S801), the process proceeds to S802, and if not (No in S801), the process proceeds to S803. In S802, a scan job notification S503 and scan parameters are transmitted to the MFP 100, and the process returns to S801 to wait for reception of any notification. In S803, the scan job server 220 determines whether or not it has received the scan job acceptance notification sent in S504 by the MFP 100. If it has received the job acceptance notification from the MFP 100 (Yes in S803), the process proceeds to S804, and if it has not received the job acceptance notification (No in S803), the process proceeds to S808. In S804, the scan job server 220 transmits a processing acceptance notification to the Web application server 210 (S505). In S805, the scan job server 220 transmits a URL request to the service wrap server 230 (S507), and the process proceeds to S806. In S806, the scan job server 220 waits until the URL is acquired. If the scan job server 220 receives the URL notification and the upload URL sent by the service wrap server 230 in S510, the process proceeds to S807. In S807, the scan job server 220 transmits a URL notification and an upload URL to the MFP 100 (S511), and the process returns to S801. On the other hand, if a job acceptance notification has not been received in S803, the scan job server 220 determines in S808 whether or not an upload continuation notification (S513) has been received from the MFP 100. If the upload continuation notification sent in S513 from the MFP 100 has been received, the process proceeds to S809. In the next step S809, the scan job server 220 transmits a URL request to the service wrap server 230 (S514), and the process proceeds to S810. In S810, the scan job server 220 waits for acquisition of the URL. When the scan job server 220 receives the URL notification and the upload URL sent by the service wrap server 230 in S515, the process proceeds to S811. In S811, the scan job server 220 transmits the URL notification and the upload URL to the MFP 100 (S516), and the process returns to S801. If it is determined in S808 that the scan job server 220 has not received an upload continuation notification, the scan job server 220 determines in S812 whether or not an upload end notification has been received. If an upload end notification S518 has been received from the MFP 100 (Yes in S812), the process proceeds to S813, and if not (No in S812), the process proceeds to S815. In S813, the scan job server 220 transmits a completion notification to the service lap server 230 (S519). In S814, the scan job server 220 transmits a reading completion notification to the Web application server 210 (S522), and ends this process. On the other hand, if the upload completion notification sent by the MFP 100 in S518 has not been received (No in S812), the scan job server 220 determines in S815 whether or not a notification that the scan job cannot be executed has been received. If the job impossible notification sent by the MFP 100 in S1501 has been received (Yes in S815), the process proceeds to S816, and if not (No in S815), the process returns to S801. In S816, the scan job server 220 transmits an impossible notification S1502 to the Web application server 210, and the process returns to S801.
[0020] Service wrap server processing 9 is a flowchart of processing in the service lap server 230, which is one of the servers constituting the cloud scan service 200 of this embodiment. This flowchart is realized by the CPU of the service lap server 230 expanding a program stored in the ROM or storage on the RAM and executing it. In S901, the service wrap server 230 determines whether or not the URL request sent in S507 by the scan job server 220 has been received. If the URL request has been received (Yes in S901), the process proceeds to S902, and if not (No in S901), the process proceeds to S905. In S902, the service wrap server 230 transmits a URL acquisition request to the image upload server 240 (S508). In S903, the service wrap server 230 waits for acquisition of the URL. If the image upload server 240 receives the URL issue and upload URL sent in S509, the process proceeds to S904. In S904, the service wrap server 230 transmits the URL notification and the upload URL to the scan job server 220 (S510). In S905, the service wrap server 230 judges whether or not it has received the upload completion notification sent in S519 by the scan job server 220. If it is judged that the completion notification has been received (Yes in S519), the process proceeds to S906, and if not, the process returns to S901. In S906, the service wrap server 230 transmits a merge notification (S520) to the image upload server 240 to instruct the image upload server 240 to merge the upload data and transfer (S521) the merged image data to the image data storage server 250. Then, the process returns to S901.
[0021] · Image upload server processing 10 is a flowchart of processing in the image upload server 240, which is one of the servers constituting the cloud scan service 200 of this embodiment. This flowchart is realized by the CPU of the image upload server 240 expanding a program stored in the ROM or storage on the RAM and executing it. In S1001, the image upload server 240 determines whether or not it has received the URL acquisition request sent in S508 by the service wrap server 230. If a URL acquisition request has been received from the service wrap server 230 (Yes in S1001), the process proceeds to S1002, and if not (No in S1001), the process proceeds to S1003. In S1002, the image upload server 240 generates an image upload URL as a pre-processing for image upload, issues the URL to the service wrap server 230, and transmits the image upload URL (S509). On the other hand, if a URL acquisition request has not been received, in S1003, the image upload server 240 determines whether image data has been uploaded. If image data upload (S512, S517) has been received from the MFP 100 (Yes in S1003), the process proceeds to S1004, and if not (No in S1003), the process proceeds to S1005. In S1004, the image upload server 240 receives the uploaded image data transmitted by the MFP 100 in S512 or S517, and stores it in a storage unit. In S1005, the image upload server 240 determines whether or not it has received the data merge notification sent in S520 by the service wrap server 230. If a merge notification has been received from the service wrap server 230 (Yes in S1005), the process proceeds to S1006, and if not, the process returns to S1001 and waits for the notification to be received. In S1006, the image upload server 240 performs a combination of the image data uploaded in S512 or S517. In the next step S1007, the image upload server 240 transmits the image data combined in step S1006 to the image data storage server 250 together with the data transfer (S521).
[0022] · Processing of image data storage server 11 is a flowchart of processing in the image data storage server 250, which is one of the servers constituting the cloud scan service 200 of this embodiment. This flowchart is realized by the CPU of the image data storage server 250 expanding a program stored in the ROM or storage on the RAM and executing it. In S1101, the image data storage server 250 waits for a notification requesting data storage. When data transfer S521 and image data reception are performed from the image upload server 240, the process proceeds to S1102, where the received image data is stored, and the process ends.
[0023] MFP processing 12 is a flowchart of a process in the MFP 100 that operates as the cloud scan system of this embodiment. This flowchart is realized by the CPU of the MFP 100 expanding a program stored in the ROM or storage on the RAM and executing it. In S1201, the MFP 100 waits for a notification of the start of a scan job. If the scan job notification and scan parameters sent by the scan job server 220 in S503 are received, the process proceeds to S1202. In S1202, MFP 100 determines whether scanning is possible based on the scan parameters of the received scan job and the job execution status of MFP 100. The condition for determining whether scanning is possible is, for example, whether a process such as copying that performs other reading processes is being executed. If scanning is possible (Yes in S1202), the process proceeds to S1203, and if scanning is not possible (No in S1202), the process proceeds to S1212. In S1203, the MFP 100 transmits a job acceptance notification to the scan job server 220 (S504). In the next step S1204, the MFP 100 receives the URL notification and the upload URL that the scan job server 220 sent in step S511 as return values in response to the job acceptance notification sent in step S504. In S1205, the MFP 100 starts the reading process (S551) using the scan parameters that the scan job server 220 sent together with the scan job notification in S503. In S1206, MFP 100 accumulates image data acquired as a result of the reading process, and when the upload data size is reached, uploads the image data to image upload server 240 using the received upload URL (S512). In S1207, the MFP 100 determines whether the reading process (S511) of the image data being scanned has ended. If the image data is being read (No in S1207), the process proceeds to S1208, and if the reading has ended (Yes in S1207), the process proceeds to S1211. At the time of uploading the image data (S512) in FIG. 5, the reading process 551 is ongoing, so the process proceeds to S1208. In S1208, the MFP 100 transmits an upload continuation notification to the scan job server 220 (S513). In S1209, the MFP 100 receives the URL notification sent by the scan job server 220 in S516. In S1210, the MFP 100 uploads image data (S517) and advances the process to S1207. If the MFP 100 determines in S1207 that the reading is completed at the timing of the image data upload S517 (Yes in S1207), the MFP 100 transmits an upload completion notification to the scan job server 220 (S518) in S1211 and ends the processing. Also, if scanning is not possible in S1202 (No in S1202), in S1211, the MFP 100 transmits a job impossible notification to the scan job server 220 (S1501), and ends the process.
[0024] (Mobile device display screen) FIG. 13 shows an example of a screen display displayed on the screen of the mobile terminal 300. 13(a), scan parameters 1302 and a [Start reading] button 1303 are displayed. When the user presses the [Start reading] button 1303, a read start input is sent from the mobile terminal 300 to the Web application server 210. The scan parameters 1302 include the type of document, the read size, etc. as parameters of the document to be scanned, and also include the output data format, which is PDF format in this case. The scan parameters are not limited to these. FIG. 13B is an example of a processing screen 1304 sent from the Web application server 210 to notify that processing is in progress. FIG. 13C shows a read completion screen 1305 for notifying the user that reading has been completed, and includes an [OK] button 1306 for inputting that the user has confirmed the displayed contents. 13D is an example of a scan job impossible screen 1307 transmitted from the Web application server 210 to the mobile terminal 300. The screen is transmitted from the Web application server 210 to the mobile terminal 300 when the MFP 100 notifies the Web application server 210 via the scan job server 220 in S1212 that the scan job cannot be executed.
[0025] (HTTP communication and URL) Figure 14 shows an example of HTTP communication and URL. HTTP communication 1401 is an example of a URL acquisition request, URL 1402 is an example of a URL transmitted by the image upload server 240, and URL 1403 is an example of an upload URL with upload count information added. HTTP communication 1404 is an example of the MFP 100 using the upload URL to perform image data upload S512, HTTP communication 1405 is an example of HTTP communication for the second data upload, and HTTP communication 1406 is an example of the merge notification S520.
[0026] Image reading (not possible) processing sequence 15 is a sequence diagram when it is determined that an image cannot be read by the MFP 100. S501, S502, and S503 from the mobile terminal 300 to the MFP 100 are the same, so a description thereof will be omitted. If the MFP 100 determines that the document cannot be read, it transmits a job impossible notification to the scan job server 220 (S1501). When the scan job server 220 receives the job impossible notification sent by the MFP 100 in S1501, it transmits the impossible notification to the Web application server 210 (S1502). When the Web application server 210 receives the impossible notification sent by the scan job server 220 in S1502, it sends an impossible display to the mobile terminal 300 (S1503), and the mobile terminal 300 displays the scan job impossible screen 1307. As explained above using the embodiments, the present invention divides image data generated by scanning an original document into fixed-length blocks and transfers them to an image upload server. By doing so, the HTTP communication process used to upload image data is made into a fixed-length data communication, making it possible to simplify the processing of the server that transfers the data. It is expected that the processing load of the server that transfers image data in the network image scanning system will be reduced. In addition, the present invention uses standard HTTP communication for data transfer communication between the image upload server and the reading device by acquiring a URL as image data upload communication information to the image upload server through the service wrap server. Therefore, the image upload server can be changed to another service with the same purpose. This has the effect of making it unnecessary for the reading device to handle updates to the image upload server, and thus making it possible to simultaneously support devices compatible with the image upload service without updating the firmware of installed reading devices. In addition, since the URL is obtained as image data upload communication information to the image upload server via the service wrap server, it is possible to use a different URL for each upload, which has the advantage of making it possible to retry if communication fails. In addition, a URL is obtained for each block of image data upload communication information sent to the image upload server via the service wrap server. Therefore, even if the order of arrival at the image upload server is reversed from the order of transmission due to the nature of the communication path, the image upload server can process the transmitted data in order using the information contained in the URL.
[0027] <Embodiment 2> In the first embodiment, when MFP 100 continues image reading processing, service wrap server 230 issues the next URL. As a second embodiment, a case will be described in which service wrap server 230 issues a request to image upload server 240 to obtain a URL for each upload. FIG. 16 is a sequence diagram of an image reading process in the second embodiment. The processes other than the URL acquisition request (S1601) and URL issuance (S1602) are the same as those in FIG. 5, and therefore their explanation will be omitted. In S1601, when the service wrap server 230 receives the URL request sent by the scan job server 220 in S514, it sends a URL acquisition request to the image upload server 240. In S1602, when the image upload server 240 receives the URL acquisition request sent by the service wrap server 230 in S1601, the image upload server 240 issues a URL for uploading image data using the upload service. The issued URL is the URL for uploading with information added that counts up the number of uploads. Furthermore, the issued URL is sent to the service wrap server 230 together with a notification of the issuance of the URL. According to this embodiment, the service wrap server 230 transmits a URL acquisition request (S1601) to the image upload server 240, and performs a process of receiving the URL issued (S1602) by the image upload server 240. In this way, it is possible to configure a cloud scan service 200 that can be handled without the service wrap server 230 performing any process related to the contents of the URL. The image upload server and the service wrap server may be provided as server instances within the same virtual computing server, or may be provided in separate servers. The disclosure of this embodiment includes the following configuration, method, and program. (Configuration 1) An image reading system in which a plurality of servers and image reading devices are connected via a network, The image reading device includes: a first receiving means for receiving from a second server an upload URL to which information on the number of uploads has been added for transmitting image data to the first server; a first transmission means for transmitting the image data to the URL for uploading when the read image data reaches a predetermined amount or when the reading process is completed; a first notification means for notifying a second server of a first notification that the scan job has been accepted; a second notification means for, when the first transmission means transmits the image data, if the reading process is continuing, sending a second notification to a second server to the effect that the process is continuing; a third notification means for notifying the second server of the completion of the processing when the processing is completed, The first server is a second receiving means for receiving a predetermined amount of image data from the image reading device; a combining means for combining the image data based on upload count information in response to an instruction from a third server, The second server, a request means for, when the first notification or the second notification is received, requesting the third server for a notification that the second notification has been received and a URL for uploading; a second transmission means for transmitting the URL for uploading received from the third server to the image reading device; a third transmission means for transmitting a fourth notification indicating that the reading process has been completed to a third server when the third notification is received; The third server, a fourth transmission means for transmitting to the second server a URL for uploading, the URL being the URL of the first server with information on the number of uploads added thereto; The fourth transmitting means is when receiving a notification that the second notification has been received, transmitting the upload URL to which information indicating that the number of uploads has been incremented is added; and an instruction means for instructing the first server to combine the transmitted image data when the fourth notification is received from the second server. 1. An image reading system comprising: (Configuration 2) An image reading system in which a plurality of servers and image reading devices are connected via a network, The image reading device includes: a first receiving means for receiving from a second server an upload URL to which information on the number of uploads has been added for transmitting image data to the first server; a first transmission means for transmitting the image data to the URL for uploading when the read image data reaches a predetermined amount or when the reading process is completed; a first notification means for notifying a second server of a first notification that the scan job has been accepted; a second notification means for, when the first transmission means transmits the image data, if the reading process is continuing, sending a second notification to a second server to the effect that the process is continuing; a third notification means for notifying the second server of the completion of the processing when the processing is completed, The first server is a second receiving means for receiving a predetermined amount of image data from the image reading device; a fourth transmission means for transmitting to the third server a URL for uploading, the URL being the URL of the first server with information on the number of uploads added thereto; The fourth transmitting means is when receiving a notification that the second notification has been received, transmitting the upload URL to which information indicating that the number of uploads has been incremented is added; a combining means for combining the image data based on upload count information in response to an instruction from a third server, The second server, a first request means for, when receiving the first notification or the second notification, requesting the third server for a notification that the second notification has been received and / or a URL for uploading; a second transmission means for transmitting the URL for uploading received from the third server to the image reading device; a third transmission means for transmitting a fourth notification indicating that the reading process has been completed to a third server when the third notification is received; The third server, a second request means for requesting an upload URL from said first server when a notification of receipt of said second notification and / or a request to said third server for an upload URL is received; and an instruction means for instructing the first server to combine the transmitted image data when the fourth notification is received from the second server. 1. An image reading system comprising: (Configuration 3) A mobile terminal is connected to the network; The mobile terminal transmits instructions from a user to the image reading device, and receives and displays information related to the reading process of the image reading device. 3. The image reading system according to configuration 1 or 2. (Configuration 4) Communication over the network is HTTP communication. 4. The image reading system according to any one of configurations 1 to 3. (Method 1) A method for controlling an image reading device in an image reading system in which a plurality of servers and image reading devices are connected via a network, comprising: a first receiving step of receiving from a second server an upload URL to which upload count information is added for transmitting image data to the first server; a first transmission step of transmitting the image data to the URL for uploading when the read image data reaches a predetermined amount or when the reading process is completed; a first notification step of sending a first notification to the second server indicating that the scan job has been accepted; a second notification step of, when the reading process is continuing during the transmission of the image data in the first transmission step, sending a second notification to a second server to the effect that the reading process is continuing; a third notification step of notifying the second server of the completion of the processing when the processing is completed. A control method for an image reading device, comprising: (Method 2) A method for controlling a first server in an image reading system in which first, second and third servers and an image reading device are connected via a network, comprising: a second receiving step of receiving a predetermined amount of image data from the image reading device; A combining step is provided for combining the image data based on the upload count information in response to an instruction from a third server. 23. A method for controlling a first server comprising the steps of: (Method 3) A method for controlling a second server in an image reading system in which a first server, a second server, and a third server are connected to an image reading device via a network, comprising: a request step of, when the first notification or the second notification has been received, requesting the third server for a notification that the second notification has been received and a URL for uploading; a second transmission step of transmitting the URL for uploading received from the third server to the image reading device; a third transmission step of transmitting, when the third notification is received, a fourth notification indicating that the reading process has been completed to the third server. A control method for a second server comprising: (Method 4) A method for controlling a third server in an image reading system in which a first server, a second server, and a third server are connected to an image reading device via a network, comprising: a fourth sending step of sending, to the second server, a URL for uploading, the URL being the URL of the first server and information on the number of uploads added thereto; The fourth transmitting step includes: when receiving a notification that the second notification has been received, transmitting the upload URL to which information indicating that the number of uploads has been incremented is added; an instruction step of instructing the first server to combine the transmitted image data when the fourth notification is received from the second server. A third server control method comprising: (Program 1) A program for causing a computer to execute the server control method according to any one of Methods 2 to 4. (Program 2) A program for causing a computer to execute the method for controlling an image reading device according to the first method.
[0028] <Other embodiments> The MFP100 of the present invention supplies a program for implementing one or more of the functions of the above-described embodiments to a system or device via a network or a storage medium. The MFP100 can also be implemented by a process in which one or more processors in a computer of the system or device read and execute the program. The MFP100 can also be implemented by a circuit (e.g., ASIC) that implements one or more of the functions. [Explanation of symbols]
[0029] 100 MFP 200 Cloud Scan Service 300 mobile devices 400 Network 111 CPU 118 Reading unit
Claims
1. An image reading system in which a plurality of servers and image reading devices are connected via a network, The image reading device includes: a first receiving means for receiving from a second server an upload URL to which information on the number of uploads is added for transmitting image data to the first server; a first transmitting means for transmitting the image data to the upload URL when the read image data reaches a predetermined amount or when the reading process is completed; a first notification means for notifying the second server of a first notification that the scan job has been accepted; a second notification means for, when the first transmission means transmits the image data, if the reading process is continuing, sending a second notification to a second server to the effect that the process is continuing; a third notification means for notifying the second server of the completion of the processing when the processing is completed, The first server a second receiving means for receiving a predetermined amount of image data from the image reading device; a combining means for combining the image data based on upload count information in response to an instruction from a third server, The second server comprises: a requesting means for, when the first notification or the second notification is received, requesting the third server for a notification that the second notification has been received and a URL for uploading; a second transmission means for transmitting the upload URL received from the third server to the image reading device; a third transmission means for transmitting a fourth notification indicating that the reading process has been completed to a third server when the third notification is received; The third server comprises: a fourth transmission means for transmitting an upload URL, which is the URL of the first server to which information on the number of uploads has been added, to the second server; The fourth transmitting means includes: When a notification that the second notification has been received is received, the upload URL to which information indicating that the number of uploads has been counted up is added is transmitted, and an instruction means for instructing the first server to combine the transmitted image data when the fourth notification is received from the second server.
1. An image reading system comprising:
2. An image reading system in which a plurality of servers and image reading devices are connected via a network, The image reading device includes: a first receiving means for receiving from a second server an upload URL to which information on the number of uploads is added for transmitting image data to the first server; a first transmitting means for transmitting the image data to the upload URL when the read image data reaches a predetermined amount or when the reading process is completed; a first notification means for notifying the second server of a first notification that the scan job has been accepted; a second notification means for, when the first transmission means transmits the image data, if the reading process is continuing, sending a second notification to a second server to the effect that the process is continuing; a third notification means for notifying the second server of the completion of the processing when the processing is completed, The first server a second receiving means for receiving a predetermined amount of image data from the image reading device; a fourth transmission means for transmitting an upload URL, which is the URL of the first server to which information on the number of uploads has been added, to the third server; The fourth transmitting means includes: When a notification that the second notification has been received is received, the upload URL to which information indicating that the number of uploads has been counted up is added is transmitted, a combining means for combining the image data based on upload count information in response to an instruction from a third server, The second server comprises: a first request means for, when the first notification or the second notification is received, requesting the third server for a notification that the second notification has been received and / or a URL for uploading; a second transmission means for transmitting the upload URL received from the third server to the image reading device; a third transmission means for transmitting a fourth notification indicating that the reading process has been completed to a third server when the third notification is received; The third server comprises: a second request means for requesting an upload URL from the first server when a notification of receipt of the second notification and / or a request to the third server for an upload URL is received; and an instruction means for instructing the first server to combine the transmitted image data when the fourth notification is received from the second server.
1. An image reading system comprising:
3. A mobile terminal is connected to the network; The mobile terminal transmits instructions from a user to the image reading device, and receives and displays information related to the reading process of the image reading device.
3. The image reading system according to claim 1, wherein the image reading system is a digital camera.
4. Communication over the network is HTTP.
3. The image reading system according to claim 1, wherein the image reading system is a digital camera.
5. A method for controlling an image reading device in an image reading system in which a plurality of servers and image reading devices are connected via a network, comprising: a first receiving step of receiving, from a second server, an upload URL to which is added upload count information for transmitting image data to the first server; a first transmission step of transmitting the image data to the upload URL when the read image data reaches a predetermined amount or when the reading process is completed; a first notification step of sending a first notification to the second server indicating that the scan job has been accepted; a second notification step of, when the reading process is continuing during the transmission of the image data in the first transmission step, sending a second notification to a second server to the effect that the reading process is continuing; a third notification step of notifying a second server of the completion of the processing when the processing is completed. A control method for an image reading device, comprising:
6. A method for controlling a first server in an image reading system in which first, second and third servers and an image reading device are connected via a network, comprising: a second receiving step of receiving a predetermined amount of image data from the image reading device; A combining step of combining the image data based on the upload count information in response to an instruction from a third server.
23. A method for controlling a first server, comprising:
7. A method for controlling a second server in an image reading system in which first, second and third servers and an image reading device are connected via a network, comprising: a request step of, when the first notification or the second notification is received, requesting the third server for a notification that the second notification has been received and a URL for uploading; a second transmission step of transmitting the upload URL received from the third server to the image reading device; a third transmission step of transmitting a fourth notification indicating that the reading process has been completed to a third server when the third notification has been received. A method for controlling a second server comprising the steps of:
8. A method for controlling a third server in an image reading system in which a first server, a second server, a third server and an image reading device are connected via a network, comprising: a fourth transmission step of transmitting to the second server an upload URL obtained by adding upload count information to the URL of the first server; The fourth transmitting step includes: When a notification that the second notification has been received is received, the upload URL to which information indicating that the number of uploads has been counted up is added is transmitted, an instruction step of instructing the first server to combine the transmitted image data when the fourth notification is received from the second server. A third server control method comprising:
9. A program for causing a computer to execute the server control method according to any one of claims 6 to 8.
10. A program for causing a computer to execute the method for controlling an image reading apparatus according to claim 5.
Citation Information
Patent Citations
Image reading device, program, image reading method, and image reading system
JP2016019061A
