Information processing apparatus and method and program for mediating applications
First Claim
1. An information processing apparatus capable of being connected to an information processing device via a reader/writer, comprising:
- a processor; and
a non-transitory memory, the memory storing instructions executable by the processor and providing;
a middleware for providing a plurality of applications for the information processing device with basic functions shared by the applications, anda device driver for sequentially processing a plurality of commands received from the plurality of applications via the middleware in the order in which the commands are received by the device driver so as to control the corresponding reader/writer so that the applications concurrently access the reader/writer,wherein the device driver switches between a shared mode in which the plurality of applications are allowed to concurrently access the reader/writer and a dedicated mode in which only one of the applications is allowed to access the reader/writer, andwherein, upon receiving a command from one of the applications while executing a command received from one of the other applications the device driver;
places the received command in an execution wait mode from the time when the command is received to the time when a predetermined timeout interval has elapsed, andsends a timeout error message to the one of the applications when the predetermined timeout interval has elapsed.
1 Assignment
0 Petitions
Accused Products
Abstract
An information processing apparatus is capable of being connected to an IC card via a reader/writer. The information processing apparatus includes a middleware and a device driver provided so as to correspond to the reader/writer. The middleware provides a plurality of applications for the IC card with basic functions shared by the applications. The device driver sequentially processes a plurality of commands received from the plurality of applications via the middleware in the order in which the commands are received so as to control the corresponding reader/writer. In this way, the applications concurrently access the reader/writer.
8 Citations
19 Claims
-
1. An information processing apparatus capable of being connected to an information processing device via a reader/writer, comprising:
-
a processor; and a non-transitory memory, the memory storing instructions executable by the processor and providing; a middleware for providing a plurality of applications for the information processing device with basic functions shared by the applications, and a device driver for sequentially processing a plurality of commands received from the plurality of applications via the middleware in the order in which the commands are received by the device driver so as to control the corresponding reader/writer so that the applications concurrently access the reader/writer, wherein the device driver switches between a shared mode in which the plurality of applications are allowed to concurrently access the reader/writer and a dedicated mode in which only one of the applications is allowed to access the reader/writer, and wherein, upon receiving a command from one of the applications while executing a command received from one of the other applications the device driver; places the received command in an execution wait mode from the time when the command is received to the time when a predetermined timeout interval has elapsed, and sends a timeout error message to the one of the applications when the predetermined timeout interval has elapsed. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method of mediating a plurality of applications for an information processing device for use in an information processing apparatus capable of being connected to the information processing device via a reader/writer apparatus, the method comprising the steps of:
-
receiving, by the reader/writer apparatus, a plurality of commands by a device driver provided so as to correspond to the reader/writer apparatus from a middleware, the middleware providing the plurality of applications with basic functions shared by the applications so that the applications are concurrently accessible to the reader/writer apparatus; and sequentially processing, by the reader/writer apparatus, the plurality of received commands by the device driver in the order in which the commands are received by the device driver so as to control the reader/writer apparatus; wherein the device driver switches between a shared mode in which the plurality of applications are allowed to concurrently access the reader/writer apparatus and a dedicated mode in which only one of the applications is allowed to access the reader/writer apparatus, and wherein, upon receiving a command from one of the applications while executing a command received from one of the other applications, the device driver; places the received command in an execution wait mode from the time when the command is received to the time when a predetermined timeout interval has elapsed, and sends a timeout error message to the one of the applications when the predetermined timeout interval has elapsed. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A computer program product comprising a non-transitory computer readable medium including program code stored thereon, the program code being executable to perform operations comprising:
-
causing a computer to function as an information processing apparatus capable of being connected to an information processing device via a reader/writer, the information processing apparatus including; a middleware for providing a plurality of applications for the information processing device with basic functions shared by the applications, and a device driver provided so as to correspond to the reader/writer, the device driver sequentially processing a plurality of commands received from the plurality of applications via the middleware in the order in which the commands are received by the device driver so as to control the corresponding reader/writer so that the applications concurrently access the reader/writer; wherein the device driver switches between a shared mode in which the plurality of applications are allowed to concurrently access the reader/writer and a dedicated mode in which only one of the applications is allowed to access the reader/writer, and wherein, upon receiving a command from one of the applications while executing a command received from one of the other applications the device driver; places the received command in an execution wait mode from the time when the command is received to the time when a predetermined timeout interval has elapsed, and sends a timeout error message to the one of the applications when the predetermined timeout interval has elapsed.
-
Specification