Title of Invention

A PROGRAM CONTROLLED DEVICE MANAGEMENT APPARATUS AND A DEVICE MANAGEMENT METHOD

Abstract A device management apparatus is adapted to be connected to devices which constitute at least one device group. An application is running in the device management apparatus. Each of the device managers is associated with one of the devices and is operable to create usage information of the associated one of the devices. A device group manager is associated with the at least one device group and coupled to the device managers to receive the usage information from each of the device managers. The device group manager is operable to notify the usage information in response to an inquiry from the application.
Full Text DEVICE MANAGEMENT APPARATUS AND DEVICE MANAGEMENT METHOD
BACKGROUND OF THE INVENTION
The present invention relates to technology for managing a plurality of parallel operating devices, and relates more particularly to technology for managing a plurality of devices in groups.
JAVA POS is an application programming interfacing for building point-of-sale (POS) systems using JAVA (registered trademark). JAVA POS also has a function for using device statistics, that is, information relating to usage of devices connected to a POS terminal. The JAVA POS standard enables an application running on a POS terminal to acquire and use these device statistics for example as device usage information. This usage information is information indicating usage of particular device functions, and in the case of a printer is information relating to the number of lines printed or the number of characters printed, for example.
The device statistics are individually managed in each of several individual devices, including, for example, a printer, a magnetic ink character reader (MICR), a scanner, and a cash drawer.
There are also hybrid apparatuses having a printer, an MICR, and a scanner, for example, in a single housing. In addition to the usage statistics that are kept for each of the component devices in this type of hybrid device, usage information for the hybrid device as a whole may also be needed. However, while statistics such as the operating time can be acquired for the

individual component devices in a hybrid device according to the prior art, determining the total continuous operating time of the hybrid apparatus in toto is not possible.
In addition to managing device statistics by individual device or the hybrid device overall, grouping two or more devices together and maintaining the device statistics by device group may also be desirable.
SUMMARY OF THE INVENTION
It is therefore an object of the present invention to manage the device statistics while associating two or more devices with each other.
In order to achieve the above object, according to the invention, there is provided a device management apparatus adapted to be connected to a plurality of devices which constitute at least one device group, comprising:
an application running in the device management apparatus;
a plurality of device managers, each of which is associated with one of the devices and is operable to create usage information of the associated one of the devices; and
a device group manager, associated with the device group and coupled to the device managers to receive the usage information from each of the device managers, the device group manager being operable to notify the usage information in response to an inquiry from the application.
Preferably, the device management apparatus further comprises a plurality of device drivers, each of which is associated with one of the devices to drive the associated one of the devices. One of the device managers

creates the usage information when the application instructs the one of the device drivers to drive one of the devices.
Here, it is preferable that the device management apparatus further comprises:
a storage component, storing device group information defining the device group; and
a creator component, which refers, when one of the device drivers is activated, the device group information to specify a device group including one of the devices associated with the activated one of the device drivers, and which dynamically creates a device group manager if no device group manager is associated with the specified device group.
Preferably, the device management apparatus is adapted to be connected to at least one hybrid device including at least two of the devices. The usage information includes information pertaining to each of the at least two devices and information pertaining to the hybrid device.
The device management apparatus may additionally include a multi-group device group manager associated with device managers of individual devices associated with different device groups. Correlations between the device managers and the devices may be dynamically generated. Virtual counters may be associated with the plurality of devices that communicate with the device managers to create the usage information based on predicted usage counts. In this context, the apparatus may additionally include a cumulative counter that accumulates the predicted usage counts for each of the devices
According to the invention, there is also provided a device

management method, comprising:
connecting a device management apparatus to a plurality of devices which constitute at least one device group;
running an application in the device management apparatus;
obtaining usage information of one of the devices; and
notifying the obtained usage information in response to an inquiry from the application.
Preferably, the device management method further comprises providing a plurality of device drivers, each of which is associated with one of the devices to drive the associated one of the devices. The usage information is created when the application instructs the one of the device drivers to drive one of the devices.
Here, it is preferable that the device management method further comprises:
storing device group information defining the at least one device group;
referring, when one of the device drivers is activated, the device group information to specify a device group including one of the devices associated with the activated one of the device drivers; and
if no device group manager is associated with the specified device group, creating dynamically a device group manager for notifying the usage information to the application.
According to the invention, there is also provided a device management apparatus, comprising:
a general purpose computer having a processor and a memory, the

general purpose computer communicating with the devices and running a management application;
a plurality of device managers, each of which is associated with one of the devices and is operable to create usage information of the associated one of the devices; and
a device group manager, associated with the at least one device group and coupled to the device managers to receive the usage information from each of the device managers, the device group manager being operable to notify the usage information in response to an inquiry from the application.
BRIEF DESCRIPTION OF THE DRAWINGS
The above objects and advantages of the present invention will become more apparent by describing in detail preferred exemplary embodiments thereof with reference to the accompanying drawings, wherein:
Fig. 1 is a block diagram of a POS system according to one embodiment of the present invention;
Fig. 2 is a flow chart of a process for creating a data statistics object executed in the POS system of Fig. 1;
Fig. 3 is a flow chart of a process for predicting device usage executed in the POS system of Fig. 1;
Fig. 4 is a flow chart of a process for terminating a data statistics object executed in the POS system of Fig. 1; and
Fig. 5 is a timing chart showing a relationship between operation time periods of device managers in the POS system of Fig. 1 and an existing time

period of the data statistics object.
DETAILED DESCRIPTION OF THE EMBODIMENTS
Embodiments of the present invention will be described below in detail with reference to the accompanying drawings.
As shown in Fig. 1, a POS system according to one embodiment of the invention has a POS terminal 1 and at least one hybrid device. In this embodiment, two hybrid devices 2A and 2B are connected to the POS terminal 1. The hybrid device 2A has a printer (a-printer) 21 A, a MICR (b-MICR) 22A, and a scanner (c-scanner) 23A, and hybrid device 2B has a printer (d-printer) 21B and MICR (e-MICR) 22B.
These hybrid devices are merely shown by way of example, and the devices (device categories) that are included in the hybrid devices may vary as needed.
The POS terminal 1 is built using a general purpose computer having a processor and a memory, and the components and functions of the POS terminal 1 described below can be achieved by running a computer program in the POS terminal 1.
The POS terminal 1 has printer managers 11 (11 A, 11B), MICR managers 12 (12A, 12B), a scanner manager 13 (13A), an object manager 15, a group information storage 17, and at least one application 100.
The printer managers 11, MICR managers 12, and scanner manager 13 for managing each of the devices in the hybrid devices 2 are also collectively referred to herein as device managers. Each device manager

manages usage information for the respective managed devices.
The group information storage 17 stores group information related to groups of plural devices. For example, the group information storage 17 stores group names linked to identification information for each device in a group. In the example shown in Fig. 1, the printer 21 A, MICR 22A, and scanner 23A housed in the case of hybrid device 2A form a device group A, and the printer 21B and MICR 22B housed in the case of hybrid device 2B form a device group B.
These groupings are merely shown by way of example, and a particular application 100 could be used to desirably set and change the group information stored in the group information storage 17. More specifically, a desired combination of devices can be defined as a group, usage information can be managed by group unit, and devices that are part of different hybrid devices 2 can be combined in the same group.
The object manager 15 generates and manages the data statistics (DS) objects 150 (150A, 150B). The data statistics objects 150 are objects for gathering and managing the usage information related to data statistics in the JAVA POS specification. One data statistics object 150, for example, manages virtual usage information for each device based on the groups defined by the group information storage 17, and returns the virtual usage information for the devices belonging to a requested group. This virtual usage information is calculated by virtual counters 112, 122, and 132 as described in further detail below.
The data statistics objects 150 can be dynamically generated as needed and deleted when no longer necessary. In this arrangement the

object manager 15 also maintains a data statistics object list 151. When a data statistics object 150 is then generated, the object name and other identification information is added to the data statistics object list 151, and deleted when the object 150 is deleted.
The data statistics objects 150 can also be provided for individual groups. For example, when a request is received from the printer managers 11, the MICR managers 12, or the scanner manager 13, the object manager 15 references the group information storage 17 to find the group containing the devices 21, 22, 23 associated with the manager 11, 12, or 13 that sent the request, and then creates a data statistics object 150 for that group. In the example shown in Fig. 1, data statistics object 150A manages the group A, and data statistics object 150B manages the group B. The name of the data statistics object 150 is preferably set so that the group managed by the data statistics object 150 can be identified from the object name.
The printer manager 11 A, the MICR manager 12A, and the scanner manager 13A are respectively linked to and manage the printer 21 A, the MICR 22A, and the scanner 23A of the hybrid device 2A. The printer manager 11B and the MICR manager 12B are likewise respectively linked to and manage the printer 21B and the MICR 22B of the hybrid device 2B. These correlations of managers and devices can also be dynamically generated. If the printer manager 11A acquires identification information from the printer 21A when the printer manager 11A is activated or created, for example, the printer manager 11A is configured to manage the printer 21A identified by the received identification information.
The printer managers 11, the MICR managers 12, and the scanner

manager 13 respectively comprise a printer driver 111, a MICR driver 121, a scanner driver 131 for driving the related device, and a virtual counter 112, 122, 132. Note that the internal driver and the virtual counter are not shown in the printer manager 11B and the MICR manager 12B in Fig. 1. Note that processors belonging to group A are primarily described below, and that processors belonging to group B are the same.
The printer driver 111 receives print requests and other commands from the application 100 and drives the printer 21A based on the received commands. The MICR driver 121 and the scanner driver 131 likewise drive the MICR 22A and the scanner 23A according to requests from the application 100.
When the printer driver 111 drives the printer 21A according to a request from the application 100, the virtual counter 112 predicts the expected printer usage, that is, how much the printer 21A is used when driven. More particularly, when the printer driver 111 drives the printer 21A to print, the virtual counter 112 predicts the number of characters or lines printed by the printer 21 A, how much paper is consumed (the paper transportation distance if using a rolled sheet, and how many sheets if using cut sheets), and how many times the rolled sheet is cut. The predicted counts are then reported to the data statistics object 150A.
The virtual counters 122 and 132 run processes similar to that of the virtual counter 112. More particularly, the virtual counters 122 and 132 predict the counts for predefined usage parameters indicating how much the MICR 22A and the scanner 23A are used when driven by the MICR driver 121 and the scanner driver 131, and send these counts to the data statistics object

150A.
Predicting usage information for different functions of the printer 21A based on commands sent by the virtual counter 112 to the printer 21A is described below by way of example.
(1) If the command is a text printing command, the virtual counter 112 predicts the number of characters and lines printed by the printer 21A by counting the number of characters and line returns specified by the parameters of the print command.
(2) If the print command is a barcode print command, the virtual counter 112 counts the number of dots printed by the printer 21A to print the image data contained in the barcode print command, and converts this dot count to the equivalent number of characters in a specified font. For example, the number of dots per character used for this conversion could be the number of dots in the font size most frequently printed on the printer 21A (such as 12 dots wide by 24 dots tall), or the average number of dots in one character.
Image data print commands also contain image size and scaling information. The virtual counter 112 could thus use this information to determine the height of the image when printed by the printer 21 A, and predict the number of lines printed based on the calculated image height and the predetermined height (line feed distance) of one line.
(3) The virtual counter 112 also detects escape sequence control
commands to predict printer usage. The virtual counter 112 could, for
example, count the number of times the paper is cut based on the number of
times a paper cut command is sent, and count the number of paper cut escape
sequences contained in the print command.

The virtual counter 112 also counts the actual number of times the printer 21A executes commands corresponding to barcode printing, slip insertion, and reversing the paper (changing the side that is printed). The number of home position errors can also be represented by a mechanical error count.
If the individual devices 21 A, 22A, 23A have internal counters for counting device usage, the virtual counters 112, 122, 132 of the device manager can be omitted. In this arrangement device usage is monitored by reading the internal counters of the individual devices, and the counter readings can be reported to the data statistics object 150.
The data statistics object 150A also has a cumulative counter 155. The cumulative counter 155 accumulates the predicted usage counts (values) for each of the devices 21 A, 22A, 23A belonging to the group A. A cumulative counter 155 is provided for each device category and counted parameter. The data statistics object 150A also stores the creation time 156 denoting when the data statistics object 150A is created.
If a read request is then received from the application 100, the cumulative counter 155 returns the internally stored cumulative count. These read requests could retrieve all parameters for all devices, parameters for a particular device category, or a specific parameter for a specific device. If the data statistics object 150A is requested for the time elapsed since the data statistics object 150A is created, the data statistics object 150A calculates and returns the time elapsed since the data statistics object 150A is created.
Note that like data statistics object 150A, data statistics object 150B also has a cumulative counter and stores the creation time, and has the same

functions as the data statistics object 150A.
Operation of the foregoing system according to this embodiment of the invention is described below with reference to the flow charts in Figs. 2 to 4.
Fig. 2 is a flow chart of the process of creating a data statistics object. When any one of the device managers, that is, the printer manager 11 A, the MICR manager 12A, or the scanner manager 13A, is activated, the object manager 15 receives a report from the activated device manager (S11). This example assumes that the printer manager 11A is activated.
The report sent in step S11 contains identification information (a-printer) for the device (printer 21A in this example) linked to the activated printer manager 11 A. Based on identification information (a-printer) for the reported device, the object manager 15 references the group information storage 17 to find the group containing the identified device (S12). Group A is thus identified in this example.
The object manager 15 then references the data statistics object list 151 to determine if a data statistics object 150A for managing the identified group A already exists (S13).
If the corresponding data statistics object 150A has not been created (NO in S13), the object manager 15 creates the data statistics object 150A, assigns a group name identifying the object as a data statistics object for group A, and registers the group name in the data statistics object list 151 (S14, S15).
If the corresponding data statistics object 150A has already been created (YES in S13), steps S14 and S15 are skipped.

The data statistics object name for group A is then returned to the printer manager 11A that reported being activated (S16). The data statistics object 150A is also informed that the printer manager 11A is active by reporting the identification information for the printer 21 A, for example (S17), thus completing a two-way relationship between the data statistics object 150A and the activated device manager, i.e., printer manager 11 A.
The process run by the device manager will be described with reference to the flow chart in Fig. 3. The printer 21A and the printer manager 11A are used by way of example below, and other devices and device managers operate in the same way.
This process starts when the printer manager 11A receives a specific print command sent from the application 100 as a usage information request for the printer 21A (S21). The printer driver 111 then drives the printer 21A based on this print command (S22). The printer 21A thus operates as controlled by the application 100.
The virtual counter 112 also interprets the print commands received from the application 100 and predicts usage values for specific items such as the number of characters and number of lines printed by the printer 21A (S23). These predicted counts are then sent to the data statistics object 150A for the group containing the printer 21A (S24). The data statistics object 150A separately accumulates and stores the reported counts (S25).
The MICR manager 12A and the scanner manager 13A also run the process shown in Fig. 3. The corresponding virtual counters 122, 132 likewise predict the usage counts for specified parameters of the MICR 22A and the scanner 23A, and report these counts to the data statistics object

150A. The data statistics object 150A also separately accumulates and stores these reported counts.
The application 100 can thus reference the data statistics object 150 that manages a particular group to acquire information about all of the devices belonging to that group and the overall operating time for the entire group. The data statistics objects in this embodiment thus enable the system to manage device statistics relating to the operation of respective devices in each of the groups.
A process for terminating a data statistics object 150 is described next with reference to the flow chart in Fig. 4.
If operation of one of the active device managers stops because the process ended or if a device manager is to be deleted, an appropriate message is sent to the data statistics object 150 (S31).
When the data statistics object 150 receives an end of operation report from a device manager, the data statistics object 150 determines if another device manager in the same group is still active (S32). If another device manager is still active (YES in S32), this process aborts.
However, if there is no other active device manager in the same group (S32 returns no), the data statistics object 150 terminates itself (S33) and sends a corresponding report to the object manager 15.
When the object manager 15 receives a report that a data statistics object 150 is terminated, the object manager 15 deletes the corresponding data statistics object record from the data statistics object list 151 (S34).
A data statistics object 150 stays alive as long as any device manager 11, 12, 13 associated with the group managed by the data statistics object 150

is still active. The data statistics object 150 is terminated when all device managers 11, 12, 13 in the managed group stop operating.
Therefore, when the printer managers 11, the MICR managers 12, and the scanner manager 13 start and stop operation at the timings shown in Fig. 5, the data statistics object 150 is created when the device manager that is activated first, the MICR manager 12 in this example, starts operating, and lasts until the last operating device manager, the scanner manager 13 in this example, stops operating. As a result, the application 100 can determine how long the hybrid device 2A has been continuously operating by querying the data statistics object 150 to get the elapsed time since the data statistics object 150 is created.
Although the present invention has been shown and described with reference to specific preferred embodiments, various changes and modifications will be apparent to those skilled in the art from the teachings herein. Such changes and modifications as are obvious are deemed to come within the spirit, scope and contemplation of the invention as defined in the appended claims.





WHAT IS CLAIMED IS:
1 1. A device management apparatus adapted to be connected to a
2 plurality of devices which constitute at least one device group, comprising:

3 an application running in the device management apparatus;
4 a plurality of device managers, each of which is associated with one

5 of the devices and is operable to create usage information of the associated
6 one of the devices; and
7 a device group manager, associated with the device group and
8 coupled to the device managers to receive the usage information from each of
9 the device managers, the device group manager being operable to notify the 10 usage information in response to an inquiry from the application.

1 2. The device management aa as set forth in claim 1, further
2 comprising a plurality of device drivers, each of which is associated with one of
3 the devices to drive the associated one of the devices,
4 wherein one of the device managers creates the usage information
5 when the application instructs the one of the device drivers to drive one of the
6 devices.

1 3. The device management apparatus as set forth in claim 2, further
2 comprising:
3 a storage component, storing device group information defining the
4 device group; and
5 a creator component, which refers, when one of the device drivers is

6 activated, the device group information to specify a device group including one
7 of the devices associated with the activated one of the device drivers, and
8 which dynamically creates a device group manager if no device group
9 manager is associated with the specified device group.
1 4. The device management apparatus as set forth in claim 1, wherein:
2 the device management apparatus is adapted to be connected to at
3 least one hybrid device including at least two of the devices; and
4 the usage information includes information pertaining to each of the at
5 least two devices and information pertaining to the hybrid device.
1 5. The device management apparatus as set forth in claim 1, further
2 comprising a multi-group device group manager associated with device
3 managers of individual devices associated with different device groups.

1 6. The device management apparatus as set forth in claim 1, wherein
2 correlations between the device managers and the devices are dynamically
3 generated.

1 7. The device management apparatus as set forth in claim 1, further
2 comprising virtual counters associated with the plurality of devices, the virtual
3 counters communicating with the device managers to create the usage
4 information based on predicted usage counts.

5 8. The device management apparatus as set forth in claim 7, further
6 comprising a cumulative counter that accumulates the predicted usage counts
7 for each of the devices.
1 9. A device management method, comprising:
2 connecting a device management apparatus to a plurality of devices
3 which constitute at least one device group;
4 running an application in the device management apparatus;
5 obtaining usage information of one of the devices; and
6 notifying the obtained usage information in response to an inquiry
7 from the application.
1 10. The device management method as set forth in claim 9, further
2 comprising providing a plurality of device drivers, each of which is associated
3 with one of the devices to drive the associated one of the devices,
4 wherein the usage information is created when the application
5 instructs the one of the device drivers to drive one of the devices.
1 11. The device management method as set forth in claim 10, further
2 comprising:
3 storing device group information defining the at least one device
4 group;
5 referring, when one of the device drivers is activated, the device
6 group information to specify a device group including one of the devices
7 associated with the activated one of the device drivers; and

8 if no device group manager is associated with the specified device
9 group, creating dynamically a device group manager for notifying the usage
10 information to the application.
1 12. A device management apparatus adapted to be connected to a
2 plurality of devices which constitute at least one device group, comprising:
3 a general purpose computer having a processor and a memory, the
4 general purpose computer communicating with the devices and running a
5 management application;
6 a plurality of device managers, each of which is associated with one
7 of the devices and is operable to create usage information of the associated
8 one of the devices; and
9 a device group manager, associated with the at least one device
10 group and coupled to the device managers to receive the usage information
11 from each of the device managers, the device group manager being operable
12 to notify the usage information in response to an inquiry from the application.


Documents:

0824-che-2005-abstract.pdf

0824-che-2005-claims.pdf

0824-che-2005-correspondnece-others.pdf

0824-che-2005-description(complete).pdf

0824-che-2005-drawings.pdf

0824-che-2005-form 1.pdf

0824-che-2005-form 3.pdf

0824-che-2005-form 5.pdf

824--CHE-2005 CORRESPONDENCE OTHERS.pdf

824--CHE-2005 CORRESPONDENCE PO.pdf

824--CHE-2005 FORM 1.pdf

824--CHE-2005 FORM 18.pdf

824--CHE-2005 FORM 2.pdf

824--CHE-2005 POWER OF ATTORNEY.pdf

824-CHE-2005 CORRESPONDENCE OTHERS 27-04-2011.pdf

824-che-2005 form-3 28-03-2011.pdf

824-CHE-2005 AMENDED CLAIMS 28-03-2011.pdf

824-CHE-2005 CORRESPONDENCE OTHERS 21-03-2011.pdf

824-che-2005 correspondence others 28-03-2011.pdf

824-che-2005 correspondence others 27-07-2009.pdf


Patent Number 247415
Indian Patent Application Number 824/CHE/2005
PG Journal Number 14/2011
Publication Date 08-Apr-2011
Grant Date 06-Apr-2011
Date of Filing 29-Jun-2005
Name of Patentee SEIKO EPSON CORPOARTION
Applicant Address 4-1, NISHI-SHINJUKU 2-CHOME, SHINJUKU-KU, TOKYO 163-0811.
Inventors:
# Inventor's Name Inventor's Address
1 TSUCHIYA, YUICHI C/O SEIKO EPSON CORPORATION, 3,5, OWA 3-CHOME, SUWA-SHI, NAGANO 392-8502.
2 HAYASHI, HIROAKI C/O SEIKO EPSON CORPORATION, 3,5, OWA 3-CHOME, SUWA-SHI, NAGANO 392-8502, JAPAN
3 KODAMA, TOMOHIRO C/O SEIKO EPSON CORPORATION, 3,5, OWA 3-CHOME, SUWA-SHI, NAGANO 392-8502, JAPAN
PCT International Classification Number G06F19/00
PCT International Application Number N/A
PCT International Filing date
PCT Conventions:
# PCT Application Number Date of Convention Priority Country
1 2005-133884 2005-05-02 Japan
2 2004-281556 2004-09-28 Japan