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 equipment
duration
condition
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.)
Pending
Application number
CN202110724060.8A
Other languages
Chinese (zh)
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/CN113468501A/en
Publication of CN113468501A publication Critical patent/CN113468501A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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

The application discloses an information display method and device, electronic equipment and a storage medium, and belongs to the technical field of terminals. The information display method comprises the following steps: 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 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; 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. According to the electronic equipment, the content displayed before the screen locking of the electronic equipment can be automatically displayed 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.

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. An information display method, characterized in that the method comprises:
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 a preset time length, wherein the first content is the content displayed by the electronic equipment before the screen locking state.
2. The method of claim 1, wherein after determining that the electronic device is in the lock screen state for the first duration if the first image does not match the second image, further comprising:
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.
3. The method of claim 1, before the electronic device is in the target mode and in the lock screen state, further comprising:
acquiring a third image of a second user operating the electronic equipment, wherein the second user is a user other than the preset user;
the determining a first duration that the electronic device is in the screen locking state under the condition that the first image is not matched with the second image includes:
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 a first duration of the electronic equipment in the screen locking state.
4. The method of claim 1, wherein after said obtaining a first image of the first user in response to the unlock input, further comprising:
and displaying the first content and closing the target mode under the condition that the first image is matched with the second image.
5. The method of claim 3, after displaying the first content, further comprising:
clearing a target image, the target image comprising at least one of the first image and the third image.
6. An information display apparatus, characterized in that the apparatus comprises:
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.
7. The apparatus of claim 6, further comprising:
and the second display module is used for displaying the unlocking interface of the electronic equipment under the condition that the first duration is greater than or equal to the preset duration.
8. The apparatus of claim 6, further comprising:
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;
the determining module is 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 a first duration of the electronic equipment in the screen locking state.
9. The apparatus of claim 6, further comprising:
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.
10. The apparatus of claim 8, the apparatus further comprising:
and the clearing module is used for clearing a target image, wherein the target image comprises at least one of the first image and the third image.
11. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the information display method according to any one of claims 1 to 5.
12. A readable storage medium, on which a program or instructions are stored, which when executed by a processor, carry out the steps of the information display method according to any one of claims 1 to 5.
CN202110724060.8A 2021-06-29 2021-06-29 Information display method and device, electronic equipment and storage medium Pending CN113468501A (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (1)

Publication Number Publication Date
CN113468501A true CN113468501A (en) 2021-10-01

Family

ID=77873614

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN113468501A (en)

Similar Documents

Publication Publication Date Title
CN102270097B (en) A kind of method and portable terminal for releasing terminal screen lock
CN112804445B (en) Display method and device and electronic equipment
CN108197450B (en) Face recognition method, face recognition device, storage medium and electronic equipment
CN111866270B (en) Application program control method and device and electronic equipment
CN111884908B (en) Contact person identification display method and device and electronic equipment
CN112286378A (en) Electronic equipment control method and electronic equipment
CN112422817B (en) Image processing method and device
CN111665938A (en) Application starting method and electronic equipment
CN111857511B (en) Wallpaper display control method and device and electronic equipment
CN112533072A (en) Image sending method and device and electronic equipment
US20240143711A1 (en) Screen unlocking method and apparatus, and electronic device
CN113282364B (en) Display method, display device and electronic equipment
CN113709307A (en) Message display method and device and electronic equipment
CN112486387A (en) Application program control method and device
CN112181559A (en) Interface display method and device and electronic equipment
CN112667067A (en) Payment method and device and electronic equipment
JP2007114959A (en) Authentication information processor, authentication information processing method and computer program
CN113468501A (en) Information display method and device, electronic equipment and storage medium
CN113238691B (en) Application icon management method and device and electronic equipment
CN114283476A (en) Unlocking control method and device, electronic equipment and readable storage medium
CN112163209B (en) Application management method and device and electronic equipment
CN111859356B (en) Application program login method and device
CN114020391A (en) Information display method and device, electronic equipment and readable storage medium
CN113300944A (en) Friend adding method and device and electronic equipment
CN112764700A (en) Image display processing method, device, electronic equipment and storage medium

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