# US 2024/0004652 A1 · Methods for controlling application instance to be online or offline, electronic device, and storage medium

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0004652 A1
- Document ID: US20240004652A1
- Status: Published application
- Kind: A1
- Application number: 18/254,219
- Filed: 2021-10-26
- Published: 2024-01-04
- Earliest claimed: 2021-03-15
- Assignees: Boe Technology Group Co., Ltd.
- Applicants: Boe Technology Group Co., Ltd.
- Inventors: Yawen TANG; Huan LV; Lisha DOU; Dawei LI; Weiwei LIU; Zhanqiu YUE
- Web page: https://patentgrep.com/patent/US20240004652A1

## CPC

- G06F 9/30076: {to perform miscellaneous control operations, e.g. NOP}
- G06F 9/485: {Task life-cycle, e.g. stopping, restarting, resuming execution (G06F9/4881 takes precedence)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for controlling an application instance to be online or offline includes: acquiring target indication information, the target indication information including an identification of a target application instance; according to the target indication information and stored target instances, determining an online or offline control instruction of the target application instance, wherein the target instances including application instances that are started and are in an offline state; and according to the online or offline control instruction of the target application instance, controlling the target application instance to be online or offline.

## Claims

### Claim 1

A method for controlling an application instance to be online or offline, the method comprising:
acquiring target indication information; the target indication information including an identification of a target application instance;
determining an online or offline control instruction of the target application instance according to the target indication information and stored target instances; the target instances including application instances that are started and are in an offline state; and
controlling the target application instance to be online or offline according to the online or offline control instruction of the target application instance.

### Claim 2 (depends on 1)

The method according to claim 1, wherein in a case where the target indication information is used for indicating that the target application instance is to be online, determining the online or offline control instruction of the target application instance according to the target indication information and the stored target instances, includes:
determining whether the target application instance belongs to application instances of a preset type according to the identification of the target application instance; and
in a case where the target application instance belongs to the application instances of the preset type, and the target instances do not include the target application instance, determining that the online or offline control instruction of the target application instance is used to instruct the target application instance to be online;
in a case where the target application instance belongs to the application instances of the preset type, and the target instances include the target application instance, determining that the online or offline control instruction of the target application instance is used to instruct the target application instance to be in the offline state;
in a case where the target application instance does not belong to the application instances of the preset type, and the target instances do not include the target application instance, determining that the online or offline control instruction of the target application instance is used to instruct the target application instance in the offline state to be determined as a target instance;
in a case where the target application instance does not belong to the application instances of the preset type, and the target instances include the target application instance, determining that the online or offline control instruction of the target application instance is used to instruct the target application instance to be online after receiving an online operation.

### Claim 3 (depends on 1)

The method according to claim 1, wherein in a case where the target indication information is used for indicating that the target application instance is to be offline, determining the online or offline control instruction of the target application instance according to the target indication information and the stored target instances, includes:
determining whether the target application instance belongs to application instances of a preset type according to the identification of the target application instance; and
in a case where the target application instance belongs to the application instances of the preset type, and the target instances do not include the target application instance in the offline state, determining that the online or offline control instruction of the target application instance is used to instruct the target application instance to be offline and instruct the target application instance in the offline state to be determined as a target instance;
in a case where the target application instance does not belong to the application instances of the preset type, determining that the online or offline control instruction of the target application instance is used to instruct the target application instance to be offline.

### Claim 4 (depends on 2)

The method according to claim 2, wherein in a case where the online or offline control instruction of the target application instance is used to instruct the target application instance to be online after receiving the online operation, the method further comprises:
bringing the target application instance online in response to the online operation on the target application instance in the target instances; or
in the case where the online or offline control instruction of the target application instance is used to instruct the target application instance to be online after receiving the online operation, the method further comprises:
bringing the target application instance online in response to the online operation on the target application instance in the target instances; and
updating the target instances after the target application instance is brought online; the updated target instances doing not include the target application instance in the offline state.

### Claim 5

(canceled)

### Claim 6 (depends on 1)

The method according to claim 1, wherein after controlling the target application instance to be online or offline according to the online or offline control instruction of the target application instance, the method further comprises:
determining an online or offline record of the target application instance as a target record; the target record including the identification of the target application instance, and online or offline time of the target application instance.

### Claim 7 (depends on 3)

The method according to claim 3, wherein in a case where the target application instance belongs to the application instances of the preset type, the method further comprises:
in a case where a continuous duration of the target application instance in the offline state included in the target instances is greater than or equal to a preset duration, updating the target instances; the updated target instances doing not include the target application instance in the offline state.

### Claim 8

A method for controlling an application instance to be online or offline, comprising:
querying and displaying a record of a target application instance in response to a query operation on the target application instance; wherein the target application instance is an application instance that is started and is in an offline state, or an application instance that is started and is in an online state; the record includes an identification of the target application instance and a state of the target application instance; and
controlling the target application instance to be online or offline according to stored target instances in response to a target operation on the target application instance; the target instances including application instances that are started and are in the offline state.

### Claim 9 (depends on 8)

The method according to claim 8, wherein querying and displaying the record of the target application instance, includes:
querying a record corresponding to the identification of the target application instance from all currently started application instances as the record of the target application instance; and
displaying the record of the target application instance.

### Claim 10 (depends on 8)

The method according to claim 8, wherein controlling the target application instance to be online or offline according to the stored target instances in response to the target operation on the target application instance, includes:
determining whether the target application instance belongs to application instances of a preset type according to the identification of the target application instance; and
in a case where the target operation is used for controlling the target application instance to be online, and the target instances include the target application instance, in response to the target operation on the target application instance, bringing the target application instance online, and updating the target instances; the updated target instances doing not include the target application instance in the offline state;
in a case where the target operation is used for controlling the target application instance to be offline, the target instances do not include the target application instance, and the target application instance belongs to the application instances of the preset type, in response to the target operation on the target application instance, bringing the target application instance offline, and determining the target application instance in the offline state as a target instance;
in a case where the target operation is used for controlling the target application instance to be offline, the target instances do not include the target application instance, and the target application instance does not belong to the application instances of the preset type, in response to the target operation on the target application instance, bringing the target application instance offline.

### Claim 11 (depends on 8)

The method according to claim 8, further comprising:
after the target application instance is brought online or offline, determining an online or offline record of the target application instance as a target record; the target record including the identification of the target application instance, and online or offline time of the target application instance.

### Claim 12

(canceled)

### Claim 13

(canceled)

### Claim 14

(canceled)

### Claim 15

(canceled)

### Claim 16

(canceled)

### Claim 17

(canceled)

### Claim 18

(canceled)

### Claim 19

An electronic device, comprising:
a processor and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the executable instructions, so as to implement a method for controlling an application instance to be online or offline; the method includes:
acquiring target indication information; the target indication information including an identification of a target application instance;
determining an online or offline control instruction of the target application instance according to the target indication information and stored target instances; the target instances including application instances that are started and are in an offline state; and
controlling the target application instance to be online or offline according to the online or offline control instruction of the target application instance.

### Claim 20 (depends on 1)

A non-transitory computer-readable storage medium storing computer program instructions, wherein when run on a processor, the computer program instructions cause the processor to execute the method according to claim 1.

### Claim 21 (depends on 1)

A computer program product embodied on a non-transitory computer-readable storage medium, the computer program product comprising computer program instructions; wherein when run on a computer, the computer program instructions cause the computer to execute the method according to claim 1.

### Claim 22 (depends on 19)

The electronic device according to claim 19, wherein in a case where the target indication information is used for indicating that the target application instance is to be online, determining the online or offline control instruction of the target application instance according to the target indication information and the stored target instances, includes:
determining whether the target application instance belongs to application instances of a preset type according to the identification of the target application instance; and
in a case where the target application instance belongs to the application instances of the preset type, and the target instances do not include the target application instance, determining that the online or offline control instruction of the target application instance is used to instruct the target application instance to be online;
in a case where the target application instance belongs to the application instances of the preset type, and the target instances include the target application instance, determining that the online or offline control instruction of the target application instance is used to instruct the target application instance to be in the offline state;
in a case where the target application instance does not belong to the application instances of the preset type, and the target instances do not include the target application instance, determining that the online or offline control instruction of the target application instance is used to instruct the target application instance in the offline state to be determined as a target instance;
in a case where the target application instance does not belong to the application instances of the preset type, and the target instances include the target application instance, determining that the online or offline control instruction of the target application instance is used to instruct the target application instance to be online after receiving an online operation.

### Claim 23 (depends on 19)

The electronic device according to claim 19, wherein in a case where the target indication information is used for indicating that the target application instance is to be offline, determining the online or offline control instruction of the target application instance according to the target indication information and the stored target instances, includes:
determining whether the target application instance belongs to application instances of a preset type according to the identification of the target application instance; and
in a case where the target application instance belongs to the application instances of the preset type, and the target instances do not include the target application instance in the offline state, determining that the online or offline control instruction of the target application instance is used to instruct the target application instance to be offline and instruct the target application instance in the offline state to be determined as a target instance;
in a case where the target application instance does not belong to the application instances of the preset type, determining that the online or offline control instruction of the target application instance is used to instruct the target application instance to be offline.

### Claim 24 (depends on 19)

The electronic device according to claim 19, wherein after controlling the target application instance to be online or offline according to the online or offline control instruction of the target application instance, the method further includes:
determining an online or offline record of the target application instance as a target record; the target record including the identification of the target application instance, and online or offline time of the target application instance.

### Claim 25 (depends on 23)

The electronic device according to claim 23, wherein in a case where the target application instance belongs to the application instances of the preset type, the method further includes:
in a case where a continuous duration of the target application instance in the offline state included in the target instances is greater than or equal to a preset duration, updating the target instances; the updated target instances doing not include the target application instance in the offline state.

### Claim 26 (depends on 8)

An electronic device, comprising:
a processor and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the executable instructions, so as to implement the method according to claim 8.

### Claim 27 (depends on 8)

A non-transitory computer-readable storage medium storing computer program instructions, wherein when run on a processor, the computer program instructions cause the processor to execute the method according to claim 8.

### Claim 28 (depends on 8)

A computer program product embodied on a non-transitory computer-readable storage medium, the computer program product comprising computer program instructions; wherein when run on a computer, the computer program instructions cause the computer to execute the method according to claim 8.
