[go: up one dir, main page]

CN113468501A - Information display method and device, electronic equipment and storage medium - Google Patents

Information display method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113468501A
CN113468501A CN202110724060.8A CN202110724060A CN113468501A CN 113468501 A CN113468501 A CN 113468501A CN 202110724060 A CN202110724060 A CN 202110724060A CN 113468501 A CN113468501 A CN 113468501A
Authority
CN
China
Prior art keywords
image
user
electronic device
duration
content
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
CN202110724060.8A
Other languages
Chinese (zh)
Other versions
CN113468501B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202110724060.8A priority Critical patent/CN113468501B/en
Publication of CN113468501A publication Critical patent/CN113468501A/en
Application granted granted Critical
Publication of CN113468501B publication Critical patent/CN113468501B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/36User authentication by graphic or iconic representation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请公开了一种信息显示方法、装置、电子设备及存储介质,属于终端技术领域。信息显示方法包括:在电子设备处于目标模式且处于锁屏状态的情况下,接收第一用户的解锁输入;响应于解锁输入,获取第一用户的第一图像;在第一图像与第二图像不匹配的情况下,确定电子设备处于锁屏状态的第一时长,第二图像为预设用户的图像;在第一时长小于预设时长的情况下,显示第一内容,第一内容为锁屏状态前电子设备显示的内容。本申请电子设备可以在用户误触碰导致锁屏的情况下,自动显示电子设备锁屏前所显示的内容,从而可以简化锁屏状态前电子设备所显示内容的再显示过程,提高用户体验。

Figure 202110724060

The present application discloses an information display method, an apparatus, an electronic device and a storage medium, which belong to the technical field of terminals. The information display method includes: when the electronic device is in a target mode and in a locked screen state, receiving an unlocking input from a first user; in response to the unlocking input, acquiring a first image of the first user; In the case of no match, determine the first duration that the electronic device is in the locked screen state, and the second image is the image of the preset user; if the first duration is less than the preset duration, display the first content, and the first content is the lock The content displayed by the electronic device before the screen status. The electronic device of the present application can automatically display the content displayed before the screen of the electronic device is locked when the user touches the screen by mistake, thereby simplifying the process of redisplaying the content displayed by the electronic device before the screen is locked and improving user experience.

Figure 202110724060

Description

Information display method and device, electronic equipment and storage medium
Technical Field
The application belongs to the technical field of terminals, and particularly relates to an information display method and device, electronic equipment and a storage medium.
Background
When a user uses an electronic device, the user often gives the electronic device to other users for use, and in order to avoid that the other users use functions other than the functions allowed to be used by a preset user (such as a host) of the electronic device when using the electronic device, the preset user may set the electronic device to a visitor mode, a restricted mode, a child mode, and other modes (hereinafter, referred to as a target mode).
In the target mode, other users can use only the function corresponding to the mode. After the electronic device is locked, if other users want to continue to use the function of the electronic device which is located before the screen is locked last time, the electronic device needs to be handed to a preset user of the electronic device to be unlocked again, or the preset user informs the unlocking password in the protection mode to other users, and the other users unlock the electronic device by using the unlocking password to display information that the electronic device is located before the screen is locked last time, so that the function of the electronic device which is located before the screen is locked last time is used.
In the process of implementing the present application, the inventor finds that at least the following problems exist in the prior art:
the electronic equipment is handed to a preset user to unlock the electronic equipment again, or the preset user informs other users of an unlocking password to unlock the electronic equipment so as to display information of the electronic equipment which is in the screen locking state last time, and therefore the display process of the information of the electronic equipment which is in the screen locking state last time is complicated, and user experience is influenced.
Disclosure of Invention
The embodiment of the application aims to provide an information display method, an information display device, electronic equipment and a storage medium, and the problem that the display process of information of the electronic equipment before the electronic equipment is in a screen locking state for the last time is complicated, so that user experience is influenced can be solved.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an information display method, including:
receiving an unlocking input of a first user under the condition that the electronic equipment is in a target mode and in a screen locking state;
in response to the unlock input, obtaining a first image of the first user;
under the condition that the first image is not matched with a second image, determining a first duration of the electronic equipment in the screen locking state, wherein the second image is an image of a preset user;
and displaying first content under the condition that the first time length is less than the preset time length, wherein the first content is the content displayed by the electronic equipment before the screen locking state.
In a second aspect, an embodiment of the present application provides an information display apparatus, including:
the receiving module is used for receiving unlocking input of a first user under the condition that the electronic equipment is in the target mode and in the screen locking state;
an obtaining module, configured to obtain a first image of the first user in response to the unlocking input;
the determining module is used for determining a first duration of the electronic equipment in the screen locking state under the condition that the first image is not matched with a second image, wherein the second image is an image of a preset user;
and the first display module is used for displaying first content under the condition that the first duration is less than the preset duration, wherein the first content is the content displayed by the electronic equipment before the screen locking state.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the steps of the method according to the first aspect.
In the embodiment of the application, a first image of a first user input by unlocking is matched with a second image of a preset user of the electronic equipment, and a first content displayed by the electronic equipment before the screen locking state is displayed under the condition that the first image is not matched with the second image and the first duration of the electronic equipment in the screen locking state is less than the preset duration. The first image and the second image are not matched, namely the user unlocking the electronic equipment at present is not a preset user of the electronic equipment, the electronic equipment is still in the target mode, at the moment, if the first duration is less than the preset duration, the screen locking at this time can be considered to be possibly caused by the fact that the user touches the electronic equipment by mistake, and the electronic equipment can display the first content displayed by the electronic equipment before the screen locking state. Therefore, the electronic equipment can automatically display the content displayed by the electronic equipment before the screen locking state under the condition that the screen is locked due to the fact that the user touches the screen by mistake, so that the redisplay process of the content displayed by the electronic equipment before the screen locking state can be simplified, and the user experience is improved.
Drawings
Fig. 1 is a schematic flowchart of an information display method provided in an embodiment of the present application;
FIG. 2 is a schematic diagram of a display interface provided by an embodiment of the present application;
FIG. 3 is a schematic diagram of another display interface provided by an embodiment of the present application;
FIG. 4 is a schematic view of an unlocking interface provided in an embodiment of the present application;
fig. 5 is a schematic flowchart of an embodiment of a scene of an information display method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an information display device according to an embodiment of the present application;
fig. 7 is a hardware configuration diagram of an electronic device implementing an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The information display method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 1 is a schematic flowchart of an information display method according to an embodiment of the present application. The information display method may include:
s101, receiving an unlocking input of a first user under the condition that the electronic equipment is in a target mode and in a screen locking state;
s102, responding to unlocking input, and acquiring a first image of a first user;
s103, under the condition that the first image is not matched with the second image, determining a first time length of the electronic equipment in a screen locking state, wherein the second image is an image of a preset user;
and S104, displaying first content under the condition that the first time length is less than the preset time length, wherein the first content is the content displayed by the electronic equipment before the screen locking state.
In step S101, an unlocking input of a first user may be received when the electronic device is in the target mode and in the screen-locked state. The target mode may be opened by default by the electronic device, or may be opened by a preset user operation of the electronic device, and the preset user of the electronic device may be a holder of the electronic device or a preset other user. For example, the preset users of the electronic device may include the electronic device holder and user a.
The target mode may be considered to a certain extent a protected mode, for example the target mode may be a guest mode, a restricted mode, a child mode, etc. For example, in a certain normal unlocking mode, the electronic device may unlock according to biological information such as a face image, a fingerprint, or a palm print of the user, and the electronic device may also unlock according to an unlocking password preset by the user. In the target mode, the electronic device may not be completely unlocked under a certain condition, but only display the content displayed before the electronic device is in the screen lock state.
The first user may be a user who uses the electronic device at will, and the unlocking input may include an operation performed on the electronic device, such as sliding or double-clicking a display screen of the electronic device upward, clicking or sliding an unlocking key corresponding to the electronic device, and the like. The receiving of the unlocking input of the first user may be receiving related operation information made by the first user for unlocking the electronic device.
In step S102, after receiving an unlocking input of the first user, the electronic device may acquire an image of the first user, that is, a first image, in response to the unlocking input. As can be appreciated, the electronic device may acquire the facial image of the first user through the image acquisition device after receiving the unlocking input of the first user. For example, when the electronic device is a mobile phone, the face image of the first user may be acquired through a front-facing camera of the mobile phone.
In step S103, the second image is a face image of a preset user of the electronic device. The second image may be stored in the electronic device in advance, or may be retrieved when the target mode is turned on. The first duration may be a duration between a starting time when the electronic device enters the screen-lock state last time and a time when the unlocking input of the first user is received. For example, taking the electronic device as a mobile phone as an example, a time length from a time when the mobile phone enters a screen locking state after being turned off to a time when the mobile phone is turned on after receiving an unlocking input is a first time length.
After the first image of the first user is acquired, the electronic device may compare the first image of the first user with the second image to determine whether the first image is matched with the second image. If the first image is not matched with the second image, the first user is not a preset user of the electronic equipment, and at the moment, the first duration of the electronic equipment in the screen locking state is determined.
In step S104, when the first duration is less than the preset duration, a first content may be displayed, where the first content may be a content displayed by the electronic device before the screen-locking state. It can be understood that the preset time period may be set according to an empirical value, for example, the preset time period may be set to 20s, and when the first time period is less than 20s, it may be considered that the screen locking state of the electronic device at this time may be caused by a user misoperation, and at this time, the electronic device may display the content displayed before the screen locking state.
For example, the electronic device is a mobile phone, as shown in fig. 2, the mobile phone displays a chat record interface with a user before the screen is locked, and when the first duration is shorter than the preset duration, the mobile phone can only display the chat record interface and cannot switch to view other contents, that is, cannot display other interfaces outside the chat record interface.
For another example, if the mobile phone is displaying a certain document or web page information that needs to be paged before locking the screen, when the first duration is less than the preset duration, the mobile phone may display the document or web page information, and may page to view other contents in the document or web page information, but may not switch to view other contents that do not belong to the document or web page information. As shown in fig. 3, the mobile phone displays a certain document 1 that needs to be turned over before the screen is locked, and when the first duration is shorter than the preset duration, the mobile phone can continue to display the content that the document 1 is displaying before the screen is locked, and can turn over the page to continue to view the subsequent content of the document 1.
In the embodiment of the application, a first image of a first user input by unlocking is matched with a second image of a preset user of the electronic equipment, and a first content displayed by the electronic equipment before the screen locking state is displayed under the condition that the first image is not matched with the second image and the first duration of the electronic equipment in the screen locking state is less than the preset duration. The first image and the second image are not matched, namely the user unlocking the electronic equipment at present is not a preset user of the electronic equipment, the electronic equipment is still in the target mode, at the moment, if the first duration is less than the preset duration, the screen locking at this time can be considered to be possibly caused by the fact that the user touches the electronic equipment by mistake, and the electronic equipment can display the first content displayed by the electronic equipment before the screen locking state. Therefore, the electronic equipment can automatically display the content displayed by the electronic equipment before the screen locking state under the condition that the screen is locked due to the fact that the user touches the screen by mistake, so that the redisplay process of the content displayed by the electronic equipment before the screen locking state can be simplified, and the user experience is improved.
In some embodiments, after step S103, the information displaying method may further include:
and displaying an unlocking interface of the electronic equipment under the condition that the first duration is greater than or equal to the preset duration.
It can be understood that, when the first duration is greater than or equal to the preset duration, it may be considered that the screen locking is not caused by the misoperation of the user, and at this time, as shown in fig. 4, the electronic device may display an unlocking interface.
When the electronic equipment displays the unlocking interface, the electronic equipment needs to be unlocked through preset user biological information or an unlocking password, and after the unlocking is successful, the electronic equipment can display other information.
Therefore, when the first duration is greater than or equal to the preset duration, namely the screen is not locked due to misoperation of the user, the unlocking interface is displayed, and information in the electronic equipment can be prevented from being leaked.
In some embodiments, before the step S101, the information displaying method may further include:
acquiring a third image of a second user operating the electronic equipment, wherein the second user is a user other than the preset user;
based on this, the step S103 may include:
and under the condition that the first image is not matched with the second image and the first image is matched with the third image, determining the first duration of the electronic equipment in the screen locking state.
It is understood that, before the step S101, the electronic device may acquire a face image of the second user as the third image. The second user is a user other than the preset user of the electronic device, that is, the second user is a user who operates the electronic device before the electronic device is in the screen locking state.
In an alternative embodiment, in the case that the first image does not match the second image, the first image may be compared with the third image to determine whether the first image matches the third image. In other words, the first user and the second user can be considered as the same user, at this time, a first duration that the electronic device is in the screen locking state can be determined, and a first content displayed by the electronic device before the screen locking state is displayed when the first duration is less than a preset duration.
In this way, the first duration is determined only when the first user is not a preset user of the electronic device and the first user is a second user, and the first content is displayed when the first duration is less than the preset duration. That is, the second user who uses the electronic device before the screen locking state is the same user as the first user who unlocks the terminal within a short period of time (that is, the unlocking operation is a wrong operation), and at this time, both the second user and the first user are not preset users, and the content that the second user is viewing before the screen locking state can also be displayed, so that the second user and the users other than the preset users can be prevented from viewing the first content, thereby further preventing the electronic device from information leakage, and improving the information security of the electronic device.
In another alternative embodiment, the target mode may include a first sub-mode and a second sub-mode. When the target mode is the first sub-mode, the protected degree of the electronic equipment is higher, and the first duration of the electronic equipment in the screen locking state can be determined only under the condition that the first image is not matched with the second image and the first image is matched with the third image, so that the first content is displayed when the first duration is smaller than the preset duration. In other words, when the target mode is the first sub-mode, the first content needs to be displayed when the first user matches the second user.
When the target mode is the second sub-mode, the protected degree of the electronic equipment is relatively low, and as long as the first duration is less than the preset duration, the content displayed by the electronic equipment before the screen locking state can be displayed. In other words, when the target mode is the second sub-mode, the first content may be displayed without matching the first user with the second user.
For example, a second user operating the electronic device before the screen-locking state is user B, if the electronic device is in the first sub-mode, it needs to be determined whether the first user is user B, and if the first user is user B (the same user as the second user), the first content may be displayed when the first time length is less than the preset time length; if the first user is user C (different from the second user), the electronic device cannot display the first content even if the first duration is less than the preset duration. If the electronic device is in the second sub-mode, it is not necessary to determine whether the first user is the user B, that is, the first user may be the user B, the user C, the user D, or the like, and the electronic device can display the first content only when the first duration is less than the preset duration.
In this way, when the target mode is the first sub-mode, the electronic device displays the first content only to the operation user before the screen locking state, and when the target mode is the second sub-mode, the electronic device can display the first content to any user. Thus, the flexibility of the information display method can be higher.
In some embodiments, after the step S102, the information displaying method may further include:
and displaying the first content and closing the target mode under the condition that the first image is matched with the second image.
It can be understood that the first image is matched with the second image, and it can be considered that the first user is a preset user of the electronic device, at this time, the electronic device can be directly unlocked, the first content displayed by the electronic device before the screen locking state is displayed, and the target mode can be turned off. In other words, when the first user matches a preset user of the electronic device, the electronic device may display the first content to the first user and turn off the target mode. After the target mode is closed, the electronic device may display any content corresponding to the operation according to the received operation of the first user.
Therefore, when the first user is a preset user, the first content is displayed and the target mode is closed, the first user can check the first content and normally use the electronic equipment without manually closing the target mode, operation can be simplified, and user experience is further improved.
In some embodiments, after the step S104, the information displaying method may further include:
and clearing the target image, wherein the target image comprises at least one of the first image and the third image.
In the embodiment of the application, after the first content is displayed, namely the content displayed by the electronic equipment before the screen locking state is displayed, the target image can be automatically cleared. The target image may be the first image or the third image, and may also be the first image and the third image.
For example, the target image is a first image, after the first content is displayed, the electronic device may clear the first image, and when the electronic device is in the screen lock state again, the electronic device will receive the unlocking input of the first user again, and acquire a new first image of the first user. For another example, the target image is the first image and the third image, and the electronic device automatically clears the target image, which may be to clear the first image and the third image.
Therefore, on one hand, the target image can be automatically cleared, and the occupation of a storage space is avoided. On the other hand, leakage of the target image can be avoided, and therefore the safety of information in the electronic equipment is further improved.
In some embodiments, after the step S104, the information displaying method may further include:
under the condition that first input of a third user for the first content is received, acquiring a fourth image of the third user;
in the case where the fourth image matches the second image, in response to the first input, displaying content corresponding to the first input;
and displaying the first content under the condition that the fourth image does not match with the second image.
It is to be appreciated that after displaying the first content, the electronic device may receive a third user input to the first content, i.e., the first input. For example, the first input may be used to instruct the electronic device to turn off the display of the first content, or the first input may be used to instruct other content than the first content to be displayed.
In the case where the first input is received, the electronic device may acquire a fourth image of the third user, that is, acquire a face image of the user operating on the first content. In the case where the fourth image matches the second image, the third user may be considered as a preset user, and at this time, in response to the first input, content corresponding to the first input may be displayed. In the case where the fourth image does not match the second image, it may be considered that the third user is not a preset user, and at this time, the electronic apparatus does not respond to any operation of the third user but continues to display the first content.
Therefore, when the third user is the preset user, the electronic device can display the content corresponding to the operation of the third user, so that the third user can normally use the electronic device, and when the third user is not the preset user, the electronic device does not respond to the related operation of the third user and only displays the first content, so that the information in the electronic device can be further prevented from being leaked, and the user experience can be further improved.
In order to facilitate understanding of the information display method provided in the above embodiment, the following describes the information display method with a specific scene embodiment. Fig. 5 is a schematic flowchart of a scene embodiment of an information display method according to an embodiment of the present application.
The application scenario of the scenario embodiment may be as follows: after the owner of the mobile phone starts the target mode, the mobile phone can be submitted to other people to check related information, if the other people lock the screen of the mobile phone, any user lights the screen again, and after the screen is lighted by the mobile phone, a face recognition unlocking mechanism is activated to perform unlocking operation.
The scenario embodiment may specifically include the following steps:
s501, after the owner of the mobile phone starts the target mode, the mobile phone can be submitted to other people to check related information, and the other people lock the screen of the mobile phone in the process of checking the information.
S502, any user lights the screen again, and after the screen is lighted by the mobile phone, the face recognition unlocking mechanism is activated to perform unlocking operation.
And S503, judging whether the mobile phone is successfully unlocked.
S504, if the face recognition unlocking is successful, the owner can use the mobile phone, at the moment, the mobile phone can display an interface displayed before the screen is locked, other functions of the mobile phone can be normally used, the target mode can be automatically closed, and related facial images are automatically cleared. The related face image can be a face image acquired before the screen is locked and/or a face image acquired by the mobile phone after the screen is lightened again.
And S505, if the face recognition unlocking fails, the mobile phone can be used by a non-owner, and whether the target mode is the first sub-mode or not can be judged at the moment.
S506, if the current user is in the first sub-mode, the face image of the current user can be obtained, and whether the current user is a user before screen locking is judged.
And S507, if the current face image and the face image acquired before the screen is locked are not identified as the same person, the mobile phone can display an unlocking interface to prompt that the mobile phone cannot be unlocked and used.
And S508, if the current face image and the face image acquired before the screen locking are identified as the same person, judging whether the first time length of the screen locking is overtime.
If the first sub-mode is the second sub-mode, whether the first time length of the screen locking is overtime or not can be directly judged.
S509, if the first duration of the mobile phone screen locking is greater than or equal to a preset duration, for example, greater than or equal to 20S, the mobile phone may display an unlocking interface to prompt that the mobile phone is not unlocked and cannot be used.
S510, if the first duration of the mobile phone screen locking is less than the preset duration, for example, less than 20S, it may be determined that the mobile phone screen locking is caused by a misoperation of the user, and the mobile phone may display an interface displayed before the screen locking, and may not switch to view other contents at this time.
In the embodiment of the scene, the mobile phone can automatically display the interface before the screen locking of the mobile phone under the condition that the screen locking is caused by the mistaken touch of a user, so that the information display process can be simplified, the user experience is improved, meanwhile, the judgment of the screen locking duration is increased, the matching process of user images can be increased according to a specific sub-mode, and the information in the mobile phone is effectively prevented from being leaked to a certain extent.
It should be noted that, in the information display method provided in the embodiment of the present application, the execution main body may be an information display apparatus, or a control module in the information display apparatus for executing a method for displaying loaded information. In the embodiment of the present application, a method for executing loaded information display by an information display device is taken as an example, and the method for displaying information provided in the embodiment of the present application is described.
Fig. 6 is a schematic structural diagram of an information display device according to an embodiment of the present application. The information display apparatus 600 may include:
the receiving module 601 is configured to receive an unlocking input of a first user when the electronic device is in the target mode and in the screen locking state;
an obtaining module 602, configured to obtain a first image of a first user in response to an unlocking input;
the determining module 603 is configured to determine a first duration of the electronic device in the screen lock state when the first image is not matched with a second image, where the second image is an image of a preset user;
the first display module 604 is configured to display a first content when the first duration is less than a preset duration, where the first content is a content displayed by the electronic device before the screen lock state.
In the embodiment of the application, a first image of a first user input by unlocking is matched with a second image of a preset user of the electronic equipment, and a first content displayed by the electronic equipment before the screen locking state is displayed under the condition that the first image is not matched with the second image and the first duration of the electronic equipment in the screen locking state is less than the preset duration. The first image and the second image are not matched, namely the user unlocking the electronic equipment at present is not a preset user of the electronic equipment, the electronic equipment is still in the target mode, at the moment, if the first duration is less than the preset duration, the screen locking at this time can be considered to be possibly caused by the fact that the user touches the electronic equipment by mistake, and the electronic equipment can display the first content displayed by the electronic equipment before the screen locking state. Therefore, the electronic equipment can automatically display the content displayed by the electronic equipment before the screen locking state under the condition that the screen is locked due to the fact that the user touches the screen by mistake, so that the redisplay process of the content displayed by the electronic equipment before the screen locking state can be simplified, and the user experience is improved.
In some embodiments, the information display apparatus 600 may further include:
and the second display module is used for displaying the unlocking interface of the electronic equipment under the condition that the first time length is greater than or equal to the preset time length.
Therefore, when the first duration is greater than or equal to the preset duration, namely the screen is not locked due to misoperation of the user, the unlocking interface is displayed, and information in the electronic equipment can be prevented from being leaked.
In some embodiments, the information display apparatus 600 may further include:
the acquisition module is used for acquiring a third image of a second user operating the electronic equipment, wherein the second user is a user other than the preset user;
correspondingly, the determining module 603 may be specifically configured to:
and under the condition that the first image is not matched with the second image and the first image is matched with the third image, determining the first duration of the electronic equipment in the screen locking state.
In this way, the first duration is determined only when the first user is not a preset user of the electronic device and the first user is a second user, and the first content is displayed when the first duration is less than the preset duration. Therefore, the first content can be prevented from being viewed by the second user and users except the preset user, information leakage of the electronic equipment is further prevented, and information safety of the electronic equipment is improved.
In some embodiments, the information display apparatus 600 may further include:
and the third display module is used for displaying the first content and closing the target mode under the condition that the first image is matched with the second image.
Therefore, when the first user is a preset user, the first content is displayed and the target mode is closed, the first user can check the first content and normally use the electronic equipment without manually closing the target mode, operation can be simplified, and user experience is further improved.
In some embodiments, the information display apparatus 600 may further include:
and the clearing module is used for clearing the target image, and the target image comprises at least one of the first image and the third image.
In the embodiment of the application, after the first content is displayed, namely the content displayed by the electronic equipment before the screen locking state is displayed, the target image can be automatically cleared. The target image may be the first image or the third image, and may also be the first image and the third image.
The information display device 600 in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The information display device 600 in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The information display device 600 provided in this embodiment of the application can implement each process in the information display method embodiments of fig. 1 to 5, and is not described here again to avoid repetition.
Optionally, an electronic device 700 is further provided in this embodiment of the present application, and includes a processor 710, a memory 709, and a program or an instruction stored in the memory 709 and capable of running on the processor 710, where the program or the instruction is executed by the processor 710 to implement each process of the above information display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 700 includes, but is not limited to: a radio frequency module 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710.
Those skilled in the art will appreciate that the electronic device 700 may also include a power supply (e.g., a battery) for powering the various components, and the power supply may be logically coupled to the processor 710 via a power management system, such that the functions of managing charging, discharging, and power consumption may be performed via the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The user input unit 707 may be configured to receive an unlocking input of a first user when the electronic device is in the target mode and is in the screen locking state;
a processor 710 operable to:
in response to an unlock input, obtaining a first image of a first user;
under the condition that the first image is not matched with the second image, determining a first duration of the electronic equipment in a screen locking state, wherein the second image is an image of a preset user;
the display unit 706 may be configured to display first content when the first duration is less than a preset duration, where the first content is content displayed by the electronic device before the screen lock state.
In the embodiment of the application, a first image of a first user input by unlocking is matched with a second image of a preset user of the electronic equipment, and a first content displayed by the electronic equipment before the screen locking state is displayed under the condition that the first image is not matched with the second image and the first duration of the electronic equipment in the screen locking state is less than the preset duration. The first image and the second image are not matched, namely the user unlocking the electronic equipment at present is not a preset user of the electronic equipment, the electronic equipment is still in the target mode, at the moment, if the first duration is less than the preset duration, the screen locking at this time can be considered to be possibly caused by the fact that the user touches the electronic equipment by mistake, and the electronic equipment can display the first content displayed by the electronic equipment before the screen locking state. Therefore, the electronic equipment can automatically display the content displayed by the electronic equipment before the screen locking state under the condition that the screen is locked due to the fact that the user touches the screen by mistake, so that the redisplay process of the content displayed by the electronic equipment before the screen locking state can be simplified, and the user experience is improved.
In some embodiments, the display unit 706 may be further configured to:
and displaying an unlocking interface of the electronic equipment under the condition that the first duration is greater than or equal to the preset duration.
Therefore, when the first duration is greater than or equal to the preset duration, namely the screen is not locked due to misoperation of the user, the unlocking interface is displayed, and information in the electronic equipment can be prevented from being leaked.
In some embodiments, processor 710 may also be configured to:
acquiring a third image of a second user operating the electronic equipment, wherein the second user is a user other than the preset user;
and under the condition that the first image is not matched with the second image and the first image is matched with the third image, determining the first duration of the electronic equipment in the screen locking state.
In this way, the first duration is determined only when the first user is not a preset user of the electronic device and the first user is a second user, and the first content is displayed when the first duration is less than the preset duration. Therefore, the first content can be prevented from being viewed by the second user and users except the preset user, information leakage of the electronic equipment is further prevented, and information safety of the electronic equipment is improved.
In some embodiments, the display unit 706 may be further configured to:
and displaying the first content and closing the target mode under the condition that the first image is matched with the second image.
Therefore, when the first user is a preset user, the first content is displayed and the target mode is closed, the first user can check the first content and normally use the electronic equipment without manually closing the target mode, operation can be simplified, and user experience is further improved.
In some embodiments, processor 710 may also be configured to:
and clearing the target image, wherein the target image comprises at least one of the first image and the third image.
In the embodiment of the application, after the first content is displayed, namely the content displayed by the electronic equipment before the screen locking state is displayed, the target image can be automatically cleared. The target image may be the first image or the third image, and may also be the first image and the third image.
It should be understood that in the embodiment of the present application, the input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics Processing Unit 7041 processes image data of still pictures or videos obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The first display module 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071 is also referred to as a touch screen. The touch panel 7071 may include two parts of a touch detection device and a touch controller. Other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. Memory 709 may be used to store software programs as well as various data, including but not limited to applications and operating systems. Processor 710 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 710.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned information display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above information display method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1.一种信息显示方法,其特征在于,所述方法包括:1. an information display method, is characterized in that, described method comprises: 在电子设备处于目标模式且处于锁屏状态的情况下,接收第一用户的解锁输入;When the electronic device is in the target mode and in the locked screen state, receiving an unlocking input from the first user; 响应于所述解锁输入,获取所述第一用户的第一图像;obtaining a first image of the first user in response to the unlocking input; 在所述第一图像与第二图像不匹配的情况下,确定所述电子设备处于所述锁屏状态的第一时长,所述第二图像为预设用户的图像;In the case that the first image and the second image do not match, determining a first duration that the electronic device is in the screen lock state, and the second image is an image of a preset user; 在所述第一时长小于预设时长的情况下,显示第一内容,所述第一内容为所述锁屏状态前所述电子设备显示的内容。In the case that the first duration is less than the preset duration, the first content is displayed, and the first content is the content displayed by the electronic device before the screen lock state. 2.根据权利要求1所述的方法,其特征在于,所述在所述第一图像与第二图像不匹配的情况下,确定所述电子设备处于所述锁屏状态的第一时长之后,还包括:2 . The method according to claim 1 , wherein, in the case that the first image does not match the second image, after it is determined that the electronic device is in the screen-locked state for a first duration, 2 . Also includes: 在所述第一时长大于或等于所述预设时长的情况下,显示所述电子设备的解锁界面。In the case that the first duration is greater than or equal to the preset duration, the unlocking interface of the electronic device is displayed. 3.根据权利要求1所述的方法,其特征在于,所述在电子设备处于目标模式且处于锁屏状态之前,还包括:3. The method according to claim 1, wherein before the electronic device is in the target mode and in the locked screen state, the method further comprises: 获取操作所述电子设备的第二用户的第三图像,所述第二用户为所述预设用户之外的用户;acquiring a third image of a second user operating the electronic device, where the second user is a user other than the preset user; 所述在所述第一图像与第二图像不匹配的情况下,确定所述电子设备处于所述锁屏状态的第一时长,包括:In the case that the first image does not match the second image, determining the first duration that the electronic device is in the screen lock state includes: 在所述第一图像与第二图像不匹配且所述第一图像与所述第三图像匹配的情况下,确定所述电子设备处于所述锁屏状态的第一时长。In the case that the first image does not match the second image and the first image matches the third image, determining a first time period for which the electronic device is in the screen lock state. 4.根据权利要求1所述的方法,其特征在于,所述响应于所述解锁输入,获取所述第一用户的第一图像之后,还包括:4. The method according to claim 1, wherein after acquiring the first image of the first user in response to the unlocking input, the method further comprises: 在所述第一图像与所述第二图像匹配的情况下,显示所述第一内容,关闭所述目标模式。If the first image matches the second image, the first content is displayed, and the target mode is turned off. 5.根据权利要求3所述的方法,所述显示第一内容之后,还包括:5. The method according to claim 3, after said displaying the first content, further comprising: 清除目标图像,所述目标图像包括所述第一图像、所述第三图像中的至少一个。Clearing a target image, the target image includes at least one of the first image and the third image. 6.一种信息显示装置,其特征在于,所述装置包括:6. An information display device, wherein the device comprises: 接收模块,用于在电子设备处于目标模式且处于锁屏状态的情况下,接收第一用户的解锁输入;a receiving module, configured to receive the unlocking input of the first user when the electronic device is in the target mode and in the locked screen state; 获取模块,用于响应于所述解锁输入,获取所述第一用户的第一图像;an acquisition module, configured to acquire the first image of the first user in response to the unlocking input; 确定模块,用于在所述第一图像与第二图像不匹配的情况下,确定所述电子设备处于所述锁屏状态的第一时长,所述第二图像为预设用户的图像;a determining module, configured to determine a first duration that the electronic device is in the screen-locked state when the first image does not match the second image, and the second image is an image of a preset user; 第一显示模块,用于在所述第一时长小于所述预设时长的情况下,显示第一内容,所述第一内容为所述锁屏状态前所述电子设备显示的内容。A first display module, configured to display first content when the first duration is less than the preset duration, where the first content is the content displayed by the electronic device before the screen lock state. 7.根据权利要求6所述的装置,其特征在于,所述装置还包括:7. The apparatus of claim 6, wherein the apparatus further comprises: 第二显示模块,用于在所述第一时长大于或等于所述预设时长的情况下,显示所述电子设备的解锁界面。The second display module is configured to display the unlocking interface of the electronic device when the first duration is greater than or equal to the preset duration. 8.根据权利要求6所述的装置,其特征在于,所述装置还包括:8. The apparatus according to claim 6, wherein the apparatus further comprises: 获取模块,用于获取操作所述电子设备的第二用户的第三图像,所述第二用户为所述预设用户之外的用户;an acquisition module, configured to acquire a third image of a second user operating the electronic device, where the second user is a user other than the preset user; 所述确定模块,具体用于:The determining module is specifically used for: 在所述第一图像与第二图像不匹配且所述第一图像与所述第三图像匹配的情况下,确定所述电子设备处于所述锁屏状态的第一时长。In the case that the first image does not match the second image and the first image matches the third image, determining a first time period for which the electronic device is in the screen lock state. 9.根据权利要求6所述的装置,其特征在于,所述装置还包括:9. The apparatus of claim 6, wherein the apparatus further comprises: 第三显示模块,用于在所述第一图像与所述第二图像匹配的情况下,显示所述第一内容,关闭所述目标模式。A third display module, configured to display the first content and close the target mode when the first image matches the second image. 10.根据权利要求8所述的装置,所述装置还包括:10. The apparatus of claim 8, further comprising: 清除模块,用于清除目标图像,所述目标图像包括所述第一图像、所述第三图像中的至少一个。A clearing module, configured to clear a target image, where the target image includes at least one of the first image and the third image. 11.一种电子设备,其特征在于,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-5任一所述的信息显示方法的步骤。11. An electronic device, characterized in that it comprises a processor, a memory, and a program or instruction stored on the memory and executable on the processor, and the program or instruction is implemented when executed by the processor The steps of the information display method according to any one of claims 1-5. 12.一种可读存储介质,其特征在于,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-5任一所述的信息显示方法的步骤。12. A readable storage medium, wherein a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the information display method according to any one of claims 1-5 is realized A step of.
CN202110724060.8A 2021-06-29 2021-06-29 Information display method, device, electronic device and storage medium Active CN113468501B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110724060.8A CN113468501B (en) 2021-06-29 2021-06-29 Information display method, device, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110724060.8A CN113468501B (en) 2021-06-29 2021-06-29 Information display method, device, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN113468501A true CN113468501A (en) 2021-10-01
CN113468501B CN113468501B (en) 2025-03-18

Family

ID=77873614

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110724060.8A Active CN113468501B (en) 2021-06-29 2021-06-29 Information display method, device, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN113468501B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115408676A (en) * 2022-09-26 2022-11-29 维沃移动通信有限公司 Unlocking method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106529253A (en) * 2016-10-27 2017-03-22 北京小米移动软件有限公司 Unlocking method and apparatus, and terminal device
CN107315937A (en) * 2017-06-08 2017-11-03 努比亚技术有限公司 A kind of method for secret protection, mobile terminal and computer-readable recording medium
CN107808086A (en) * 2017-10-31 2018-03-16 广东小天才科技有限公司 Unlocking method, device and equipment of intelligent terminal
CN111475211A (en) * 2020-03-31 2020-07-31 维沃移动通信有限公司 Screen awakening method and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106529253A (en) * 2016-10-27 2017-03-22 北京小米移动软件有限公司 Unlocking method and apparatus, and terminal device
CN107315937A (en) * 2017-06-08 2017-11-03 努比亚技术有限公司 A kind of method for secret protection, mobile terminal and computer-readable recording medium
CN107808086A (en) * 2017-10-31 2018-03-16 广东小天才科技有限公司 Unlocking method, device and equipment of intelligent terminal
CN111475211A (en) * 2020-03-31 2020-07-31 维沃移动通信有限公司 Screen awakening method and terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115408676A (en) * 2022-09-26 2022-11-29 维沃移动通信有限公司 Unlocking method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113468501B (en) 2025-03-18

Similar Documents

Publication Publication Date Title
CN102270097B (en) A kind of method and portable terminal for releasing terminal screen lock
CN112148198B (en) Payment interface display method, device and electronic device
CN108197450B (en) Face recognition method, face recognition device, storage medium and electronic equipment
CN112804445B (en) Display method and device and electronic equipment
CN101667234A (en) Lock state transition method, electronic device and computer program product
CN104951682A (en) Privacy protection method and device
CN112286070B (en) Equipment control method and device and electronic equipment
CN112311795B (en) Account management method and device and electronic equipment
CN107679426A (en) A kind of screen content display method thereof and mobile terminal
CN111665938A (en) Application starting method and electronic equipment
CN107872560A (en) Management method and device for terminal authority
US20240143711A1 (en) Screen unlocking method and apparatus, and electronic device
CN112764700B (en) Image display processing method, device, electronic equipment and storage medium
CN106815509A (en) Multimedia file protection method and device and electronic equipment
WO2020253495A1 (en) Screen lock control method, device, handheld terminal, and storage medium
CN107679377A (en) Application interface switching method, device, storage medium and electronic equipment
CN113300944A (en) Friend adding method and device and electronic equipment
CN112533072A (en) Image sending method and device and electronic equipment
CN112486387A (en) Application program control method and device
CN112181559A (en) Interface display method, device and electronic device
CN113468501B (en) Information display method, device, electronic device and storage medium
CN113282364B (en) Display method, display device and electronic equipment
CN112948843B (en) Encryption method, device, electronic device and medium
CN113347076B (en) Session information deleting method and device
CN113238691B (en) Application icon management method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant