# US 2025/0148059 A1 · Method for application protection, electronic device, and computer-readable storage medium

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

- Number: US 2025/0148059 A1
- Document ID: US20250148059A1
- Status: Published application
- Kind: A1
- Application number: 18/028,818
- Filed: 2021-10-13
- Published: 2025-05-08
- Earliest claimed: 2020-10-14
- Assignees: Shenzhen Pax Smart New Technology Co., Ltd.
- Applicants: Shenzhen Pax Smart New Technology Co., Ltd.
- Inventors: Qiong HUANG; Aiping ZHOU; Lingcong ZENG
- Web page: https://patentgrep.com/patent/US20250148059A1

## CPC

- G06F 21/121: {Restricting unauthorised execution of programs}
- G06F 21/12: Protecting executable software
- G06F 21/57: Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
- G06F 21/577: {Assessing vulnerabilities and evaluating computer system security}
- G06F 2221/033: Test or assess software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for application protection is applicable to the field of computer technologies and includes: detecting an operation state of a target application; terminating the target application to implement protection of the target application in response to detecting that the target application is in a target state. When the application is operated, an operating state of the application is detected in real time, and an operation of the application will be terminated once it is detected that the application is in the target state. A risk in the application may be detected in time, so that the application may be protected in time.

## Claims

### Claim 1

A method for application protection implemented by a server, comprising:
detecting an operating state of a target application; and
terminating operation of the target application to protect the target application in response to determining that the target application is in a target state.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the target state comprises at least one of following states of:
a state in which application signature information is inconsistent with preset signature information;
a state in which application dynamic library information is inconsistent with preset dynamic library information;
a state in which the target application is debugged;
a state in which a resource file of the target application is modified; and
a state in which the target application is operated in a software simulation device.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the application dynamic library information is used to indicate the dynamic library file which the target application depends on; the method further comprises:
extracting file names of dynamic library files which the target application depends on; and
generating the application dynamic library information according to the file names of the dynamic library files.

### Claim 4 (depends on 1)

The method according to claim 1, further comprising:
determining a locking level of the target application according to risk level information associated with the application installed in the preset application set, and locking the target application according to the determined locking level of the target application, in response to detecting that a system where the target application is installed has installed an application in a preset application set; wherein the application in the preset application set is associated with the risk level information.

### Claim 5 (depends on 1)

The method according to claim 1, further comprising:
performing a data obfuscation processing on a password entered by the password entry operation to obtain an obfuscated password, in response to detecting a password entry operation and detecting that a preset risk condition is not met currently;
or alternatively, deleting the password entered by the password entry operation and exiting a password entry interface, in response to a detecting the password entry operation and detecting that the preset risk condition is met currently.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the preset risk condition comprises at least one of following conditions, including:
a condition in which a network disconnection is detected;
a condition in which a screenshot of a current interface is detected;
a condition in which it is detected that a screen is currently recorded; and
a condition in which it is detected that the target application is in a suspended state.

### Claim 7 (depends on 1)

The method according to claim 1, further comprising obtaining an installation package of the target application by:
obtaining a source installation package, and obtaining a target folder containing signature information in the source installation package;
replacing the application signature information in the target folder with the preset signature information, and modifying a folder name of the target folder as a preset name; and
obtaining the target installation package based on the modified target folder, and determining the target installation package as the installation package of the target application.

### Claim 8

(canceled)

### Claim 9

An electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor is configured to, when executing the computer program, implement steps of a method for application protection, comprising:
detecting an operating state of a target application; and
terminating an operation of the target application to protect the target application, in response to determining that the target application is in a target state.

### Claim 10 (depends on 1)

A non-transitory computer-readable storage medium, which stores a computer program, that, when executed by a processor of an electronic device, causes the processor of the electronic device to implement the method according to claim 1.

### Claim 11 (depends on 9)

The electronic device according to claim 9, wherein the target state comprises at least one of states, including:
a state in which application signature information is inconsistent with preset signature information;
a state in which application dynamic library information is inconsistent with preset dynamic library information;
a state in which the target application is debugged;
a state in which a resource file of the target application is modified; and
a state in which the target application is operated in a software simulation device.

### Claim 12 (depends on 9)

The electronic device according to claim 9, wherein the application dynamic library information is used to indicate the dynamic library file which the target application depends on; when executing the computer program, the processor is further configured to:
extract file names of dynamic library files which the target application depends on; and
generate the application dynamic library information according to the file names of the dynamic library files.

### Claim 13 (depends on 9)

The electronic device according to claim 9, wherein when executing the computer program, the processor is further configured to:
determine a locking level of the target application according to risk level information associated with the application installed in the preset application set, and lock the target application according to the determined locking level of the target application, in response to detecting that a system where the target application is installed has installed an application in a preset application set; wherein the application in the preset application set is associated with the risk level information.

### Claim 14 (depends on 9)

The electronic device according to claim 9, wherein when executing the computer program, the processor is further configured to:
performing a data obfuscation processing on a password entered by the password entry operation to obtain an obfuscated password, in response to detecting a password entry operation and detecting that a preset risk condition is not met currently; or alternatively,
deleting the password entered by the password entry operation and exiting a password entry interface, in response to a detecting the password entry operation and detecting that the preset risk condition is met currently.

### Claim 15 (depends on 14)

The electronic device according to claim 14, wherein the preset risk condition comprises at least one of following conditions, including:
a condition in which a network disconnection is detected;
a condition in which a screenshot of a current interface is detected;
a condition in which it is detected that a screen is currently recorded; and
a condition in which it is detected that the target application is in a suspended state.

### Claim 16 (depends on 14)

The electronic device according to claim 14, wherein when executing the computer program, the processor is further configured to:
obtain a source installation package, and obtaining a target folder containing signature information in the source installation package;
replace the application signature information in the target folder with the preset signature information, and modifying a folder name of the target folder as a preset name; and
obtain the target installation package based on the modified target folder, and determining the target installation package as the installation package of the target application.

### Claim 17 (depends on 14)

The electronic device according to claim 14, wherein after obtaining the obfuscated password, the processor is further configured to:
perform a data reverse confusion processing on the obfuscated password to obtain the original password, in response to receiving a password acquisition request entered by a user; and
delete the original password in response to the original password being used.

### Claim 18 (depends on 5)

The method according to claim 5, wherein after obtaining the obfuscated password, the method further comprises:
performing a data reverse confusion processing on the obfuscated password to obtain the original password, in response to receiving a password acquisition request entered by a user; and
deleting the original password in response to the original password being used.
