CN111935349A - Terminal-based information display method and device, terminal and storage medium - Google Patents
Terminal-based information display method and device, terminal and storage medium Download PDFInfo
- Publication number
- CN111935349A CN111935349A CN202010789262.6A CN202010789262A CN111935349A CN 111935349 A CN111935349 A CN 111935349A CN 202010789262 A CN202010789262 A CN 202010789262A CN 111935349 A CN111935349 A CN 111935349A
- Authority
- CN
- China
- Prior art keywords
- information
- interface
- target
- terminal
- displayed
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/66—Substation equipment, e.g. for use by subscribers with means for preventing unauthorised or fraudulent calling
- H04M1/667—Preventing unauthorised calls from a telephone set
- H04M1/67—Preventing unauthorised calls from a telephone set by electronic means
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/172—Classification, e.g. identification
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/52—Details of telephonic subscriber devices including functional features of a camera
Landscapes
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Oral & Maxillofacial Surgery (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Signal Processing (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
The application relates to the technical field of information, and provides a terminal-based information display method, a terminal-based information display device, a terminal and a storage medium. The method comprises the following steps: acquiring target information to be displayed; taking the currently displayed interface as a current display interface; when the current display interface is switched to a target interface, acquiring an image acquired by the shooting assembly; carrying out face region identification on the image to obtain a corresponding face image; when a plurality of faces exist in the face image, encrypting the target information to obtain encrypted information; by displaying the encrypted information on the target interface, the method can prevent the private information to be displayed from being seen by other people except the terminal owner, avoid the condition of information leakage of the private information to be displayed and improve the safety of the private information to be displayed.
Description
Technical Field
The present application relates to the field of information technologies, and in particular, to a method and an apparatus for displaying information based on a terminal, and a storage medium.
Background
With the development of smart phones, the application of mobile phones is becoming more and more popular, and short messages, QQ, WeChat and the like become important means for people to communicate with each other.
When receiving new information, the mobile phone needs to remind the user to check. In the prior art, after receiving new information, a mobile phone displays part or all of the content of the information in a screen locking interface to inform a user to view a short message, and when the user opens the information display interface, all the content of the information is displayed in the information display interface.
However, in the existing information display method, as long as a user who can touch the mobile phone can light the mobile phone screen to view the information content of the information newly received by the mobile phone, all users in front of the mobile phone screen after the mobile phone is unlocked can view the whole content of the information newly received by the mobile phone, and the security of the information received by the mobile phone (especially the more private information received by the mobile phone) is low, so that the situation of revealing the privacy of the user is very easy to occur.
Disclosure of Invention
In view of the above, it is desirable to provide a terminal-based information display method, apparatus, terminal, and storage medium that can improve security of private information without revealing user privacy.
The embodiment of the application provides an information display method based on a terminal, wherein the terminal comprises a shooting component arranged on the screen side of the terminal; the method comprises the following steps:
acquiring target information to be displayed;
taking the currently displayed interface as a current display interface;
when the current display interface is switched to a target interface, acquiring an image acquired by the shooting assembly;
carrying out face region identification on the image to obtain a corresponding face image;
when a plurality of faces exist in the face image, encrypting the target information to obtain encrypted information;
and displaying the encrypted information on the target interface.
In one embodiment, the acquiring target information to be displayed includes:
receiving information to be displayed;
analyzing the information to be displayed to obtain an information sender and information content of the information to be displayed;
and if the information sender is a set private sender and the information content contains preset keywords, determining the information to be displayed as target information to be displayed.
In one embodiment, the method further comprises:
when one face exists in the face image, identifying whether the face is the face of the terminal owner;
if the identification is not passed, encrypting the target information to obtain encrypted information; displaying the encrypted information on the target interface;
and if the identification is passed, displaying the target information on the target interface.
In one embodiment, the target interface is an information notification interface; when the current display interface is switched to a target interface, acquiring the image acquired by the shooting assembly comprises the following steps:
monitoring interface switching operation between display interfaces; the interface switching operation comprises the operation that the terminal is switched from one interface which is currently displayed to another interface for displaying;
when the current display interface is monitored to be switched to the information notification interface, displaying an information notification bar area;
when the triggering operation of a user in the information notification bar area is monitored, starting the shooting component;
and acquiring the image acquired by the shooting assembly.
In one embodiment, the encrypting the target information to obtain the encrypted information includes:
respectively encrypting the information sender and the information content of the target information to obtain sender encryption information and content encryption information;
the displaying the encrypted information on the target interface comprises:
and displaying sender encryption information and content encryption information of the target information in the information notification bar area.
In one embodiment, the target interface is an information display interface; when the current display interface is switched to a target interface, acquiring the image acquired by the shooting assembly comprises the following steps:
monitoring interface switching operation between display interfaces; the interface switching operation comprises the operation that the terminal is switched from one interface which is currently displayed to another interface for displaying;
when the current display interface is monitored to be switched to the information display interface, displaying an information display area;
an information sender for displaying the target information in the information display area;
when the triggering operation of a user in the information display area is monitored, starting the shooting assembly;
and acquiring the image acquired by the shooting assembly.
In one embodiment, the encrypting the target information to obtain the encrypted information includes:
encrypting the information content of the target information to obtain corresponding content encryption information;
the displaying the encrypted information on the target interface comprises:
and displaying the content encryption information of the target information in the information display area.
The embodiment of the application provides an information display device based on a terminal, wherein the terminal comprises a shooting component arranged on the screen side of the terminal; the device comprises:
the information acquisition module is used for acquiring target information to be displayed;
the interface determining module is used for taking the currently displayed interface as the currently displayed interface;
the image acquisition module is used for acquiring the image acquired by the shooting assembly when the current display interface is switched to a target interface;
the face recognition module is used for carrying out face region recognition on the image to obtain a corresponding face image;
the information encryption module is used for encrypting the target information to obtain encrypted information when a plurality of faces exist in the face image;
and the information display module is used for displaying the encrypted information on the target interface.
The embodiment of the application provides a terminal, which comprises a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to realize the steps of the information display method provided by any embodiment of the application.
The embodiment of the application provides a computer readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to realize the steps of the information display method provided by any embodiment of the application.
According to the terminal-based information display method, the terminal-based information display device, the terminal and the computer-readable storage medium, target information to be displayed is acquired, when a currently displayed interface is switched to a target interface, an image acquired by a shooting assembly arranged on the screen side of the terminal is acquired, and a face in the image is identified. When the image is identified to contain a plurality of faces, target information to be displayed is encrypted and displayed on a target interface, so that the encrypted display of the target information of a plurality of faces in front of a terminal screen is realized. Therefore, the private information is prevented from being seen by other people except the terminal owner, information leakage of the target information is avoided, and the safety of the target information is improved.
Drawings
FIG. 1 is a schematic flow chart diagram illustrating a method for displaying information based on a terminal in one embodiment;
FIG. 2 is a diagram illustrating a screen lock interface for displaying target information in an encrypted manner, according to an embodiment;
FIG. 3 is a schematic diagram of a notification bar interface for displaying target information in an encrypted manner, according to an embodiment;
FIG. 4 is a diagram of an information display interface for displaying target information in an encrypted form according to an embodiment;
FIG. 5 is a flow chart illustrating a method for displaying information based on a terminal according to another embodiment;
FIG. 6 is a flow chart illustrating a short message processing procedure according to another embodiment;
FIG. 7 is a schematic diagram of a face image with face feature information recorded therein according to another embodiment;
FIG. 8 is a diagram illustrating a lock screen interface for displaying target information in a normal manner according to another embodiment;
FIG. 9 is a schematic diagram of a notification bar interface for displaying target information normally in another embodiment;
FIG. 10 is a diagram showing an information display interface in the case of normally displaying the target information in another embodiment;
FIG. 11 is a block diagram of a terminal-based information display apparatus according to an embodiment;
fig. 12 is an internal structural view of a terminal in one embodiment.
Detailed Description
The purpose, technical solutions and advantages of the present application will become more apparent from the following detailed description of the present application with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In an embodiment, as shown in fig. 1, a terminal-based information display method is provided, and this embodiment is illustrated by applying the method to a terminal, it is to be understood that the method may also be applied to a server, and may also be applied to a system including a terminal and a server, and is implemented by interaction between the terminal and the server. In this embodiment, the terminal includes a shooting component disposed on a screen side of the terminal, and the method includes the following steps:
and 102, acquiring target information to be displayed.
The target information can be understood as private information which is newly received by the terminal and needs to be displayed, and the private information can be relatively private information which is not expected to be seen by other people.
Specifically, the terminal receives target information to be displayed; or, when the current condition meets the preset display condition, for example, when the current time is within the time period of displayable information, the terminal acquires the target information in the received information to be displayed.
And step 104, taking the currently displayed interface as the currently displayed interface.
Specifically, the interface currently displayed in the terminal screen is used as the current display interface.
And 106, when the current display interface is switched to the target interface, acquiring the image acquired by the shooting assembly.
The target interface is an interface capable of displaying target information, such as an information notification interface or an information display interface.
Specifically, the terminal determines whether the current display interface of the terminal is switched to a target interface from other interfaces based on an interface switching instruction generated by user triggering, an interface switching operation executed by the terminal or periodically detecting the current display interface of the terminal, and controls a shooting assembly arranged on the side of a terminal screen to collect an image of a scene in front of the terminal screen and acquire the image when detecting that the current display interface is switched to the target interface.
It should be noted that, this embodiment does not limit the installation position of the shooting component, the shooting component may be installed on the screen side of the terminal, such as the front camera of the terminal, or may be installed on a side away from the terminal screen, such as the rear camera of the terminal, only the image of the scenery located in front of the terminal screen needs to be collected, when the shooting component is the rear camera of the terminal, the camera may be a camera with an adjustable shooting direction, and thus, when the current display interface is switched to the target interface, the terminal may adjust the shooting direction of the rear camera thereof, so that the terminal can collect the image of the scenery located in front of the terminal screen.
In one embodiment, the target interface is an information notification interface; when the current display interface is switched to the target interface, acquiring the image acquired by the shooting assembly comprises the following steps: monitoring interface switching operation between display interfaces; the interface switching operation comprises the operation that the terminal is switched from one currently displayed interface to another interface to display; when the current display interface is monitored to be switched to the information notification interface, displaying an information notification bar area; when the triggering operation of a user in the information notification bar area is monitored, starting a shooting component; and acquiring an image collected by the shooting assembly.
The interface switching operation can be triggered by a user or automatically executed by the terminal when the current condition meets the switching condition of the interface. The information notification interface may be a lock screen interface or a notification bar interface. The screen locking interface is a display interface when the terminal screen is awakened but in a screen locking state, and the switching mode of the screen locking interface can be flexibly set, for example, the terminal can awaken the screen by a user in a screen extinguishing state or automatically awaken the screen by the terminal, or switch the current display interface to the screen locking interface by the user in a screen locking state or automatically lock the screen by the terminal in a screen unlocking state; the notification bar interface is a display interface of the terminal notification bar, such as a pull-down interface of the terminal, and a user can switch the display interface of the terminal to the notification bar interface in a pull-down manner, or the terminal can automatically switch to the notification bar interface when receiving new information.
Specifically, the terminal monitors the interface switching operation of switching the currently displayed interface into another interface for display; when the interface switching operation is monitored, executing the interface switching operation, and judging whether the current display interface is an information notification interface after switching; if the current display interface is the information notification interface, displaying an information notification area in the current display interface, and monitoring whether a user triggers an operation of displaying target information in the information notification bar area, such as a click operation or a sliding operation; and then, when the triggering operation of the user in the information notification bar area is monitored, starting the shooting component, controlling the shooting component to acquire the image of the scene in front of the screen side of the terminal and acquiring the image acquired by the shooting component.
It is understood that, after the information notification area is displayed, the terminal may further display a new information notification that does not relate to the information content of the target information or the content related to the information sender in the information notification area to prompt the user to receive the new information.
In another embodiment, when the target interface is the information display interface and the current display interface is switched to the target interface, acquiring the image acquired by the shooting component includes: monitoring interface switching operation between display interfaces; the interface switching operation comprises the operation that the terminal is switched from one currently displayed interface to another interface to display; when the current display interface is monitored to be switched to the information display interface, displaying an information display area; an information sender for displaying the target information in the information display area; when the triggering operation of a user in the information display area is monitored, starting a shooting assembly; and acquiring an image collected by the shooting assembly.
The information display interface is an interface used by the terminal to display the received information to be displayed (such as target information).
Specifically, the terminal monitors the interface switching operation of switching the currently displayed interface into another interface for display; when the interface switching operation is monitored, executing the interface switching operation, and judging whether the current display interface is an information display interface after switching; if the current display interface is the information display interface, displaying an information display area in the current display interface, displaying the sending of the target information in the information display area, and monitoring whether a user triggers the operation of displaying the target information in the information display area, such as clicking operation or sliding operation; and then, when the triggering operation of the user in the information display area is monitored, starting the shooting assembly, controlling the shooting assembly to acquire the image of the scene in front of the screen side of the terminal and acquiring the image acquired by the shooting assembly.
And 108, carrying out face area identification on the image to obtain a corresponding face image.
The face region can be understood as a region corresponding to an image of a human face in an image acquired by the shooting component. The face image can be an image of a face which can be recognized by the terminal in the acquired image; moreover, when people around the terminal are far away from the terminal, the content of the target information displayed on the terminal target interface cannot be clearly seen, so the face image can also be an image of a face which can be recognized by the terminal in the acquired image and has a distance from the terminal smaller than a preset distance threshold. The face image can be a complete or incomplete face image; the preset distance threshold may be determined according to the font size of the target information when displayed in the target interface, for example, when the display font size of the target information is small (e.g., size six), the preset distance threshold may be set to a small value (e.g., 1 m); when the display font size of the target information is large (e.g., four), the preset distance threshold may be set to a large value (e.g., 3 m).
Taking the face image as an image of a face which can be recognized by the terminal and has a distance from the terminal smaller than a preset distance threshold as an example, the step may specifically be: the terminal adopts a face recognition technology to recognize a face area of an image, in which a face is displayed, in the image collected by the shooting component, determines the distance between the corresponding face and the terminal according to depth information of pixels corresponding to the image of the face in the face area, and acquires a face image formed by the face, in which the distance between the face and the terminal displayed in the face area is smaller than a preset distance threshold value.
It should be noted that the number of times of face region recognition performed by the terminal may be flexibly set, for example, after the current display interface is switched to the target interface, the terminal may periodically acquire an image acquired by the shooting component and perform face region recognition on the acquired image until the display interface of the terminal is switched to a non-target interface or only one face exists within the shooting range of the camera and the face is the face of the terminal owner; the operation of acquiring the image acquired by the photographing component and performing face region recognition thereon may be performed only once.
And step 110, when a plurality of faces exist in the face image, encrypting the target information to obtain encrypted information.
Specifically, when a plurality of human faces exist in the face image, a preset encryption mode is adopted to encrypt an encryption object set in the target information, so as to obtain encrypted information.
The encryption object and the encryption mode of the target information can be set according to requirements. For example, the sender of the target information and the information content may be encrypted at the same time; only the information content of the target information or only part of private characters in the information content of the target information may be encrypted. For another example, when encrypting the encrypted object, a preset encryption algorithm may be used to encrypt the encrypted object into a statement that does not have an actual meaning; each character in the encrypted object can be replaced by a preset character (such as the character "X"), or the whole encrypted object can be replaced by a set word (such as the word "private short message" or "private information").
In a preferred embodiment, when the target interface is an information notification interface, encrypting the target information to obtain encrypted information includes: and respectively encrypting the information sender and the information content of the target information to obtain sender encryption information and content encryption information. When the target interface is an information display interface, encrypting the target information to obtain encrypted information comprises: and encrypting the information content of the target information to obtain corresponding content encryption information.
In the above embodiment, as shown in fig. 2 to 4, when the terminal displays the information notification interface, the terminal screen may not be in an unlocked state, that is, the terminal may not have authenticated the user currently using the terminal, and when the information display interface is displayed, the terminal screen is necessarily in an unlocked state, and before that, the terminal has authenticated the user currently using the terminal once when unlocking the screen, so that when the current display interface is the information notification interface, both the information sender and the information content of the target information may be encrypted, so as to further improve the security of the target information; when the current display interface is the information display interface, only the information content of the target information can be encrypted, so that the user can check the information sender of the target information, and the user can conveniently determine whether to find an unmanned position to check the information content of the target information.
And step 112, displaying the encrypted information on the target interface.
The display position of the encrypted information on the target interface can be flexibly set, such as the target information can be displayed at the upper part, the lower part or the middle part of the target interface, and the like. In view of convenience of the user in viewing the encrypted information, it may be preferable to display the target information in an information notification bar area of the information notification interface or display the target information in an information display area of the information display interface, such as when the target interface is the information notification interface, sender encrypted information and content encrypted information of the target information in the information notification bar area; and when the target interface is an information display interface, displaying an information sender and content encryption information of the target information in the information display area.
Specifically, when a plurality of faces exist in the face image, it means that the content displayed in the target interface has a risk of being seen by other people except the terminal owner, and therefore, when a plurality of faces to be recognized exist in the shooting range of the camera, the encrypted information of the target information can be displayed on the target display interface, so that on the premise of informing the user terminal of receiving new information, the target information received by the terminal is prevented from being seen by other people, and the target information is prevented from being leaked.
For example, in an application scenario, a certain user and a friend are watching a video through a mobile phone of the user, at this time, new private information received by the user is automatically popped up on the notification bar interface, if a conventional information display method is adopted, the terminal will normally display part or all of the content of the received private information in the notification bar interface, and the displayed information content will be seen by the friend watching the video together with the user besides being seen by the user, so that embarrassment may be brought to the user, and even an immeasurable loss may be brought to the user due to leakage of the information content of the private information (for example, when the information content includes a business secret). After the terminal-based information display method provided by this embodiment is adopted, the private information received by the terminal is displayed in an encrypted manner, that is, the encrypted private information (such as sender encrypted information and content encrypted information) is displayed in the notification bar interface, at this time, even if the notification bar interface is seen by a friend, the sender and the information content of the private information cannot be known, so that the situation that the private information is leaked is avoided, and the information security of the private information is ensured.
It can be understood that, after the terminal encrypts the target information in the display terminal in the target interface, if the operation of displaying the original content of the target information before encryption in the target interface is detected, if the user is detected to trigger the click or sliding operation of viewing the information content of the target information, the user can be reminded that the risk of information leakage exists when viewing the target information at the moment, and after the user clicks the confirmation viewing control, whether the faces of the terminal owner exist in the faces is further identified, that is, whether the preset faces exist in the faces is identified, if so, the information sender and the information content of the target information are displayed in the target interface, so that the terminal owner can view the target information in an emergency; if not, continuing to display the encrypted information of the target information in the target interface.
According to the terminal-based information display method, target information to be displayed is obtained, when a currently displayed interface is switched to be the target interface, an image collected by a shooting assembly arranged on the screen side of the terminal is obtained, and a human face in the image is recognized. When the image is identified to contain a plurality of faces, target information to be displayed is encrypted and displayed on a target interface, so that the encrypted display of the target information of a plurality of faces in front of a terminal screen is realized. Therefore, the private information is prevented from being seen by other people except the terminal owner, information leakage of the target information is avoided, and the safety of the target information is improved.
In another embodiment, as shown in FIG. 5, a method of displaying information is provided. The present embodiment is optimized based on the above embodiments. In this embodiment, the method includes the steps of:
The information type of the information to be displayed can be short message, multimedia message, WeChat information, QQ information or other types of chat information and the like.
And 204, analyzing the information to be displayed to obtain an information sender and information content of the information to be displayed.
In step 206, if the sender is a set private sender and the content of the message includes a preset keyword, the message to be displayed is determined as the target message to be displayed.
The private sender and the preset keywords may be set by the terminal owner and/or the terminal developer in advance according to needs, for example, the private sender may be a bank, an insurance company and/or each software developer, and the preset keywords may include, but are not limited to, payroll, income, balance, a verification code, and the like, so as to ensure financial privacy and security of the user.
Specifically, a terminal receives information to be displayed sent by a base station or other equipment; analyzing the information to be displayed to obtain an information sender and information content of the information to be displayed, judging whether the information sender of the information to be displayed is a private sender and whether the information content of the information to be displayed contains preset keywords or not aiming at each information to be displayed, and determining the information to be displayed as target information to be displayed when the information sender is judged to be the private sender and the information content contains the preset keywords.
Correspondingly, if the information sender of the information to be displayed is not a set private sender and/or the information content of the information to be displayed does not contain preset keywords, it can be determined that the information to be displayed is not the target information. Therefore, when monitoring that the current display interface is switched to the target interface, the terminal displays the information to be displayed and the content to be displayed corresponding to the target interface in the target interface, for example, when the target interface is an information notification interface, a sender and an information abstract (such as partial or all information content) of the information to be displayed are displayed in the target interface; and when the target interface is an information display interface, displaying a sender of the information to be displayed and complete information content in the target interface.
In an embodiment, taking the terminal as a mobile phone and taking the information to be displayed as a short message as an example, the mobile phone may receive and analyze a short message sent by the base station and then display the analyzed short message, specifically as shown in fig. 6, the mobile phone may receive a short message in a digital signal form sent by the base station through a Modem (Modem) and convert the short message into a short message in an analog signal form, analyze the converted short message through a telephone communication program (Telephony) in the mobile phone, display a short message Notification through a Notification program (Notification) in the mobile phone and read the information through a short message application program (APP) in the terminal, so that the mobile phone may determine a sender and information content of the short message in a process of analyzing the short message, and further determine whether the short message is a private short message, that is, i.e., determine whether the short message is a target message.
It can be understood that the terminal may also determine whether the information to be displayed is the target information according to at least one of the receiving time of the information to be displayed, the sender, the information content, and the information type, for example, determine whether the receiving time of the information to be displayed is within a preset time period, whether the sender is a private sender, whether the information content includes a preset keyword and/or whether the information type is a preset information type, and the like, so as to determine whether the information to be displayed is the target information.
And step 208, taking the currently displayed interface as the currently displayed interface.
And step 210, when the current display interface is switched to the target interface, acquiring an image acquired by the shooting assembly.
And step 212, carrying out face region identification on the image to obtain a corresponding face image.
Exemplarily, as shown in fig. 7 (the dots in the figure are feature points in a face image, and the white font is feature information at the feature points of the face), the terminal uses a shooting component on the terminal screen side in advance to record face feature information of a terminal owner, such as feature information of a nose, eyes, a mouth corner and other parts of the terminal owner, and stores the face feature information in a set storage location or writes in a system file; when the face image is determined to contain only one face, the terminal acquires face feature information of the face, compares the face feature information with face feature information of a terminal owner stored in the terminal, calculates similarity of the face feature information and the face feature information, and determines that a current user corresponding to the face image in front of a terminal screen at the moment is the terminal owner and the face identification is passed if the similarity is greater than or equal to a preset similarity threshold (such as 95%); otherwise, determining that the current user is not the terminal owner and the face recognition is not passed.
At step 218, the target information is displayed on the target interface.
Specifically, when the face recognition is passed, it is determined that the current user is the terminal owner, and the content to be displayed corresponding to the target display interface in the target information is displayed in the target interface, for example, when the target interface is a screen locking interface or a notification bar interface, an information sender and an information abstract of the target information are displayed in the target interface, as shown in fig. 8 and 9; when the target interface is an information display interface, an information sender and information content of the target information are displayed in the target interface, as shown in fig. 10.
Specifically, when only one face exists in the face image and the face recognition is not passed, or when the face does not exist in the face image or a plurality of faces exist in the face image, the target information in the display terminal is encrypted in the target interface, for example, an information summary (for a case that the target interface is a lock screen interface or a notification bar interface) or information content (for a case that the target interface is an information display interface) of the target information is encrypted into a preset word, and the preset word is displayed in the target interface, as shown in fig. 2 to 4.
In one embodiment, the terminal may determine whether the terminal is in a screen locking state when the information notification interface detects an operation instruction to enter the information display interface, perform authentication on a current user of the terminal when the terminal is in the screen locking state, switch the current display interface of the terminal to the information display interface when the authentication passes, and continue to display the current information notification interface without performing an operation of switching the display interface of the terminal to the information display interface when the authentication fails; and when the terminal is not in the screen locking state, switching the current display interface of the terminal into an information display interface. Wherein, the operation instruction can be triggered by a user; the method for authenticating the current user of the terminal can be selected according to the needs, for example, the identity of the current user can be authenticated through fingerprint authentication, password authentication, sliding gesture authentication or face authentication and the like.
In an application scenario of the above embodiment, the terminal is switched from the screen locking interface to the information display interface, in the application scenario, when the user triggers and generates an information display instruction on the screen locking interface, for example, when the user double-clicks target information in the screen locking interface for encrypted display or normal display, the terminal determines that the terminal is currently in the screen locking state, displays an authentication window for the user to input authentication information (such as fingerprint information, password information, sliding gesture information, or face information), acquires the authentication information input by the current user on the authentication window, performs authentication on the current user according to the authentication information, and if the authentication fails, continues to display the screen locking interface; if the identity authentication is passed, switching the display interface of the terminal into an information display interface, starting a front camera of the terminal, acquiring faces to be recognized within a shooting range of the front camera through the front camera, and if the number of the faces to be recognized is multiple, encrypting and displaying the information content of the target information on the information display interface; if the number of the faces to be recognized is one, the identity of the current user is verified again according to the face feature information of the faces to be recognized, if the verification is passed, the information content of the target information is normally displayed in the information display interface, otherwise, the information content of the target information is displayed in the information display interface in an encrypted manner, and therefore, under the condition that the user does not wake up the screen, if the user wants to check the complete information content of the target information, at least two times of identity verification are needed, and the safety of the target information can be further improved.
The information display method based on the terminal determines whether the information to be displayed is the target information based on the information sender and the information content of the information to be displayed; and only when the image collected by the shooting component contains a face which is the face of the terminal owner, the target information is normally displayed in the target interface, and under other conditions, the target information is displayed in the target interface in an encrypted manner, so that the safety of the target information can be further improved, and the risk of leakage of the target information is reduced.
In one embodiment, as shown in fig. 11, there is provided a terminal-based information display apparatus including: an information acquisition module 301, an interface determination module 302, an image acquisition module 303, a face recognition module 304, an information encryption module 305, and an information display module 306, wherein:
an information obtaining module 301, configured to obtain target information to be displayed;
an interface determining module 302, configured to use a currently displayed interface as a currently displayed interface;
the image acquisition module 303 is configured to acquire an image acquired by the shooting component when the current display interface is switched to the target interface;
a face recognition module 304, configured to perform face region recognition on the image to obtain a corresponding face image;
an information encryption module 305, configured to encrypt target information to obtain encrypted information when multiple faces exist in the face image;
and an information display module 306, configured to display the encrypted information on the target interface.
In one embodiment, the information obtaining module 301 may include: the information receiving unit is used for receiving information to be displayed; the information analysis unit is used for analyzing the information to be displayed to obtain an information sender and information content of the information to be displayed; and the information determining unit is used for determining the information to be displayed as the target information to be displayed when the information sender is a set private sender and the information content contains preset keywords.
In one embodiment, the display device of the information may further include: the face recognition module is used for recognizing whether the face is the face of the terminal owner or not when one face exists in the face image; if the identification is not passed, encrypting the target information to obtain encrypted information; and displaying the encrypted information on the target interface; and if the identification is passed, displaying the target information on the target interface.
In one embodiment, the target interface is an information notification interface; the image acquisition module 303 may be used to: monitoring interface switching operation between display interfaces; the interface switching operation comprises the operation that the terminal is switched from one currently displayed interface to another interface to display; when the current display interface is monitored to be switched to the information notification interface, displaying an information notification bar area; when the triggering operation of a user in the information notification bar area is monitored, starting a shooting component; and acquiring an image collected by the shooting assembly.
In one embodiment, the information encryption module 305 may be configured to: respectively encrypting an information sender and information content of target information to obtain sender encryption information and content encryption information; the information display module 306 may be configured to: sender encryption information and content encryption information of the target information are displayed in the information notification bar area.
In one embodiment, the target interface is an information display interface; the image acquisition module 303 may be used to: monitoring interface switching operation between display interfaces; the interface switching operation comprises the operation that the terminal is switched from one currently displayed interface to another interface to display; when the current display interface is monitored to be switched to the information display interface, displaying an information display area; an information sender for displaying the target information in the information display area; when the triggering operation of a user in the information display area is monitored, starting a shooting assembly; and acquiring an image collected by the shooting assembly.
In one embodiment, the information encryption module 305 may be configured to: encrypting the information content of the target information to obtain corresponding content encryption information; the information display module 306 may be configured to: the content encryption information of the target information is displayed in the information display area.
In the information display device, target information to be displayed is acquired through the information acquisition module, a currently displayed interface is determined as a currently displayed interface through the interface determination module, an image acquired by the shooting assembly arranged on the screen side of the terminal is acquired when the currently displayed interface is switched to be the target interface through the image acquisition module, and a face in the image is identified through the face identification module. When the image is identified to contain a plurality of human faces through the information encryption module, the target information is encrypted into encrypted information, and the encrypted information is displayed on a target interface through the information display module, so that the encrypted display of the target information when a plurality of human faces exist in front of a terminal screen is realized. Therefore, the private information is prevented from being seen by other people except the terminal owner, information leakage of the target information is avoided, and the safety of the target information is improved.
For specific limitations of the information display device, reference may be made to the above limitations of the information display method, which will not be described again. The respective modules in the display device of the above information may be wholly or partially implemented by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the terminal, and can also be stored in a memory in the terminal in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a terminal is provided, an internal structure of which may be as shown in fig. 12. The terminal comprises a processor, a memory, a communication interface, a display screen, an input device and a shooting assembly which are connected through a system bus. Wherein the processor of the terminal is configured to provide computing and control capabilities. The memory of the terminal comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the terminal is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, Near Field Communication (NFC) or other technologies. The computer program is executed by a processor to implement a method of displaying information. The display screen of the terminal can be a liquid crystal display screen or an electronic ink display screen. The input device of the terminal can be a touch layer covered on a display screen, a key, a track ball or a touch pad arranged on a terminal shell, an external keyboard, a touch pad or a mouse and the like. The shooting component of the terminal can be a camera.
Those skilled in the art will appreciate that the configuration shown in fig. 12 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation on the terminal to which the present application is applied, and that a particular terminal may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the display device of the information provided in the present application may be implemented in the form of a computer program, which is executable on a terminal as shown in fig. 12. The memory of the terminal may store therein various program modules constituting the display means of the information, such as a first face recognition module and a first information display module shown in fig. 11. The computer program constituted by the respective program modules causes the processor to execute the steps in the terminal-based information display method of the respective embodiments of the present application described in the present specification.
For example, the terminal shown in fig. 12 may acquire target information to be displayed by an information acquisition module in the information display apparatus shown in fig. 11. The terminal can take the currently displayed interface as the current display interface through the interface determining module. The terminal can acquire the image acquired by the shooting component when the current display interface is switched to the target interface through the image acquisition module. The terminal can perform face region identification on the image through the face identification module to obtain a corresponding face image. The terminal can encrypt the target information to obtain encrypted information when a plurality of faces exist in the face image through the information encryption module. The terminal can display the encrypted information on the target interface through the information display module.
In one embodiment, a terminal is provided, which includes a memory and a processor, the memory storing a computer program, and the processor implementing the steps of the above method embodiments when executing the computer program.
The terminal acquires target information to be displayed, acquires an image acquired by a shooting assembly arranged on the screen side of the terminal when a currently displayed interface is switched to the target interface, and identifies a human face in the image. When the image is identified to contain a plurality of faces, target information to be displayed is encrypted and displayed on a target interface, so that the encrypted display of the target information of a plurality of faces in front of a terminal screen is realized. Therefore, the private information is prevented from being seen by other people except the terminal owner, information leakage of the target information is avoided, and the safety of the target information is improved.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
When the computer program stored in the computer readable storage medium is executed by the processor, when the display interface of the terminal is monitored to be switched to a screen locking interface, a notification bar interface or an information display interface, the face to be recognized existing in the shooting range of the front camera of the terminal is detected, and when a plurality of faces to be recognized exist in the shooting range of the front camera, the private information to be displayed in the terminal is displayed in the target display interface in an encrypted manner. This embodiment is through adopting above-mentioned technical scheme, when there are a plurality of personnel before the terminal screen, the secret information of waiting to show that encryption display terminal received in the target interface can prevent to wait to show that the secret information is seen by other personnel except that the terminal owner, avoids waiting to show that the secret information condition of information leakage appears, improves the security of waiting to show the secret information.
It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by hardware related to instructions of a computer program, which may be stored in a non-volatile computer readable storage medium, and when executed, may include the processes of the above embodiments of the methods. Any reference to memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM is available in many forms, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), and the like.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent should be subject to the appended claims.
Claims (10)
1. A terminal-based information display method, the terminal includes shooting the assembly that sets up in the terminal screen side; the method comprises the following steps:
acquiring target information to be displayed;
taking the currently displayed interface as a current display interface;
when the current display interface is switched to a target interface, acquiring an image acquired by the shooting assembly;
carrying out face region identification on the image to obtain a corresponding face image;
when a plurality of faces exist in the face image, encrypting the target information to obtain encrypted information;
and displaying the encrypted information on the target interface.
2. The method of claim 1, wherein the obtaining target information to be displayed comprises:
receiving information to be displayed;
analyzing the information to be displayed to obtain an information sender and information content of the information to be displayed;
and if the information sender is a set private sender and the information content contains preset keywords, determining the information to be displayed as target information to be displayed.
3. The method of claim 1, further comprising:
when one face exists in the face image, identifying whether the face is the face of the terminal owner;
if the identification is not passed, encrypting the target information to obtain encrypted information; displaying the encrypted information on the target interface;
and if the identification is passed, displaying the target information on the target interface.
4. The method of claim 2, wherein the target interface is an information notification interface; when the current display interface is switched to a target interface, acquiring the image acquired by the shooting assembly comprises the following steps:
monitoring interface switching operation between display interfaces; the interface switching operation comprises the operation that the terminal is switched from one interface which is currently displayed to another interface for displaying;
when the current display interface is monitored to be switched to the information notification interface, displaying an information notification bar area;
when the triggering operation of a user in the information notification bar area is monitored, starting the shooting component;
and acquiring the image acquired by the shooting assembly.
5. The method of claim 4, wherein the encrypting the target information to obtain encrypted information comprises:
respectively encrypting the information sender and the information content of the target information to obtain sender encryption information and content encryption information;
the displaying the encrypted information on the target interface comprises:
and displaying sender encryption information and content encryption information of the target information in the information notification bar area.
6. The method of claim 2, wherein the target interface is an information display interface; when the current display interface is switched to a target interface, acquiring the image acquired by the shooting assembly comprises the following steps:
monitoring interface switching operation between display interfaces; the interface switching operation comprises the operation that the terminal is switched from one interface which is currently displayed to another interface for displaying;
when the current display interface is monitored to be switched to the information display interface, displaying an information display area;
an information sender for displaying the target information in the information display area;
when the triggering operation of a user in the information display area is monitored, starting the shooting assembly;
and acquiring the image acquired by the shooting assembly.
7. The method of claim 6, wherein the encrypting the target information to obtain encrypted information comprises:
encrypting the information content of the target information to obtain corresponding content encryption information;
the displaying the encrypted information on the target interface comprises:
and displaying the content encryption information of the target information in the information display area.
8. The terminal-based information display device is characterized in that the terminal comprises a shooting component arranged on the screen side of the terminal; the device comprises:
the information acquisition module is used for acquiring target information to be displayed;
the interface determining module is used for taking the currently displayed interface as the currently displayed interface;
the image acquisition module is used for acquiring the image acquired by the shooting assembly when the current display interface is switched to a target interface;
the face recognition module is used for carrying out face region recognition on the image to obtain a corresponding face image;
the information encryption module is used for encrypting the target information to obtain encrypted information when a plurality of faces exist in the face image;
and the information display module is used for displaying the encrypted information on the target interface.
9. A terminal comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method according to any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010789262.6A CN111935349B (en) | 2020-08-07 | 2020-08-07 | Terminal-based information display method and device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010789262.6A CN111935349B (en) | 2020-08-07 | 2020-08-07 | Terminal-based information display method and device, terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111935349A true CN111935349A (en) | 2020-11-13 |
CN111935349B CN111935349B (en) | 2022-04-01 |
Family
ID=73308024
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010789262.6A Active CN111935349B (en) | 2020-08-07 | 2020-08-07 | Terminal-based information display method and device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111935349B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112396008A (en) * | 2020-11-24 | 2021-02-23 | 国家电网有限公司客户服务中心 | Sensitive information desensitization method and device, storage medium and electronic equipment |
CN113791495A (en) * | 2021-08-27 | 2021-12-14 | 优奈柯恩(北京)科技有限公司 | Method, device, equipment and computer readable medium for displaying information |
CN114173332A (en) * | 2022-02-09 | 2022-03-11 | 国网浙江省电力有限公司信息通信分公司 | Data encryption transmission method and device suitable for 5G intelligent power grid inspection robot |
CN115240281A (en) * | 2022-09-23 | 2022-10-25 | 平安银行股份有限公司 | Private information display method and device, storage medium and mobile terminal |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104202464A (en) * | 2014-08-28 | 2014-12-10 | 东南大学 | Capacitive sensing based mobile phone unlocking system |
WO2015188516A1 (en) * | 2014-06-13 | 2015-12-17 | 中兴通讯股份有限公司 | Terminal application self-adaptive display method and device |
CN105933503A (en) * | 2016-03-29 | 2016-09-07 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN106603817A (en) * | 2016-11-14 | 2017-04-26 | 乐视控股(北京)有限公司 | Incoming call processing method and device and electronic equipment |
CN107657159A (en) * | 2017-08-31 | 2018-02-02 | 珠海市魅族科技有限公司 | A kind of method for secret protection and device, terminal and readable storage medium storing program for executing |
CN109858274A (en) * | 2018-12-04 | 2019-06-07 | 上海碳蓝网络科技有限公司 | The method and apparatus that message is shown |
-
2020
- 2020-08-07 CN CN202010789262.6A patent/CN111935349B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015188516A1 (en) * | 2014-06-13 | 2015-12-17 | 中兴通讯股份有限公司 | Terminal application self-adaptive display method and device |
CN104202464A (en) * | 2014-08-28 | 2014-12-10 | 东南大学 | Capacitive sensing based mobile phone unlocking system |
CN105933503A (en) * | 2016-03-29 | 2016-09-07 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN106603817A (en) * | 2016-11-14 | 2017-04-26 | 乐视控股(北京)有限公司 | Incoming call processing method and device and electronic equipment |
CN107657159A (en) * | 2017-08-31 | 2018-02-02 | 珠海市魅族科技有限公司 | A kind of method for secret protection and device, terminal and readable storage medium storing program for executing |
CN109858274A (en) * | 2018-12-04 | 2019-06-07 | 上海碳蓝网络科技有限公司 | The method and apparatus that message is shown |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112396008A (en) * | 2020-11-24 | 2021-02-23 | 国家电网有限公司客户服务中心 | Sensitive information desensitization method and device, storage medium and electronic equipment |
CN113791495A (en) * | 2021-08-27 | 2021-12-14 | 优奈柯恩(北京)科技有限公司 | Method, device, equipment and computer readable medium for displaying information |
CN114173332A (en) * | 2022-02-09 | 2022-03-11 | 国网浙江省电力有限公司信息通信分公司 | Data encryption transmission method and device suitable for 5G intelligent power grid inspection robot |
CN114173332B (en) * | 2022-02-09 | 2022-04-19 | 国网浙江省电力有限公司信息通信分公司 | Data encryption transmission method and device suitable for 5G intelligent power grid inspection robot |
CN115240281A (en) * | 2022-09-23 | 2022-10-25 | 平安银行股份有限公司 | Private information display method and device, storage medium and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN111935349B (en) | 2022-04-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111935349B (en) | Terminal-based information display method and device, terminal and storage medium | |
US10375116B2 (en) | System and method to provide server control for access to mobile client data | |
EP2573986B1 (en) | Methods and systems for increasing the security of electronic messages | |
US9230127B2 (en) | Methods and systems for increasing the security of electronic messages | |
US20200184088A1 (en) | Computer-implemented method and computer program product for the access control of a terminal | |
CN110651270B (en) | Data access method and device | |
US10607035B2 (en) | Method of displaying content on a screen of an electronic processing device | |
CN108346191A (en) | Work attendance method, device, computer equipment and storage medium | |
US20220382884A1 (en) | Method and device for parsing shared password | |
CN105281907B (en) | Encrypted data processing method and device | |
CN110505201A (en) | Conferencing information processing method, device, computer equipment and storage medium | |
CN112887922B (en) | Message sending method and electronic equipment | |
CN113282364A (en) | Display method, display device and electronic equipment | |
CN111177770A (en) | Protection method of sensitive information, mobile equipment and storage device | |
US20220414193A1 (en) | Systems and methods for secure adaptive illustrations | |
CN106161365B (en) | Data processing method and device and terminal | |
CN111125660B (en) | Privacy protection method, mobile terminal and device with storage function | |
CA2804465C (en) | Methods and systems for increasing the security of electronic messages | |
EP3676738A1 (en) | A method of displaying content on a screen of an electronic processing device | |
CN118200886A (en) | User personal safety monitoring method | |
CN115544589A (en) | I/O port prevention and control method and electronic equipment | |
CN112632577A (en) | Screen capturing method, device, equipment and storage medium | |
CN116341030A (en) | Image processing method, device, electronic equipment and computer readable medium | |
CN112560122A (en) | Sensitive page protection method and system, intelligent terminal and storage medium | |
CN114626054A (en) | Encryption and decryption method and device, electronic equipment and readable 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |