WO2021177304A1 - 電子機器およびプログラム - Google Patents

電子機器およびプログラム Download PDF

Info

Publication number
WO2021177304A1
WO2021177304A1 PCT/JP2021/007956 JP2021007956W WO2021177304A1 WO 2021177304 A1 WO2021177304 A1 WO 2021177304A1 JP 2021007956 W JP2021007956 W JP 2021007956W WO 2021177304 A1 WO2021177304 A1 WO 2021177304A1
Authority
WO
WIPO (PCT)
Prior art keywords
data collection
service
data
function
image forming
Prior art date
Application number
PCT/JP2021/007956
Other languages
English (en)
French (fr)
Inventor
稔 ▲高▼橋
Original Assignee
京セラドキュメントソリューションズ株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 京セラドキュメントソリューションズ株式会社 filed Critical 京セラドキュメントソリューションズ株式会社
Priority to US17/905,635 priority Critical patent/US20230145435A1/en
Priority to JP2022504399A priority patent/JP7409477B2/ja
Publication of WO2021177304A1 publication Critical patent/WO2021177304A1/ja

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00912Arrangements for controlling a still picture apparatus or components thereof not otherwise provided for
    • H04N1/00938Software related arrangements, e.g. loading applications
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00962Input arrangements for operating instructions or parameters, e.g. updating internal software
    • H04N1/0097Storage of instructions or parameters, e.g. customised instructions or different parameters for different user IDs

Definitions

  • the present invention relates to electronic devices and programs capable of collecting data.
  • a standard application that is an application that realizes the standard functions of an image forming apparatus
  • an extended application that is an application that realizes a function other than the standard functions of an image forming apparatus
  • a standard application without using the standard application An image forming apparatus including an extended function service that provides an extended function of an extended function of a standard function of the image forming apparatus to an extended application is known (see Patent Document 1).
  • an object of the present invention is to provide an electronic device and a program capable of facilitating the expansion of the function of collecting data.
  • the electronic device of the present invention includes a data collection service that provides a service related to a data collection function, and a service utilization unit that uses the data collection service, and the service utilization unit is a parameter related to the function. Is set in the data collection service, and the data collection service executes a specific process in the function according to the parameter set by the service utilization unit.
  • the service utilization unit sets the parameters related to the data collection function in the data collection service, and the data collection service collects the data according to the parameters set by the service utilization unit. Since the specific processing in the function of is executed, the function of data collection can be extended without updating the data collection service, and as a result, the function of data collection can be easily expanded.
  • the electronic device of the present invention includes a data collection service that provides a service related to a data collection function, and a service use unit that uses the data collection service, and the service use unit is from the data collection service. It is characterized in that a specific process in the function is executed in response to the notification.
  • the service utilization unit executes a specific process in the data collection function in response to a notification from the data collection service, so that data collection can be performed without updating the data collection service.
  • the functionality can be extended, and as a result, the functionality of data collection can be facilitated.
  • the data collection service may be realized by the firmware of the electronic device, and the service utilization unit may be realized by a program other than the firmware.
  • the data collection service is realized by the firmware of the electronic device, and the service utilization unit is realized by a program other than the firmware, so that the data collection function is extended without updating the firmware.
  • the firmware of the electronic device is realized by the firmware of the electronic device, and the service utilization unit is realized by a program other than the firmware, so that the data collection function is extended without updating the firmware.
  • the specific process may include conversion of the data.
  • the electronic device of the present invention can be extended to the conversion of collected data.
  • the specific process may include the output of the data to the outside of the electronic device.
  • the electronic device of the present invention can be extended to output data to the outside of the electronic device.
  • the program of the present invention realizes a data collection service that provides a service related to a data collection function and a service use unit that uses the data collection service in an electronic device, and the service use unit has the function.
  • a related parameter is set in the data collection service, and the data collection service executes a specific process in the function according to the parameter set by the service utilization unit.
  • the service utilization unit sets the parameters related to the data collection function in the data collection service, and the data collection service is set according to the parameters set by the service utilization unit. Performs certain actions in the data collection function, so that the data collection function can be extended without updating the data collection service, and as a result, the data collection function can be easily expanded. Can be done.
  • the program of the present invention realizes a data collection service that provides a service related to a data collection function and a service use unit that uses the data collection service in an electronic device, and the service use unit realizes the data collection. It is characterized in that a specific process in the function is executed in response to a notification from the service.
  • the service utilization unit executes a specific process in the data collection function in response to the notification from the data collection service, so that the data collection service is not updated.
  • the function of data collection can be extended, and as a result, the function of data collection can be facilitated.
  • the electronic device and program of the present invention can facilitate the extension of the data collection function.
  • FIG. 1 It is a block diagram of the hardware of the image forming apparatus which concerns on one Embodiment of this invention. It is a block diagram of the control structure of the image forming apparatus shown in FIG. It is a figure which shows the data collection application which is the extended application shown in FIG. It is a figure which shows the model of the process flow at the time of realizing the data collection function by the image forming apparatus shown in FIG. It is a figure which shows the expandable point in the data collection processing by the image forming apparatus shown in FIG. (A) It is a figure which shows an example of the standard specification of the data collection function shown in FIG. (B) It is a figure which shows an example of the extended specification of the data collection function shown in FIG.
  • FIG. 6 is a flowchart of the operation of the image forming apparatus shown in FIG. 1 when the acquisition step and the primary storage step are executed. It is a sequence diagram of the operation of the image forming apparatus shown in FIG. 1 when the conversion step and the secondary accumulation step are executed. It is a sequence diagram of the operation of the image forming apparatus shown in FIG. 1 when the output step is executed. It is a flowchart of the operation of the image forming apparatus shown in FIG. 1 when the data collection condition is updated during execution of a data collection process. It is a flowchart of the operation different from the example shown in FIG. 10 of the image forming apparatus shown in FIG. 1 when the data collection condition is updated during the execution of the data collection process.
  • FIG. 1 is a block diagram of the hardware of the image forming apparatus 10 according to the present embodiment.
  • the image forming apparatus 10 includes an operation unit 11 which is an operation device such as a button into which various operations are input, and a display device such as an LCD (Liquid Crystal Display) which displays various information.
  • the display unit 12 is an image processing device such as a GPU (Graphics Processing Unit) that executes various image processing such as enlargement, reduction, density adjustment, gradation adjustment, and image improvement on the image data.
  • a printer 14 which is a printing device for printing an image on a recording medium such as paper
  • a scanner 15 which is a reading device for reading an image from a document, a LAN (Local Area Network), and a network such as the Internet.
  • a network communication unit 16 which is a communication device that directly communicates with an external device by wire or wirelessly without going through a network, and a communication line such as an external facsimile device and a public telephone line (not shown).
  • the humidity sensor 19 that detects "in-flight humidity"
  • the storage unit 20 that is a non-volatile storage device such as a semiconductor memory or HDD (Hard Disk Drive) that stores various information
  • the entire image forming apparatus 10 It is an MFP (Multifaction Peripheral) including a control unit 30 for controlling.
  • MFP Multifaction Peripheral
  • the storage unit 20 stores a program (hereinafter referred to as “general-purpose OS program”) 20a for a general-purpose OS (Operating System) such as Linux (registered trademark) for controlling each hardware of the image forming apparatus 10. ing.
  • general-purpose OS program a program for a general-purpose OS (Operating System) such as Linux (registered trademark) for controlling each hardware of the image forming apparatus 10. ing.
  • the storage unit 20 stores the firmware 20b of the image forming apparatus 10.
  • the storage unit 20 stores an extension program 20c, which is a program for realizing a function other than the standard function of the image forming apparatus 10.
  • the storage unit 20 stores a program for an extended application (hereinafter referred to as an “extended application program”) 20d, which is an application that realizes a function other than the standard function of the image forming apparatus 10.
  • the storage unit 20 can store the extended application program for each extended application.
  • the storage unit 20 is a program for an extended service that provides an extended application with a service that uses a general-purpose OS without using a standard application that is an application that realizes the standard functions of the image forming apparatus 10 (hereinafter, "program for extended service”). ".) I remember 20e.
  • the storage unit 20 can store the extended service program for each extended service.
  • the control unit 30 includes, for example, a CPU (Central Processing Unit) 30a, a ROM (Read Only Memory) 30b that stores programs and various data, and a RAM (Random Access Memory) as a memory used as a work area of the CPU 30a. ) 30c and is provided.
  • the CPU 30a executes a program stored in the storage unit 20 or the ROM 30b.
  • the control unit 30 realizes the control configuration shown in FIG. 2 by executing the program stored in the storage unit 20 or the ROM 30b.
  • FIG. 2 is a block diagram of the control configuration of the image forming apparatus 10.
  • control unit 30 realizes the general-purpose OS 110 by executing the general-purpose OS program 20a (see FIG. 1).
  • the control unit 30 operates on the general-purpose OS 110 to provide a service related to image processing, an image processing service 121, operates on the general-purpose OS 110 and provides a service related to communication via a network, and a general-purpose network communication service 122.
  • a device operation service 123 that operates on the OS 110 and provides a service for operating each hardware of the image forming apparatus 10, and a data collection function that operates on the general-purpose OS 110 (hereinafter referred to as a “data collection function”). ) Is realized by executing the hardware 20b (see FIG. 1) with the data collection service 124 that provides the service related to).
  • the image processing service 121, the network communication service 122, and the device operation service 123 each control each hardware of the image forming apparatus 10 via the general-purpose OS 110.
  • the image processing service 121 stores, for example, the image data read from the original by setting the resolution and color with the scanner 15 in the storage unit 20, and stores the image data stored in the storage unit 20 in the image processing unit 13. You may provide a service to process.
  • the image processing service 121 may provide a service for drawing image data to be printed by the printer 14 based on a file.
  • the image processing service 121 enlarges, reduces, rotates, colors, converts, and noises the image data acquired from the extended application, the image data read from the original by the scanner 15, or the image data stored in the storage unit 20. Services may be provided that perform image processing such as removal, format conversion, character recognition, and watermark recognition.
  • the network communication service 122 may provide a service that executes file transmission / reception, streaming, and authentication data transmission / reception via the network communication unit 16 using various protocols such as TCP / IP and UDP.
  • the network communication service 122 can send and receive image data read from a document by a scanner 15 and a file stored in a storage unit 20.
  • the image forming apparatus 10 has a user authentication unit that transmits / receives image data facsimile-transmitted / received by the fax communication unit 17 and authenticates the user by an IC card or biometric authentication, the user by the user authentication unit It is also possible to send and receive the result of authentication, and to send and receive video data generated by the camera when the image forming apparatus 10 has a camera.
  • the network communication service 122 can also transmit and receive the state of each part of the image forming apparatus 10, the result of calling the function of each part, and the like.
  • the device operation service 123 provides a service that executes processing such as drawing on the display unit 12, driving the printer 14, controlling the fax communication unit 17, user authentication, and acquiring the status of each hardware of the image forming apparatus 10. You may.
  • the device operation service 123 may provide, for example, a service of storing image data read from a document by a scanner 15 in a storage unit 20, or a service of drawing an image on a browser displayed on the display unit 12.
  • a service may be provided in which image data is transmitted to the printer 14 to form an image, or a service is provided in which the image data stored in the storage unit 20 is facsimile-transmitted by the fax communication unit 17. You may.
  • the device operation service 123 may provide a service for causing the optional device to execute processing such as bookbinding or staples when an optional device such as a finisher is present in the image forming apparatus 10, or may provide an IC card or biometric authentication. If the image forming apparatus 10 has a user authentication unit that authenticates the user by, a service that causes the user authentication unit to execute the user authentication may be provided, or if the image forming apparatus 10 has a camera, the camera may be provided. May provide a service that causes the user to generate video data or call each function such as line-of-sight detection based on the video data generated by the camera.
  • the device operation service 123 may provide a service that executes detailed control of each hardware of the image forming apparatus 10, such as driving one of the motors of the transport unit of the printer 14.
  • the device operation service 123 may provide a service for acquiring the state of each part of the image forming apparatus 10.
  • the control unit 30 realizes the platform service IF unit 130 that provides an interface for calling the image processing service 121, the network communication service 122, and the device operation service 123 by executing the firmware 20b.
  • the control unit 30 realizes a standard application by executing the firmware 20b.
  • the standard application operates on the platform service IF unit 130 and uses each hardware of the image forming apparatus 10.
  • the control unit 30 has a copy application 141, which is a standard application that realizes a copy in which an image is read from a document by a scanner 15 in response to an instruction input to an operation unit 11 and the read image is printed by a printer 14.
  • a printer application 142 which is a standard application for printing an image based on data such as data described in PDL (Page Description Language) received by the network communication unit 16 by the printer 14, and an instruction input to the operation unit 11.
  • PDL Peage Description Language
  • the fax application 143 which is a standard application that reads an image from the manuscript by the scanner 15 according to the above and transmits the read image by the fax communication unit 17, and the image from the manuscript by the scanner 15 according to the instruction input to the operation unit 11.
  • the printer application 142 may print an image based on a file stored in the storage unit 20 by the printer 14 in response to an instruction input to the operation unit 11.
  • the FAX application 143 transmits an image based on the file received by the network communication unit 16 by the fax communication unit 17, prints the image received by the fax communication unit 17 by the printer 14, and receives the image by the fax communication unit 17.
  • the image may be stored in the storage unit 20.
  • the control unit 30 realizes the general-purpose OS service platform 150 that provides a service that uses the general-purpose OS 110 without going through the platform service IF unit 130 by executing the extension program 20c (see FIG. 1).
  • the general-purpose OS service platform 150 may provide a service that adds a function to the general-purpose OS 110, such as installing a control program such as a device driver or a script on the general-purpose OS 110.
  • the control unit 30 realizes the extended application service IF unit 160 that provides an interface for using the platform service IF unit 130 from the extended application side by executing the extension program 20c.
  • the control unit 30 realizes the standard function service 170, which is a service that provides the standard function of the image forming apparatus 10 to the extended application by using the standard application, by executing the extension program 20c.
  • the standard function service 170 uses the standard application via the extended application service IF unit 160.
  • the extended application can display the screen of the start of copying by the copy application 141 on the display unit 12 by using the standard function service 170.
  • the extended application can print various job data, files, etc. acquired by the extended application itself or specified via the operation unit 11 on the printer application 142. ..
  • the extended application can acquire the image data designated via the operation unit 11 among the facsimile image data received by the FAX application 143, or can use the operation unit 11. It is possible to send the specified file or the like to the FAX application 143 via the fax application 143.
  • the control unit 30 realizes an extended service, which is a service that provides functions other than the standard functions of the image forming apparatus 10, by executing an extended service program (see FIG. 1).
  • the control unit 30 is an extension service that provides the extension application with a service that uses the platform service IF unit 130 without using the standard application or uses the general-purpose OS 110 by using the general-purpose OS service platform 150.
  • a certain extended function service 181 and a back-end service 182, which is an extended service that provides an extended application with a service that uses the general-purpose OS 110 by using the general-purpose OS service platform 150 without using the platform service IF unit 130, are realized. ..
  • the extended function service 181 uses the platform service IF unit 130 via the extended application service IF unit 160.
  • the control unit 30 can realize at least one extended function service other than the extended function service 181.
  • the control unit 30 can realize at least one back-end service other than the back-end service 182.
  • the extended function service is a service that provides the extended function of the standard function of the image forming apparatus 10 to the extended application.
  • the back-end service is a service that runs on the back-end.
  • the back-end service is a service that provides functions other than the functions of the extension of the standard functions of the image forming apparatus 10 among the functions other than the standard functions of the image forming apparatus 10.
  • a service that provides a function of monitoring the image forming apparatus 10 a service that provides a function of monitoring the entire system composed of a plurality of image forming apparatus, and a function of monitoring a specific server are provided.
  • a service that provides a function of collecting information such as a counter indicating the number of prints of the image forming apparatus 10 from the image forming apparatus 10 and converting the collected information into information in a format that can be understood by humans.
  • the control unit 30 realizes the extended service management unit 190 that executes the management of the extended service such as starting, starting and stopping the extended service by executing the extension program 20c.
  • the extended service management unit 190 monitors the status of the extended service and the general-purpose OS service infrastructure 150.
  • the control unit 30 realizes the extended application management unit 200 that executes the management of the extended application such as starting, starting and stopping the extended application by executing the extension program 20c.
  • the control unit 30 realizes the extended application 210 by executing the extended application program 20d (see FIG. 1).
  • the control unit 30 can realize at least one extended application other than the extended application 210.
  • An extension application is an application that a user directly uses and has a user interface. The user can use the functions provided by this extended application by operating the user interface of the extended application.
  • extended apps include OCR (Optical Character Recognition), surveillance camera app, watermark creation, invoice creation, employee list management, slip management, contract management, business card management, PDF creation, book management, group management, etc. It may be a practical application, an installer application that makes additional changes such as device drivers and firmware on the general-purpose OS 110, and other management applications.
  • the extended application can call the standard function service 170 and use the general-purpose OS 110 by using the standard application, call the extended service and use the general-purpose OS 110 without using the standard application, or directly use the general-purpose OS service platform 150. It is possible to call and use the general-purpose OS 110.
  • FIG. 3 is a diagram showing a data collection application 211 which is an extended application.
  • the control unit 30 realizes the data collection application 211, which is an extension application that executes operations related to the data collection function, as shown in FIG.
  • the data collection application 211 is an extended application that uses the data collection service 124, and constitutes the service utilization unit of the present invention.
  • the data collection application 211 has a condition setting unit 211a that sets data collection conditions (hereinafter referred to as “data collection conditions”) in the data collection function for the data collection service 124, and a conversion execution that executes a conversion step described later.
  • a unit 211b and an output execution unit 211c for executing an output step described later are provided.
  • the setting in the condition setting unit 211a includes registration of the data collection condition and deletion of the data collection condition.
  • FIG. 4 is a diagram showing a model of the processing flow when the data collection function is realized by the image forming apparatus 10.
  • the data collection function is a function of transmitting the data inside the image forming apparatus 10 to the IT (Information Technology) substrate 40 outside the image forming apparatus 10.
  • the data inside the image forming apparatus 10 is, for example, the data of the detection value by various sensors such as the temperature sensor 18 and the humidity sensor 19, and the data of the value of the counter indicating the number of prints by the image forming apparatus 10. Or data indicating the number of errors in the image forming apparatus 10.
  • the temperature sensor 18 is depicted as a representative.
  • the IT platform 40 is, for example, a personal computer (Personal Computer), a server that executes data analysis, and the like.
  • the data collection function stores the acquisition step of acquiring the data and the data acquired in the acquisition step for processing inside the image forming apparatus 10 (hereinafter referred to as “internal processing data”) in the storage unit 20.
  • the primary storage step of storing and managing the processing data area (hereinafter referred to as “internal processing area") 21 and the internal processing data stored in the internal processing area 21 are stored in the image forming apparatus 10.
  • the conversion step for converting data to be output to the outside (hereinafter referred to as “external output data”) and the external processing data generated by the conversion step are stored in the storage unit 20 for the external output data area (hereinafter referred to as “external output data").
  • the secondary storage step of accumulating and managing the data in the external output area 22 and the external output data stored in the external output area 22 are output to the external IT board 40 of the image forming apparatus 10. It has an output step.
  • FIG. 5 is a diagram showing expandable points (hereinafter referred to as “extended points”) in the data collection process by the image forming apparatus 10.
  • the data collection process includes an acquisition timing indicating the timing of acquiring data and a data item indicating the item of the data to be acquired as an extension point in the acquisition step.
  • acquisition timing include “at the start of printing” and “at the end of printing”.
  • data items include "in-flight temperature”, “in-flight humidity”, and "counter”.
  • the data collection process includes a holding condition, which is a condition for holding the internal processing data in the internal processing area 21, as an extension point in the primary storage step.
  • a holding condition which is a condition for holding the internal processing data in the internal processing area 21, as an extension point in the primary storage step.
  • the holding condition there is "until the time when the conversion to the external output data is completed".
  • the data collection process includes, as an extension point in the conversion step, a conversion timing that indicates the timing of converting the internal processing data to the external output data, and a conversion method that indicates the data format of the converted external output data. .. Examples of conversion timing include “12:00 every day” and “12:00 every day excluding weekends”. Examples of the conversion method include "CSV (Comma-Separated Values) file format” and "JSON (Javascript Object Notification) format”.
  • CSV Common-Separated Values
  • JSON Javascript Object Notification
  • the data collection process includes a holding condition, which is a condition for holding the external output data in the external output area 22, as an extension point in the secondary storage step.
  • a holding condition which is a condition for holding the external output data in the external output area 22, as an extension point in the secondary storage step.
  • the holding condition there is "until the time when the output of the image forming apparatus 10 to the outside is completed".
  • the data collection process shows an output timing indicating the timing of outputting the external output data to the outside of the image forming apparatus 10 and a method of outputting the external output data to the outside of the image forming apparatus 10 as extension points in the output step. It has an output method. Examples of output timing include “12:00 every day” and “12:00 every day excluding weekends”. Examples of the output method include "send by e-mail to a specific destination” and “send in HTTP (Hypertext Transfer Protocol) format to a specific server”.
  • HTTP Hypertext Transfer Protocol
  • FIG. 6A is a diagram showing an example of standard specifications of the data collection function.
  • FIG. 6B is a diagram showing an example of an extended specification of the data collection function.
  • the data collection function according to the specifications shown in FIG. 6A is a standard function of "sending the in-flight temperature at the end of printing in CSV file format to a specific destination by e-mail every day at 12:00".
  • the data collection function according to the specifications shown in FIG. 6 (b) "transmits the in-flight temperature and in-flight humidity at the start and end of printing in JSON format to a specific server at 12:00 every day except Saturday and Sunday in HTTP format. It is an extended function.
  • the specifications of the data collection function can be set according to the data collection conditions.
  • condition settings are set for "acquisition timing”, "data item”, “conversion timing”, and “output timing” among the expansion points. It can be changed by setting the data collection condition by the unit 211a. That is, the condition setting unit 211a provides the data collection service 124 with data collection conditions indicating "acquisition timing”, “data item”, “conversion timing”, and “output timing” in response to an instruction from the outside of the image forming apparatus 10. By registering, it is possible to change the "acquisition timing”, “data item”, “conversion timing” and “output timing” in the data collection function.
  • FIG. 7 is a flowchart of the operation of the image forming apparatus 10 when the acquisition step and the primary storage step are executed.
  • the data collection service 124 determines whether or not the "acquisition timing” has been reached until it is determined that the "acquisition timing” in the specifications of the data collection function has been reached (S401).
  • the data collection service 124 determines in S401 that the "acquisition timing" in the data collection function specifications has been reached, it acquires the data specified by the "data item” in the data collection function specifications (S402).
  • the data collection service 124 stores the data acquired in S402 as internal processing data in the internal processing area 21 (S403).
  • the data collection service 124 executes the process of S401 after the process of S403.
  • S401 and S402 corresponds to the acquisition step
  • processing of S403 corresponds to the primary accumulation step
  • FIG. 8 is a sequence diagram of the operation of the image forming apparatus 10 when the conversion step and the secondary storage step are executed.
  • the data collection service 124 determines whether or not the "conversion timing" in the specifications of the data collection function has been reached (S421).
  • the data collection service 124 determines in S421 that the "conversion timing" in the data collection function specifications has been reached, among the internal processing data stored in the internal processing area 21, the "data" in the data collection function specifications Notify the conversion execution unit 211b of the data specified by the "item" (S422).
  • the destination for the data collection service 124 to notify the conversion execution unit 211b is registered in the data collection service 124 by the conversion execution unit 211b when the image forming apparatus 10 is started, for example.
  • the conversion execution unit 211b converts the internal processing data notified in S422 into external output data by the "conversion method" in the specifications of the data collection function (S423). ..
  • the conversion execution unit 211b After the processing of S423, the conversion execution unit 211b notifies the data collection service 124 of the external output data generated in S423 (S424).
  • the data collection service 124 stores the external output data notified in S424 in the external output area 22 (S425).
  • the control unit 30 repeats the processes of S421 to S425.
  • the processing of S421 to S424 corresponds to the conversion step, and the processing of S425 corresponds to the secondary accumulation step.
  • the conversion execution unit 211b notifies the data collection service 124 of the external output data generated in S423 at once in S424. However, the conversion execution unit 211b may notify the data collection service 124 of the external output data in a plurality of times.
  • the conversion execution unit 211b notifies the data collection service 124 of the external output data in a plurality of times, when the notification of all the external output data generated in S423 is completed, the conversion execution unit 211b of all the external output data.
  • the data collection service 124 may be notified that the notification has been completed. Then, the data collection service 124 may complete the secondary storage step when it is notified that the notification of all the external output data has been completed.
  • FIG. 9 is a sequence diagram of the operation of the image forming apparatus 10 when the output step is executed.
  • the data collection service 124 determines whether or not the "output timing" in the specifications of the data collection function has been reached (S441).
  • the data collection service 124 determines in S441 that the "output timing" in the data collection function specifications has been reached, among the external output data stored in the external output area 22, the "data" in the data collection function specifications Notify the output execution unit 211c of the data specified by the "item" (S442).
  • the destination for the data collection service 124 to notify the output execution unit 211c is registered in the data collection service 124 by the output execution unit 211c when the image forming apparatus 10 is started, for example.
  • the output execution unit 211c When the external output data is notified in S442, the output execution unit 211c outputs the external output data notified in S442 by the "output method" in the specifications of the data collection function (S443).
  • the control unit 30 repeats the processes of S441 to S443.
  • the data collection service 124 executes the data collection process under each of the plurality of data collection conditions at the same time, the data collection service 124 applies to the internal processing data, the external output data, the conversion execution unit, and the output execution unit for each data collection condition.
  • the data collection service 124 applies to the internal processing data, the external output data, the conversion execution unit, and the output execution unit for each data collection condition.
  • FIG. 10 is a flowchart of the operation of the image forming apparatus 10 when updating the data collection conditions during the execution of the data collection process.
  • FIG. 10 shows that when the data collection process is being executed, the control unit 30 is instructed to update the data collection conditions of the data collection process via, for example, the operation unit 11 or the network communication unit 16. Perform the action.
  • the condition setting unit 211a registers a new data collection condition (hereinafter referred to as “new data collection condition”), which is the updated data collection condition, in the data collection service 124 (S461). ..
  • condition setting unit 211a changes the data collection process currently being executed from the data collection process under the data collection condition before the update (hereinafter referred to as "old data collection condition") to the data collection process under the new data collection condition.
  • the data collection service 124 is requested to switch to (S462).
  • the data collection service 124 Upon receiving the request of S462, the data collection service 124 starts the acquisition step of the data collection process under the new data collection conditions (S463). Here, the data collection service 124 does not start the primary storage step of the data collection process under the new data collection conditions. In addition, the data collection service 124 continues to execute the data collection process under the old data collection conditions.
  • the data collection service 124 simultaneously executes the stop of the primary storage step of the data collection process under the old data collection condition and the start of the primary storage step of the data collection process under the new data collection condition ( S464).
  • the data collection service 124 executes the start of the steps after the conversion step of the data collection process under the new data collection condition after the process of S464 (S465). That is, the data collection service 124 starts a conversion step, a secondary storage step, and an output step with respect to the data collection process under the new data collection conditions.
  • the data collection service 124 stops the acquisition step of the data collection process under the old data collection conditions after the process of S465 (S466).
  • the data collection service 124 When the "conversion timing" under the old data collection condition is reached after the processing of S466, the data collection service 124 performs the conversion step and the secondary storage step of the data collection processing under the old data collection condition in S422 to S425 (S422 to S425). It is executed in the same manner as the process of FIG. 8) (S467). Therefore, among the internal processing data accumulated in the internal processing area 21 in the primary storage step of the data collection processing under the old data collection conditions, all the data that has not yet been converted into the external output data is for external output. It is converted into data and stored in the external output area 22.
  • the data collection service 124 When the data collection service 124 reaches the "output timing" under the old data collection condition after the processing of S467, the data collection service 124 sets the output step of the data collection processing under the old data collection condition to S442 to S443 (see FIG. 9). Is executed in the same manner as the process of (S468). Therefore, among the external output data stored in the external output area 22 in the secondary storage step of the data collection process under the old data collection conditions, all the data that has not yet been output to the outside of the image forming apparatus 10 are included. It is output to the outside of the image forming apparatus 10.
  • the data collection service 124 deletes the old data collection condition (S469) and ends the operation shown in FIG.
  • the image forming apparatus 10 simultaneously executes the stop of the primary storage step of the data collection process under the old data collection condition and the start of the primary storage step of the data collection process under the new data collection condition. Therefore, the internal processing data accumulated in the internal processing area 21 in the primary storage step of the data collection processing under the old data collection condition and the internal processing area 21 in the primary storage step of the data collection processing under the new data collection condition. It is possible to suppress omission of data acquisition period and occurrence of duplication when switching data collection conditions with the data for internal processing accumulated in. Therefore, even if the data collection condition is updated during the execution of the data collection process, the image forming apparatus 10 can output appropriate data for all periods to the outside.
  • the image forming apparatus 10 simultaneously executes the stop of the primary storage step of the data collection process under the old data collection condition and the start of the primary storage step of the data collection process under the new data collection condition. By doing so, the data collection conditions are updated during the execution of the data collection process. However, as shown in FIG. 11, the image forming apparatus 10 simultaneously executes the stop of the acquisition step of the data collection process under the old data collection condition and the start of the acquisition step of the data collection process under the new data collection condition. Thereby, the data collection condition may be updated during the execution of the data collection process.
  • FIG. 11 is a flowchart of an operation of the image forming apparatus 10 when updating the data collection condition during execution of the data collection process, which is different from the example shown in FIG.
  • FIG. 11 shows that when the data collection process is being executed, the control unit 30 is instructed to update the data collection conditions of the data collection process via, for example, the operation unit 11 or the network communication unit 16. Perform the action.
  • condition setting unit 211a executes the processing of S481 to S482 similar to the processing of S461 to S462 (see FIG. 10).
  • the data collection service 124 Upon receiving the request of S482, the data collection service 124 starts the primary accumulation step of the data collection process under the new data collection conditions (S483).
  • the data collection service 124 After the processing of S483, the data collection service 124 simultaneously stops the acquisition step of the data collection process under the old data collection condition and starts the acquisition step of the data collection process under the new data collection condition (S484). ..
  • the data collection service 124 After the processing of S484, the data collection service 124 starts the steps after the conversion step of the data collection processing under the new data collection conditions (S485). That is, the data collection service 124 starts a conversion step, a secondary storage step, and an output step with respect to the data collection process under the new data collection conditions.
  • the data collection service 124 executes the processing of S486 to S488 similar to the processing of S467 to S469 (see FIG. 10), and ends the operation shown in FIG.
  • the image forming apparatus 10 simultaneously stops the acquisition step of the data collection process under the old data collection condition and starts the acquisition step of the data collection process under the new data collection condition.
  • the internal processing data accumulated in the internal processing area 21 in the primary storage step of the data collection processing under the old data collection condition and the internal processing area 21 accumulated in the internal processing area 21 in the primary storage step of the data collection processing under the new data collection condition. It is possible to suppress omission of data acquisition period and occurrence of duplication when switching data collection conditions with the data for internal processing. Therefore, even if the data collection condition is updated during the execution of the data collection process, the image forming apparatus 10 can output appropriate data for all periods to the outside.
  • the operation shown in FIG. 11 is the operation shown in FIG. 10 because the acquisition step of the data collection process under the old data collection condition and the acquisition step of the data collection process under the new data collection condition are not executed at the same time. In comparison, the load on the system of the image forming apparatus 10 can be suppressed.
  • the primary storage step is executed only for the storage unit 20 in the data collection process under the old data collection condition and the data collection process under the new data collection condition.
  • the data acquisition may be executed at different locations in the system of the image forming apparatus 10 in the data collection process under the old data collection condition and the data collection process under the new data collection condition.
  • the old data collection condition is used.
  • To stop the acquisition step of the data collection process and start the acquisition step of the data collection process under the new data collection condition at the same time is to stop the primary accumulation step of the data collection process under the old data collection condition.
  • FIG. 10 shows. The operation shown is easier to realize than the operation shown in FIG.
  • FIG. 12 is a sequence diagram of the operation of the image forming apparatus 10 when the internal processing data is deleted from the internal processing area 21.
  • the conversion execution unit 211b When the conversion process in S423 is completed, the conversion execution unit 211b notifies the data collection service 124 of the completion of the conversion process as shown in FIG. 12 (S501).
  • the data collection service 124 Upon receiving the notification of S501, the data collection service 124 selects the internal processing data to be notified of S501 when the holding condition of the primary storage step is "until the time when the conversion to the external output data is completed". It is deleted from the internal processing area 21 (S502).
  • FIG. 13 is a sequence diagram of the operation of the image forming apparatus 10 when the external output data is deleted from the external output area 22.
  • the output execution unit 211c When the output processing in S443 is completed, the output execution unit 211c notifies the data collection service 124 of the completion of the output processing as shown in FIG. 13 (S521).
  • the data collection service 124 Upon receiving the notification of S521, the data collection service 124 receives the notification of S521, and when the holding condition of the secondary storage step is "until the time when the output to the outside of the image forming apparatus 10 is completed", the external output to be notified of S521. Data is deleted from the external output area 22 (S522).
  • the data collection service 124 can recognize the occurrence of this error.
  • the data collection service 124 can recognize the occurrence of this error based on the notification from the conversion execution unit.
  • the data collection service 124 can recognize the occurrence of this error based on the notification from the output execution unit.
  • FIG. 14 is a sequence diagram of the operation of the image forming apparatus 10 when an error related to the data collection process occurs.
  • the data collection service 124 When the data collection service 124 recognizes the occurrence of an error related to the data collection process, it notifies the output execution unit 211c of the occurrence of an error related to the data collection process as shown in FIG. 14 (S541).
  • the output execution unit 211c Upon receiving the notification of S541, the output execution unit 211c outputs a message to the effect that an error has occurred to the output destination set for the output step of the data collection process in which the error has occurred (S542). Therefore, at the output destination, it is possible to recognize that the data output process is not performed normally due to the occurrence of the error.
  • the process shown in FIG. 14 is an example.
  • the data collection service 124 recognizes the occurrence of an error related to the data collection process, it notifies the occurrence of the error related to the data collection process to the notification destination registered in advance. Then, when the notification destination is notified of the occurrence of an error related to the data collection process, the notification destination executes a preset process for the error. With this configuration, the image forming apparatus 10 can reduce the influence when an error occurs.
  • the data collecting application 211 sets the parameters related to the data collecting function, that is, the acquisition timing, the data item, the holding condition, the conversion timing, and the output timing in the data collecting service 124.
  • the data collection service 124 executes a specific process in the data collection function according to the parameters set by the data collection application 211 (S401 to S403, S421 to S422, S425, S441 to S442, S502, S522).
  • the data collection function can be extended without updating the collection service 124, and as a result, the expansion of the data collection function can be facilitated.
  • the data collection application 211 executes a specific process in the data collection function in response to the notification from the data collection service 124 (S423 to S424, S443), so that the data is not updated without updating the data collection service 124.
  • the collection function can be extended, and as a result, the data collection function can be easily expanded.
  • the image forming apparatus 10 can be extended to the conversion (S423) of the collected data.
  • the conversion execution unit 211b executes the conversion (S423) from the internal processing data to the external output data in the present embodiment.
  • the conversion from the internal processing data to the external output data may be realized by the data collection service 124 if it can be extended by changing the parameters.
  • the image forming apparatus 10 can be extended with respect to the output of data (S443) to the outside of the image forming apparatus 10.
  • the output executing unit 211c executes the output (S443) of the external output data in the present embodiment.
  • the output of the external output data may be realized by the data collection service 124 if it can be expanded by changing the parameters.
  • the data collecting service 124 is realized by the firmware 20b of the image forming apparatus 10
  • the data collecting application 211 is realized by the extended application program which is a program other than the firmware 20b, so that the firmware 20b is not updated.
  • the data collection function can be extended to, and as a result, the expansion of the data collection function can be facilitated.
  • the setting of data collection conditions, the conversion step, and the output step are realized by the extended application.
  • at least one of the setting of the data collection condition, the conversion step, and the output step may be realized by a configuration other than the extended application. That is, the service utilization unit of the present invention may be realized by a configuration other than the extended application.
  • the setting of data collection conditions, the conversion step, and the output step may be realized by any of the standard application, the extension service, and the back-end service. Since the standard application is realized by the firmware 20b, it is necessary to change the firmware 20b when it is expanded.
  • Any plurality of programs in the present embodiment may be configured as one program.
  • the firmware 20b and the extended application program may be configured as one program.
  • the electronic device of the present invention is an image forming device in the present embodiment, but an electronic device other than the image forming device such as a PC (Personal Computer) may be used.
  • a PC Personal Computer

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Facsimiles In General (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

データの収集の機能の拡張を容易化することができる電子機器およびプログラムを提供する。画像形成装置は、データ収集機能に関連するサービスを提供するデータ収集サービスと、データ収集サービスを利用するデータ収集アプリとを備え、データ収集アプリは、データ収集機能に関連するパラメーターである取得タイミングおよびデータ項目をデータ収集サービスに設定し、データ収集サービスは、データ収集アプリによって設定されたパラメーターに応じてデータ収集機能における特定の処理を実行する(S401~S403)ことを特徴とする。

Description

電子機器およびプログラム
 本発明は、データを収集することができる電子機器およびプログラムに関する。
 従来の電子機器として、画像形成装置の標準の機能を実現するアプリケーションである標準アプリと、画像形成装置の標準の機能以外の機能を実現するアプリケーションである拡張アプリと、標準アプリを利用せずに画像形成装置の標準の機能の拡張の機能を拡張アプリに提供する拡張機能サービスとを備える画像形成装置が知られている(特許文献1参照。)。
国際公開第2015/182303号
 しかしながら、従来の画像形成装置においては、データの収集の機能の拡張について考慮されていないという問題がある。
 そこで、本発明は、データの収集の機能の拡張を容易化することができる電子機器およびプログラムを提供することを目的とする。
 本発明の電子機器は、データの収集の機能に関連するサービスを提供するデータ収集サービスと、前記データ収集サービスを利用するサービス利用部とを備え、前記サービス利用部は、前記機能に関連するパラメーターを前記データ収集サービスに設定し、前記データ収集サービスは、前記サービス利用部によって設定された前記パラメーターに応じて前記機能における特定の処理を実行することを特徴とする。
 この構成により、本発明の電子機器は、データの収集の機能に関連するパラメーターをサービス利用部がデータ収集サービスに設定し、サービス利用部によって設定されたパラメーターに応じてデータ収集サービスがデータの収集の機能における特定の処理を実行するので、データ収集サービスを更新せずにデータの収集の機能を拡張することができ、その結果、データの収集の機能の拡張を容易化することができる。
 本発明の電子機器は、データの収集の機能に関連するサービスを提供するデータ収集サービスと、前記データ収集サービスを利用するサービス利用部とを備え、前記サービス利用部は、前記データ収集サービスからの通知に応じて、前記機能における特定の処理を実行することを特徴とする。
 この構成により、本発明の電子機器は、データ収集サービスからの通知に応じてデータの収集の機能における特定の処理をサービス利用部が実行するので、データ収集サービスを更新せずにデータの収集の機能を拡張することができ、その結果、データの収集の機能の拡張を容易化することができる。
 本発明の電子機器において、前記データ収集サービスは、前記電子機器のファームウェアによって実現され、前記サービス利用部は、前記ファームウェア以外のプログラムによって実現されても良い。
 この構成により、本発明の電子機器は、データ収集サービスが電子機器のファームウェアによって実現され、サービス利用部がファームウェア以外のプログラムによって実現されるので、ファームウェアを更新せずにデータの収集の機能を拡張することができ、その結果、データの収集の機能の拡張を容易化することができる。
 本発明の電子機器において、前記特定の処理は、前記データの変換を含んでも良い。
 この構成により、本発明の電子機器は、収集されたデータの変換に対して拡張することができる。
 本発明の電子機器において、前記特定の処理は、前記電子機器の外部への前記データの出力を含んでも良い。
 この構成により、本発明の電子機器は、電子機器の外部へのデータの出力に対して拡張することができる。
 本発明のプログラムは、データの収集の機能に関連するサービスを提供するデータ収集サービスと、前記データ収集サービスを利用するサービス利用部とを電子機器に実現させ、前記サービス利用部は、前記機能に関連するパラメーターを前記データ収集サービスに設定し、前記データ収集サービスは、前記サービス利用部によって設定された前記パラメーターに応じて前記機能における特定の処理を実行することを特徴とする。
 この構成により、本発明のプログラムを実行する電子機器は、データの収集の機能に関連するパラメーターをサービス利用部がデータ収集サービスに設定し、サービス利用部によって設定されたパラメーターに応じてデータ収集サービスがデータの収集の機能における特定の処理を実行するので、データ収集サービスを更新せずにデータの収集の機能を拡張することができ、その結果、データの収集の機能の拡張を容易化することができる。
 本発明のプログラムは、データの収集の機能に関連するサービスを提供するデータ収集サービスと、前記データ収集サービスを利用するサービス利用部とを電子機器に実現させ、前記サービス利用部は、前記データ収集サービスからの通知に応じて、前記機能における特定の処理を実行することを特徴とする。
 この構成により、本発明のプログラムを実行する電子機器は、データ収集サービスからの通知に応じてデータの収集の機能における特定の処理をサービス利用部が実行するので、データ収集サービスを更新せずにデータの収集の機能を拡張することができ、その結果、データの収集の機能の拡張を容易化することができる。
 本発明の電子機器およびプログラムは、データの収集の機能の拡張を容易化することができる。
本発明の一実施の形態に係る画像形成装置のハードウェアのブロック図である。 図1に示す画像形成装置の制御構成のブロック図である。 図2に示す拡張アプリであるデータ収集アプリを示す図である。 図1に示す画像形成装置によってデータ収集機能を実現する際の処理の流れのモデルを示す図である。 図1に示す画像形成装置によるデータ収集処理における拡張可能な点を示す図である。 (a)図4に示すデータ収集機能の標準の仕様の一例を示す図である。(b)図4に示すデータ収集機能の拡張された仕様の一例を示す図である。 取得ステップおよび一次蓄積ステップを実行する場合の図1に示す画像形成装置の動作のフローチャートである。 変換ステップおよび二次蓄積ステップを実行する場合の図1に示す画像形成装置の動作のシーケンス図である。 出力ステップを実行する場合の図1に示す画像形成装置の動作のシーケンス図である。 データ収集処理の実行中にデータ収集条件を更新するときの図1に示す画像形成装置の動作のフローチャートである。 データ収集処理の実行中にデータ収集条件を更新するときの図1に示す画像形成装置の、図10に示す例とは異なる動作のフローチャートである。 内部処理用領域から内部処理用データを削除する場合の図1に示す画像形成装置の動作のシーケンス図である。 外部出力用領域から外部出力用データを削除する場合の図1に示す画像形成装置の動作のシーケンス図である。 データ収集処理に関するエラーが発生した場合の図1に示す画像形成装置の動作のシーケンス図である。
 以下、本発明の実施の形態について、図面を用いて説明する。
 まず、本発明の一実施の形態に係る電子機器としての画像形成装置の構成について説明する。
 図1は、本実施の形態に係る画像形成装置10のハードウェアのブロック図である。
 図1に示すように、画像形成装置10は、種々の操作が入力される例えばボタンなどの操作デバイスである操作部11と、種々の情報を表示する例えばLCD(Liquid Crystal Display)などの表示デバイスである表示部12と、画像データに対して例えば、拡大、縮小、濃度調整、階調調整、画像改善などの各種の画像処理を実行する例えばGPU(Graphics Processing Unit)などの画像処理デバイスである画像処理部13と、用紙などの記録媒体に画像を印刷する印刷デバイスであるプリンター14と、原稿から画像を読み取る読取デバイスであるスキャナー15と、LAN(Local Area Network)、インターネットなどのネットワーク経由で、または、ネットワークを介さずに有線または無線によって直接に、外部の装置と通信を行う通信デバイスであるネットワーク通信部16と、図示していない外部のファクシミリ装置と公衆電話回線などの通信回線経由でファックス通信を行うファックスデバイスであるファックス通信部17と、画像形成装置10の内部の温度(以下「機内温度」という。)を検出する温度センサー18と、画像形成装置10の内部の湿度(以下「機内湿度」という。)を検出する湿度センサー19と、各種の情報を記憶する例えば半導体メモリー、HDD(Hard Disk Drive)などの不揮発性の記憶デバイスである記憶部20と、画像形成装置10全体を制御する制御部30とを備えているMFP(Multifunction Peripheral)である。
 記憶部20は、画像形成装置10の各ハードウェアを制御するための例えばLinux(登録商標)などの汎用OS(Operating System)用のプログラム(以下「汎用OS用プログラム」という。)20aを記憶している。
 記憶部20は、画像形成装置10のファームウェア20bを記憶している。
 記憶部20は、画像形成装置10の標準の機能以外の機能を実現するためのプログラムである拡張用プログラム20cを記憶している。
 記憶部20は、画像形成装置10の標準の機能以外の機能を実現するアプリケーションである拡張アプリ用のプログラム(以下「拡張アプリ用プログラム」という。)20dを記憶している。記憶部20は、拡張アプリ毎に拡張アプリ用プログラムを記憶可能である。
 記憶部20は、画像形成装置10の標準の機能を実現するアプリケーションである標準アプリを利用せずに汎用OSを利用するサービスを拡張アプリに提供する拡張サービス用のプログラム(以下「拡張サービス用プログラム」という。)20eを記憶している。記憶部20は、拡張サービス毎に拡張サービス用プログラムを記憶可能である。
 制御部30は、例えば、CPU(Central Processing Unit)30aと、プログラムおよび各種のデータを記憶しているROM(Read Only Memory)30bと、CPU30aの作業領域として用いられるメモリーとしてのRAM(Random Access Memory)30cとを備えている。CPU30aは、記憶部20またはROM30bに記憶されているプログラムを実行する。
 制御部30は、記憶部20またはROM30bに記憶されているプログラムを実行することによって、図2に示す制御構成を実現する。
 図2は、画像形成装置10の制御構成のブロック図である。
 図2に示すように、制御部30は、汎用OS用プログラム20a(図1参照。)を実行することによって、汎用OS110を実現する。
 制御部30は、汎用OS110上で動作して、画像処理に関するサービスを提供する画像処理サービス121と、汎用OS110上で動作して、ネットワーク経由の通信に関するサービスを提供するネットワーク通信サービス122と、汎用OS110上で動作して、画像形成装置10の各ハードウェアを操作するサービスを提供するデバイス操作サービス123と、汎用OS110上で動作して、データの収集の機能(以下「データ収集機能」という。)に関連するサービスを提供するデータ収集サービス124とを、ファームウェア20b(図1参照。)を実行することによって実現する。画像処理サービス121、ネットワーク通信サービス122およびデバイス操作サービス123は、それぞれ、汎用OS110を介して画像形成装置10の各ハードウェアを制御する。
 画像処理サービス121は、例えば、スキャナー15で解像度や色などを設定して原稿から読み取った画像データを記憶部20に記憶し、記憶部20に記憶されている画像データを画像処理部13に画像処理させるサービスを提供しても良い。画像処理サービス121は、プリンター14で印刷する画像データをファイルに基づいて描画するサービスを提供しても良い。画像処理サービス121は、拡張アプリから取得した画像データ、スキャナー15によって原稿から読み取った画像データ、または、記憶部20に記憶されている画像データに対して、拡大、縮小、回転、色変換、ノイズ除去、フォーマット変換、文字認識、透かし認識などの画像処理を実行するサービスを提供しても良い。
 ネットワーク通信サービス122は、TCP/IPやUDPなどの各種のプロトコルを用いてネットワーク通信部16経由でファイルの送受信、ストリーミング、認証データの送受信を実行するサービスを提供しても良い。例えば、ネットワーク通信サービス122は、スキャナー15によって原稿から読み取った画像データや、記憶部20に記憶されているファイルを送受信することも可能である。なお、ネットワーク通信サービス122は、ファックス通信部17によってファクシミリ送受信した画像データの送受信、ICカードや生体認証によってユーザーを認証するユーザー認証部が画像形成装置10に存在する場合にはユーザー認証部によるユーザー認証の結果の送受信、画像形成装置10にカメラが存在する場合にはカメラによって生成された映像データの送受信などを行うことも可能である。また、ネットワーク通信サービス122は、画像形成装置10の各部の状態、各部の機能の呼び出しの結果などについても、送受信可能である。
 デバイス操作サービス123は、表示部12への描画、プリンター14の駆動、ファックス通信部17の制御、ユーザー認証、画像形成装置10の各ハードウェアのステータスの取得などの処理を実行するサービスを提供しても良い。デバイス操作サービス123は、例えば、スキャナー15によって原稿から読み取った画像データを記憶部20に記憶するサービスを提供しても良いし、表示部12に表示されるブラウザー上に画像を描画するサービスを提供しても良いし、画像データをプリンター14に送信して画像形成させるサービスを提供しても良いし、記憶部20に記憶されている画像データをファックス通信部17によってファクシミリ送信させるサービスを提供しても良い。デバイス操作サービス123は、例えばフィニッシャーなどのオプション機器が画像形成装置10に存在する場合には例えば製本やステープルなどの処理をオプション機器に実行させるサービスを提供しても良いし、ICカードや生体認証によってユーザーを認証するユーザー認証部が画像形成装置10に存在する場合にはユーザー認証部にユーザー認証を実行させるサービスを提供しても良いし、画像形成装置10にカメラが存在する場合にはカメラに映像データの生成を実行させたり、カメラによって生成された映像データに基づいた視線検出などの各機能を呼び出したりするサービスを提供しても良い。デバイス操作サービス123は、例えばプリンター14の搬送部のモーターの一つを駆動させるといった、画像形成装置10の各ハードウェアの詳細な制御を実行するサービスを提供しても良い。デバイス操作サービス123は、画像形成装置10の各部の状態を取得するサービスを提供しても良い。
 制御部30は、画像処理サービス121、ネットワーク通信サービス122およびデバイス操作サービス123を呼び出すためのインターフェイスを提供するプラットフォームサービスIF部130を、ファームウェア20bを実行することによって実現する。
 制御部30は、ファームウェア20bを実行することによって標準アプリを実現する。標準アプリは、プラットフォームサービスIF部130上で動作して、画像形成装置10の各ハードウェアを利用する。例えば、制御部30は、操作部11に入力された指示に応じてスキャナー15によって原稿から画像を読み取って、読み取った画像をプリンター14によって印刷するコピーを実現する標準アプリであるコピーアプリ141と、ネットワーク通信部16によって受信した、例えばPDL(Page Description Language)で記述されたデータなどのデータに基づいた画像をプリンター14によって印刷する標準アプリであるプリンターアプリ142と、操作部11に入力された指示に応じてスキャナー15によって原稿から画像を読み取って、読み取った画像をファックス通信部17によって送信する標準アプリであるFAXアプリ143と、操作部11に入力された指示に応じてスキャナー15によって原稿から画像を読み取って、読み取った画像をネットワーク通信部16によって送信する標準アプリである送信アプリ144とを実現する。プリンターアプリ142は、操作部11に入力された指示に応じて記憶部20に記憶されているファイルに基づいた画像をプリンター14によって印刷しても良い。FAXアプリ143は、ネットワーク通信部16によって受信したファイルに基づいた画像をファックス通信部17によって送信したり、ファックス通信部17によって受信した画像をプリンター14によって印刷したり、ファックス通信部17によって受信した画像を記憶部20に記憶したりしても良い。
 制御部30は、プラットフォームサービスIF部130を介さずに汎用OS110を利用するサービスを提供する汎用OSサービス基盤150を、拡張用プログラム20c(図1参照。)を実行することによって実現する。汎用OSサービス基盤150は、例えば、汎用OS110上にデバイスドライバーやスクリプトなどの制御プログラムをインストールするなど、汎用OS110に機能を追加するサービスを提供しても良い。
 制御部30は、拡張アプリ側からプラットフォームサービスIF部130を利用するためのインターフェイスを提供する拡張アプリサービスIF部160を、拡張用プログラム20cを実行することによって実現する。
 制御部30は、標準アプリを利用して画像形成装置10の標準の機能を拡張アプリに提供するサービスである標準機能サービス170を、拡張用プログラム20cを実行することによって実現する。標準機能サービス170は、拡張アプリサービスIF部160を介して標準アプリを利用する。例えば、拡張アプリは、標準機能サービス170を利用することによって、コピーアプリ141によるコピーの開始の画面を表示部12に表示することができる。また、拡張アプリは、標準機能サービス170を利用することによって、拡張アプリ自身が取得したり、操作部11を介して指定されたりした各種ジョブデータやファイルなどをプリンターアプリ142に印刷させることができる。また、拡張アプリは、標準機能サービス170を利用することによって、FAXアプリ143によって受信されたファクシミリの画像データのうち、操作部11を介して指定された画像データを取得したり、操作部11を介して指定されたファイルなどをFAXアプリ143に送信させたりすることができる。
 制御部30は、画像形成装置10の標準の機能以外の機能を提供するサービスである拡張サービスを、拡張サービス用プログラム(図1参照。)を実行することによって実現する。例えば、制御部30は、標準アプリを利用せずにプラットフォームサービスIF部130を利用したり、汎用OSサービス基盤150を利用して汎用OS110を利用したりするサービスを拡張アプリに提供する拡張サービスである拡張機能サービス181と、プラットフォームサービスIF部130を利用せずに汎用OSサービス基盤150を利用して汎用OS110を利用するサービスを拡張アプリに提供する拡張サービスであるバックエンドサービス182とを実現する。拡張機能サービス181は、拡張アプリサービスIF部160を介してプラットフォームサービスIF部130を利用する。制御部30は、拡張機能サービス181以外にも、少なくとも1つの拡張機能サービスを実現可能である。制御部30は、バックエンドサービス182以外にも、少なくとも1つのバックエンドサービスを実現可能である。
 拡張機能サービスは、画像形成装置10の標準の機能の拡張の機能を拡張アプリに提供するサービスである。
 バックエンドサービスは、バックエンドで稼働するサービスである。バックエンドサービスは、画像形成装置10の標準の機能以外の機能のうち、画像形成装置10の標準の機能の拡張の機能以外の機能を提供するサービスである。バックエンドサービスとしては、例えば、画像形成装置10を監視する機能を提供するサービス、複数の画像形成装置から構成されるシステム全体を監視する機能を提供するサービス、特定のサーバーを監視する機能を提供するサービス、画像形成装置10の印刷枚数を示すカウンターなどの情報を画像形成装置10から収集して、収集した情報を人間が理解することができる形式の情報に変換する機能を提供するサービス、画像形成装置10から出力される情報の形式を旧型のインターフェイスの形式から新型のインターフェイスの形式に変換する機能を提供するサービスが存在する。
 制御部30は、拡張サービスの起動、開始および停止など、拡張サービスの管理を実行する拡張サービス管理部190を、拡張用プログラム20cを実行することによって実現する。拡張サービス管理部190は、拡張サービスおよび汎用OSサービス基盤150の状態を監視する。
 制御部30は、拡張アプリの起動、開始および停止など、拡張アプリの管理を実行する拡張アプリ管理部200を、拡張用プログラム20cを実行することによって実現する。
 制御部30は、拡張アプリ用プログラム20d(図1参照。)を実行することによって、拡張アプリ210を実現する。なお、制御部30は、拡張アプリ210以外にも、少なくとも1つの拡張アプリを実現することが可能である。拡張アプリは、ユーザーが直接的に利用するアプリケーションであり、ユーザーインターフェイスを備えている。利用者は、拡張アプリのユーザーインターフェイスを操作することによって、この拡張アプリが提供する機能を利用することができる。例えば、拡張アプリとしては、OCR(Optical Character Recognition)、監視カメラアプリ、ウォーターマーク作成、請求書作成、社員名簿管理、伝票管理、契約書管理、名刺管理、PDF作成、帳簿管理、グループ管理などの実用アプリでも良いし、汎用OS110上のデバイスドライバーやファームウェアなどの追加変更を行うインストーラーアプリや、その他の管理アプリなどでも良い。拡張アプリは、標準機能サービス170を呼び出して標準アプリを利用して汎用OS110を利用したり、拡張サービスを呼び出して標準アプリを利用せずに汎用OS110を利用したり、汎用OSサービス基盤150を直接呼び出して汎用OS110を利用したりすることが可能である。
 図3は、拡張アプリであるデータ収集アプリ211を示す図である。
 制御部30は、拡張アプリ用プログラムを実行することによって、図3に示すように、データ収集機能に関連する動作を実行する拡張アプリであるデータ収集アプリ211を実現する。データ収集アプリ211は、データ収集サービス124を利用する拡張アプリであり、本発明のサービス利用部を構成している。データ収集アプリ211は、データ収集機能におけるデータの収集の条件(以下「データ収集条件」という。)をデータ収集サービス124に対して設定する条件設定部211aと、後述の変換ステップを実行する変換実行部211bと、後述の出力ステップを実行する出力実行部211cとを備えている。条件設定部211aにおける設定には、データ収集条件の登録と、データ収集条件の削除とが含まれる。
 図4は、画像形成装置10によってデータ収集機能を実現する際の処理の流れのモデルを示す図である。
 図4に示すように、データ収集機能は、画像形成装置10の内部のデータを画像形成装置10の外部のIT(Information Technology)基盤40に送信する機能である。ここで、画像形成装置10の内部のデータとは、例えば、温度センサー18、湿度センサー19などの各種のセンサーによる検出値のデータや、画像形成装置10による印刷の枚数を示すカウンターの値のデータや、画像形成装置10におけるエラーの回数を示すデータなどである。図4においては、温度センサー18が代表として描かれている。また、IT基盤40とは、例えば、個人のPC(Personal Computer)や、データの分析を実行するサーバーなどである。
 データ収集機能は、データを取得する取得ステップと、取得ステップにおいて取得された、画像形成装置10の内部で処理するためのデータ(以下「内部処理用データ」という。)を、記憶部20における内部処理用データ用の領域(以下「内部処理用領域」という。)21に蓄積して管理する一次蓄積ステップと、内部処理用領域21に蓄積されている内部処理用データを、画像形成装置10の外部に出力するためのデータ(以下「外部出力用データ」という。)に変換する変換ステップと、変換ステップによって生成された外部処理用データを、記憶部20における外部出力用データ用の領域(以下「外部出力用領域」という。)22に蓄積して管理する二次蓄積ステップと、外部出力用領域22に蓄積されている外部出力用データを画像形成装置10の外部のIT基盤40に出力する出力ステップとを備えている。
 図5は、画像形成装置10によるデータ収集処理における拡張可能な点(以下「拡張点」という。)を示す図である。
 図5に示すように、データ収集処理は、取得ステップにおける拡張点として、データを取得するタイミングを示す取得タイミングと、取得する対象のデータの項目を示すデータ項目とを備えている。取得タイミングの例としては、「印刷開始時」、「印刷終了時」などが存在する。データ項目の例としては、「機内温度」、「機内湿度」、「カウンター」などが存在する。
 データ収集処理は、一次蓄積ステップにおける拡張点として、内部処理用データを内部処理用領域21に保持する条件である保持条件を備えている。保持条件の例としては、「外部出力用データへの変換が完了した時点まで」などが存在する。
 データ収集処理は、変換ステップにおける拡張点として、内部処理用データを外部出力用データに変換するタイミングを示す変換タイミングと、変換後の外部出力用データのデータ形式を示す変換方式とを備えている。変換タイミングの例としては、「毎日12時」、「土日を除く毎日12時」などが存在する。変換方式の例としては、「CSV(Comma-Separated Values)ファイル形式」、「JSON(JavaScript Object Notation)形式」などが存在する。
 データ収集処理は、二次蓄積ステップにおける拡張点として、外部出力用データを外部出力用領域22に保持する条件である保持条件を備えている。保持条件の例としては、「画像形成装置10の外部への出力が完了した時点まで」などが存在する。
 データ収集処理は、出力ステップにおける拡張点として、外部出力用データを画像形成装置10の外部に出力するタイミングを示す出力タイミングと、外部出力用データを画像形成装置10の外部に出力する方式を示す出力方式とを備えている。出力タイミングの例としては、「毎日12時」、「土日を除く毎日12時」などが存在する。出力方式の例としては、「特定の宛先にメールで送信」、「特定のサーバーにHTTP(Hypertext Transfer Protocol)形式で送信」などが存在する。
 図6(a)は、データ収集機能の標準の仕様の一例を示す図である。図6(b)は、データ収集機能の拡張された仕様の一例を示す図である。
 図6(a)に示す仕様によるデータ収集機能は、「印刷終了時の機内温度を、CSVファイル形式で、毎日12時に、特定の宛先にメールで送信する」という標準の機能である。図6(b)に示す仕様によるデータ収集機能は、「印刷開始時および印刷終了時の機内温度および機内湿度を、JSON形式で、土日を除く毎日12時に、特定のサーバーにHTTP形式で送信する」という、拡張された機能である。データ収集機能の仕様は、データ収集条件によって設定可能である。
 図6(a)に示す仕様から図6(b)に示す仕様に変更する場合、拡張点のうち「取得タイミング」、「データ項目」、「変換タイミング」および「出力タイミング」については、条件設定部211aによるデータ収集条件の設定によって変更可能である。すなわち、条件設定部211aは、画像形成装置10の外部からの指示に応じた「取得タイミング」、「データ項目」、「変換タイミング」および「出力タイミング」を示すデータ収集条件をデータ収集サービス124に登録することによって、データ収集機能における「取得タイミング」、「データ項目」、「変換タイミング」および「出力タイミング」を変更することが可能である。
 次に、データ収集処理を実行する場合の画像形成装置10の動作について説明する。
 まず、取得ステップおよび一次蓄積ステップを実行する場合の画像形成装置10の動作について説明する。
 図7は、取得ステップおよび一次蓄積ステップを実行する場合の画像形成装置10の動作のフローチャートである。
 図7に示すように、データ収集サービス124は、データ収集機能の仕様における「取得タイミング」に到達したと判断するまで、この「取得タイミング」に到達したか否かを判断する(S401)。
 データ収集サービス124は、データ収集機能の仕様における「取得タイミング」に到達したとS401において判断すると、データ収集機能の仕様における「データ項目」によって特定されるデータを取得する(S402)。
 データ収集サービス124は、S402の処理の後、S402において取得したデータを内部処理用データとして内部処理用領域21に蓄積する(S403)。
 データ収集サービス124は、S403の処理の後、S401の処理を実行する。
 なお、S401およびS402の処理が取得ステップに相当し、S403の処理が一次蓄積ステップに相当する。
 次に、変換ステップおよび二次蓄積ステップを実行する場合の画像形成装置10の動作について説明する。
 図8は、変換ステップおよび二次蓄積ステップを実行する場合の画像形成装置10の動作のシーケンス図である。
 図8に示すように、データ収集サービス124は、データ収集機能の仕様における「変換タイミング」に到達したか否かを判断する(S421)。
 データ収集サービス124は、データ収集機能の仕様における「変換タイミング」に到達したとS421において判断すると、内部処理用領域21に蓄積されている内部処理用データのうち、データ収集機能の仕様における「データ項目」によって特定されるデータを変換実行部211bに通知する(S422)。ここで、データ収集サービス124が変換実行部211bに通知するための宛先は、例えば、画像形成装置10の起動時に変換実行部211bがデータ収集サービス124に登録する。
 変換実行部211bは、S422において内部処理用データが通知されると、S422において通知された内部処理用データを、データ収集機能の仕様における「変換方式」で外部出力用データに変換する(S423)。
 変換実行部211bは、S423の処理の後、S423において生成した外部出力用データをデータ収集サービス124に通知する(S424)。
 データ収集サービス124は、S424において外部出力用データが通知されると、S424において通知された外部出力用データを、外部出力用領域22に蓄積する(S425)。
 制御部30は、S421~S425の処理を繰り返す。
 なお、S421~S424の処理が変換ステップに相当し、S425の処理が二次蓄積ステップに相当する。
 図8においては、変換実行部211bは、S423において生成した外部出力用データを、S424においてデータ収集サービス124に一度で通知する。しかしながら、変換実行部211bは、データ収集サービス124に外部出力用データを複数回に分けて通知しても良い。変換実行部211bは、データ収集サービス124に外部出力用データを複数回に分けて通知する場合、S423において生成した全ての外部出力用データの通知が完了した際に、全ての外部出力用データの通知が完了したことをデータ収集サービス124に通知しても良い。そして、データ収集サービス124は、全ての外部出力用データの通知が完了したことが通知された場合に、二次蓄積ステップを完了しても良い。
 次に、出力ステップを実行する場合の画像形成装置10の動作について説明する。
 図9は、出力ステップを実行する場合の画像形成装置10の動作のシーケンス図である。
 図9に示すように、データ収集サービス124は、データ収集機能の仕様における「出力タイミング」に到達したか否かを判断する(S441)。
 データ収集サービス124は、データ収集機能の仕様における「出力タイミング」に到達したとS441において判断すると、外部出力用領域22に蓄積されている外部出力用データのうち、データ収集機能の仕様における「データ項目」によって特定されるデータを出力実行部211cに通知する(S442)。ここで、データ収集サービス124が出力実行部211cに通知するための宛先は、例えば、画像形成装置10の起動時に出力実行部211cがデータ収集サービス124に登録する。
 出力実行部211cは、S442において外部出力用データが通知されると、S442において通知された外部出力用データを、データ収集機能の仕様における「出力方式」で出力する(S443)。
 制御部30は、S441~S443の処理を繰り返す。
 なお、データ収集サービス124は、複数のデータ収集条件のそれぞれでのデータ収集処理を同時に実行する場合、内部処理用データ、外部出力用データ、変換実行部および出力実行部に対してデータ収集条件毎に識別情報であるIDを付与することによって、内部処理用データ、外部出力用データ、変換実行部および出力実行部をデータ収集条件毎に区別する。
 次に、データ収集処理の実行中にデータ収集条件を更新するときの画像形成装置10の動作について説明する。
 図10は、データ収集処理の実行中にデータ収集条件を更新するときの画像形成装置10の動作のフローチャートである。
 制御部30は、データ収集処理が実行されている場合に、このデータ収集処理のデータ収集条件の更新の指示が例えば操作部11またはネットワーク通信部16を介して指示されると、図10に示す動作を実行する。
 図10に示すように、条件設定部211aは、更新後のデータ収集条件となる、新たなデータ収集条件(以下「新データ収集条件」という。)を、データ収集サービス124に登録する(S461)。
 次いで、条件設定部211aは、現在実行中のデータ収集処理を、更新前のデータ収集条件(以下「旧データ収集条件」という。)でのデータ収集処理から、新データ収集条件でのデータ収集処理に切り替えることを、データ収集サービス124に要求する(S462)。
 データ収集サービス124は、S462の要求を受けると、新データ収集条件でのデータ収集処理の取得ステップを開始する(S463)。ここで、データ収集サービス124は、新データ収集条件でのデータ収集処理の一次蓄積ステップは開始しない。また、データ収集サービス124は、旧データ収集条件でのデータ収集処理の実行を継続する。
 データ収集サービス124は、S463の処理の後、旧データ収集条件でのデータ収集処理の一次蓄積ステップの停止と、新データ収集条件でのデータ収集処理の一次蓄積ステップの開始とを同時に実行する(S464)。
 データ収集サービス124は、S464の処理の後、新データ収集条件でのデータ収集処理の変換ステップ以降のステップの開始を実行する(S465)。すなわち、データ収集サービス124は、新データ収集条件でのデータ収集処理に関して、変換ステップ、二次蓄積ステップおよび出力ステップを開始する。
 データ収集サービス124は、S465の処理の後、旧データ収集条件でのデータ収集処理の取得ステップを停止する(S466)。
 データ収集サービス124は、S466の処理の後、旧データ収集条件における「変換タイミング」に到達した場合に、旧データ収集条件でのデータ収集処理の変換ステップおよび二次蓄積ステップを、S422~S425(図8参照。)の処理と同様に実行する(S467)。したがって、旧データ収集条件でのデータ収集処理の一次蓄積ステップで内部処理用領域21に蓄積された内部処理用データのうち、未だ外部出力用データに変換されていない全てのデータは、外部出力用データに変換されて外部出力用領域22に蓄積される。
 データ収集サービス124は、S467の処理の後、旧データ収集条件における「出力タイミング」に到達した場合に、旧データ収集条件でのデータ収集処理の出力ステップを、S442~S443(図9参照。)の処理と同様に実行する(S468)。したがって、旧データ収集条件でのデータ収集処理の二次蓄積ステップで外部出力用領域22に蓄積された外部出力用データのうち、画像形成装置10の外部に未だ出力されていない全てのデータは、画像形成装置10の外部に出力される。
 データ収集サービス124は、S468の処理の後、旧データ収集条件を削除して(S469)、図10に示す動作を終了する。
 画像形成装置10は、図10に示す動作において、旧データ収集条件でのデータ収集処理の一次蓄積ステップの停止と、新データ収集条件でのデータ収集処理の一次蓄積ステップの開始とを同時に実行するので、旧データ収集条件でのデータ収集処理の一次蓄積ステップで内部処理用領域21に蓄積された内部処理用データと、新データ収集条件でのデータ収集処理の一次蓄積ステップで内部処理用領域21に蓄積された内部処理用データとにおいて、データ収集条件の切り替わりの際の、データの取得期間の抜けや重複の発生を抑えることができる。したがって、画像形成装置10は、データ収集処理の実行中にデータ収集条件を更新しても、全ての期間における適切なデータを外部に出力することができる。
 画像形成装置10は、図10に示す動作において、旧データ収集条件でのデータ収集処理の一次蓄積ステップの停止と、新データ収集条件でのデータ収集処理の一次蓄積ステップの開始とを同時に実行することによって、データ収集処理の実行中にデータ収集条件を更新する。しかしながら、画像形成装置10は、図11に示すように、旧データ収集条件でのデータ収集処理の取得ステップの停止と、新データ収集条件でのデータ収集処理の取得ステップの開始とを同時に実行することによって、データ収集処理の実行中にデータ収集条件を更新しても良い。
 図11は、データ収集処理の実行中にデータ収集条件を更新するときの画像形成装置10の、図10に示す例とは異なる動作のフローチャートである。
 制御部30は、データ収集処理が実行されている場合に、このデータ収集処理のデータ収集条件の更新の指示が例えば操作部11またはネットワーク通信部16を介して指示されると、図11に示す動作を実行する。
 図11に示すように、条件設定部211aは、S461~S462(図10参照。)の処理と同様のS481~S482の処理を実行する。
 データ収集サービス124は、S482の要求を受けると、新データ収集条件でのデータ収集処理の一次蓄積ステップを開始する(S483)。
 データ収集サービス124は、S483の処理の後、旧データ収集条件でのデータ収集処理の取得ステップの停止と、新データ収集条件でのデータ収集処理の取得ステップの開始とを同時に実行する(S484)。
 データ収集サービス124は、S484の処理の後、新データ収集条件でのデータ収集処理の変換ステップ以降のステップを開始する(S485)。すなわち、データ収集サービス124は、新データ収集条件でのデータ収集処理に関して、変換ステップ、二次蓄積ステップおよび出力ステップを開始する。
 データ収集サービス124は、S485の処理の後、S467~S469(図10参照。)の処理と同様のS486~S488の処理を実行して、図11に示す動作を終了する。
 画像形成装置10は、図11に示す動作において、旧データ収集条件でのデータ収集処理の取得ステップの停止と、新データ収集条件でのデータ収集処理の取得ステップの開始とを同時に実行するので、旧データ収集条件でのデータ収集処理の一次蓄積ステップで内部処理用領域21に蓄積された内部処理用データと、新データ収集条件でのデータ収集処理の一次蓄積ステップで内部処理用領域21に蓄積された内部処理用データとにおいて、データ収集条件の切り替わりの際の、データの取得期間の抜けや重複の発生を抑えることができる。したがって、画像形成装置10は、データ収集処理の実行中にデータ収集条件を更新しても、全ての期間における適切なデータを外部に出力することができる。
 図11に示す動作は、旧データ収集条件でのデータ収集処理の取得ステップと、新データ収集条件でのデータ収集処理の取得ステップとが同時に実行されることがないので、図10に示す動作と比較して、画像形成装置10のシステムへの負荷を抑えることができる。
 一次蓄積ステップは、旧データ収集条件でのデータ収集処理と、新データ収集条件でのデータ収集処理とにおいて、記憶部20のみに対して実行される。一方、データの取得は、旧データ収集条件でのデータ収集処理と、新データ収集条件でのデータ収集処理とにおいて、画像形成装置10のシステムにおける異なる箇所で実行される可能性がある。データの取得が、旧データ収集条件でのデータ収集処理と、新データ収集条件でのデータ収集処理とにおいて、画像形成装置10のシステムにおける異なる箇所で実行される場合には、旧データ収集条件でのデータ収集処理の取得ステップの停止と、新データ収集条件でのデータ収集処理の取得ステップの開始とを同時に実行することは、旧データ収集条件でのデータ収集処理の一次蓄積ステップの停止と、新データ収集条件でのデータ収集処理の一次蓄積ステップの開始とを同時に実行することより実現が困難である。すなわち、データの取得が、旧データ収集条件でのデータ収集処理と、新データ収集条件でのデータ収集処理とにおいて、画像形成装置10のシステムにおける異なる箇所で実行される場合には、図10に示す動作は、図11に示す動作と比較して、実現が容易である。
 次に、内部処理用領域21から内部処理用データを削除する場合の画像形成装置10の動作について説明する。
 図12は、内部処理用領域21から内部処理用データを削除する場合の画像形成装置10の動作のシーケンス図である。
 変換実行部211bは、S423における変換の処理が完了すると、図12に示すように、変換の処理の完了をデータ収集サービス124に通知する(S501)。
 データ収集サービス124は、S501の通知を受けると、一次蓄積ステップの保持条件が「外部出力用データへの変換が完了した時点まで」である場合に、S501の通知の対象の内部処理用データを内部処理用領域21から削除する(S502)。
 次に、外部出力用領域22から外部出力用データを削除する場合の画像形成装置10の動作について説明する。
 図13は、外部出力用領域22から外部出力用データを削除する場合の画像形成装置10の動作のシーケンス図である。
 出力実行部211cは、S443における出力の処理が完了すると、図13に示すように、出力の処理の完了をデータ収集サービス124に通知する(S521)。
 データ収集サービス124は、S521の通知を受けると、二次蓄積ステップの保持条件が「画像形成装置10の外部への出力が完了した時点まで」である場合に、S521の通知の対象の外部出力用データを外部出力用領域22から削除する(S522)。
 次に、データ収集処理に関するエラーが発生した場合の画像形成装置10の動作について説明する。
 データ収集サービス124は、データ収集処理に関するエラーがデータ収集サービス124自身に発生した場合、このエラーの発生を認識することができる。データ収集サービス124は、データ収集処理に関するエラーが変換実行部に発生した場合、このエラーの発生を、この変換実行部からの通知に基づいて認識することができる。データ収集サービス124は、データ収集処理に関するエラーが出力実行部に発生した場合、このエラーの発生を、この出力実行部からの通知に基づいて認識することができる。
 図14は、データ収集処理に関するエラーが発生した場合の画像形成装置10の動作のシーケンス図である。
 データ収集サービス124は、データ収集処理に関するエラーの発生を認識すると、図14に示すように、データ収集処理に関するエラーの発生を出力実行部211cに通知する(S541)。
 出力実行部211cは、S541の通知を受けると、エラーが発生したデータ収集処理の出力ステップに対して設定されている出力先に、エラーが発生した旨のメッセージを出力する(S542)。したがって、出力先では、エラーの発生によって、データの出力の処理が通常通りには行われていないことを認識することができる。
 なお、図14に示す処理は、一例である。データ収集サービス124は、データ収集処理に関するエラーの発生を認識した場合、データ収集処理に関するエラーの発生を、予め登録されている通知先に通知する。そして、通知先は、データ収集処理に関するエラーの発生の通知を受けた場合に、予め設定されている、エラーのための処理を実行する。この構成により、画像形成装置10は、エラーが発生した場合の影響を軽減することができる。
 以上に説明したように、画像形成装置10は、データ収集機能に関連するパラメーター、すなわち、取得タイミング、データ項目、保持条件、変換タイミングおよび出力タイミングをデータ収集アプリ211がデータ収集サービス124に設定し、データ収集アプリ211によって設定されたパラメーターに応じてデータ収集サービス124がデータ収集機能における特定の処理を実行する(S401~S403、S421~S422、S425、S441~S442、S502、S522)ので、データ収集サービス124を更新せずにデータ収集機能を拡張することができ、その結果、データ収集機能の拡張を容易化することができる。
 画像形成装置10は、データ収集サービス124からの通知に応じてデータ収集アプリ211がデータ収集機能における特定の処理を実行する(S423~S424、S443)ので、データ収集サービス124を更新せずにデータ収集機能を拡張することができ、その結果、データ収集機能の拡張を容易化することができる。
 画像形成装置10は、収集されたデータの変換(S423)に対して拡張することができる。画像形成装置10は、本実施の形態において、内部処理用データから外部出力用データへの変換(S423)を変換実行部211bが実行する。しかしながら、内部処理用データから外部出力用データへの変換は、パラメーターの変更によって拡張可能である場合には、データ収集サービス124によって実現されても良い。
 画像形成装置10は、画像形成装置10の外部へのデータの出力(S443)に対して拡張することができる。画像形成装置10は、本実施の形態において、外部出力用データの出力(S443)を出力実行部211cが実行する。しかしながら、外部出力用データの出力は、パラメーターの変更によって拡張可能である場合には、データ収集サービス124によって実現されても良い。
 画像形成装置10は、データ収集サービス124が画像形成装置10のファームウェア20bによって実現され、データ収集アプリ211がファームウェア20b以外のプログラムである拡張アプリ用プログラムによって実現されるので、ファームウェア20bを更新せずにデータ収集機能を拡張することができ、その結果、データ収集機能の拡張を容易化することができる。
 本実施の形態においては、データ収集条件の設定と、変換ステップと、出力ステップとが拡張アプリによって実現される。しかしながら、データ収集条件の設定と、変換ステップと、出力ステップとの少なくとも1つは、拡張アプリ以外の構成によって実現されても良い。すなわち、本発明のサービス利用部は、拡張アプリ以外の構成によって実現されても良い。例えば、データ収集条件の設定と、変換ステップと、出力ステップとは、標準アプリ、拡張機能サービスおよびバックエンドサービスのいずれかで実現されても良い。なお、標準アプリは、ファームウェア20bによって実現されるので、拡張される場合には、ファームウェア20bの変更が必要である。
 本実施の形態におけるいずれかの複数のプログラムは、1つのプログラムとして構成されても良い。例えば、ファームウェア20bと、拡張アプリ用プログラムとは、1つのプログラムとして構成されても良い。
 本発明の電子機器は、本実施の形態において画像形成装置であるが、例えばPC(Personal Computer)など、画像形成装置以外の電子機器でも良い。
 10 画像形成装置(電子機器)
 20b ファームウェア(プログラム)
 20d 拡張アプリ用プログラム(プログラム)
 20c 拡張用プログラム(プログラム)
 124 データ収集サービス
 211 データ収集アプリ(サービス利用部)

Claims (7)

  1.  データの収集の機能に関連するサービスを提供するデータ収集サービスと、
     前記データ収集サービスを利用するサービス利用部と
     を備え、
     前記サービス利用部は、前記機能に関連するパラメーターを前記データ収集サービスに設定し、
     前記データ収集サービスは、前記サービス利用部によって設定された前記パラメーターに応じて前記機能における特定の処理を実行することを特徴とする電子機器。
  2.  データの収集の機能に関連するサービスを提供するデータ収集サービスと、
     前記データ収集サービスを利用するサービス利用部と
     を備え、
     前記サービス利用部は、前記データ収集サービスからの通知に応じて、前記機能における特定の処理を実行することを特徴とする電子機器。
  3.  前記データ収集サービスは、前記電子機器のファームウェアによって実現され、
     前記サービス利用部は、前記ファームウェア以外のプログラムによって実現されることを特徴とする請求項1または請求項2に記載の電子機器。
  4.  前記特定の処理は、前記データの変換を含むことを特徴とする請求項1から請求項3までのいずれかに記載の電子機器。
  5.  前記特定の処理は、前記電子機器の外部への前記データの出力を含むことを特徴とする請求項1から請求項4までのいずれかに記載の電子機器。
  6.  データの収集の機能に関連するサービスを提供するデータ収集サービスと、
     前記データ収集サービスを利用するサービス利用部と
     を電子機器に実現させ、
     前記サービス利用部は、前記機能に関連するパラメーターを前記データ収集サービスに設定し、
     前記データ収集サービスは、前記サービス利用部によって設定された前記パラメーターに応じて前記機能における特定の処理を実行することを特徴とするプログラム。
  7.  データの収集の機能に関連するサービスを提供するデータ収集サービスと、
     前記データ収集サービスを利用するサービス利用部と
     を電子機器に実現させ、
     前記サービス利用部は、前記データ収集サービスからの通知に応じて、前記機能における特定の処理を実行することを特徴とするプログラム。
PCT/JP2021/007956 2020-03-06 2021-03-02 電子機器およびプログラム WO2021177304A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US17/905,635 US20230145435A1 (en) 2020-03-06 2021-03-02 Electronic device and program
JP2022504399A JP7409477B2 (ja) 2020-03-06 2021-03-02 電子機器およびプログラム

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2020-038595 2020-03-06
JP2020038595 2020-03-06

Publications (1)

Publication Number Publication Date
WO2021177304A1 true WO2021177304A1 (ja) 2021-09-10

Family

ID=77613544

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2021/007956 WO2021177304A1 (ja) 2020-03-06 2021-03-02 電子機器およびプログラム

Country Status (3)

Country Link
US (1) US20230145435A1 (ja)
JP (1) JP7409477B2 (ja)
WO (1) WO2021177304A1 (ja)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011114408A (ja) * 2009-11-24 2011-06-09 Ricoh Co Ltd 画像処理装置及び画像処理方法
JP2018128997A (ja) * 2017-02-10 2018-08-16 キヤノン株式会社 情報処理装置、制御方法、およびプログラム
JP2019207595A (ja) * 2018-05-30 2019-12-05 京セラドキュメントソリューションズ株式会社 Api呼出プログラム

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011114408A (ja) * 2009-11-24 2011-06-09 Ricoh Co Ltd 画像処理装置及び画像処理方法
JP2018128997A (ja) * 2017-02-10 2018-08-16 キヤノン株式会社 情報処理装置、制御方法、およびプログラム
JP2019207595A (ja) * 2018-05-30 2019-12-05 京セラドキュメントソリューションズ株式会社 Api呼出プログラム

Also Published As

Publication number Publication date
US20230145435A1 (en) 2023-05-11
JPWO2021177304A1 (ja) 2021-09-10
JP7409477B2 (ja) 2024-01-09

Similar Documents

Publication Publication Date Title
EP2431905B1 (en) Image information processing apparatus, image information processing system, and computer-readable storage medium for computer program
US20180352407A1 (en) Information processing program product, information processing apparatus, and information processing system
JP5593854B2 (ja) 画像形成装置、画像処理方法、及び画像処理システム
JP6547717B2 (ja) 電子機器及びアプリケーション制御プログラム
JP5523423B2 (ja) モバイルプリンティングシステムおよびサーバー装置
US10642557B2 (en) Data communication and transmission for information processing devices in a network
JP5141743B2 (ja) 画像処理装置
JP2012138071A (ja) モバイルプリンティングシステム、印刷制御装置、および画像形成装置
JP2012138075A (ja) モバイルプリンティングシステム
US11847362B2 (en) Server, method, and non-transitory computer-readable storage medium storing program
WO2021177304A1 (ja) 電子機器およびプログラム
US11258916B2 (en) Electronic device and computer-readable non-transitory recording medium storing program
US11258917B2 (en) Electronic device capable of customizing prohibition content and computer-readable non-transitory recording medium storing program for the electronic device
JP6648675B2 (ja) 情報処理装置、情報処理システム、及び情報処理方法
JP2021111856A (ja) 画像形成装置
US11509789B2 (en) Electronic apparatus and computer readable non-transitory recording medium storing program
US11641436B2 (en) Electronic device, and non-transitory computer-readable recording medium recording firmware
JP5315939B2 (ja) 画像形成装置、情報処理システム、情報処理方法、及びプログラム
JP6930043B2 (ja) プログラム及び情報処理装置
JP6635083B2 (ja) ログ管理システム及びログ管理方法
JP2021140378A (ja) 電子機器およびプログラム
JP2016157211A (ja) システム、電子機器、通知方法、およびプログラム
JP6429034B2 (ja) 画像形成システム
JP2021140376A (ja) 電子機器およびプログラム
JP2022006436A (ja) 電子機器およびファームウェア

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21764671

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2022504399

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21764671

Country of ref document: EP

Kind code of ref document: A1