This application claims priority to Japanese Patent Application No. 2021-068971 filed on Apr. 15, 2021, the entire contents of which are incorporated by reference herein.
The present disclosure relates to a job execution apparatus, an information processing system, and a non-transitory computer readable recording medium that stores a data processing program.
There is an information processing system including a job execution apparatus that executes a job and a charge amount calculation system that calculates a charge amount in the job execution apparatus. In this information processing system, aggregated data indicating an aggregated result of a quantity in the billing unit (hereinafter, referred to as a “billing quantity”) in the job executed by the job execution apparatus is received by the charge amount calculation system.
As one aspect of the present disclosure, a technique that is a further improvement of the above technique is proposed.
A job execution apparatus according to one aspect of the present disclosure is a job execution apparatus that executes jobs. The job execution apparatus includes a control device. The control device includes a processor, and functions as a job execution device, an aggregated data generator, and an aggregated data transmitter by the processor executing an information processing program. The job execution device executes the jobs. The aggregated data generator generates aggregated data indicating an aggregated result of a quantity for each type of job that is a target of charging with respect to each of the jobs executed by the job execution device. The aggregated data transmitter transmits each piece of the aggregated data generated by the aggregated data generator to a charge amount calculation system that calculates a charge amount in the job execution apparatus. In a case where a unit price of the charging for any of the jobs is changed, the aggregated data generator separately generates the aggregated data for a job executed before the unit price is changed and the aggregated data for a job executed after the unit price is changed, and stores the unit price corresponding to each of the pieces of generated aggregated data. The aggregated data transmitter associates each of the pieces of aggregated data before and after the unit price is changed with the unit price corresponding to each of the pieces of aggregated data and transmits the aggregated data to the charge amount calculation system.
An information processing system according to another aspect of the present disclosure includes the job execution apparatus and a charge amount calculation system that calculates a charge amount in the job execution apparatus. The job execution apparatus includes the control device. The control device functions as the job execution device, the aggregated data generator, and the aggregated data transmitter by the processor executing an information processing program.
A non-transitory computer readable recording medium according to still another aspect of the present disclosure stores a data processing program. The data processing program is executed by a computer to cause the computer to function as an aggregated data generator and an aggregated data transmitter. The aggregated data generator generates aggregated data indicating an aggregated result of a quantity for each type of job that is a target of charging with respect to each of the jobs executed by the computer. The aggregated data transmitter transmits each piece of the aggregated data generated by the aggregated data generator to a charge amount calculation system that calculates a charge amount in the job execution apparatus. In a case where a unit price of the charging for any of the jobs is changed, the aggregated data generator separately generates the aggregated data for a job executed before the unit price is changed and the aggregated data for a job executed after the unit price is changed, and stores the unit price corresponding to each of the pieces of generated aggregated data. The aggregated data transmitter associates each of the pieces of aggregated data before and after the unit price is changed with the unit price corresponding to each of the pieces of aggregated data and transmits the aggregated data to the charge amount calculation system.
Hereinafter, a job execution apparatus, an information processing system, and a non-transitory computer readable recording medium storing a data processing program according to an embodiment as an aspect of the present disclosure will be described with reference to the drawings.
First, a configuration of an information processing system according to an embodiment of the present disclosure will be described.
As shown in
For example, the image processing apparatus in the information processing system 10 is disposed in a retail store such as a convenience store or a public institution such as a school. As the image processing apparatus in the information processing system 10, for example, an image forming apparatus such as a multifunction peripheral (MFP), a copy-only machine, or a printer-only machine, or a scanner-only machine may be employed.
The image processing apparatus in the information processing system 10 normally executes charging each time it is used. For example, this charging may be settled via a charging system (not shown) attached to the image processing apparatus, or, in a case where the image processing apparatus is located at a retail store, may be settled at the retail store's cash register. For example, as a charging system, a coin vendor that can make payments in cash, and a kiosk terminal that can make non-cash payments, such as credit card payments, may be employed.
The charge amount calculation system 30 may be configured with a single computer or may be configured with a plurality of computers.
The image processing apparatus in the information processing system 10 and the charge amount calculation system 30 can communicate with each other via a network 11 such as the Internet.
As shown in
The storage device 27 is, for example, an HDD or an SSD, and stores a job execution program 27a for executing various jobs and a data processing program 27b for processing aggregated data indicating an aggregated result of a quantity for each type of job (hereinafter, referred to as “billing quantity”). The job execution program 27a and the data processing program 27b may be installed in the image processing apparatus 20 in a manufacturing stage of the image processing apparatus 20, may be additionally installed in the image processing apparatus 20 from an external storage medium such as a Universal Serial Bus (USB) memory, or may be additionally installed in the image processing apparatus 20 from a network. The job execution program 27a and the data processing program 27b may be combined into one program.
As a charging table indicating a fee system used for charging, the storage device 27 may include a printing fee table 27c indicating a fee system for printing an image on a recording medium, and a scanning fee table 27d indicating a fee system for reading, that is, scanning, an image from an original.
The printing fee table 27c shown in
The scanning fee table 27d shown in
As shown in
The job history 27e shown in
As shown in
The aggregated data 27f shown in
As shown in
The correspondence relationship information 27g shown in
As shown in
The counter 27h shown in
The controller 28 shown in
The controller 28 functions as a job execution device 28a for executing a job and a charging execution device 28b executing charging by the CPU executing the job execution program 27a.
The controller 28 further functions as an aggregated data generator 28c that generates aggregated data and the aggregated data transmitter 28d that transmits the aggregated data to the charge amount calculation system 30 (refer to
The charge amount calculation system 30 shown in
The storage device 34 is, for example, an HDD or an SSD, and stores a charging control program 34a for controlling charging in the image processing apparatus. The charging control program 34a may be installed in the charge amount calculation system 30 in a manufacturing stage of the charge amount calculation system 30, may be additionally installed in the charge amount calculation system 30 from an external storage medium such as a USB memory, or may be additionally installed in the charge amount calculation system 30 from the network.
The storage device 34 may store the printing fee table 34b as a charging table. The storage device 34 may store a printing fee table in addition to the printing fee table 34b. A configuration of the printing fee table stored in the storage device 34 is the same as the configuration of the printing fee table 27c (refer to
The storage device 34 may store the scanning fee table 34c as a charging table. The storage device 34 may store a scanning fee table in addition to the scanning fee table 34c. A configuration of the scanning fee table stored in the storage device 34 is the same as the configuration of the scanning fee table 27d (refer to
The storage device 34 may store aggregated data 34d. The storage device 34 may store aggregated data in addition to the aggregated data 34d. A configuration of the aggregated data stored in the storage device 34 is the same as the configuration of the aggregated data 27f (refer to
The storage device 34 may store correspondence relationship information 34e indicating a correspondence relationship between aggregated data and a charging table. A configuration of the correspondence relationship information 34e is the same as the configuration of the correspondence relationship information 27g (refer to
The controller 35 includes, for example, a CPU, a ROM storing programs and various pieces of data, and a RAM that is a memory used as a work area of the CPU of the controller 35. The CPU of the controller 35 executes the program stored in the storage device 34 or the ROM of the controller 35.
The controller 35 functions as a charging table updater 35a that causes the image processing apparatus to update the charging table, an aggregated data collector 35b that collects aggregated data from the image processing apparatus, and a charge amount calculator 35c that calculates a charge amount in the image processing apparatus, by the CPU executing the charging control program 34a.
Next, an operation of the information processing system 10 will be described. First, an operation of the image processing apparatus 20 in a case where a job is executed will be described.
The aggregated data generator 28c of the image processing apparatus 20 executes the operation shown in
As shown in
Next, the job execution device 28a updates the counter 27h according to the execution result of the target job (S103).
Next, the charging execution device 28b determines the type of the target job (S104).
The charging execution device 28b determines in S104 which function the target job executes, and in a case where it is determined in S104 that the function to be executed is a copying or printing job, specifies the unit price of the target job by using the printing fee table 27c (S105).
Next, the charging execution device 28b calculates a charge amount of the target job by multiplying the unit price specified in S105 by the number of printed pages in the target job (S106).
In a case where it is determined in S104 that the function to be executed is a scanning job for the target job, the charging execution device 28b specifies the unit price of the target job by using the scanning fee table 27d (S107).
Next, the charging execution device 28b calculates a charge amount of the target job by multiplying the unit price specified in S107 by the number of image pages in the image file generated in the target job (S108).
When the process in S106 or S108 is finished, the charging execution device 28b executes a process necessary for requesting the charge amount calculated in S106 or S108 to a user (S109), and finishes the operation shown in
Next, an operation of the image processing apparatus 20 in a case where aggregated data is periodically generated will be described.
The aggregated data generator 28c of the image processing apparatus 20 periodically executes the operation shown in
As shown in
Next, the aggregated data generator 28c generates aggregated data indicating an aggregated result based on all job histories in which the “job execution date and time” is after the “aggregation execution date and time” specified in S121 among the job histories stored in the storage device 27, that is, all job histories in which aggregation is not performed yet (S122), and stores the aggregated data generated in S122 in the storage device 27 (S123).
Next, the aggregated data generator 28c correlates an aggregated data ID of the aggregated data stored in S123 with the respective charging table IDs of the printing fee table 27c and the scanning fee table 27d stored in the storage device 27 and stores the correlation results in the correspondence relationship information 27g (S124), and finishes the operation shown in
Next, an operation of the image processing apparatus 20 in a case where a charging table is updated will be described.
For example, when the charging table updater 35a of the charge amount calculation system 30 is instructed to update a charging table of the image processing apparatus 20 via the operation device 31 or the communication device 33, the charging table updater 35a transmits the instruction for updating the charging table (hereinafter, a “charging table update instruction”) to the image processing apparatus 20. Here, the charging table updater 35a causes a new charging table that is an update target among the charging tables stored in the storage device 34 to be included in the charging table update instruction. Upon receiving the charging table update instruction transmitted from the charge amount calculation system 30, the charging execution device 28b of the image processing apparatus 20 executes the operation shown in
As shown in
After the process in S141, the aggregated data generator 28c specifies the “aggregation execution date and time” included in the latest aggregated data stored in the storage device 27 (S142).
Next, the aggregated data generator 28c generates aggregated data indicating an aggregated result based on all job histories in which the “job execution date and time” is after the “aggregation execution date and time” specified in S142 and before the charging table is updated in S141 among the job histories stored in the storage device 27, that is, all job histories that do not include execution results of job for which charging is executed by using the charging table after the update in S141 and in which aggregation is not performed yet (S143), and stores the aggregated data generated in S143 in the storage device 27 (S144).
Next, the aggregated data generator 28c correlates an aggregated data ID of the aggregated data stored in S144 with the respective charging table IDs of the printing fee table 27c and the scanning fee table 27d stored in the storage device 27 and stores the correlation results in the correspondence relationship information 27g (S145), and finishes the operation shown in
Next, an operation of the image processing apparatus 20 in a case where a log is transmitted to the charge amount calculation system 30 will be described.
The aggregated data collector 35b of the charge amount calculation system 30 periodically notifies the image processing apparatus 20 of a request for a log (hereinafter, referred to as a “log request”), for example, every two days or every three days. Here, the aggregated data collector 35b may cause an instruction as to whether or not to print the log in the image processing apparatus 20 to be included in the log request in response to an instruction via, for example, the operation device 31 or the communication device 33. When the charge amount calculation system 30 provides a notification of the log request, the aggregated data transmitter 28d of the image processing apparatus 20 executes an operation shown in
As shown in
Next, the aggregated data transmitter 28d determines whether or not the aggregated data specified in S161 includes a plurality of pieces of aggregated data correlated with different charging tables in the correspondence relationship information 27g (S162).
When it is determined in S162 that the aggregated data specified in S161 does not include a plurality of pieces of aggregated data correlated with different charging tables in the correspondence relationship information 27g, the aggregated data transmitter 28d generates a log on the basis of all the aggregated data specified in S161 and the counter 27h (S163).
When it is determined in S162 that the aggregated data specified in S161 includes a plurality of pieces of aggregated data correlated with different charging tables in the correspondence relationship information 27g, among the aggregated data identified in S161, the aggregated data transmitter 28d generates, for each group of pieces of aggregated data correlated with the same charging table in the correspondence relationship information 27g, a log gathering the pieces of aggregated data on the basis of the aggregated data and the counter 27h (S164). That is, the aggregated data transmitter 28d generates a plurality of logs in S164.
The aggregated data 51 and the aggregated data 52a are respectively correlated with “0.11” as a charging table ID of the printing fee table 27c and “0.11” as a charging table ID of the scanning fee table 27d. The aggregated data 52b and the aggregated data 53 are respectively correlated with “0.12” as a charging table ID of the printing fee table 27c, and “0.11” as a charging table ID of the scanning fee table 27d.
In the example shown in
The log 60 shown in
In the group 65 shown in
As shown in
Next, the aggregated data transmitter 28d determines whether or not the log request includes an instruction for printing the log in the image processing apparatus 20 (S166).
When the aggregated data transmitter 28d determines in S166 that the log request includes an instruction for printing the log in the image processing apparatus 20, the printer 23 prints the log generated in S163 or S164 (S167). Therefore, an administrator of the image processing apparatus 20 can check details of the log transmitted from the image processing apparatus 20 to the charge amount calculation system 30 from printed matter by the printer 23.
When the aggregated data transmitter 28d determines in S166 that the instruction for printing the log in the image processing apparatus 20 is not included in the log request, or the process in S167 is finished, the operation shown in
Next, an operation of the charge amount calculation system 30 in a case where a log is received will be described.
Upon receiving the log (hereinafter, referred to as a “target log” in the description of the operation shown in
As shown in
Next, the aggregated data collector 35b stores a combination of the aggregated data ID of the aggregated data included in the target log and the charging table ID included in the target log in the correspondence relationship information 34e (S182), and finishes the operation shown in
Next, an operation of the charge amount calculation system 30 in a case where a charge amount in the image processing apparatus is calculated will be described.
The charge amount calculator 35c of the charge amount calculation system 30 executes the operation shown in
As shown in
After the process in S201, the charge amount calculator 35c specifies a charging table correlated with the aggregated data specified in S201 in the correspondence relationship information 34e among the charging tables stored in the storage device 34 (S202).
Next, the charge amount calculator 35c specifies the unit price of the job indicated by the aggregated data by using the charging table specified in S202 (S203).
Next, the charge amount calculator 35c calculates a charge amount of the job indicated by the aggregated data by multiplying the unit price specified in S203 by the billing quantity included in the aggregated data specified in S201 (S204), and finishes the operation shown in
The charge amount calculator 35c calculates a charge amount on the basis of one piece of aggregated data for one image processing apparatus in the operation shown in
As described above, in a case where the unit price of a job is changed (S141), the image processing apparatus 20 separately generates aggregated data of the job before the change of the unit price and aggregated data of the job after the change of the unit price (S122 and S143), stores and manages the unit price corresponding to the generated aggregated data (S124 and S145), and transmits the aggregated data to the charge amount calculation system 30 in association with the unit price corresponding to the aggregated data (S165). Therefore, it is possible to prevent a billing quantity of the job before the change of the unit price and a billing quantity of the job after the change of the unit price from being totaled and included in the same aggregated data, and as a result, a charge amount in the image processing apparatus 20 may be appropriately calculated by the charge amount calculation system 30.
In a general information processing system, in a case where the unit price of a job is changed, when a billing quantity of the job before the change of the unit price and a billing quantity of the job after the change of the unit price are totaled and included in the same aggregated data, there is a problem in that a charge amount in a job execution apparatus cannot be correctly calculated by a charge amount calculation system on the basis of this aggregated data. On the other hand, according to the above embodiment, a charge amount in the image processing apparatus 20 can be appropriately calculated by the charge amount calculation system 30.
In a case where the charge amount calculation system 30 can appropriately calculate a charge amount in the image processing apparatus 20, for example, it is possible to allow an operator of the charge amount calculation system 30 to check whether or not a total amount of money actually paid by a user of the image processing apparatus 20 is different from a charge amount calculated by the charge amount calculation system 30.
When the charge amount calculation system 30 can appropriately calculate a charge amount in the image processing apparatus 20, for example, in a case of a contract in which a person who causes a user of the image processing apparatus 20 to use the image processing apparatus 20 (hereinafter, an “apparatus operator”) is different from a person who provides the image processing apparatus 20 to the apparatus operator (hereinafter, referred to as an “apparatus provider”), and an amount of money corresponding to a charge amount in the image processing apparatus 20 is paid by the apparatus operator to the apparatus provider, an amount of money paid by the apparatus operator to the apparatus provider can be appropriately calculated.
The image processing apparatus 20 generates aggregated data indicating an aggregated result of a billing quantity that has not been aggregated yet for a job before a change of the unit price, triggered by the change of the unit price of the job (S143), and can thus generate aggregated data of the job before the change of the unit price each time the unit price is changed, and as a result, it is possible to reduce a probability that a processing burden of generating the aggregated data is concentrated at one time.
The image processing apparatus 20 transmits a log including aggregated data indicating an aggregated result of billing quantities of a plurality of jobs to the charge amount calculation system 30 (S165) instead of sending a billing quantity of a job to the charge amount calculation system 30 each time the job is executed, and thus it is possible to reduce an amount of communication with the charge amount calculation system 30.
In the present embodiment, the aggregated data transmitter 28d of the image processing apparatus 20 transmits a log to the charge amount calculation system 30 every time a notification of a log request is provided from the charge amount calculation system 30. However, the aggregated data transmitter 28d may periodically transmit a log to the charge amount calculation system 30, for example, every two days or every three days, even if a notification of a log request is not provided from the charge amount calculation system 30.
While the present disclosure has been described in detail with reference to the embodiments thereof, it would be apparent to those skilled in the art the various changes and modifications may be made therein within the scope defined by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
2021-068971 | Apr 2021 | JP | national |