This application is based on and claims priority under 35 USC 119 from Japanese Patent Application No. 2020-200866 filed Dec. 3, 2020.
The present invention relates to an information processing apparatus and a non-transitory computer readable medium storing a program.
There is a system in which an image generation apparatus creates and stores an image for each of all possible sets of values of individual image attributes such as resolution, color mode, and file format, considering the possibility that images will be used later in various different devices (JP2006-261759A).
In the system of generating an image for each of all possible sets of values of image attributes, there is a possibility that images not to be used are generated.
Aspects of non-limiting embodiments of the present disclosure relate to an information processing apparatus and a non-transitory computer readable medium storing a program, which reduce the possibility of generating images not to be used, as compared to the system of generating an image for each of all possible sets of values of image attributes.
Aspects of certain non-limiting embodiments of the present disclosure overcome the above disadvantages and/or other disadvantages not described above. However, aspects of the non-limiting embodiments are not required to overcome the disadvantages described above, and aspects of the non-limiting embodiments of the present disclosure may not overcome any of the disadvantages described above.
According to an aspect of the present disclosure, there is provided an information processing apparatus including a processor configured to: specify a plurality of use apparatuses to use an image of an identical document generated by an image generation apparatus, based on input workflow information; acquire requirements of an input image of each of the plurality of use apparatuses; and execute a provision process of providing generation information indicating that an image is generated according to a set of values of image attributes satisfying the acquired requirements, to the image generation apparatus.
Exemplary embodiment(s) of the present invention will be described in detail based on the following figures, wherein:
The system of
The multifunction apparatus a 102 and the multifunction apparatus b 104 are multifunction machines having a scanner, a printer, a copier, a facsimile machine, a network communication function, an information processing function, and the like. In the following, in a case where there is no need to distinguish, the multifunction apparatus a102 and multifunction apparatus b104 are collectively referred to as “multifunction apparatus.”
In this exemplary embodiment, the scanner function is used among the functions of the multifunction apparatus. At least the performance of the scanner function is different between the multifunction apparatus a 102 and the multifunction apparatus b 104. For example, the multifunction apparatus a 102 and the multifunction apparatus b 104 have scan resolutions, color modes, and output data formats different from each other. The color mode is a mode indicating whether the scan is performed in black-and-white or full-color. The system of
The OCR server A 106 and the OCR server B 108 are servers that provide an optical character recognition (OCR) function. The OCR server A 106 and the OCR server B 108 have different performances (for example, character types and document types), and the users can use separately according to the performances. The bill OCR server 110 provides a character recognition function specialized for bills such as promissory notes. These three OCR servers have different requirements for input document images (hereinafter, also referred to as “input images”).
Requirements for an input image of a certain apparatus are conditions that the attributes of the input image for that apparatus need to satisfy. Input image attributes include requirements for image attributes such as resolution, color mode, and data format. The system of
The OCR server is an apparatus achieved by executing an optical character recognition program on a computer, and receives a character recognition execution request from a client. Of course, a plurality of OCR servers may be executed on one computer.
The subsequent system 112 receives and processes a document image generated by scanning a document by the multifunction apparatus a 102 or the multifunction apparatus b 104, or the character recognition result data of the OCR server A 106, the OCR server B 108, or a bill OCR server 110 (hereinafter, referred to as “OCR server”, in a case where it is not necessary to distinguish) on the document image. The subsequent system 112 may be, for example, a confirmation correction system that presents a character recognition result and a document image to a human operator and receives confirmation and correction of the character recognition result, or may be a core system for business of a company, or the like. In this example, the subsequent system 112 also defines the requirements for the input document image. The system of
Among the apparatuses in the system of
In the system of
The image conversion apparatus 114 converts an image into another image. The image conversion function provided by the image conversion apparatus 114 is, for example, a function of converting the resolution of an image. As another example, the conversion function may be to convert a full-color image into a black-and-white grayscale image. In yet another example, the conversion function may be to convert a black-and-white image or a full-color image into a black-and-white binary image. Of course, the conversion function is not limited to the above examples. The image conversion apparatus 114 includes one or more conversion functions among the conversion functions. Further, a plurality of image conversion apparatuses 114 having different conversion functions may be provided on the network 116.
The service provision infrastructure apparatus 120 provides the multifunction apparatus with information necessary for providing each apparatus constituting the workflow with an image that satisfies the requirements of the apparatus.
For this purpose, the service provision infrastructure apparatus 120 has a database of image generation performance of the image generation apparatus in the system of
Of these, the data contents of the database for the image generation apparatus are illustrated in
Further,
Hereinafter, an example of the processing procedure executed by the service provision infrastructure apparatus 120 will be described with reference to the flowcharts illustrated in
As illustrated in
Next, the service provision infrastructure apparatus 120 specifies, from the workflow definition, an image generation apparatus that scans a paper document in the workflow and a use apparatus to which the document image of the scan result of the image generation apparatus is input (S404). Next, the service provision infrastructure apparatus 120 acquires the scan performance of the specified image generation apparatus, and information on the requirements for the input image of the use apparatus from the database (S406), and lists the information on the requirements for the input image of the use apparatus (S408).
Next, the service provision infrastructure apparatus 120 takes out the requirements of one use apparatus in order from the top of the list generated in step S408 (S410), and determines whether the image generation apparatus specified in step S404 has a performance of outputting a document image satisfying the requirements (S412). In this determination, for example, it is determined whether or not the image generation apparatus can satisfy the requirements, for each attribute such as resolution, data format (that is, input format or output format), and color mode. Then, in a case where it is determined that the image generation apparatus can satisfy the requirements for all the attributes, it is determined that the image generation apparatus has the performance to output a document image satisfying the requirements.
In a case where the result of the determination in step S412 is No, the service provision infrastructure apparatus 120 changes requirements for the input image of the use apparatus in the above-described list to requirements that the image generation apparatus can generate and the image conversion apparatus 114 can convert (S414).
In step S414, the input requirements to be satisfied by the input image of the image conversion apparatus 114 (this information is possessed by the service provision infrastructure apparatus 120) are checked, and the requirements for the input image of the use apparatus are converted to the requirements that satisfy at least the input requirements. In a case where the image satisfying the input requirements and the requirements for the input image of a target use apparatus are input, the image conversion apparatus 114 converts the image into an image satisfying the requirements for the input image.
However, in a case where there is a limit in the number of conversions that the image conversion apparatus 114 can perform, the conversion for this situation is selected from the limited number of conversions. The conversion of the image conversion apparatus 114 is defined by a combination of a set of attributes of the conversion source image and a set of attributes of the conversion destination image that can be converted from the conversion source image. In step S414, among these combinations, a combination is specified in which a set of attributes of the image of the conversion destination satisfies the requirements of the input image of the use apparatus, and a set of attributes of the image of the conversion source corresponds to the set of attributes of the image that can be generated by the image generation apparatus. Then, the requirement for the input image of the use apparatus in the list is changed to a set of attributes of the image that can be generated by the image generation apparatus, in the specified combination.
For example, a situation is considered in which the resolution of the requirement imposed by a certain use apparatus is 240 dpi, while the scan function of the image generation apparatus does not support 240 dpi but supports 300 dpi. In this situation, in a case where the image conversion apparatus 114 supports resolution conversion from 300 dpi to 240 dpi, the image conversion apparatus 114 converts the 300 dpi image generated by the image generation apparatus into a 240 dpi image, so that an image that can be accepted by the use apparatus can be prepared. Therefore, in step S414, the resolution among the requirements of the use apparatus in the list is rewritten from 240 dpi to 300 dpi.
For the process of step S414, the service provision infrastructure apparatus 120 holds information on image conversion that can be performed by the image conversion apparatus 114. For example, information on a pair of input resolution and output resolution supported by the image conversion apparatus 114 is held. The image conversion apparatus 114 has a performance of performing resolution conversion from the input resolution to the output resolution indicated by each pair.
In a case where the requirements of a certain use apparatus are changed in step S414, the service provision infrastructure apparatus 120 also stores the original requirements before the change. The stored information on the original requirements is used in a case where the image conversion apparatus 114 converts the document image generated by the image generation apparatus according to the changed requirements into an image that can be accepted by the use apparatus.
In a case where the workflow definition stipulates that a plurality of image generation apparatuses can be used, in step S412, the service provision infrastructure apparatus 120 determines whether there is an image generation apparatus satisfying the requirements of the use apparatus selected, among the plurality of image generation apparatuses. At this time, in a case where it is determined that there is such an image generation apparatus X, the service provision infrastructure apparatus 120 stores the image generation apparatus X as an apparatus for generating a document image to be provided to the use apparatus. In a case where none of plurality of image generation apparatuses satisfy the requirements of the use apparatus, in step S414, among these image generation apparatuses, an image generation apparatus Y capable of generating an image that can be converted to an image satisfying the requirements of the use apparatus by the image conversion apparatus 114 to an image satisfying the requirements of the use apparatus is specified. Then, the requirements for the input image of the use apparatus in the list are changed to requirements that can be generated by the image generation apparatus Y and can be converted by the image conversion apparatus 114, and the image generation apparatus Y is stored as an apparatus for generating a document image to be provided to the use apparatus.
In a case where the determination result in step S412 is Yes, or after step S414, the service provision infrastructure apparatus 120 determines whether the confirmation of step S412 has been completed for the requirements of all the use apparatuses in the list (S416). In a case where the result of this determination is No, the process returns to step S410, the requirement of the next use apparatus is selected from the list, and the determination in step S412 is repeated. In a case where the determination result in step S416 is Yes, the service provision infrastructure apparatus 120 proceeds to the subsequent processes illustrated in
Referring to
For example, it is assumed that the requirement of the OCR server A 106 in the list is expressed by a combination of each attribute of the OCR server A in the table illustrated in
The service provision infrastructure apparatus 120 selects one use apparatus in order from the first use apparatus in the condition list generated in step S502, and extracts the conditions of the selected use apparatus (S504). Next, the service provision infrastructure apparatus 120 searches the condition list for a use apparatus having the identical conditions to the conditions selected in step S504 (S506). Then, it is determined whether or not the search is successful (S508), and in a case where the search is successful, the conditions for the use apparatuses of the identical conditions in the condition list are collected into a common condition (S510). In the condition list, the common conditions collected in step S510 are recorded in association with the use apparatuses corresponding to the respective conditions before being collected. In a case where the determination result in step S508 is No, step S510 is skipped.
Next, the service provision infrastructure apparatus 120 determines whether or not the checking in step S508 is completed for all use apparatuses in the condition list (S512). In a case where the result of this determination is No, the process returns to step S504, the condition of the next use apparatus is selected from the condition list, and the processes of steps S506 to S512 are repeated.
In a case where the result of the determination in step S512 is Yes, the service provision infrastructure apparatus 120 transmits a scan instruction to the image generation apparatus to execute the scan according to each condition in the condition list (S514). This scan instruction is an example of generation information for generating an image, which is provided to the image generation apparatus, and step S514 is an example of a provision process for providing the generation information to the image generation apparatus. In a case where there are n conditions in the condition list, the scan instruction instructs the execution of the scan according to each of the n conditions.
The image generation apparatus that has received the scan instruction executes a scan according to the condition, for each of then conditions, and generates n document images. The image generation apparatus responds to the service provision infrastructure apparatus 120 by associating the generated n document images with information indicating which of the n conditions corresponds to.
Next, the process proceeds to the procedure illustrated in
The service provision infrastructure apparatus 120 determines whether or not image conversion is necessary for the acquired document image (S604). In a case where the original requirements before the change in step S414 are stored in the conditions associated with the document image, the determination result in step S604 is Yes. In this case, the service provision infrastructure apparatus 120 instructs the image conversion apparatus 114 to convert the document image into an image that satisfies the original requirements (S606). Then, the image of the conversion result is acquired from the image conversion apparatus 114 (S608). In a case where the determination result in step S604 is No, steps S606 and S608 are skipped.
Next, the service provision infrastructure apparatus 120 passes the document image acquired from the image generation apparatus or the image conversion apparatus 114 to the use apparatus recorded in the condition list in association with the conditions associated with the document image (S610). The use apparatus that has received the document image executes the process that the apparatus is in charge of, on the document image, and outputs the data on the processing result. The service provision infrastructure apparatus 120 receives data on the processing result from the use apparatus (S612) and passes the data to the next apparatus of the use apparatus in the workflow (S614).
According to the processing procedure described above, the image generation apparatus generates a document image having the attributes required in the workflow.
In the procedure illustrated above, after the optimum condition is specified for each use apparatus in step S502, common conditions among the optimum conditions for each use apparatus are collected in step S510. However, such a procedure is only an example. As another example, step S502 may be omitted, and all conditions common to the plurality of use apparatuses may be specified in steps S508 and S510. In this case, among the common conditions, the condition for generating an image with the best quality of the processing result of the plurality of use apparatuses is set as the common condition of the plurality of use apparatuses.
The specific flow of the process illustrated in
The service provision infrastructure apparatus 120 receives a workflow definition representing such a workflow. Based on the workflow definition, the service provision infrastructure apparatus 120 recognizes that the multifunction apparatus a 102 generates a document image, and the OCR server A 106, the OCR server B 108, the bill OCR server 110, and the subsequent system 112 use the document image. In response to the recognition, the performance information of the multifunction apparatus a 102, and the requirements for the input images of the OCR server A 106, the OCR server B 108, the bill OCR server 110, and the subsequent system 112 are read from the database in the service provision infrastructure apparatus 120. Then, a list of the requirements is generated (step S408 in
By executing the loop of steps S410 to S416, the service provision infrastructure apparatus 120 changes the requirements that cannot be satisfied by the performance of the multifunction apparatus a 102 into the requirements that are input considering the use of the image conversion apparatus 114. The requirements subject to such changes can be supported by the multifunction apparatus a 102.
For example, consider a case where the resolution of the input image is 240 dpi in the requirement of the bill OCR server 110, and the multifunction apparatus a 102 does not support scanning at that resolution. In this case, in step S414, the service provision infrastructure apparatus 120 obtains the scan resolution supported by the multi function apparatus a 102, from the performance information of the multifunction apparatus a 102. Further, from the performance information of the image conversion apparatus 114, the resolution of the conversion source that the image conversion apparatus 114 can convert to 240 dpi is obtained. Then, the resolution that matches between the scan resolution and the resolution of the conversion source is specified, and the resolution of the requirement is changed to the specified resolution. For example, in a case where the multifunction apparatus a 102 can scan at 300 dpi and the image conversion apparatus 114 can convert an image of 300 dpi into an image of 240 dpi, the resolution 240 dpi in the requirement is rewritten to 300 dpi.
Next, the service provision infrastructure apparatus 120 extracts the optimum conditions from the requirements of each use apparatus included in the list of
Next, the service provision infrastructure apparatus 120 causes the identical condition in the condition list to be shared, in steps S508 and S510. In a case where this sharing is performed for the example of
The service provision infrastructure apparatus 120 transmits an instruction to the multifunction apparatus a 102 to execute the scan according to the three conditions illustrated in the final condition list illustrated in
In the above example, in step S502, by narrowing down to the optimum condition among the plurality of conditions included in the requirements of the use apparatus, an image corresponding to the optimum condition is provided to each use apparatus. However, in this method, the number of images generated by the image generation apparatus is large due to the workflow.
Therefore, as another method, a method of covering as many use apparatuses as possible with a common image may be adopted without performing such narrowing down. In this method, the service provision infrastructure apparatus 120 obtains, for example, a combination of the minimum conditions that can cover all the use apparatuses in the workflow, instead of the procedure illustrated in
Further, in the above-described exemplary embodiment, there is only one image conversion apparatus 114, but there may be a plurality of image conversion apparatuses 114 in the system. In this case, in step S414, the service provision infrastructure apparatus 120 selects an image conversion apparatus capable of converting an image having an attribute of an image that can be generated by the image generation apparatus into an image having an attribute that satisfies the requirements for the input image of the use apparatus, from the plurality of image conversion apparatuses 114. Then, the requirements for the input image of the use apparatus in the list are changed to requirements that can be generated by the image generation apparatus and can be converted by the selected image conversion apparatus 114.
In the exemplary embodiment described above, the scanner function of one or more multifunction apparatuses or image generation apparatuses scans the identical document to generate a plurality of image data having different attributes. However, this is only an example. The method of the above exemplary embodiment can also be applied to a case where one or more image generation apparatuses perform one or more image processing such as resolution conversion, compression, or file format conversion on the identical original image data, and generates a plurality of images having different attributes.
The service provision infrastructure apparatus 120 in the above exemplary embodiment is achieved, for example, by executing a program on computer hardware. As illustrated in
In the embodiments above, the term “processor” refers to hardware in a broad sense. Examples of the processor include general processors (e.g., CPU: Central Processing Unit) and dedicated processors (e.g., GPU: Graphics Processing Unit, ASIC: Application Specific Integrated Circuit, FPGA: Field Programmable Gate Array, and programmable logic device).
In the embodiments above, the term “processor” is broad enough to encompass one processor or plural processors in collaboration which are located physically apart from each other but may work cooperatively. The order of operations of the processor is not limited to one described in the embodiments above, and may be changed.
The foregoing description of the exemplary embodiments of the present invention has been provided for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise forms disclosed. Obviously, many modifications and variations will be apparent to practitioners skilled in the art. The embodiments were chosen and described in order to best explain the principles of the invention and its practical applications, thereby enabling others skilled in the art to understand the invention for various embodiments and with the various modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
2020-200866 | Dec 2020 | JP | national |