Movatterモバイル変換


[0]ホーム

URL:


CN115442474A - Information protection method and electronic equipment - Google Patents

Information protection method and electronic equipment
Download PDF

Info

Publication number
CN115442474A
CN115442474ACN202110615897.9ACN202110615897ACN115442474ACN 115442474 ACN115442474 ACN 115442474ACN 202110615897 ACN202110615897 ACN 202110615897ACN 115442474 ACN115442474 ACN 115442474A
Authority
CN
China
Prior art keywords
information
electronic device
screen
unlocking
function
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110615897.9A
Other languages
Chinese (zh)
Other versions
CN115442474B (en
Inventor
吴慰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co LtdfiledCriticalHuawei Technologies Co Ltd
Priority to CN202110615897.9ApriorityCriticalpatent/CN115442474B/en
Priority to PCT/CN2022/085629prioritypatent/WO2022252812A1/en
Publication of CN115442474ApublicationCriticalpatent/CN115442474A/en
Application grantedgrantedCritical
Publication of CN115442474BpublicationCriticalpatent/CN115442474B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The application provides an information protection method and electronic equipment, relates to the technical field of electronic equipment, and can reduce the risk of information leakage in the electronic equipment. The method comprises the following steps: the electronic equipment receives the first information, and then determines that the function of the biological characteristic unlocking screen is invalid according to the first information. Wherein the first information comprises at least one of: the first instruction indicates a function of closing the biometric unlocking screen, the first time information indicates a current time, or the first state information indicates a state in which the user is located.

Description

Translated fromChinese
信息保护方法及电子设备Information protection method and electronic device

技术领域technical field

本申请涉及电子设备技术领域,尤其涉及一种信息保护方法及电子设备。The present application relates to the technical field of electronic equipment, and in particular to an information protection method and electronic equipment.

背景技术Background technique

目前,生物特征解锁(如指纹解锁、人脸解锁、语音解锁等)具有方便、快捷等特点,被广泛作为电子设备的解锁方式。然而,生物特征解锁存在一定的安全隐患。例如,在用户无意识(如睡眠)的状态下,用户的指纹特征、人脸特征可能被其他人用来解锁手机等电子设备,导致电子设备内的信息泄露。At present, biometric unlocking (such as fingerprint unlocking, face unlocking, voice unlocking, etc.) has the characteristics of convenience and speed, and is widely used as an unlocking method for electronic devices. However, there are certain security risks in biometric unlocking. For example, when the user is unconscious (such as sleeping), the user's fingerprint features and face features may be used by others to unlock electronic devices such as mobile phones, resulting in information leakage in electronic devices.

发明内容Contents of the invention

本申请提供的一种信息保护方法及电子设备,能够降低电子设备内信息泄露的风险。The information protection method and electronic equipment provided by the present application can reduce the risk of information leakage in the electronic equipment.

第一方面、本申请提供一种信息保护方法,应用于电子设备,该电子设备包括至少一个触摸屏,该方法包括:电子设备接收第一信息,根据第一信息,确定生物特征解锁屏幕的功能失效。其中,第一信息包括以下至少一项:第一指令、第一时间信息、或第一状态信息,第一指令指示关闭生物特征解锁屏幕的功能,第一时间信息指示当前时间,第一状态信息指示用户所处的状态。In the first aspect, the present application provides an information protection method, which is applied to an electronic device, and the electronic device includes at least one touch screen. The method includes: the electronic device receives first information, and according to the first information, determines that the function of unlocking the screen with biometric features is invalid . Wherein, the first information includes at least one of the following: a first instruction, first time information, or first state information, the first instruction indicates to turn off the function of unlocking the screen with biometric features, the first time information indicates the current time, and the first state information Indicates the state the user is in.

如此,电子设备在接收到第一信息之后,即可响应于第一指令,确定生物特征解锁屏幕的功能失效,以使用户方便、快捷地关闭生物特征解锁屏幕的功能。或者,电子设备根据第一时间信息指示的时间,或根据第一状态信息指示的状态,来关闭生物特征解锁屏幕的功能,无需用户执行处理,以简化用户操作。In this way, after receiving the first information, the electronic device can respond to the first instruction to determine that the function of unlocking the screen with biometric features is disabled, so that the user can conveniently and quickly turn off the function of unlocking the screen with biometric features. Or, according to the time indicated by the first time information, or according to the state indicated by the first state information, the electronic device disables the function of unlocking the screen with biometric features, without the need for the user to perform processing, so as to simplify user operations.

在一种可能的设计中,第一指令包括以下至少一项:In a possible design, the first instruction includes at least one of the following:

第一项,检测到用户在第一界面的开关控件上的按压操作或点击操作。其中,第一界面可以是锁屏界面,也可以是应用界面。The first item is to detect the pressing or clicking operation of the user on the switch control of the first interface. Wherein, the first interface may be a lock screen interface, or an application interface.

第二项,检测到用户在状态栏的开关控件上的按压操作或点击操作。The second item detects the user's press or click operation on the switch control of the status bar.

第三项,检测到用户在第一界面上预设次数的点击操作。The third item is to detect the preset number of click operations by the user on the first interface.

第四项,第一语音指令,其中,第一语音指令指示关闭生物特征解锁屏幕的功能。The fourth item is the first voice instruction, wherein the first voice instruction indicates to turn off the function of unlocking the screen with biometric features.

如此,用户在第一界面或状态栏中的开关控件进行操作即可,或者,在第一界面执行预设次数的点击操作,或者,用户发出语音消息之后,电子设备接收到第一语音指令即可,简化了用户的操作过程。In this way, the user can operate the switch control in the first interface or the status bar, or perform a preset number of click operations on the first interface, or, after the user sends a voice message, the electronic device receives the first voice command and immediately Yes, it simplifies the user's operation process.

在一种可能的设计中,开关控件是单向的。也就是说,电子设备检测到开关控件上的点击操作或按压操作之后,仅能够确定生物特征解锁屏幕的功能失效,不具备恢复生物特征解锁屏幕的功能。即使用户再次点击开关控件,电子设备仍确定生物特征解锁屏幕的功能失效,而非生物特征解锁屏幕的功能恢复,以防止恶意用户通过点击开关控件的方式,使得生物特征解锁屏幕的功能恢复,导致电子设备内信息泄露的风险。In one possible design, the switch control is unidirectional. That is to say, after the electronic device detects the click operation or press operation on the switch control, it can only determine that the function of unlocking the screen with biometric features is invalid, and does not have the function of restoring the screen with biometric features. Even if the user clicks the switch control again, the electronic device still determines that the function of the biometric unlock screen is invalid, and the function of the non-biometric unlock screen is restored, so as to prevent malicious users from restoring the function of the biometric unlock screen by clicking the switch control, resulting in Risk of information leakage within electronic devices.

在一种可能的设计中,第一状态信息指示用户处于睡眠状态,第一状态信息是基于以下至少一项确定的:脉搏信息、眼球运动信息、压力信息、持续时间信息。其中,脉搏信息和眼球运动信息可以由智能穿戴设备采集,压力信息和持续时间信息可以由智能家居设备(如智能枕)采集。In a possible design, the first state information indicates that the user is in a sleep state, and the first state information is determined based on at least one of the following: pulse information, eye movement information, pressure information, and duration information. Among them, pulse information and eye movement information can be collected by smart wearable devices, and pressure information and duration information can be collected by smart home devices (such as smart pillows).

也就是说,在电子设备与智能穿戴设备或智能家居设备进行信息交互的情况下,智能穿戴设备或智能家居设备基于采集的信息确定用户所处的状态,电子设备接收第一状态信息之后,即可获取到用户所处的状态,电子设备根据第一状态信息,来关闭生物特征解锁屏幕的功能,无需用户执行处理,以简化用户操作。That is to say, in the case of information interaction between the electronic device and the smart wearable device or the smart home device, the smart wearable device or the smart home device determines the state of the user based on the collected information, and after the electronic device receives the first state information, that is The state of the user can be obtained, and the electronic device can disable the function of unlocking the screen with biometric features according to the first state information, without the user performing processing, so as to simplify user operations.

在一种可能的设计中,第一信息包括第一时间信息。电子设备根据第一信息,确定生物特征解锁屏幕的功能失效,包括:在第一时间信息指示的时间在目标时间段内的情况下,电子设备确定生物特征解锁屏幕的功能失效。其中,目标时间段可以是用户在每天的休息时间,如晚23点至次日7点。In a possible design, the first information includes first time information. According to the first information, the electronic device determines that the function of the biometric feature unlocking screen is invalid, including: when the time indicated by the first time information is within the target time period, the electronic device determines that the function of the biometric feature unlocking screen is invalid. Wherein, the target time period may be the user's daily rest time, such as 23:00 pm to 7:00 the next day.

如此,在第一时间信息指示的时间处于目标时间段内的情况下,电子设备确定用户处于休息状态,进而关闭生物特征解锁屏幕的功能,以防止电子设备内的信息泄露,且无需用户执行处理,以简化用户操作。In this way, when the time indicated by the first time information is within the target time period, the electronic device determines that the user is in a rest state, and then turns off the function of unlocking the screen with biometric features, so as to prevent information leakage in the electronic device without requiring the user to perform processing , to simplify user operations.

在一种可能的设计中,电子设备确定生物特征解锁屏幕的功能失效之后,本申请实施例信息保护方法还包括:电子设备显示提示信息。其中,提示信息指示采用密码解锁屏幕,以提示用户采用密码解锁屏幕。In a possible design, after the electronic device determines that the function of unlocking the screen with biometric features is invalid, the information protection method in the embodiment of the present application further includes: displaying prompt information on the electronic device. Wherein, the prompt information indicates that a password is used to unlock the screen, so as to prompt the user to use a password to unlock the screen.

在一种可能的设计中,电子设备确定生物特征解锁屏幕的功能失效之后,本申请实施例信息保护方法还包括:电子设备显示密码输入界面。其中,密码输入界面用于接收解锁屏幕的密码,以提示用户采用密码解锁屏幕。In a possible design, after the electronic device determines that the function of unlocking the screen with biometric features is invalid, the information protection method in the embodiment of the present application further includes: the electronic device displays a password input interface. Wherein, the password input interface is used for receiving a password for unlocking the screen, so as to prompt the user to use the password to unlock the screen.

在一种可能的设计中,本申请实施例信息保护方法还包括:电子设备采用密码解锁屏幕之后,确定生物特征解锁屏幕的功能恢复。In a possible design, the information protection method in the embodiment of the present application further includes: after the electronic device uses a password to unlock the screen, determining that the function of the biometric unlock screen is restored.

若电子设备接收到正确的屏幕解锁密码,则表征用户处于有意识状态,是用户自主的行为,电子设备确定生物特征解锁屏幕的功能恢复,以使用户方便、快捷地解锁屏幕。If the electronic device receives the correct screen unlock password, it means that the user is in a conscious state, which is an autonomous behavior of the user. The electronic device determines that the function of unlocking the screen with biometric features is restored, so that the user can unlock the screen conveniently and quickly.

在一种可能的设计中,本申请实施例信息保护方法还包括:在预设时长之后,电子设备确定生物特征解锁屏幕的功能恢复,以满足用户在某些场景,如临时休息场景的需求。In a possible design, the information protection method in the embodiment of the present application further includes: after a preset period of time, the electronic device determines that the function of the biometric unlock screen is restored, so as to meet the needs of the user in certain scenarios, such as temporary rest scenarios.

也就是说,在临时休息场景中,电子设备确定生物特征解锁屏幕的功能失效的预设时长之后,恢复生物特征解锁屏幕的功能,以使用户方便、快捷地解锁屏幕。That is to say, in the temporary rest scenario, after the electronic device determines that the function of unlocking the screen with biometric features fails for a preset period of time, it restores the function of unlocking the screen with biometric features, so that the user can unlock the screen conveniently and quickly.

在一种可能的设计中,第一信息包括第一时间信息。本申请实施例信息保护方法还包括:在第一时间信息指示的时间在目标时间段外的情况下,电子设备确定生物特征解锁屏幕的功能恢复。In a possible design, the first information includes first time information. The information protection method in the embodiment of the present application further includes: when the time indicated by the first time information is outside the target time period, the electronic device determines that the function of the biometric unlock screen is restored.

如此,在第一时间信息指示的时间处于目标时间段外的情况下,电子设备确定用户未处于休息状态,恢复生物特征解锁屏幕的功能,以使用户方便、快捷地解锁屏幕。In this way, when the time indicated by the first time information is outside the target time period, the electronic device determines that the user is not resting, and resumes the function of unlocking the screen with biometric features, so that the user can unlock the screen conveniently and quickly.

在一种可能的设计中,本申请实施例信息保护方法还包括:电子设备接收调整信息。其中,调整信息指示目标时间段,以方便用户调整目标时间段。In a possible design, the information protection method in the embodiment of the present application further includes: the electronic device receives adjustment information. Wherein, the adjustment information indicates the target time period, so as to facilitate the user to adjust the target time period.

第二方面、本申请提供一种电子设备,该电子设备包括至少一个触摸屏、一个或多个处理器和存储器。其中,触摸屏,用于检测用户的触摸操作,以及显示界面。存储器中存储有代码,当代码被一个或多个处理器执行时,使得电子设备执行以下步骤:接收第一信息,根据第一信息,确定生物特征解锁屏幕的功能失效。其中,第一信息包括以下至少一项:第一指令、第一时间信息、或第一状态信息,第一指令指示关闭生物特征解锁屏幕的功能,第一时间信息指示当前时间,第一状态信息指示用户所处的状态。In a second aspect, the present application provides an electronic device, and the electronic device includes at least one touch screen, one or more processors, and a memory. Wherein, the touch screen is used for detecting a user's touch operation and displaying an interface. Codes are stored in the memory, and when the codes are executed by one or more processors, the electronic device executes the following steps: receiving first information, and according to the first information, determining that the function of unlocking the screen with biometric features is disabled. Wherein, the first information includes at least one of the following: a first instruction, first time information, or first state information, the first instruction indicates to turn off the function of unlocking the screen with biometric features, the first time information indicates the current time, and the first state information Indicates the state the user is in.

在一种可能的设计中,第一指令包括以下至少一项:检测到用户在第一界面的开关控件上的按压操作或点击操作;检测到用户在状态栏的开关控件上的按压操作或点击操作;检测到用户在第一界面上预设次数的点击操作;第一语音指令,其中,第一语音指令指示关闭生物特征解锁屏幕的功能。In a possible design, the first instruction includes at least one of the following: detecting the user's press operation or click operation on the switch control of the first interface; detecting the user's press operation or click operation on the switch control of the status bar Operation; detection of a preset number of click operations by the user on the first interface; a first voice instruction, wherein the first voice instruction indicates to turn off the function of unlocking the screen with biometric features.

在一种可能的设计中,开关控件是单向的。In one possible design, the switch control is unidirectional.

在一种可能的设计中,第一状态信息指示用户处于睡眠状态,第一状态信息是基于以下至少一项确定的:脉搏信息、眼球运动信息、压力信息、持续时间信息。In a possible design, the first state information indicates that the user is in a sleep state, and the first state information is determined based on at least one of the following: pulse information, eye movement information, pressure information, and duration information.

在一种可能的设计中,当代码被一个或多个处理器执行时,使得电子设备根据第一信息,确定生物特征解锁屏幕的功能失效,具体为:在第一时间信息指示的时间在目标时间段内的情况下,确定生物特征解锁屏幕的功能失效。In a possible design, when the code is executed by one or more processors, the electronic device determines that the function of unlocking the screen with the biometric feature is disabled according to the first information, specifically: at the time indicated by the first time information, the target If the time period is exceeded, the function of determining the biometric unlock screen is disabled.

在一种可能的设计中,当代码被一个或多个处理器执行时,还使得电子设备执行以下步骤:显示提示信息,其中,提示信息指示采用密码解锁屏幕。In a possible design, when the code is executed by one or more processors, the electronic device is further caused to perform the following step: displaying prompt information, where the prompt information indicates that a password is used to unlock the screen.

在一种可能的设计中,当代码被一个或多个处理器执行时,还使得电子设备执行以下步骤:显示密码输入界面,其中,密码输入界面用于接收解锁屏幕的密码。In a possible design, when the code is executed by one or more processors, the electronic device is further caused to perform the following step: displaying a password input interface, where the password input interface is used to receive a password for unlocking the screen.

在一种可能的设计中,当代码被一个或多个处理器执行时,还使得电子设备执行以下步骤:采用密码解锁屏幕之后,确定生物特征解锁屏幕的功能恢复。In a possible design, when the code is executed by one or more processors, the electronic device is further caused to perform the following steps: after the screen is unlocked with a password, it is determined that the function of the biometric feature unlocking screen is restored.

在一种可能的设计中,当代码被一个或多个处理器执行时,还使得电子设备执行以下步骤:在预设时长之后,确定生物特征解锁屏幕的功能恢复。In a possible design, when the code is executed by one or more processors, the electronic device is further caused to perform the following step: after a preset period of time, determine that the function of the biometric unlock screen is restored.

在一种可能的设计中,当代码被一个或多个处理器执行时,还使得电子设备执行以下步骤:在第一时间信息指示的时间在目标时间段外的情况下,确定生物特征解锁屏幕的功能恢复。In a possible design, when the code is executed by one or more processors, the electronic device is further caused to perform the following steps: when the time indicated by the first time information is outside the target time period, determine that the biometric feature unlocks the screen function recovery.

在一种可能的设计中,当代码被一个或多个处理器执行时,还使得电子设备执行以下步骤:接收调整信息,其中,调整信息指示目标时间段。In a possible design, when the code is executed by one or more processors, the electronic device is further caused to perform the following step: receiving adjustment information, where the adjustment information indicates a target time period.

第三方面、本申请提供一种计算机存储介质,包括计算机指令,当计算机指令在电子设备上运行时,使得电子设备执行如第一方面及其中任一种可能的实现方式中所述的方法。In a third aspect, the present application provides a computer storage medium, including computer instructions. When the computer instructions are run on an electronic device, the electronic device is made to execute the method described in the first aspect and any possible implementation manner thereof.

第四方面、本申请提供一种计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行如第一方面中及其中任一种可能的实现方式中所述的方法。In a fourth aspect, the present application provides a computer program product. When the computer program product runs on a computer, the computer executes the method described in the first aspect and any possible implementation manner.

第五方面、本申请提供一种芯片系统,包括至少一个处理器,当所述至少一个处理器执行指令时,所述至少一个处理器执行如第一方面中及其中任一种可能的实现方式中所述的方法。In the fifth aspect, the present application provides a system on a chip, including at least one processor, and when the at least one processor executes instructions, the at least one processor executes any of the possible implementations in the first aspect and any of them method described in .

可以理解地,上述提供的第二方面所述的电子设备、第三方面所述的计算机存储介质、第四方面所述的计算机程序产品,以及第五方面所述的芯片系统均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。Understandably, the electronic device described in the second aspect, the computer storage medium described in the third aspect, the computer program product described in the fourth aspect, and the chip system described in the fifth aspect provided above are all used to execute For the corresponding methods provided herein, the beneficial effects that can be achieved can refer to the beneficial effects of the corresponding methods provided above, and will not be repeated here.

附图说明Description of drawings

图1为本申请实施例提供的一种屏幕解锁的场景示意图;FIG. 1 is a schematic diagram of a screen unlocking scenario provided by an embodiment of the present application;

图2为本申请实施例提供的一种电子设备的结构示意图;FIG. 2 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;

图3为本申请实施例提供的一种信息保护方法的流程示意图;FIG. 3 is a schematic flowchart of an information protection method provided in an embodiment of the present application;

图4a为本申请实施例提供的一种电子设备的界面示意图;Fig. 4a is a schematic interface diagram of an electronic device provided by an embodiment of the present application;

图4b为本申请实施例提供的再一种电子设备的界面示意图;Fig. 4b is a schematic interface diagram of another electronic device provided by the embodiment of the present application;

图4c为本申请实施例提供的又一种电子设备的界面示意图;Fig. 4c is a schematic interface diagram of another electronic device provided in the embodiment of the present application;

图4d为本申请实施例提供的又一种电子设备的界面示意图;Fig. 4d is a schematic interface diagram of another electronic device provided by the embodiment of the present application;

图4e为本申请实施例提供的一种屏幕解锁的场景示意图;FIG. 4e is a schematic diagram of a screen unlocking scenario provided by an embodiment of the present application;

图4f为本申请实施例提供的又一种电子设备的界面示意图;Fig. 4f is a schematic interface diagram of another electronic device provided by the embodiment of the present application;

图4g为本申请实施例提供的又一种电子设备的界面示意图;Fig. 4g is a schematic interface diagram of another electronic device provided by the embodiment of the present application;

图4h为本申请实施例提供的再一种屏幕解锁的场景示意图;FIG. 4h is a schematic diagram of another screen unlocking scenario provided by the embodiment of the present application;

图4i为本申请实施例提供的又一种屏幕解锁的场景示意图;FIG. 4i is a schematic diagram of another screen unlocking scenario provided by the embodiment of the present application;

图4j为本申请实施例提供的又一种屏幕解锁的场景示意图;FIG. 4j is a schematic diagram of another screen unlocking scenario provided by the embodiment of the present application;

图5为本申请实施例提供的又一种电子设备的界面示意图;FIG. 5 is a schematic interface diagram of another electronic device provided in the embodiment of the present application;

图6为本申请实施例提供的又一种电子设备的界面示意图;FIG. 6 is a schematic interface diagram of another electronic device provided in the embodiment of the present application;

图7a为本申请实施例提供的再一种信息保护方法的流程示意图;Fig. 7a is a schematic flowchart of another information protection method provided by the embodiment of the present application;

图7b为本申请实施例提供的又一种信息保护方法的流程示意图;FIG. 7b is a schematic flowchart of another information protection method provided by the embodiment of the present application;

图7c为本申请实施例提供的又一种信息保护方法的流程示意图;FIG. 7c is a schematic flowchart of another information protection method provided in the embodiment of the present application;

图8为本申请实施例提供的一种芯片系统的结构示意图;FIG. 8 is a schematic structural diagram of a chip system provided by an embodiment of the present application;

图9为本申请实施例提供的再一种电子设备的结构示意图。FIG. 9 is a schematic structural diagram of another electronic device provided by the embodiment of the present application.

具体实施方式detailed description

本申请的说明书以及附图中的术语“第一”和“第二”等是用于区别不同的对象,或者用于区别对同一对象的不同处理,而不是用于描述对象的特定顺序。此外,本申请的描述中所提到的术语“包括”和“具有”以及它们的任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括其他没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。需要说明的是,本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。The terms "first" and "second" in the specification and drawings of the present application are used to distinguish different objects, or to distinguish different processes for the same object, rather than to describe a specific sequence of objects. In addition, the terms "including" and "having" mentioned in the description of the present application and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes other unlisted steps or units, or optionally also includes Other steps or elements inherent to the process, method, product or apparatus are included. It should be noted that, in the embodiments of the present application, words such as "exemplary" or "for example" are used as examples, illustrations or descriptions. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of the present application shall not be interpreted as being more preferred or more advantageous than other embodiments or design schemes. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete manner.

目前,电子设备的解锁方式大多包括生物特征解锁。其中,生物特征解锁包括但不限于指纹解锁、人脸解锁、语音解锁等,具有方便、快捷等特点。然而,生物特征解锁存在一定的安全隐患。例如,在用户无意识(如睡眠)的状态下,用户的指纹特征、人脸特征、声音特征等可能被其他人用来解锁手机等电子设备。如图1所示,用户的电子设备设置为人脸解锁。在用户休息的过程中,其他用户通过电子设备采集该用户的人脸图像。如此,电子设备确定人脸匹配正确之后,人脸解锁成功,电子设备不再处于锁屏状态。其他用户即可浏览该电子设备中的信息,导致电子设备内部信息泄露。At present, most of the unlocking methods of electronic devices include biometric unlocking. Among them, biometric unlocking includes but is not limited to fingerprint unlocking, face unlocking, voice unlocking, etc., which is convenient and fast. However, there are certain security risks in biometric unlocking. For example, in a state where the user is unconscious (such as sleeping), the user's fingerprint features, face features, voice features, etc. may be used by others to unlock electronic devices such as mobile phones. As shown in Figure 1, the user's electronic device is set to face unlocking. During the user's rest, other users collect the user's face image through the electronic device. In this way, after the electronic device determines that the face is matched correctly, the face is unlocked successfully, and the electronic device is no longer in the locked screen state. Other users can browse the information in the electronic device, resulting in the leakage of internal information of the electronic device.

在相关技术中,电子设备还能够为用户提供锁定模式。例如,用户在安全锁定设置中,打开“在关机界面使用锁定模式”选项。用户长按关机键,显示开关机界面,且在开关机界面中显示“锁定模式”,点击“锁定模式”之后,电子设备进入锁定模式。此种情况下,用户只能使用密码解锁屏幕,生物特征解锁功能失效。在密码解锁屏幕之后,电子设备退出锁定模式。即使再次锁屏,生物特征解锁功能仍有效。如果电子设备需要再次进入锁定模式,用户就需再次长按关机键,重新点击“锁定模式”。In the related art, the electronic device can also provide a lock mode for the user. For example, in the security lock settings, the user turns on the "Use lock mode on shutdown interface" option. The user presses the power off key for a long time to display the power on and off interface, and the "lock mode" is displayed in the power on and off interface, and after clicking the "lock mode", the electronic device enters the lock mode. In this case, the user can only use the password to unlock the screen, and the biometric unlock function is invalid. After the password unlocks the screen, the electronic device exits the lock mode. Even if the screen is locked again, the biometric unlock function still works. If the electronic device needs to enter the lock mode again, the user just needs to press and hold the power off button again, and click "lock mode" again.

也就是说,用户执行触发操作,才能使电子设备进入锁定模式,处理步骤复杂,操作繁琐。并且,电子设备每次进入锁定模式,均需用户在开关机界面进行操作。在用户遗忘执行上述操作的情况下,电子设备的生物特征解锁功能仍有效,也就存在信息泄露的风险。That is to say, the user needs to perform a trigger operation to make the electronic device enter the lock mode, and the processing steps are complicated and the operation is cumbersome. Moreover, every time the electronic device enters the lock mode, the user needs to operate on the power-on/off interface. In the case that the user forgets to perform the above operations, the biometric unlocking function of the electronic device is still valid, and there is a risk of information leakage.

为了解决上述技术问题,本申请实施例提供一种信息保护方法,该方法的技术构思在于:电子设备接收第一信息,之后,根据第一信息,确定生物特征解锁屏幕的功能失效。其中,第一信息包括以下至少一项:第一指令、第一时间信息、或第一状态信息。第一指令指示关闭生物特征解锁屏幕的功能,第一时间信息指示当前时间,第一状态信息指示用户所处的状态。这样一来,电子设备即可在接收第一信息之后,响应于第一指令,或根据第一时间信息指示的时间,或根据用户所处的状态,来确定生物特征解锁屏幕的功能失效,以避免用户的生物特征信息丢失所导致的信息泄露问题。In order to solve the above-mentioned technical problems, an embodiment of the present application provides an information protection method. The technical idea of the method is that the electronic device receives the first information, and then, according to the first information, determines that the function of unlocking the screen with biometric features is invalid. Wherein, the first information includes at least one of the following: a first instruction, first time information, or first status information. The first instruction indicates to turn off the function of unlocking the screen with biometric features, the first time information indicates the current time, and the first status information indicates the status of the user. In this way, after receiving the first information, the electronic device can, in response to the first instruction, or according to the time indicated by the first time information, or according to the state of the user, determine that the function of unlocking the screen with biometric features is disabled, so as to Avoid the information leakage problem caused by the loss of the user's biometric information.

本申请实施例提供的屏幕锁屏方法适用于电子设备,且该电子设备至少包括一个触摸屏。示例性的,该电子设备具体可以是手机、平板电脑、车载设备、增强现实(augmentedreality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、手持计算机、上网本、个人数字助理(personaldigital assistant,PDA)等,本申请实施例对电子设备的具体类型不作任何限制。The screen lock method provided in the embodiment of the present application is applicable to an electronic device, and the electronic device includes at least one touch screen. Exemplarily, the electronic device may specifically be a mobile phone, a tablet computer, a vehicle-mounted device, an augmented reality (augmented reality, AR)/virtual reality (virtual reality, VR) device, a notebook computer, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), handheld computer, netbook, personal digital assistant (personal digital assistant, PDA), etc., the embodiment of the present application does not impose any limitation on the specific type of electronic equipment.

示例性的,图2示出了电子设备100的结构示意图。Exemplarily, FIG. 2 shows a schematic structural diagram of the electronic device 100 .

电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,摄像头193以及显示屏194等。The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, acharging management module 140, apower management module 141, a battery 142, an antenna 1, and anantenna 2 ,mobile communication module 150,wireless communication module 160,audio module 170,speaker 170A,receiver 170B,microphone 170C,earphone jack 170D, sensor module 180, camera 193 and display screen 194, etc.

可以理解的是,本发明实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that, the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100 . In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine certain components, or separate certain components, or arrange different components. The illustrated components can be realized in hardware, software or a combination of software and hardware.

处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processingunit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor ( image signal processor (ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.

处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated access is avoided, and the waiting time of the processor 110 is reduced, thus improving the efficiency of the system.

在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuitsound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purposeinput/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuitsound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver (universal asynchronous receiver) /transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input and output (general-purpose input/output, GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, and/or A universal serial bus (universal serial bus, USB) interface, etc.

充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。Thecharging management module 140 is configured to receive a charging input from a charger. Wherein, the charger may be a wireless charger or a wired charger. In some wired charging embodiments, thecharging management module 140 can receive charging input from the wired charger through the USB interface 130 . In some wireless charging embodiments, thecharging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100 . While thecharging management module 140 is charging the battery 142 , it can also provide power for electronic devices through thepower management module 141 .

电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141可接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193,和无线通信模块160等供电。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。Thepower management module 141 is used for connecting the battery 142 , thecharging management module 140 and the processor 110 . Thepower management module 141 can receive input from the battery 142 and/or thecharging management module 140 to provide power for the processor 110 , the internal memory 121 , the display screen 194 , the camera 193 , and thewireless communication module 160 . In some other embodiments, thepower management module 141 may also be disposed in the processor 110 . In some other embodiments, thepower management module 141 and thecharging management module 140 may also be set in the same device.

电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 100 can be realized by the antenna 1 , theantenna 2 , themobile communication module 150 , thewireless communication module 160 , a modem processor, a baseband processor, and the like.

天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。Antenna 1 andAntenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 may be used to cover single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.

移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括一个或多个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。Themobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G applied on the electronic device 100 . Themobile communication module 150 may include one or more filters, switches, power amplifiers, low noise amplifiers (low noise amplifier, LNA) and the like. Themobile communication module 150 can receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and send them to the modem processor for demodulation. Themobile communication module 150 can also amplify the signals modulated by the modem processor, and convert them into electromagnetic waves through the antenna 1 for radiation. In some embodiments, at least part of the functional modules of themobile communication module 150 may be set in the processor 110 . In some embodiments, at least part of the functional modules of themobile communication module 150 and at least part of the modules of the processor 110 may be set in the same device.

调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。A modem processor may include a modulator and a demodulator. Wherein, the modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator sends the demodulated low-frequency baseband signal to the baseband processor for processing. The low-frequency baseband signal is passed to the application processor after being processed by the baseband processor. The application processor outputs sound signals through audio equipment (not limited tospeaker 170A,receiver 170B, etc.), or displays images or videos through display screen 194 . In some embodiments, the modem processor may be a stand-alone device. In some other embodiments, the modem processor may be independent from the processor 110, and be set in the same device as themobile communication module 150 or other functional modules.

无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wirelesslocal area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(Bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成一个或多个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。Thewireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (wireless fidelity, Wi-Fi) network), bluetooth (Bluetooth, BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. Thewireless communication module 160 may be one or more devices integrating one or more communication processing modules. Thewireless communication module 160 receives electromagnetic waves via theantenna 2 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 . Thewireless communication module 160 can also receive the signal to be sent from the processor 110 , frequency-modulate it, amplify it, and convert it into electromagnetic waves through theantenna 2 for radiation.

在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(codedivision multiple access,CDMA),宽带码分多址(wideband code division multipleaccess,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidounavigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellitesystem,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the electronic device 100 is coupled to themobile communication module 150, and theantenna 2 is coupled to thewireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (codedivision multiple access, CDMA), wideband code Wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM , and/or IR technology, etc. The GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a Beidou satellite navigation system (beidounavigation satellite system, BDS), a quasi-zenith satellite system (quasi- zenith satellite system (QZSS) and/or satellite based augmentation systems (SBAS).

电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 100 realizes the display function through the GPU, the display screen 194 , and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emittingdiode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrixorganic light emitting diode,AMOLED),柔性发光二极管(flex light-emittingdiode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot lightemitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。例如,电子设备通过显示屏194显示第一界面的开关控件,以使用户在开关控件上执行按压操作或点击操作。再如,电子设备通过显示屏194显示密码输入界面,以使用户在该界面输入解锁屏幕的密码,以恢复生物特征解锁屏幕的功能。The display screen 194 is used to display images, videos and the like. The display screen 194 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light emitting diode). , AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diodes (quantum dot light emitting diodes, QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194 , where N is a positive integer greater than 1. For example, the electronic device displays the switch control of the first interface through the display screen 194, so that the user performs a pressing operation or a click operation on the switch control. For another example, the electronic device displays a password input interface through the display screen 194, so that the user can input a password for unlocking the screen on the interface, so as to restore the function of unlocking the screen with biometric features.

电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。The electronic device 100 can realize the shooting function through the ISP, the camera 193 , the video codec, the GPU, the display screen 194 and the application processor.

ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。The ISP is used for processing the data fed back by the camera 193 . For example, when taking a picture, open the shutter, the light is transmitted to the photosensitive element of the camera through the lens, and the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be located in the camera 193 .

摄像头193用于捕获静态图像或视频。在一些实施例中,手机100可以包括1个或N个摄像头,N为大于1的正整数。摄像头193可以是前置摄像头也可以是后置摄像头。Camera 193 is used to capture still images or video. In some embodiments, the mobile phone 100 may include 1 or N cameras, where N is a positive integer greater than 1. The camera 193 can be a front camera or a rear camera.

数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals.

视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos in various encoding formats, for example: moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100 . The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. Such as saving music, video and other files in the external memory card.

内部存储器121可以用于存储一个或多个计算机程序,该一个或多个计算机程序包括指令。处理器110可以通过运行存储在内部存储器121的上述指令,从而使得电子设备100执行本申请一些实施例中所提供的信息保护方法,以及各种功能应用和数据处理等。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统;该存储程序区还可以存储一个或多个应用(比如图库、联系人等)等。存储数据区可存储电子设备101使用过程中所创建的数据(比如照片,联系人等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。在另一些实施例中,处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,来使得电子设备100执行本申请实施例中所提供的信息保护方法,以及各种功能应用和数据处理。The internal memory 121 may be used to store one or more computer programs including instructions. The processor 110 may execute the above-mentioned instructions stored in the internal memory 121, so that the electronic device 100 executes the information protection method provided in some embodiments of the present application, as well as various functional applications and data processing. The internal memory 121 may include an area for storing programs and an area for storing data. Wherein, the stored program area can store an operating system; the stored program area can also store one or more applications (such as a gallery, contacts, etc.) and the like. The storage data area can store data (such as photos, contacts, etc.) created during the use of the electronic device 101 . In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more disk storage devices, flash memory devices, universal flash storage (universal flash storage, UFS) and the like. In some other embodiments, the processor 110 executes the instructions stored in the internal memory 121, and/or the instructions stored in the memory provided in the processor, so that the electronic device 100 executes the information provided in the embodiments of the present application protection methods, and various functional applications and data processing.

电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device 100 can implement audio functions through theaudio module 170 , thespeaker 170A, thereceiver 170B, themicrophone 170C, theearphone interface 170D, and the application processor. Such as music playback, recording, etc.

音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。Theaudio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signal. Theaudio module 170 may also be used to encode and decode audio signals. In some embodiments, theaudio module 170 may be set in the processor 110 , or some functional modules of theaudio module 170 may be set in the processor 110 .

扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或收听免提通话。Speaker 170A, also referred to as a "horn", is used to convert audio electrical signals into sound signals. Electronic device 100 can listen to music throughspeaker 170A, or listen to hands-free calls.

受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。Receiver 170B, also called "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or a voice message, thereceiver 170B can be placed close to the human ear to receive the voice.

麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备100可以设置一个或多个麦克风170C。在另一些实施例中,电子设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。Themicrophone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can put his mouth close to themicrophone 170C to make a sound, and input the sound signal to themicrophone 170C. The electronic device 100 may be provided with one ormore microphones 170C. In some other embodiments, the electronic device 100 may be provided with twomicrophones 170C, which may also implement a noise reduction function in addition to collecting sound signals. In some other embodiments, the electronic device 100 can also be provided with three, four ormore microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions, etc.

耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。Theearphone interface 170D is used for connecting wired earphones. Theearphone interface 170D may be the USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.

传感器模块180可以包括压力传感器,陀螺仪传感器,气压传感器,磁传感器,加速度传感器,距离传感器,接近光传感器,指纹传感器,温度传感器,触摸传感器,环境光传感器,骨传导传感器等,本申请实施例对此不做任何限制。The sensor module 180 may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc. There are no restrictions on this.

其中,压力传感器用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器可以设置于显示屏194。压力传感器的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器,电极之间的电容改变。手机100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,手机100根据压力传感器检测触摸操作强度。手机100也可以根据压力传感器的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于数字键时,执行输入操作。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于数字键时,电子设备接收到第一指令,以使生物特征解锁屏幕的功能失效。Among them, the pressure sensor is used to sense the pressure signal, and can convert the pressure signal into an electrical signal. In some embodiments, a pressure sensor may be located on the display screen 194 . There are many types of pressure sensors, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may be comprised of at least two parallel plates with conductive material. When a force is applied to the pressure sensor, the capacitance between the electrodes changes. The mobile phone 100 determines the strength of the pressure based on the change in capacitance. When a touch operation acts on the display screen 194, the mobile phone 100 detects the intensity of the touch operation according to the pressure sensor. The mobile phone 100 can also calculate the touched position according to the detection signal of the pressure sensor. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on a number key, an input operation is performed. When a touch operation whose intensity is greater than or equal to the first pressure threshold acts on the number key, the electronic device receives a first instruction to disable the function of unlocking the screen with biometric features.

指纹传感器用于采集指纹。手机100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。The fingerprint sensor is used to collect fingerprints. The mobile phone 100 can use the collected fingerprint features to realize fingerprint unlocking, access to the application lock, take pictures with the fingerprint, answer calls with the fingerprint, and the like.

触摸传感器,也称“触控面板”。触摸传感器可以设置于显示屏194,由触摸传感器与显示屏194组成触摸屏,也称“触控屏”、“屏幕”。触摸传感器用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器也可以设置于手机100的表面,与显示屏194所处的位置不同。Touch sensor, also known as "touch panel". The touch sensor can be arranged on the display screen 194, and the touch sensor and the display screen 194 form a touch screen, also called "touch screen" or "screen". The touch sensor is used to detect a touch operation on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194 . In some other embodiments, the touch sensor can also be disposed on the surface of the mobile phone 100 , which is different from the position of the display screen 194 .

当然,本申请实施例提供的电子设备100还可以包括按键、马达、指示器以及SIM卡接口等一项或多项器件,本申请实施例对此不做任何限制。Of course, the electronic device 100 provided in the embodiment of the present application may also include one or more devices such as keys, motors, indicators, and SIM card interfaces, which is not limited in the embodiment of the present application.

为了便于理解,以下结合附图对本申请实施例提供的一种屏幕锁屏方法进行具体介绍。以下实施例中均以手机作为电子设备100举例说明。For ease of understanding, a method for locking a screen provided in an embodiment of the present application will be specifically introduced below in conjunction with the accompanying drawings. In the following embodiments, a mobile phone is used as an example of the electronic device 100 for illustration.

图3为本申请实施例提供的一种屏幕锁屏方法的流程示意图。如图3所示,该屏幕锁屏方法300可以包括:FIG. 3 is a schematic flowchart of a method for locking a screen provided by an embodiment of the present application. As shown in FIG. 3, thescreen lock method 300 may include:

S301、电子设备接收第一信息。S301. The electronic device receives first information.

其中,第一信息包括以下至少一项:Among them, the first information includes at least one of the following:

第一项、第一指令。其中,第一指令指示关闭生物特征解锁屏幕的功能。第一指令的具体实现可以有多种示例,包括但不限于如下介绍:The first item, the first order. Wherein, the first instruction indicates to turn off the function of unlocking the screen with biometric features. There may be various examples of the specific implementation of the first instruction, including but not limited to the following introductions:

示例一,第一界面上开关控件的按压操作或点击操作。示例性的,在第一界面上悬浮开关控件,用户按压(或点击)开关控件。相应的,电子设备检测到第一界面中开关控件上的按压操作(或点击操作),即接收到第一指令。其中,第一界面可以是锁屏界面。以图4a为例,在锁屏界面401中,悬浮开关控件402,用户按压开关控件402,或点击开关控件402。相应的,电子设备即可接收到第一指令。在图4a中,仅以开关控件为椭圆形图标为例,进行介绍,开关控件还可以是圆形图标、方形图标等,本申请实施例对此不作限定。第一界面也可以是应用界面,如图4b所示,电子设备的触摸屏上显示浏览器的应用界面403,用户也可以在应用界面403中按压(或点击)开关控件402,以使电子设备接收到第一指令。Example 1, the pressing or clicking operation of the switch control on the first interface. Exemplarily, the switch control is suspended on the first interface, and the user presses (or clicks) the switch control. Correspondingly, the electronic device detects the pressing operation (or clicking operation) on the switch control in the first interface, that is, receives the first instruction. Wherein, the first interface may be a lock screen interface. Taking FIG. 4 a as an example, in thelock screen interface 401 , theswitch control 402 is suspended, and the user presses theswitch control 402 or clicks theswitch control 402 . Correspondingly, the electronic device can receive the first instruction. In FIG. 4a , the switch control is an elliptical icon as an example for introduction. The switch control may also be a circular icon, a square icon, etc., which is not limited in this embodiment of the present application. The first interface can also be an application interface. As shown in FIG. 4b, anapplication interface 403 of the browser is displayed on the touch screen of the electronic device, and the user can also press (or click) theswitch control 402 in theapplication interface 403, so that the electronic device receives to the first instruction.

示例二,状态栏上开关控件的按压操作或点击操作。示例性的,用户从屏幕的顶部向下划动的操作,如图4c中第一个方框所示,用户对状态栏101执行下拉操作,电子设备响应该下拉操作,显示下拉菜单102。下拉菜单102中可包括开关控件402。用户按压开关控件402,或点击开关控件402。相应的,电子设备即可接收到第一指令。Example 2, the press operation or click operation of the switch control on the status bar. Exemplarily, the user swipes down from the top of the screen, as shown in the first box in FIG. 4 c , the user performs a pull-down operation on the status bar 101 , and the electronic device displays a drop-down menu 102 in response to the pull-down operation. Aswitch control 402 may be included in the pull-down menu 102 . The user presses theswitch control 402 , or clicks theswitch control 402 . Correspondingly, the electronic device can receive the first instruction.

或者,作为另外的一种实现方式,用户从屏幕的底部开始执行上拉操作,如图4c中第二个方框所示,电子设备响应该上拉操作,显示上拉菜单103。上拉菜单103中可包括开关控件402。或者,用户从屏幕的侧边开始执行滑动操作,如图4c中第三个方框所示,电子设备响应该滑动操作,显示侧拉菜单104。侧拉菜单104中可包括开关控件402。Or, as another implementation, the user performs a pull-up operation from the bottom of the screen, as shown in the second box in FIG. 4 c , and the electronic device displays a pull-up menu 103 in response to the pull-up operation. Aswitch control 402 may be included in the pull-up menu 103 . Alternatively, the user performs a sliding operation from the side of the screen, as shown in the third box in FIG. 4 c , and the electronic device displays a side menu 104 in response to the sliding operation. Aswitch control 402 may be included in the side pull menu 104 .

需要说明的是,本申请实施例中所述的屏幕的底部、顶部以及侧边等概念是相对的。一般,如图4c所示,矩形的屏幕通常包括顶部、底部以及两条侧边共4个靠近边界线的区域。底部通常指的是靠近屏幕底部的位置,顶部通常指的是靠近屏幕顶部的位置。屏幕的底部和顶部一般分别指的是当电子设备如图4c所示放置时的下部和上部。It should be noted that the concepts of the bottom, top, and side of the screen mentioned in the embodiments of the present application are relative. Generally, as shown in FIG. 4 c , a rectangular screen usually includes four regions close to the boundary line, namely the top, bottom and two sides. Bottom generally refers to a position near the bottom of the screen, and top generally refers to a position near the top of the screen. The bottom and top of the screen generally refer to the lower and upper parts, respectively, when the electronic device is placed as shown in Figure 4c.

示例三,第一界面上的预设次数的点击操作。其中,第一界面的介绍参见示例一的相关说明,此处不再赘述。示例性的,用户在第一界面上连续执行三次点击操作。相应的,电子设备检测到第一界面上的连续三次点击操作,即接收到第一指令。其中,预设次数,也可以是两次、或四次,或其他数值,本申请实施例对此不作限定。以图4d为例,在锁屏界面401中,用户连续敲击三次触摸屏,电子设备即可接收到第一指令。Example 3, a preset number of click operations on the first interface. Wherein, for the introduction of the first interface, refer to the relevant description of Example 1, which will not be repeated here. Exemplarily, the user continuously performs three click operations on the first interface. Correspondingly, the electronic device detects three consecutive click operations on the first interface, that is, receives the first instruction. Wherein, the preset number of times may also be two times, or four times, or other numerical values, which is not limited in this embodiment of the present application. Taking FIG. 4d as an example, in thelock screen interface 401, the user taps the touch screen three times continuously, and the electronic device can receive the first instruction.

示例四,第一指令包括第一语音指令。示例性的,用户说出“关闭生物特征解锁屏幕的功能”的语句。相应的,电子设备检测用户发出的语音消息,且识别到“关闭生物特征解锁屏幕的功能”的语义时,表征电子设备接收到第一语音指令。例如,以图4e为例,用户靠近电子设备的麦克风位置,说出“关闭生物特征解锁屏幕的功能”的语句,电子设备通过麦克风检测到第一语音指令。Example 4, the first instruction includes a first voice instruction. Exemplarily, the user speaks a sentence of "disable the function of unlocking the screen with biometric feature". Correspondingly, when the electronic device detects the voice message sent by the user and recognizes the meaning of "disable the function of unlocking the screen with biometric features", it means that the electronic device has received the first voice instruction. For example, taking FIG. 4e as an example, the user moves close to the microphone of the electronic device and speaks the sentence "turn off the function of unlocking the screen with biometric features", and the electronic device detects the first voice instruction through the microphone.

示例五,第一指令包括以下至少一项:在密码输入界面中,按住至少一个密码键的时间超过预设时长,或按压至少一个密码键的力度超过预设力度,或在至少一个密码键的周围画圈。例如,当输入到密码键“3”时,按住键盘上的“3”的时间超过预设时长。或如图4f所示,在键盘上的“3”的周围画一个圈。本申请实施例对预设时长和预设力度不作限定,例如预设时长可以是1秒,预设力度可以是1500帕斯卡。Example 5, the first instruction includes at least one of the following: in the password input interface, press and hold at least one password key for more than a preset time, or press at least one password key with a force exceeding a preset force, or press at least one password key Draw a circle around . For example, when the password key "3" is input, the time of pressing "3" on the keyboard exceeds the preset time. Or draw a circle around the "3" on the keyboard as shown in Figure 4f. The embodiment of the present application does not limit the preset duration and preset strength, for example, the preset duration may be 1 second, and the preset strength may be 1500 Pascals.

示例六,第一指令包括以下至少一项:按住任一手势节点的时间超过预设时长,或按压任一手势节点的力度超过预设力度,或在任一手势节点的周围画圈。其中,手势节点是指手势图形的某个节点。例如,在画到最后一个节点时,按住最后一个节点超过预设时长,或如图4g所示,在最后一个节点的周围画一个圈。本申请实施例对预设时长和预设力度不作限定,例如预设时长可以是1秒,预设力度可以是1500帕斯卡。Example 6, the first instruction includes at least one of the following: pressing any gesture node for longer than a preset duration, or pressing any gesture node with a strength exceeding a preset strength, or drawing a circle around any gesture node. Wherein, the gesture node refers to a certain node of the gesture graph. For example, when drawing the last node, press and hold the last node for more than a preset duration, or draw a circle around the last node as shown in FIG. 4g. The embodiment of the present application does not limit the preset duration and preset strength, for example, the preset duration may be 1 second, and the preset strength may be 1500 Pascals.

应理解,上述仅给出了第一指令的六个示例,即用户在第一界面执行操作,或说出“关闭生物特征解锁屏幕的功能”语音消息即可,简化了用户的处理过程,且能够使得电子设备准确地接收到第一指令。当然,第一指令还可以有其他实现方式,本申请对此不作限定。It should be understood that the above only gives six examples of the first instruction, that is, the user performs an operation on the first interface, or speaks the voice message "turn off the function of biometric unlocking the screen", which simplifies the user's processing process, and The electronic device can be enabled to accurately receive the first instruction. Certainly, the first instruction may also have other implementation manners, which are not limited in this application.

需要说明的是,第一指令,也可以指示:解锁屏幕的方式为密码解锁,不包括其他的屏幕解方式,如生物特征解锁屏幕。此种情况下,用户采用密码解锁屏幕才有效,其他的解锁方式均无效。It should be noted that the first instruction may also indicate that the method of unlocking the screen is password unlocking, excluding other screen solution methods, such as biometric feature unlocking of the screen. In this case, it is valid only if the user uses a password to unlock the screen, and other unlocking methods are invalid.

第二项、第一时间信息。其中,第一时间信息为当前的时间信息,即电子设备所记录的当前时刻点的信息。例如,仍以图4d为例,电子设备显示当前时刻点为08点08分,则第一时间信息为08点08分。The second item is the first time information. Wherein, the first time information is current time information, that is, information at the current time point recorded by the electronic device. For example, still taking FIG. 4d as an example, the electronic device displays that the current time point is 08:08, and the first time information is 08:08.

第三项、第一状态信息。其中,第一状态信息指示用户所处的状态,如第一状态信息指示用户处于睡眠状态。The third item is the first status information. Wherein, the first state information indicates the state of the user, for example, the first state information indicates that the user is in a sleep state.

作为一种可能的实现方式,智能穿戴设备向电子设备发送第一状态信息。相应的,电子设备接收来自智能穿戴设备的第一状态信息。其中,第一状态信息指示用户处于睡眠状态。智能穿戴设备可以是智能手环、智能手表、智能眼镜、智能眼镜按摩仪等。例如,以智能手环为例,参见图4h,智能手环采集用户的脉搏信息,基于采集的脉搏信息确定用户处于睡眠状态,生成第一状态信息之后,向电子设备提供第一状态信息。电子设备通过收发器即可接收到第一状态信息。再如,以智能眼镜为例,参见图4i,智能眼镜采集用户的眼球运动信息,基于采集的眼球运动信息确定用户处于睡眠状态,生成第一状态信息之后,向电子设备提供第一状态信息。电子设备通过收发器即可接收到第一状态信息。As a possible implementation manner, the smart wearable device sends the first status information to the electronic device. Correspondingly, the electronic device receives the first status information from the smart wearable device. Wherein, the first state information indicates that the user is in a sleeping state. Smart wearable devices can be smart bracelets, smart watches, smart glasses, smart glasses massagers, etc. For example, taking a smart bracelet as an example, referring to FIG. 4h, the smart bracelet collects the pulse information of the user, determines that the user is in a sleep state based on the collected pulse information, and provides the first status information to the electronic device after generating the first status information. The electronic device can receive the first state information through the transceiver. For another example, taking smart glasses as an example, referring to FIG. 4i, the smart glasses collect eye movement information of the user, determine that the user is in a sleep state based on the collected eye movement information, and provide the first state information to the electronic device after generating the first state information. The electronic device can receive the first state information through the transceiver.

应理解,上述仅给出了智能穿戴设备的两个示例,即智能手环、智能眼镜,以实时监控用户的状态,且向电子设备提供第一状态信息,以简化用户的处理过程。当然,智能穿戴设备还可以有其他实现方式,本申请对此不作限定。并且,电子设备的收发器也可以不接收第一状态信息。在智能穿戴设备实现为智能手环的情况下,电子设备的收发器接收用户的脉搏信息,电子设备的处理器基于接收到的脉搏信息确定用户处于睡眠状态,生成第一状态信息。或者,在智能穿戴设备实现为智能眼镜的情况下,电子设备的收发器接收用户的眼球运动信息,电子设备的处理器基于接收到的眼球运动信息确定用户处于睡眠状态,生成第一状态信息,以使电子设备基于第一状态信息执行S302。It should be understood that the above only gives two examples of smart wearable devices, namely smart bracelets and smart glasses, to monitor the user's status in real time and provide the first status information to the electronic device to simplify the user's processing process. Certainly, the smart wearable device may also have other implementation manners, which are not limited in this application. Also, the transceiver of the electronic device may not receive the first state information. When the smart wearable device is implemented as a smart bracelet, the transceiver of the electronic device receives pulse information of the user, and the processor of the electronic device determines that the user is in a sleep state based on the received pulse information, and generates first state information. Alternatively, when the smart wearable device is implemented as smart glasses, the transceiver of the electronic device receives eye movement information of the user, and the processor of the electronic device determines that the user is in a sleep state based on the received eye movement information, and generates the first state information, The electronic device executes S302 based on the first state information.

需要说明的是,作为再一种可能的实现方式,电子设备上安装有声音传感器,声音传感器采集用户呼吸声音信息,电子设备内的处理器基于采集的呼吸声音信息确定用户处于睡眠状态,生成第一状态信息,以使电子设备基于第一状态信息执行S302。其中,上述声音传感器可以替换为麦克风,具体可以参见图2的介绍,此处不再赘述。It should be noted that, as yet another possible implementation, the electronic device is equipped with a sound sensor, and the sound sensor collects breathing sound information of the user, and the processor in the electronic device determines that the user is in a sleep state based on the collected breathing sound information, and generates the first A state information, so that the electronic device executes S302 based on the first state information. Wherein, the above-mentioned sound sensor can be replaced by a microphone, and details can be referred to the introduction in FIG. 2 , which will not be repeated here.

作为又一种可能的实现方式,智能家居设备向电子设备发送第一状态信息。相应的,电子设备接收来自智能家居设备的第一状态信息。其中,智能家居设备可以是智能枕等。例如,以智能枕为例,参见图4j,在用户休息过程中,用户的头部重力作用于智能枕。智能枕采集压力信息和持续时间,基于采集的压力信息和持续时间确定用户处于睡眠状态,生成第一状态信息之后,向电子设备提供第一状态信息。电子设备通过收发器即可接收到第一状态信息。As yet another possible implementation manner, the smart home device sends the first status information to the electronic device. Correspondingly, the electronic device receives the first status information from the smart home device. Wherein, the smart home device may be a smart pillow or the like. For example, taking the smart pillow as an example, referring to FIG. 4j , during the rest process of the user, the gravity of the user's head acts on the smart pillow. The smart pillow collects pressure information and duration, determines that the user is in a sleep state based on the collected pressure information and duration, and provides the first state information to the electronic device after generating the first state information. The electronic device can receive the first state information through the transceiver.

应理解,电子设备的收发器也可以不接收第一状态信息。在智能家居设备实现为智能枕的情况下,电子设备的收发器接收压力信息和持续时间信息,电子设备的处理器基于接收的压力信息和持续时间信息确定用户处于睡眠状态,生成第一状态信息,以基于第一状态信息执行S302。It should be understood that the transceiver of the electronic device may also not receive the first state information. When the smart home device is implemented as a smart pillow, the transceiver of the electronic device receives pressure information and duration information, and the processor of the electronic device determines that the user is in a sleep state based on the received pressure information and duration information, and generates the first state information , to execute S302 based on the first state information.

需要说明的是,上述智能穿戴设备和智能家居设备可以包括支持无线通信技术的装置或芯片。其中,无线通信技术可以例如但不限于如下介绍:NFC技术、红外技术、GSM、GPRS、CDMA、WCDMA、TD-SCDMA、LTE、BT、GNSS、或FM等。It should be noted that the above-mentioned smart wearable device and smart home device may include devices or chips supporting wireless communication technology. Wherein, the wireless communication technology may be introduced, for example but not limited to: NFC technology, infrared technology, GSM, GPRS, CDMA, WCDMA, TD-SCDMA, LTE, BT, GNSS, or FM.

S302、电子设备根据第一信息,确定生物特征解锁屏幕的功能失效。S302. The electronic device determines, according to the first information, that the function of unlocking the screen with biometric features is disabled.

其中,S302的实现过程可以通过如下三个示例进行介绍:Among them, the implementation process of S302 can be introduced through the following three examples:

示例1,在第一信息实现为上述第一项的情况下,即第一信息包括第一指令,电子设备响应于第一指令,确定生物特征解锁屏幕的功能失效。Example 1, in the case where the first information is implemented as the first item above, that is, the first information includes the first instruction, and the electronic device determines that the function of unlocking the screen with biometric features is disabled in response to the first instruction.

示例2,在第一信息实现为上述第二项的情况下,即第一信息包括第一时间信息,电子设备将第一时间信息指示的时间与目标时间段进行比较,若第一时间信息指示的时间在目标时间段内,则电子设备确定生物特征解锁屏幕的功能失效。反之,若第一时间信息指示的时间在目标时间段外,则电子设备确定生物特征解锁屏幕的功能有效。例如,目标时间段为晚23点至次日早07点。若第一时间信息指示的时间为01点20分,则第一时间信息指示的时间在目标时间段内,电子设备确定生物特征解锁屏幕的功能失效。若第一时间信息指示的时间为07点20分,则第一时间信息指示的时间在目标时间段外,电子设备确定生物特征解锁屏幕的功能有效。Example 2, when the first information is implemented as the second item above, that is, the first information includes the first time information, the electronic device compares the time indicated by the first time information with the target time period, and if the first time information indicates If the time is within the target time period, the electronic device determines that the function of unlocking the screen with biometric features is invalid. On the contrary, if the time indicated by the first time information is outside the target time period, the electronic device determines that the function of unlocking the screen with biometric features is valid. For example, the target time period is from 23:00 pm to 07:00 am the next day. If the time indicated by the first time information is 01:20, the time indicated by the first time information is within the target time period, and the electronic device determines that the function of unlocking the screen with biometric features is invalid. If the time indicated by the first time information is 07:20, the time indicated by the first time information is outside the target time period, and the electronic device determines that the function of unlocking the screen with biometric features is valid.

在一些实施例中,上述目标时间段可以是电子设备预配置的时间段,也可以是用户根据自身需求设置的时间段。例如,电子设备接收时间调整信息,其中,时间调整信息指示目标时间段。以图5为例,用户输入的时间调整信息中,目标时间段的起始时刻为23:30,目标时间段的结束时刻为07:00。也就是说,目标时间段从“晚23点至次日早07点”,调整为“晚23点半至次日早07点”,以方便用户根据自身实际状态,来调整目标时间段。In some embodiments, the aforementioned target time period may be a time period preconfigured by the electronic device, or may be a time period set by the user according to his or her own needs. For example, the electronic device receives time adjustment information, wherein the time adjustment information indicates a target time period. Taking FIG. 5 as an example, in the time adjustment information input by the user, the start time of the target time period is 23:30, and the end time of the target time period is 07:00. That is to say, the target time period is adjusted from "23:00 p.m. to 7:00 a.m. the next day" to "23:30 p.m. to 07:00 a.m. the next day", so that users can adjust the target time period according to their actual conditions.

示例3,在第一信息实现为上述第三项的情况下,即第一信息包括第一状态信息,电子设备确定用户所处的状态为睡眠状态,即用户处于无意识状态,为了避免电子设备内的信息泄露,电子设备确定生物特征解锁屏幕的功能失效。Example 3, in the case where the first information is implemented as the third item above, that is, the first information includes the first state information, and the electronic device determines that the state of the user is a sleep state, that is, the user is in an unconscious state, in order to avoid The information leakage of the electronic device determines that the function of the biometric unlock screen is invalid.

在一些实施例中,电子设备确定生物特征解锁屏幕的功能失效之后,电子设备的显示状态介绍如下:In some embodiments, after the electronic device determines that the function of unlocking the screen with biometric features is invalid, the display status of the electronic device is introduced as follows:

电子设备的屏幕上可以显示以下至少一项:At least one of the following may be displayed on the screen of the electronic device:

第一项,提示信息。其中,提示信息指示采用密码解锁屏幕。示例性的,提示信息可以如图6中的(a)所示,即404所显示:请采用密码解锁。或者,提示信息可以如图6中的(b)所示,即404所显示:生物特征解锁功能失效,请使用密码解锁。The first item, prompt information. Wherein, the prompt information indicates that a password is used to unlock the screen. Exemplarily, the prompt information may be as shown in (a) in FIG. 6 , that is, 404: Please use a password to unlock. Alternatively, the prompt information may be as shown in (b) in FIG. 6 , that is, as shown in 404: The biometric unlock function is invalid, please use a password to unlock.

第二项,显示密码输入界面。其中,密码输入界面用于接收解锁屏幕的密码,如图6中的(c)所示,即显示密码输入界面405。由于电子设备显示的界面为密码输入界面,即用户对电子设备的任何应用进行处理之前,需在输入框内输入解锁屏幕的密码,才能进行处理。用户在有意识的状态才能够输入密码,也就能够避免用户在无意识状态下信息泄露的问题。The second item displays the password input interface. Wherein, the password input interface is used to receive a password for unlocking the screen, as shown in (c) in FIG. 6 , that is, apassword input interface 405 is displayed. Since the interface displayed by the electronic device is a password input interface, that is, before processing any application of the electronic device, the user needs to enter a password for unlocking the screen in the input box before processing. The user can only enter the password in a conscious state, which can avoid the problem of information leakage of the user in an unconscious state.

应理解,在一些实施例中,电子设备确定生物特征解锁屏幕的功能失效之后,且生物特征解锁屏幕的功能恢复之前,电子设备的屏幕仍正常显示,仅在接收到生物特征信息之后,显示上述提示信息和密码输入界面中的至少一项。如图6中的(d)所示,用户按压指纹识别按键,电子设备接收到用户的指纹信息,由于电子设备确定生物特征解锁屏幕的功能失效,且未恢复,由于电子设备无法确定是用户自主的行为,还是用户的生物特征被盗用,电子设备的显示状态如图6中的(a)、(b)、或(c)所示,以提示用户输入密码,且防止了电子设备内的信息泄露。It should be understood that, in some embodiments, after the electronic device determines that the function of the biometric feature unlocking screen is disabled, and before the function of the biometric feature unlocking screen is restored, the screen of the electronic device is still displayed normally, and only after receiving the biometric feature information, the above-mentioned At least one of prompt information and password input interface. As shown in (d) in Figure 6, the user presses the fingerprint identification button, and the electronic device receives the user's fingerprint information. Since the electronic device determines that the function of unlocking the screen with biometric features is invalid and has not been restored, the electronic device cannot determine that the user's voluntary behavior, or the user’s biometric feature is stolen, the display state of the electronic device is shown in (a), (b), or (c) in Figure 6, to prompt the user to enter the password, and prevent the information in the electronic device Give way.

在一些实施例中,电子设备确定生物特征解锁屏幕的功能失效之后,生物特征解锁屏幕的功能恢复介绍如下:In some embodiments, after the electronic device determines that the function of the biometric feature unlocking screen is disabled, the function restoration of the biometric feature unlocking screen is introduced as follows:

示例一,电子设备设置一段预设时长,即自生物特征解锁屏幕的功能失效的时刻点为起始点的一段预设时长之后,电子设备确定生物特征解锁屏幕的功能恢复。Example 1, the electronic device sets a preset period of time, that is, the electronic device determines that the function of the biometric unlock screen is restored after a preset period of time starting from the moment when the function of the biometric feature unlocking screen fails.

例如,用户在临时休息之前,按压锁屏界面上的开关控件,电子设备检测到第一指令之后,即可确定一定时长,如30分钟之内,电子设备确定生物特征解锁屏幕的功能失效。在30分钟之后,电子设备确定生物特征解锁屏幕的功能恢复,以避免用户在临时休息过程中电子设备的信息被泄露的可能性,又能够简化用户操作,方便用户在有意识状态下能够快捷地解锁屏幕。For example, before a temporary break, the user presses the switch control on the lock screen interface. After the electronic device detects the first instruction, it can determine a certain period of time. For example, within 30 minutes, the electronic device determines that the function of unlocking the screen with biometric features is invalid. After 30 minutes, the electronic device determines that the function of the biometric unlock screen is restored, so as to avoid the possibility of the information of the electronic device being leaked during the temporary rest of the user, and to simplify the user's operation, so that the user can quickly unlock it in a conscious state Screen.

示例二,若电子设备检测到用户输入的密码,且与电子设备预存储的屏幕解锁密码一致,则屏幕解锁成功。也就是说,用户能够采用密码解锁屏幕,即电子设备将密码解锁屏幕成功,作为确定用户处于有意识状态的判断标准,所以,电子设备确定生物特征解锁屏幕的功能恢复,以使得用户能够再次快捷、方便地解锁屏幕。Example 2, if the electronic device detects that the password input by the user is consistent with the screen unlocking password pre-stored in the electronic device, the screen is unlocked successfully. That is to say, the user can use the password to unlock the screen, that is, the electronic device successfully unlocks the screen with the password as a criterion for determining that the user is in a conscious state. Unlock your screen conveniently.

示例性的,如图7a所示,电子设备锁屏之后,用户点击锁屏界面中的开关控件。相应的,电子设备检测到开关控件上的点击操作,即接收到第一指令,如图4a的说明。电子设备确定生物特征解锁功能失效。此种情况下,若其他用户采用生物特征解锁屏幕的方式来解锁屏幕,则电子设备接收生物特征信息(如指纹信息、人脸图像)之后,电子设备拒绝验证生物特征信息,提示用户密码解锁,具体参见图6的说明。若用户采用密码解锁屏幕,则电子设备接收解锁屏幕的密码之后,电子设备执行密码解锁过程。在密码解锁成功之后,电子设备确定生物特征解锁屏幕的功能恢复,以使得用户能够再次快捷、方便地解锁屏幕。Exemplarily, as shown in FIG. 7a, after the screen of the electronic device is locked, the user clicks a switch control on the screen lock interface. Correspondingly, the electronic device detects the click operation on the switch control, that is, receives the first instruction, as illustrated in FIG. 4a. The electronic device determines that the biometric unlock function is invalid. In this case, if other users unlock the screen with biometric features, after the electronic device receives the biometric information (such as fingerprint information, face image), the electronic device refuses to verify the biometric information and prompts the user to unlock it with a password. For details, refer to the description of FIG. 6 . If the user uses a password to unlock the screen, after the electronic device receives the password for unlocking the screen, the electronic device executes a password unlocking process. After the password is successfully unlocked, the electronic device determines that the function of unlocking the screen with biometric features is restored, so that the user can quickly and conveniently unlock the screen again.

需要说明的是,屏幕解锁密码包括以下至少一项:数字、字母、符号、或预设手势。例如,屏幕解锁密码是6位数字、字母或符号的任意组合,如屏幕解锁密码为“123456”、“123abc”、“abcdef”、“123ab!”等。屏幕解锁密码可以如图4f所示的“7”字型滑动手势,当然,也可以是其他滑动手势,本申请实施例对此不作限定。It should be noted that the screen unlocking password includes at least one of the following: numbers, letters, symbols, or preset gestures. For example, the screen unlock password is any combination of 6-digit numbers, letters or symbols, such as "123456", "123abc", "abcdef", "123ab!" and so on. The screen unlocking password can be a "7"-shaped sliding gesture as shown in FIG. 4f, of course, it can also be other sliding gestures, which is not limited in this embodiment of the present application.

应理解,电子设备采用密码解锁屏幕之后,生物特征解锁屏幕的功能恢复,可以适用于S301中的任何一种情况(如第一信息包括第一指令、第一时间信息、第一状态信息)。It should be understood that after the electronic device uses a password to unlock the screen, the function of biometric unlocking the screen is restored, which may be applicable to any situation in S301 (eg, the first information includes the first instruction, the first time information, and the first state information).

示例三,在第一信息实现为第一时间信息的情况下,若第一时间信息指示的时间在目标时间段外,则电子设备确定生物特征解锁屏幕的功能恢复。例如,仍以目标时间段为晚23点至次日早07点。若第一时间信息指示的时间为07点01分,则第一时间信息指示的时间在目标时间段外,即用户不在处于休息状态,电子设备确定生物特征解锁屏幕的功能恢复,以使用户方便、快捷地解锁屏幕。Example 3, in the case that the first information is implemented as first time information, if the time indicated by the first time information is outside the target time period, the electronic device determines that the function of the biometric unlock screen is restored. For example, the target time period is still from 23:00 pm to 07:00 am the next day. If the time indicated by the first time information is 07:01, then the time indicated by the first time information is outside the target time period, that is, the user is not in a rest state, and the electronic device determines that the function of the biometric unlock screen is restored to make it convenient for the user , and quickly unlock the screen.

示例性的,如图7b所示,电子设备锁屏之后,电子设备确定生物特征解锁功能失效,具体可以参见图7a的介绍。此种情况下,若其他用户采用生物特征解锁屏幕的方式来解锁屏幕,则电子设备接收生物特征信息(如指纹信息、人脸图像),电子设备判断当前时间是否在目标时间段内,若是,则电子设备拒绝验证生物特征信息,提示用户密码解锁,具体参见图6的说明。若否,则电子设备执行密码解锁过程。在密码解锁成功之后,电子设备确定生物特征解锁屏幕的功能恢复,以使得用户能够再次快捷、方便地解锁屏幕。Exemplarily, as shown in FIG. 7b, after the screen of the electronic device is locked, the electronic device determines that the biometric unlocking function is invalid. For details, refer to the introduction of FIG. 7a. In this case, if other users unlock the screen using biometric features, the electronic device receives biometric information (such as fingerprint information, face images), and the electronic device determines whether the current time is within the target time period, and if so, Then the electronic device refuses to verify the biometric information, and prompts the user to unlock with a password. For details, refer to the description of FIG. 6 . If not, the electronic device performs a password unlocking process. After the password is successfully unlocked, the electronic device determines that the function of unlocking the screen with biometric features is restored, so that the user can quickly and conveniently unlock the screen again.

在一些实施例中,在第一信息实现为第一状态信息的情况下,若第一状态信息指示用户处于睡眠状态,则电子设备确定生物特征解锁屏幕的功能失效。此种情况下,若其他用户采用生物特征解锁屏幕的方式来解锁屏幕,则电子设备接收生物特征信息(如指纹信息、人脸图像),电子设备拒绝验证生物特征信息,提示用户密码解锁,具体参见图6的说明。若用户采用密码解锁屏幕,则电子设备接收解锁屏幕的密码之后,电子设备执行密码解锁过程。在密码解锁成功之后,电子设备确定生物特征解锁屏幕的功能恢复,以使得用户能够再次快捷、方便地解锁屏幕,如图7c所示。In some embodiments, if the first information is implemented as first state information, if the first state information indicates that the user is in a sleeping state, the electronic device determines that the function of unlocking the screen with biometric features is disabled. In this case, if other users use biometrics to unlock the screen to unlock the screen, the electronic device receives biometric information (such as fingerprint information, face image), the electronic device refuses to verify the biometric information, and prompts the user to unlock the password. See description for Figure 6. If the user uses a password to unlock the screen, after the electronic device receives the password for unlocking the screen, the electronic device executes a password unlocking process. After the password is successfully unlocked, the electronic device determines that the function of unlocking the screen with biometric features is restored, so that the user can quickly and conveniently unlock the screen again, as shown in FIG. 7c.

需要说明的是,在本申请实施例中,生物特征解锁屏幕的功能失效之后,该功能恢复的方式可以参见上述图7a、图7b和图7c的介绍。本申请实施例中,生物特征解锁屏幕的功能无法通过设置的方式来恢复。也就是说,除上述图7a、图7b和图7c示出的方式之外,电子设备未设置其他用于恢复生物特征解锁屏幕功能的操作,具体说明如下:It should be noted that, in the embodiment of the present application, after the function of unlocking the screen with the biometric feature fails, the manner of restoring the function can refer to the introduction of the above-mentioned FIG. 7a , FIG. 7b and FIG. 7c . In the embodiment of the present application, the function of unlocking the screen with biometric features cannot be restored through setting. That is to say, in addition to the methods shown in Figure 7a, Figure 7b and Figure 7c, the electronic device does not set other operations for restoring the function of unlocking the screen with biometric features, which are specifically described as follows:

例如,用户点击开关控件(具体可以参见图4a、图4b和图4c的介绍)之后,电子设备关闭生物特征解锁屏幕的功能。本申请实施例中,开关控件是单向的,也就是说,电子设备检测到开关控件上的点击操作或按压操作之后,仅能够确定生物特征解锁屏幕的功能失效,不具备恢复生物特征解锁屏幕的功能。即使用户再次点击开关控件,电子设备仍确定生物特征解锁屏幕的功能失效,而非生物特征解锁屏幕的功能恢复。生物特征解锁屏幕的功能恢复方式可以参见密码解锁屏幕的介绍。For example, after the user clicks the switch control (for details, refer to the introduction of FIG. 4a , FIG. 4b and FIG. 4c ), the electronic device turns off the function of unlocking the screen with biometric features. In the embodiment of the present application, the switch control is one-way, that is to say, after the electronic device detects a click or press operation on the switch control, it can only determine that the function of unlocking the screen with biometric features is invalid, and does not have the ability to restore the screen with biometric features. function. Even if the user clicks the switch control again, the electronic device still determines that the function of the biometric unlock screen is disabled, rather than the function of the biometric unlock screen is restored. For how to restore the function of the biometric unlock screen, please refer to the introduction of the password unlock screen.

再如,用户在第一界面上执行预设次数的点击操作(具体可以参见图4d的介绍)之后,电子设备关闭生物特征解锁屏幕的功能。即使用户再次在第一界面上执行一定次数的点击操作,电子设备仍确定生物特征解锁屏幕的功能失效,而非生物特征解锁屏幕的功能恢复。类似的,电子设备接收到第一语音指令(具体可以参见图4e的介绍)之后,电子设备关闭生物特征解锁屏幕的功能。即使用户说出“生物特征解锁屏幕的功能恢复”的语句。相应的,电子设备检测用户发出的语音消息,且识别到“生物特征解锁屏幕的功能恢复”的语义时,电子设备仍确定生物特征解锁屏幕的功能失效,而非生物特征解锁屏幕的功能恢复,以防止恶意用户通过声音模仿的方式,来恢复生物特征解锁屏幕的功能,降低了电子设备内信息泄露的风险。在第一指令实现为图4f或图4g的情况下,电子设备在密码输入界面未设置恢复生物特征解锁屏幕功能的操作,以避免恶意用户在密码输入界面执行操作,导致生物特征解锁屏幕功能被恶意用户恢复的现象。For another example, after the user performs a preset number of click operations on the first interface (for details, refer to the introduction of FIG. 4d ), the electronic device disables the function of unlocking the screen with biometric features. Even if the user performs a certain number of click operations on the first interface again, the electronic device still determines that the function of the biometric unlock screen is disabled, rather than the function of the biometric unlock screen is restored. Similarly, after the electronic device receives the first voice instruction (for details, refer to the introduction of FIG. 4e ), the electronic device disables the function of unlocking the screen with biometric features. Even if the user utters the phrase "functionality of the biometric unlock screen is restored". Correspondingly, when the electronic device detects the voice message sent by the user and recognizes the semantics of "recovery of the function of the biometric unlock screen", the electronic device still determines that the function of the biometric unlock screen is invalid, rather than the function of the biometric unlock screen. In order to prevent malicious users from recovering the function of unlocking the screen with biometric features through sound imitation, the risk of information leakage in the electronic device is reduced. In the case where the first instruction is implemented as shown in Figure 4f or Figure 4g, the electronic device does not set an operation to restore the biometric unlock screen function on the password input interface, so as to prevent malicious users from performing operations on the password input interface, causing the biometric unlock screen function to be blocked. The phenomenon of malicious user recovery.

又如,在第一执行实现为第一状态信息的情况下,电子设备根据第一状态信息,确定用户处于睡眠状态,则关闭生物特征解锁屏幕的功能。即使电子设备接收到第二状态信息,其中,第二状态信息指示的状态为:非睡眠状态,电子设备仍确定生物特征解锁屏幕的功能失效,而非生物特征解锁屏幕的功能恢复,以防止用户在睡眠过程中,智能穿戴设备被取走,且用于监测恶意用户的体征状态。此种情况下,智能穿戴设备所监测到的状态信息是恶意用户的状态信息,而非电子设备的真正使用者的信息。若恶意用户未处于睡眠状态,则智能穿戴设备向电子设备发送第二状态信息,即使电子设备接收到第二状态信息,电子设备仍确定生物特征解锁屏幕的功能失效,以防止生物特征解锁屏幕功能被恶意用户恢复,降低了电子设备内信息被泄露的风险。For another example, in the case that the first execution is realized as the first state information, the electronic device determines that the user is in a sleep state according to the first state information, and then disables the function of unlocking the screen with biometric features. Even if the electronic device receives the second state information, wherein the state indicated by the second state information is: non-sleep state, the electronic device still determines that the function of the biometric unlock screen is disabled, and the function of the non-biometric unlock screen is restored, so as to prevent the user from During the sleep process, the smart wearable device is taken away and used to monitor the sign status of malicious users. In this case, the state information monitored by the smart wearable device is the state information of the malicious user, rather than the information of the real user of the electronic device. If the malicious user is not in the sleep state, the smart wearable device sends the second state information to the electronic device, even if the electronic device receives the second state information, the electronic device still determines that the function of unlocking the screen with biometrics is invalid, so as to prevent the function of unlocking the screen with biometrics Restored by malicious users, reducing the risk of information leakage in electronic devices.

本申请实施例公开了一种芯片系统,如图8所示,该芯片系统包括至少一个处理器801和至少一个接口电路802。处理器801和接口电路802可通过线路互联。例如,接口电路802可用于从其它装置(例如存储器)接收信号。又例如,接口电路802可用于向其它装置(例如处理器801)发送信号。示例性的,接口电路802可读取存储器中存储的指令,并将该指令发送给处理器801。当所述指令被处理器801执行时,可使得电子设备执行上述实施例中的各个步骤。当然,该芯片系统还可以包含其他分立器件,本申请实施例对此不作具体限定。The embodiment of the present application discloses a chip system. As shown in FIG. 8 , the chip system includes at least oneprocessor 801 and at least one interface circuit 802 . Theprocessor 801 and the interface circuit 802 may be interconnected through wires. For example, interface circuit 802 may be used to receive signals from other devices, such as memory. As another example, the interface circuit 802 may be used to send signals to other devices (such as the processor 801). Exemplarily, the interface circuit 802 can read instructions stored in the memory, and send the instructions to theprocessor 801 . When the instructions are executed by theprocessor 801, the electronic device may be made to execute various steps in the foregoing embodiments. Of course, the chip system may also include other discrete devices, which is not specifically limited in this embodiment of the present application.

本申请实施例公开了一种电子设备,包括处理器,以及与处理器相连的存储器、输入设备和输出设备。其中,输入设备和输出设备可集成为一个设备,例如,可将触敏表面作为输入设备,将显示屏作为输出设备,并将触敏表面和显示屏集成为触摸屏。The embodiment of the present application discloses an electronic device, including a processor, a memory connected to the processor, an input device, and an output device. Wherein, the input device and the output device can be integrated into one device, for example, the touch-sensitive surface can be used as the input device, the display screen can be used as the output device, and the touch-sensitive surface and the display screen can be integrated into a touch screen.

此时,如图9所示,上述电子设备可以包括:触摸屏901,所述触摸屏901包括触敏表面906和显示屏907;一个或多个处理器902;存储器903;一个或多个应用程序(未示出);以及一个或多个计算机程序904,上述各器件可以通过一个或多个通信总线905连接。其中该一个或多个计算机程序904被存储在上述存储器903中并被配置为被该一个或多个处理器902执行,该一个或多个计算机程序904包括指令,上述指令可以用于执行上述实施例中的各个步骤。其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应实体器件的功能描述,在此不再赘述。At this time, as shown in FIG. 9 , the above-mentioned electronic device may include: atouch screen 901 including a touch-sensitive surface 906 and adisplay screen 907; one or more processors 902;memory 903; one or more application programs ( not shown); and one ormore computer programs 904, the above-mentioned components can be connected through one ormore communication buses 905. Wherein the one ormore computer programs 904 are stored in the above-mentionedmemory 903 and are configured to be executed by the one or more processors 902, the one ormore computer programs 904 include instructions, and the above-mentioned instructions can be used to perform the above-mentioned implementation steps in the example. Wherein, all relevant content of each step involved in the above method embodiment can be referred to the functional description of the corresponding physical device, and will not be repeated here.

示例性的,上述处理器902具体可以为图2所示的处理器110,上述存储器903具体可以为图2所示的内部存储器121和/或外部存储器120,上述显示屏907具体可以为图2所示的显示屏194,上述触敏表面906具体可以为图2所示的传感器模块180中的触摸传感器,本申请实施例对此不做任何限制。Exemplarily, the above-mentioned processor 902 may specifically be the processor 110 shown in FIG. 2, the above-mentionedmemory 903 may specifically be the internal memory 121 and/or the external memory 120 shown in FIG. The shown display screen 194 and the above-mentioned touch-sensitive surface 906 may specifically be the touch sensor in the sensor module 180 shown in FIG. 2 , which is not limited in this embodiment of the present application.

通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and brevity of the description, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned functions can be allocated according to needs It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. For the specific working process of the above-described system, device, and unit, reference may be made to the corresponding process in the foregoing method embodiments, and details are not repeated here.

在本申请实施例各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。Each functional unit in each embodiment of the embodiment of the present application may be integrated into one processing unit, or each unit may physically exist separately, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:快闪存储器、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage The medium includes several instructions to enable a computer device (which may be a personal computer, server, or network device, etc.) or a processor to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: flash memory, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk, and other various media capable of storing program codes.

以上所述,仅为本申请实施例的具体实施方式,但本申请实施例的保护范围并不局限于此,任何在本申请实施例揭露的技术范围内的变化或替换,都应涵盖在本申请实施例的保护范围之内。因此,本申请实施例的保护范围应以所述权利要求的保护范围为准。The above is only the specific implementation of the embodiment of the application, but the protection scope of the embodiment of the application is not limited thereto, and any changes or replacements within the technical scope disclosed in the embodiment of the application shall be covered by this application. Within the scope of protection of the application examples. Therefore, the protection scope of the embodiments of the present application should be based on the protection scope of the claims.

Claims (23)

CN202110615897.9A2021-06-022021-06-02Information protection method, electronic device, computer storage medium, computer program product, and chip systemActiveCN115442474B (en)

Priority Applications (2)

Application NumberPriority DateFiling DateTitle
CN202110615897.9ACN115442474B (en)2021-06-022021-06-02Information protection method, electronic device, computer storage medium, computer program product, and chip system
PCT/CN2022/085629WO2022252812A1 (en)2021-06-022022-04-07Information protection method and electronic device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202110615897.9ACN115442474B (en)2021-06-022021-06-02Information protection method, electronic device, computer storage medium, computer program product, and chip system

Publications (2)

Publication NumberPublication Date
CN115442474Atrue CN115442474A (en)2022-12-06
CN115442474B CN115442474B (en)2024-07-30

Family

ID=84240163

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202110615897.9AActiveCN115442474B (en)2021-06-022021-06-02Information protection method, electronic device, computer storage medium, computer program product, and chip system

Country Status (2)

CountryLink
CN (1)CN115442474B (en)
WO (1)WO2022252812A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN117715031A (en)*2023-05-292024-03-15荣耀终端有限公司 A method and electronic device for protecting fingerprint information

Citations (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104850995A (en)*2015-04-272015-08-19小米科技有限责任公司Operation executing method and device
CN104850827A (en)*2015-04-232015-08-19小米科技有限责任公司Fingerprint identification method and apparatus
CN105611531A (en)*2015-10-302016-05-25东莞酷派软件技术有限公司Terminal control method, terminal control device and terminal
CN106446627A (en)*2016-08-312017-02-22广州三星通信技术研究有限公司Method and device for carrying out identity authentication at electronic terminal
CN106845184A (en)*2017-01-252017-06-13广东欧珀移动通信有限公司 Locking method, device and terminal
CN107395889A (en)*2017-07-282017-11-24广东欧珀移动通信有限公司 Method, device, storage medium and mobile terminal for reducing power consumption of mobile terminal
CN111182120A (en)*2018-11-092020-05-19奇酷互联网络科技(深圳)有限公司Method for controlling unlocking, mobile terminal and computer storage medium
WO2021013136A1 (en)*2019-07-252021-01-28华为技术有限公司Apparatus control method, and electronic apparatus
CN112464199A (en)*2020-12-152021-03-09闻泰通讯股份有限公司Biological feature recognition function control method and device, electronic equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US9589405B2 (en)*2014-04-072017-03-07Iwallet CorporationSmartphone controlled biometric and Bluetooth enabled smart wallet system
CN107133506A (en)*2017-04-182017-09-05宇龙计算机通信科技(深圳)有限公司A kind of Identity Authentication Mode determines method and apparatus
CN108781234B (en)*2017-06-092021-07-20华为技术有限公司Function control method and terminal
CN107391993A (en)*2017-07-272017-11-24深圳市泰衡诺科技有限公司A kind of unlocked by fingerprint method and unlocked by fingerprint system based on intelligent terminal
CN108985031A (en)*2018-06-062018-12-11宇龙计算机通信科技(深圳)有限公司A kind of intelligent terminal, close intelligent terminal fingerprint identification function method
CN110493452A (en)*2019-07-042019-11-22华为技术有限公司A kind of management method and device of finger-print switch

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104850827A (en)*2015-04-232015-08-19小米科技有限责任公司Fingerprint identification method and apparatus
CN104850995A (en)*2015-04-272015-08-19小米科技有限责任公司Operation executing method and device
CN105611531A (en)*2015-10-302016-05-25东莞酷派软件技术有限公司Terminal control method, terminal control device and terminal
CN106446627A (en)*2016-08-312017-02-22广州三星通信技术研究有限公司Method and device for carrying out identity authentication at electronic terminal
CN106845184A (en)*2017-01-252017-06-13广东欧珀移动通信有限公司 Locking method, device and terminal
CN107395889A (en)*2017-07-282017-11-24广东欧珀移动通信有限公司 Method, device, storage medium and mobile terminal for reducing power consumption of mobile terminal
CN111182120A (en)*2018-11-092020-05-19奇酷互联网络科技(深圳)有限公司Method for controlling unlocking, mobile terminal and computer storage medium
WO2021013136A1 (en)*2019-07-252021-01-28华为技术有限公司Apparatus control method, and electronic apparatus
CN112464199A (en)*2020-12-152021-03-09闻泰通讯股份有限公司Biological feature recognition function control method and device, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN117715031A (en)*2023-05-292024-03-15荣耀终端有限公司 A method and electronic device for protecting fingerprint information

Also Published As

Publication numberPublication date
WO2022252812A1 (en)2022-12-08
CN115442474B (en)2024-07-30

Similar Documents

PublicationPublication DateTitle
US12067974B2 (en)Speech recognition method, wearable device, and electronic device
CN110347269B (en) A method for realizing air mouse mode and related equipment
CN112334860B (en) Touch control method for wearable device, wearable device and system
CN112600961A (en)Volume adjusting method and electronic equipment
CN110244893A (en)Operation method for split screen display and electronic equipment
CN112751954A (en)Operation prompting method and electronic equipment
CN110336910A (en) A privacy data protection method and terminal
CN114221402B (en) Charging method and device of terminal device and terminal device
US20240338163A1 (en)Multi-screen unlocking method and electronic device
CN111492678B (en) A file transmission method and electronic device
WO2021223560A1 (en)Screen state control method and electronic device
CN110691165A (en) A navigation operation method and electronic device
CN115442474B (en)Information protection method, electronic device, computer storage medium, computer program product, and chip system
CN114077519B (en) A system service recovery method, device and electronic equipment
CN111625175B (en)Touch event processing method, touch event processing device, medium and electronic equipment
CN113867520A (en)Device control method, electronic device, and computer-readable storage medium
CN114095602A (en) Index display method, electronic device, and computer-readable storage medium
CN114945176A (en)Clipboard access control method, electronic device and storage medium
CN111026285B (en) Method and electronic device for adjusting pressure threshold
CN116069156A (en) Shooting parameter adjustment method, electronic equipment and storage medium
KR102584682B1 (en) Information display methods and devices
CN115167747B (en) Screen capture method, electronic device and storage medium
HK40069651A (en)System service recovery method and apparatus, and electronic device
HK40069651B (en)System service recovery method and apparatus, and electronic device
WO2023185623A1 (en)Background application recovery method, apparatus, electronic device and readable storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp