This application is based on and claims priority under 35 USC 119 from Japanese Patent Application No. 2014-185982 filed on Sep. 12, 2014.
The present invention relates to an information processing apparatus and a non-transitory computer readable medium.
An aspect of the present invention provides an information processing apparatus including: a holding unit that holds a first image processing program that is a same image processing program as an old version of an image processing program installed on an image processing apparatus and allows a computer to function as a first image processing unit and a second image processing program that is a new version of the image processing program provided for updating the old version of the image processing program and allows the computer to function as a second image processing unit; a loading unit that loads each of the first image processing program and the second image processing program into the computer; a comparing unit that compares output images from the first image processing unit and the second image processing unit in response to a same instruction to process an image being input into the first image processing unit and the second image processing unit; and a determining unit that determines a validity of update on the basis of a comparison result by the comparing unit.
Exemplary embodiment(s) of the present invention will be described in detail based on the following figures, wherein
An exemplary embodiment(s) of the present invention will be described with reference to the drawings.
The RIP 102 and the BEP 103 generate image data on the basis of a print job registered in the CEP 101. The print job is an example of an instruction to form an image. The IOT 104 forms on a paper medium the image data generated by the RIP 102 and the BEP 103.
The CEP 101, the RIP 102, and the BEP 103 are functional units based on software and are realized by a CPU executing a program stored in a memory in a computer that is configured by the CPU, the memory, and the like. The IOT 104 is a piece of hardware that forms an image on a paper medium.
The CEP 101 is a functional unit that inputs and edits data, controls the system, and performs such functions. The CEP 101 transmits to the RIP 102 an instruction to generate the image data on the basis of a registered print job.
The RIP 102 generates intermediate image data according to the instruction to generate the image data from the CEP 101 and transmits the intermediate image data to the BEP 103. The intermediate image data is common data that is not dependent on the type of the IOT 104 and is image data at a stage prior to the generation of the final raster image.
The BEP 103 generates the raster image on the basis of the image data from the RIP 102 and transmits the raster image to the IOT 104. In addition, the BEP 103 performs a coloring process. The BEP 103 transmits to the IOT 104 control data for forming the generated raster image on the paper medium.
The IOT 104 forms an image on the paper medium according to the raster image and the control data from the BEP 103.
Incidentally, a general printing system is thoroughly verified before the operation thereof is initiated. For this, upgrading the version of software is likely to be avoided once the operation is initiated. This is because problems such as a change in the output result and the like may be posed when the version is upgraded.
Therefore, in the present embodiment, the verification work is facilitated by the operation of an information processing system 1 described below.
A server included in the information processing system 1 is provided with a computer that is configured by a CPU, a memory, and the like. The server realizes a configuration management unit 11 (an example of loading unit and virtual machine configuring unit), an installer storage area 13 (an example of holding unit), a job supply unit 15, a job to verify storage area 17, and a comparing unit 19 (an example of comparing unit and determining unit) by the CPU executing a program stored in the memory.
The information processing system 1 further realizes virtual machines (emulator) 2 and 3 by the operation of the configuration management unit 11. Each of the virtual machines 2 and 3 are an example of image processing unit. The virtual machines 2 and 3, for example, are realized in the following manner.
The information processing system 1 includes a physical machine that is connected to the configuration management unit 11. A hypervisor is installed on the physical machine, and the virtual machines 2 and 3 are launched on the hypervisor. The hypervisor is a piece of software that launches and controls the virtual machines 2 and 3 on the physical machine without requiring the help of a versatile OS. The virtual machines 2 and 3 are a set of a CPU and a memory that is virtually created as known in the related art. The physical machine is apparently a computer that is formed by a CPU, a memory, and the like.
The configuration management unit 11 reads a installer (a program) from the installer storage area 13 in order to realize the virtual machines 2 and 3. The configuration management unit 11 launches the virtual machines 2 and 3 by loading the installer. The virtual machines 2 and 3 are provided with CEPs 21 and 31, RIPs 22 and 32, and BEPs 23 and 33 in a similar manner to the printing system 100 illustrated in
In the present embodiment, the virtual machine 2, for example, is launched by the same image processing program as that of an old version installed on the printing system 100 that is currently operated. The virtual machine 3, for example, is launched by a new version of the image processing program that is provided for updating the old version of the image processing program.
The launch of the virtual machines 2 and 3 are performed specifically in the manner illustrated in the flowchart of
Returning to the description of
The registration of the print job and the holding of the output result are performed specifically in the manner illustrated in the flowchart of
Returning to the description of
The comparison between the output result of the BEPs 23 and 33 is performed specifically in the manner illustrated in the flowchart of
The update here means replacing the old version of the image processing program installed on the currently operated printing system 100 with the new version of the image processing program. That is to say, when the match ratio between the output result of the virtual machine 2 launched by the old version of the image processing program and the output result of the virtual machine 3 launched by the new version of the image processing program is greater than the threshold, it is determined that the old version of the image processing program installed on the currently operated printing system 100 may be updated to the new version of the image processing program without any problem.
The supply of the print job is performed specifically in the manner illustrated in the flowchart of
According, to the present embodiment described above, a new version of a program can be verified while the current operation of the priming system 100 is continued. Thus, the verification work can be facilitated.
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 |
---|---|---|---|
2014-185982 | Sep 2014 | JP | national |