# US 2020/0396325 A1 · Application switching method and terminal

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

- Number: US 2020/0396325 A1
- Document ID: US20200396325A1
- Status: Published application
- Kind: A1
- Application number: 16/968,375
- Filed: 2018-02-08
- Published: 2020-12-17
- Earliest claimed: 2018-02-08
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Jinhong ZHONG; Hua JIN
- Web page: https://patentgrep.com/patent/US20200396325A1

## CPC

- H04M 1/67: by electronic means
- H04M 1/673: the user being required to key in a code
- G06F 3/01: Input arrangements or combined input and output arrangements for interaction between user and computer (G06F3/16 takes precedence)
- G06F 3/0488: using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F 9/4881: {Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues}
- G06F 9/542: {Event management; Broadcasting; Multicasting; Notifications}
- G06F 21/32: using biometric data, e.g. fingerprints, iris scans or voiceprints
- H04L 67/52: specially adapted for the location of the user terminal
- H04L 67/54: Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users
- H04M 1/72403: with means for local support of applications that increase the functionality
- H04M 1/72442: for playing music files
- H04M 1/72457: according to geographic location
- G06F 3/04883: for inputting data by handwriting, e.g. gesture or text
- H04L 63/10: {for controlling access to devices or network resources}
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04M 1/7243: with interactive means for internal management of messages
- H04M: TELEPHONIC COMMUNICATION (circuits for controlling other apparatus via a telephone cable and not involving telephone switching apparatus G08)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The technology described in this application relates to an application switching method and a terminal. The method includes a terminal running a first application in the foreground, locking a screen of the terminal in response to a lock screen instruction, and when the terminal meets a preset condition of running a second application, unlocking the screen of the terminal in response to an unlock instruction, and running the second application in the foreground.

## Claims

### Claim 1

An application switching method implemented via a terminal, the application switching method comprising:
running, by the terminal, a first application in the foreground;
locking a screen of the terminal in response to a lock screen instruction; and
when the terminal meets a preset condition of running a second application and a priority of the second application is higher than a priority of the first application, unlocking the screen of the terminal in response to an unlock instruction, and running the second application in the foreground, wherein the first application is different from the second application.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the preset condition comprises: the terminal receiving a new message related to the second application while in a lock screen state, wherein
the new message comprises at least one of a short message service message, a missed call notification, an instant messaging message, an application update prompt, a push message, or an advertisement message.

### Claim 3 (depends on 2)

The method according to claim 2, wherein running the second application in the foreground comprises:
running a detail interface of the new message in the second application in the foreground; or
running a preview interface of the new message in the second application in the foreground.

### Claim 4 (depends on 2)

The method according to claim 2, wherein the new message is received by the terminal at a first moment; and
running the second application in the foreground comprises:
running a first interface of the second application in the foreground if the terminal receives the unlock instruction at a moment between the first moment and a second moment, wherein the second moment is later than the first moment; and
running a second interface of the second application in the foreground if the terminal receives the unlock instruction at a moment between the second moment and a third moment, wherein the third moment is later than the second moment.

### Claim 5 (depends on 4)

The method according to claim 4, wherein if the terminal obtains the unlock instruction after the third moment, the method further comprises:
continuing to run the first application in the foreground.

### Claim 6 (depends on 2)

The method according to claim 2, wherein
running the first application in the foreground comprises: running a first interface of the first application in the foreground; and
running the second application in the foreground comprises: when a priority of a target interface to which the new message belongs is higher than a priority of the first interface, running the target interface of the second application in the foreground.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the preset condition comprises: the terminal in a lock screen state detecting that the terminal is connected to an audio output device, and the second application is an application supporting audio playback.

### Claim 8 (depends on 7)

The method according to claim 7, wherein running the second application in the foreground comprises:
running the second application in the foreground if the terminal receives the unlock instruction for the first time while in a state of being connected to the audio output device.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the preset condition comprises any of the following: the terminal in a lock screen state detecting that a current location is within a preset geo-fencing, or the terminal in a lock screen state detecting that a current time is within a preset time period.

### Claim 10 (depends on 9)

The method according to claim 9, wherein the second application includes an attendance tracking application, the preset geo-fencing is near a preset clock-in/out location, and the preset time period is a preset clock-in/out time period.

### Claim 11 (depends on 10)

The method according to claim 10, wherein running the second application in the foreground comprises:
running the second application in the foreground when the terminal receives the unlock instruction within the clock-in/out time period for the first time.

### Claim 12 (depends on 9)

The method according to claim 9, wherein the second application includes a game or reading application, the preset geo-fencing is a historical location at which a user used the second application, and the preset time period is a historical time at which the user used the second application.

### Claim 13 (depends on 9)

The method according to claim 9, wherein the second application includes an application comprising an e-ticket, and the preset geo-fencing is a station.

### Claim at position 14

14-25. (canceled)

### Claim 26 (depends on 1)

The method according to claim 1, further comprising:
when the terminal meets a preset condition of running a second application and a priority of the first application is higher than a priority of the second application, unlocking the screen of the terminal in response to an unlock instruction, and running the first application in the foreground.

### Claim 27

A terminal, comprising:
a processor; and
a memory configured to store computer readable instructions that, when executed by the processor, cause the terminal to provide execution comprising:
running a first application in the foreground;
locking a screen of the terminal in response to a lock screen instruction; and
when the terminal meets a preset condition of running a second application and a priority of the second application is higher than a priority of the first application, unlocking the screen of the terminal in response to an unlock instruction, and running the second application in the foreground, wherein the first application is different from the second application.

### Claim 28 (depends on 27)

The terminal according to claim 27, wherein the preset condition comprises: the terminal receiving a new message related to the second application while in a lock screen state, wherein
the new message comprises at least one of a short message service message, a missed call notification, an instant messaging message, an application update prompt, a push message, or an advertisement message.

### Claim 29 (depends on 28)

The terminal according to claim 28, wherein the new message is received by the terminal at a first moment; and
running the second application in the foreground comprises:
running a first interface of the second application in the foreground if the terminal receives the unlock instruction at a moment between the first moment and a second moment, wherein the second moment is later than the first moment; and
running a second interface of the second application in the foreground if the terminal receives the unlock instruction at a moment between the second moment and a third moment, wherein
the third moment is later than the second moment, and
if the terminal obtains the unlock instruction after the third moment, the terminal continues to run the first application in the foreground in response to the unlock instruction.

### Claim 30 (depends on 26)

The terminal according to claim 26, wherein the preset condition comprises any of the following:
the terminal in a lock screen state detecting that the terminal is connected to an audio output device, and the second application is an application supporting audio playback;
the terminal in a lock screen state detecting that a current location is within a preset geo-fencing, or
the terminal in a lock screen state detecting that a current time is within a preset time period.

### Claim 31 (depends on 30)

The terminal according to claim 30, wherein the second application includes an attendance tracking application, the preset geo-fencing is near a preset clock-in/out location, and the preset time period is a preset clock-in/out time period.

### Claim 32 (depends on 26)

The terminal according to claim 26, wherein the terminal is further caused to provide execution comprising:
when the terminal meets a preset condition of running a second application and a priority of the first application is higher than a priority of the second application, unlocking the screen of the terminal in response to an unlock instruction, and running the first application in the foreground.
