STORAGE MEDIUM STORING COMPUTER PROGRAM, INFORMATION PROCESSING SYSTEM, AND INFORMATION PROCESSING METHOD
First Claim
1. A storage medium storing a computer program read and executed by a computer including an operating system, whereinthe computer causes the computer program to function as an application running on the operating system,while the application is running, the operating system controls and shifts an execution state of the application among a foreground state in which the application is executed in a foreground, a background state in which the application is executed in a background, and a suspended state in which the application is inexecutable, andthe application includesa communication connection-used processor configured to, when the execution state is the foreground state, perform processing using communication connection established between the application and an external device,a communication connection manager configured to save connection state information indicating an active or inactive state of the communication connection and to update the connection state information depending on a change in active or inactive state of the communication connection between the foreground state and the background state, anda communication connection cutter configured to, in a case where the communication connection between the application and the external device is in the active state, cut off the communication connection when the execution state shifts to the background state.
1 Assignment
0 Petitions
Accused Products
Abstract
A computer program, an information processing system, and an information processing method are capable of properly managing the connection state of communication connection with an external device. When an operating system shifts an application to a background state, the operating system provides the application with a background shift notification. In the case where communication connection, targeted for management, between the application and an external accessory system is in an active state, the application having received the background shift notification cuts off, via the operating system, the communication connection established between the application and the accessory system, and switches the state of the communication connection, targeted for management, to an inactive state.
11 Citations
12 Claims
-
1. A storage medium storing a computer program read and executed by a computer including an operating system, wherein
the computer causes the computer program to function as an application running on the operating system, while the application is running, the operating system controls and shifts an execution state of the application among a foreground state in which the application is executed in a foreground, a background state in which the application is executed in a background, and a suspended state in which the application is inexecutable, and the application includes a communication connection-used processor configured to, when the execution state is the foreground state, perform processing using communication connection established between the application and an external device, a communication connection manager configured to save connection state information indicating an active or inactive state of the communication connection and to update the connection state information depending on a change in active or inactive state of the communication connection between the foreground state and the background state, and a communication connection cutter configured to, in a case where the communication connection between the application and the external device is in the active state, cut off the communication connection when the execution state shifts to the background state.
-
5. An information processing system connectable to an external device, comprising:
-
an operating system; and an application running on the operating system, wherein while the application is running, the operating system controls and shifts an execution state of the application among a foreground state in which the application is executed in a foreground, a background state in which the application is executed in a background, and a suspended state in which the application is inexecutable, and the application includes a communication connection-used processor configured to, when the execution state is the foreground state, perform processing using communication connection established between the application and the external device, a communication connection manager configured to save connection state information indicating an active or inactive state of the communication connection and to update the connection state information depending on a change in active or inactive state of the communication connection between the foreground state and the background state, and a communication connection cutter configured to, in a case where the communication connection between the application and the external device is in the active state, cut off the communication connection when the execution state shifts to the background state. - View Dependent Claims (6, 7, 8)
-
-
9. A method for performing processing by an application running on an operating system of a computer,
in which the operating system controls and shifts, while the application is running, an execution state of the application among a foreground state in which the application is executed in a foreground, a background state in which the application is executed in a background, and a suspended state in which the application is inexecutable, the method for performing processing comprising: -
a communication connection-used processing step of, when the execution state is the foreground state, performing processing using communication connection established between the application and an external device; a connection state information management step of saving connection state information indicating an active or inactive state of the communication connection and updating the connection state information depending on a change in active or inactive state of the communication connection between the foreground state and the background state; and a communication connection cutting step of, in a case where the communication connection between the application and the external device is in the active state, cutting off the communication connection when the execution state shifts to the background state. - View Dependent Claims (10, 11, 12)
-
Specification