CN111104019B - Display control method and electronic equipment - Google Patents
Display control method and electronic equipment Download PDFInfo
- Publication number
- CN111104019B CN111104019B CN201911268897.5A CN201911268897A CN111104019B CN 111104019 B CN111104019 B CN 111104019B CN 201911268897 A CN201911268897 A CN 201911268897A CN 111104019 B CN111104019 B CN 111104019B
- Authority
- CN
- China
- Prior art keywords
- information
- target
- face
- time period
- target information
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
- G06F16/9035—Filtering based on additional data, e.g. user or group profiles
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/147—Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/542—Event management; Broadcasting; Multicasting; Notifications
-
- 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/161—Detection; Localisation; Normalisation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Software Systems (AREA)
- Databases & Information Systems (AREA)
- Oral & Maxillofacial Surgery (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention provides a display control method and electronic equipment, wherein the method comprises the following steps: acquiring a first image acquired by a camera, wherein the first image comprises a first face; displaying target information for a target time period associated with the first face; wherein the target information comprises at least one of: icons, files and messages can realize the starting mode of using face recognition as a concentration mode, and the safety and the convenience of checking the target messages are effectively improved; according to the first face, the system automatically scans target information associated with the first face in the electronic equipment, and helps a user to carry out information carding in advance, so that the information processing efficiency of the user is improved; and target information is determined according to the target time period, and the system can perform intelligent switching according to preset time, so that the user can focus on key information corresponding to the first face conveniently.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a display control method and an electronic device.
Background
The information push technology is one of the main means for transmitting information to a user by an electronic device application program, the information push density is increased along with the increase of the number of application programs installed by the user, invalid junk information and important information are mixed together, and the user needs to search and screen a large amount of information when viewing related information.
The information searching method is too complicated, influences the efficiency of processing information by a user, and consumes a long time for searching information.
Disclosure of Invention
The embodiment of the invention provides a display control method and electronic equipment, and aims to solve the problems that the existing information searching process is complicated and time-consuming.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention further provides a display control method applied to an electronic device, where the method includes: acquiring a first image acquired by a camera, wherein the first image comprises a first face; displaying target information for a target time period associated with the first face; wherein the target information comprises at least one of: icon, file, message.
In a second aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes: the first acquisition module is used for acquiring a first image acquired by a camera, and the first image comprises a first face; a display module for displaying target information for a target time period associated with the first face; wherein the target information comprises at least one of: icon, file, message.
In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the display control method.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program is executed by a processor to implement the steps of the display control method.
In the embodiment of the invention, a first image acquired by a camera is acquired, wherein the first image comprises a first face; displaying target information for a target time period associated with the first face; wherein the target information comprises at least one of: icons, files and messages can realize the starting mode of using face recognition as a concentration mode, and the safety and the convenience of checking the target messages are effectively improved; according to the first face, the system automatically scans target information associated with the first face in the electronic equipment, and helps a user to carry out information carding in advance, so that the information processing efficiency of the user is improved; and target information is determined according to the target time period, and the system can perform intelligent switching according to preset time, so that the user can focus on key information corresponding to the first face conveniently.
Drawings
FIG. 1 is a flow chart illustrating steps of a display control method according to an embodiment of the present invention;
FIG. 2 is a schematic illustration of an add interface to a first face in accordance with an embodiment of the present invention;
FIG. 3 is a schematic diagram of an add interface to target information according to an embodiment of the invention;
FIG. 4 is a diagram illustrating target information displayed in a lock screen interface according to an embodiment of the present invention;
FIG. 5 is a schematic view of an unlock screen of an embodiment of the present invention;
FIG. 6 is a diagram illustrating a jumping process of sub information according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a sliding interface for each sub-message according to an embodiment of the present invention;
fig. 8 is a diagram of a prompt interface for starting the concentration mode when the application scenario is in the home mode according to the embodiment of the present invention;
FIG. 9 is a diagram of a prompt interface for activating a focus mode when an application scenario is in a working mode according to an embodiment of the present invention;
fig. 10 is a block diagram of an electronic device according to an embodiment of the present invention;
fig. 11 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
In various embodiments of the present invention, it should be understood that the sequence numbers of the following processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Referring to fig. 1, a flowchart illustrating steps of a display control method according to an embodiment of the present invention is shown.
The display method provided by the embodiment of the invention comprises the following steps:
step 101: the method comprises the steps of obtaining a first image collected by a camera, wherein the first image comprises a first face.
The method comprises the steps of obtaining a first image through a Time of flight (TOF) function of a front camera or a rear camera of the electronic equipment, and identifying a first face in the first image.
The first face may be preset by a user.
For the setting of the first face and the setting of the target time period, the user may manually perform the adding setting, as shown in fig. 2, which is an interface schematic diagram for adding the first face, and as shown in fig. 3, which is an interface schematic diagram for adding the target information.
Before step 101, a first face and a target time period need to be determined, and since the first face and the target time period are preset by a user, the following steps may be specifically performed:
receiving a first input of at least one face from a user; determining at least one face as a first face in response to a first input; receiving a second input of the user; in response to the second input, the time period input by the second input is determined as the target time period.
It should be noted that the first input and the second input include: the first input may also be a first operation, and the second input may be a second operation, which may be a touch operation, a long press operation, a single click operation, a double click operation, and the like.
The method comprises the steps of receiving the setting operation of a user on a first face and a target time period, and in the subsequent steps, generating a specific desktop of the first face based on the first face in the target time period, and only displaying target messages related to the first face in the desktop, namely messages displayed in a display interface, wherein the displayed target messages are more targeted.
Step 102: target information for a target time period associated with the first face is displayed.
Wherein the target information comprises at least one of: icon, file, message.
The information is displayed on the screen locking interface, a user can directly reply the information in the screen locking interface without unlocking the electronic equipment, and the electronic equipment is more convenient to use.
The target information includes at least one item of sub information; the display modes of the target information comprise a first display mode, a second display mode and a third display mode; under the condition that the display mode of the target information is a first display mode, at least one item of sub information is displayed in a classified mode according to the type of the information; under the condition that the display mode of the target information is the second display mode, displaying at least one item of sub information according to the time sequence of the information flow; and under the condition that the display mode of the target information is the third display mode, the time interval between the acquisition time of the first type of sub information in the at least one item of sub information and the current time is less than a preset threshold value, and the second type of sub information in the at least one item of sub information is in a hidden state.
When the target information is more, the sub-information of the target information can be classified and displayed according to short messages, files, applications and the like. The display may be performed in accordance with the display mode of the information stream or in time series.
For the first display mode, when the sub-information included in the target information is information including both short message information and file types, the sub-information of the same type is sorted, and each sub-information is displayed according to classification, so that a user can check a plurality of pieces of sub-information directly according to classification, the user does not need to search the required information types from the plurality of pieces of information, and the time for the user to check the information is saved.
And for the second display mode, displaying the pieces of sub information in an information flow mode according to the receiving time sequence of the pieces of sub information, wherein a user can view the pieces of sub information according to the time sequence, display the information with the receiving time before at the front position of the display interface, and display the information with the receiving time after at the rear position of the display interface.
For the third display mode, acquiring time of each piece of sub information, calculating a time interval between each piece of acquiring time and the current time, and determining the sub information meeting the conditions as the first type of sub information under the condition that the time interval is smaller than a preset threshold, for example: and only displaying the related information of the specified user received in the last two hours on the display interface. And when the time interval is larger than the preset threshold, determining respective information of which the time interval is larger than the preset threshold as second-class sub-information, hiding and displaying the second-class sub-information, wherein the hidden display is folding and displaying the information, when a user does not trigger the operation of displaying the second-class sub-information, the second-class sub-information is not displayed on a display interface, and only when the user triggers the operation of viewing the second-class sub-information, the second-class sub-information is displayed on the display interface.
It should be noted that, a person skilled in the art may set the preset threshold according to an actual situation, where the preset threshold may be 0.5h, 1h, 2h, and the like, and the embodiment of the present invention is not limited in this respect.
Through the third display mode, only information with a time interval smaller than a preset threshold is displayed, and a user can view a message received recently.
The target information can be displayed in the screen locking interface, and the target information displayed in the screen locking interface can be directly operated. As shown in fig. 4, the target information is displayed in the lock screen interface. And 1 is target information of the screen locking interface.
The method specifically comprises the following steps: displaying target information of a target time period associated with the first face on a screen locking interface; receiving a third input of the first sub information in the target information by the user; in response to a third input, a target control operation is performed on the first sub-information.
And the third input is the reply operation and the dialing operation of the first information.
For example: the target information of the first face in the target time period is acquired as a short message, a WeChat and the like, and the user directly replies the short message or the WeChat in the screen locking interface without unlocking the screen locking interface. And under the condition that the user does not unlock the screen locking interface, the user does not need to unlock and then enter the interface corresponding to the first sub-information, so that the time of the user for information reply is shortened.
Receiving a fourth input from the user; responding to the four inputs, unlocking a screen, and displaying a target control, wherein the target control indicates the target information; in a case where a fifth input to the target control by the user is received, the target information is displayed in response to the fifth input.
After the user unlocks the screen locking interface, a target control is displayed on the unlocking screen, wherein the target control can be a floating ball, namely the floating ball is a touch control on the unlocking screen, the user can realize some control functions through the floating ball, for example, clicking the floating ball can call out a control interface of a desktop of the electronic device, clicking the floating ball can call out a control interface of volume of the electronic device, and the like, the floating ball can have the functions, and can also receive fifth output of the user on the floating ball, and call out target information related to a first face in a target time period. As shown in fig. 5, a target control is displayed on the unlock screen, and 2 is the target control.
Receiving an unlocking operation of a user on the electronic equipment; responding to the unlocking operation, displaying the target information in the unlocking screen in a list mode, and receiving the touch operation of a user on any sub information in the target information in the displayed list; jumping to a display interface of the sub information; the target message is deleted in the message display list. As shown in fig. 6, which is a schematic diagram of the jumping process of the sub information. And 3 is sub information, and 4 is a display interface corresponding to the sub information.
When the user browses each piece of sub information corresponding to the target information, the user can slide the screen, and as shown in fig. 7, the user can slide the screen to obtain a slide interface diagram of each piece of sub information.
The fifth input may be a click input, a long-press input, or a sliding input according to a preset trajectory to the floating ball, which is not specifically limited in this embodiment of the present invention. The fourth input may be a fingerprint unlock input, a face recognition input, a password input, etc.
The target control is displayed on the unlocking screen, the fifth input can be performed on the target control, and the target information can be called according to the fifth input. In addition to the above, in the unlock screen, a part of the target information may be displayed, and another part of the target information may be acquired through control of the target control.
Target information is called through the target control, the situation that due to the fact that the target information is too much, the content displayed on the unlocking screen is too messy is avoided, the target information is called through the target control, the unlocking interface is clean and tidy, and when the target information is checked by a user, the UI interface of the unlocking interface is more attractive.
Before step 102, obtaining identification information of a first person, wherein the identification information includes: an electronic device number or an international mobile equipment identity; target information associated with the identification information is acquired.
According to the identification information, the target information associated with the first face is determined, and since the user generally performs binding registration through the electronic equipment number or the international mobile equipment identity at present in the process of using each application program, the target information associated with the first face can be determined directly through the telephone number or the international mobile equipment identity.
The target information is acquired through the electronic equipment number or the international mobile equipment identification code, the acquired target information is more comprehensive, only the electronic equipment number or the international mobile equipment identification code needs to be determined, and other identification information does not need to be determined, so that the operating load of the electronic equipment is smaller.
Before step 102, historical operation information in at least one time period is acquired, wherein the historical operation information comprises an object of operation and time of operation, and the object comprises at least one of an application program and a file; for each time period, determining an operating frequency of each object based on the historical operating information; determining a target object with an operating frequency greater than a preset threshold; based on the target object, target information corresponding to each time period is generated.
It should be noted that, a person skilled in the art may set the preset threshold according to actual situations, where the preset threshold may be set to 20 times/day, 30 times/day, or 40 times/day.
The target object is determined based on the operation frequency, the target message is determined based on the target object, the target messages which can be displayed in the screen locking interface are all information which is frequently checked and operated by the user, and the use of the user is facilitated.
And determining the use duration of each application program according to the historical data, determining each target application program with the use duration being greater than the preset use duration, and generating a target interface according to each target application program.
If the target time period is between 13 and 15, and the current time is 16 points, canceling the display of the target information, specifically: acquiring current time; and canceling the display of the target information in the case where the current time belongs to the preset time period.
When the user sets only the target information corresponding to the first face under one target time period, and the current time does not belong to the target time period, the electronic equipment returns to the normal operation mode, the target information does not need to be displayed, and the user can normally use the electronic equipment. Or the user can cancel the display of the current target information manually, when the fact that the user sets a second target time period about second target information corresponding to a second face is detected, the current time is obtained, and if the current time belongs to the second target time period, the second target information corresponding to the second face is switched and displayed.
In order to realize the real-time change of target information according to different human faces, the method specifically comprises the following steps: and under the condition that the second image is acquired by the camera and comprises the second face, updating the target information of the target time period associated with the first face into the target information of the target time period associated with the second face.
Since different time periods can be set to focus on different objects, when the second face is detected to be included in the second image, the target information of the target time period associated with the second face is switched to.
The user does not need to manually switch the target information of the target time period associated with the second face, and the switching process can be realized directly by acquiring the image in real time.
The method comprises the steps of acquiring a first image, switching target information when the first image comprises a first face, monitoring current time in real time, and directly switching the target information associated with the first face in a first target time period when the current time is included in the first target time period so as to realize automatic switching.
When the target information related to the first face is displayed, information related to a non-first face is also received, and the specific operation is as follows: receiving a first message; shielding the first message under the condition that the message attribute of the first message is not matched with the message attribute associated with the first face; wherein the message attributes include at least one of: message type, message sender, message receive time.
Detecting the message attribute of the first message, when the message attribute is the message type, judging whether the message type is consistent with the type of the target information, if not, shielding the first message, for example: and if the type of the target information is the WeChat application program and the message type of the first message is QQ, the message type of the first message is not matched with the message attribute of the target information, and the first message is shielded. When the message attribute is a message sender, when the message sender of the message attribute associated with the first face is A, B and C, when the message sender of the first message is D, the message sender of the first message is not matched with the message sender of the target information, the first message is shielded, when the message attribute is message receiving time, the receiving time of the first message is determined, the target time period of the target information is determined, and if the receiving time is not in the target time period, the first message is shielded.
By detecting the message attribute associated with the first face, the target information associated with the first face is accurately displayed, the user only needs to check the target information, and the user can manually check the messages except the other target information.
The display control method can be applied to a business trip scene, a user can set a business trip target time period and set a first face, wherein the first face during business trip can be boss or client, the displayed target information is information of the client and the boss during business trip, and the user can focus on key information related to the boss and the client conveniently during business trip.
The display control method of the embodiment can be applied to a home mode scene, for example: in order to prevent disturbance of others, namely displayed target information is information related to the family set, so that a user can be prevented from being disturbed by information except for families.
As shown in fig. 8, when the application scene is in the home mode, the prompt interface diagram in the focus mode is started.
The display control method of this embodiment may be applied to a working mode scene, and set a corresponding target time period in the working mode, for example: from time 9 to 18, a first face is set, for example, a colleague, a boss and a client, and target information related to the colleague, the boss and the client is displayed from time 9 to 18, so that the user is ensured not to be disturbed by personal matters in the working mode, and the user can pay more attention to the work.
As shown in fig. 9, when the application scene is in the working mode, the prompt interface diagram in the focus mode is started.
In the embodiment of the invention, a first image acquired by a camera is acquired, wherein the first image comprises a first face; displaying target information for a target time period associated with the first face; wherein the target information comprises at least one of: icons, files and messages can realize the starting mode of using face recognition as a concentration mode, and the safety and the convenience of checking the target messages are effectively improved; according to the first face, the system automatically scans target information associated with the first face in the electronic equipment, and helps a user to carry out information carding in advance, so that the information processing efficiency of the user is improved; and target information is determined according to the target time period, and the system can perform intelligent switching according to preset time, so that the user can focus on key information corresponding to the first face conveniently.
Referring to fig. 10, there is shown a block diagram of an electronic device of the present invention.
The electronic equipment provided by the embodiment of the invention comprises: a first obtaining module 201, configured to obtain a first image collected by a camera, where the first image includes a first face; a display module 302 for displaying target information of a target time period associated with the first face; wherein the target information comprises at least one of: icon, file, message.
Preferably, the electronic device further includes: a second obtaining module, configured to obtain identification information of the first face before the display module displays target information of a target time period associated with the first face, where the identification information includes: an electronic device number or an international mobile equipment identity; and the third acquisition module is used for acquiring the target information associated with the identification information.
According to the identification information, the target information associated with the first face is determined, and since the user generally performs binding registration through the electronic equipment number or the international mobile equipment identity at present in the process of using each application program, the target information associated with the first face can be determined directly through the telephone number or the international mobile equipment identity.
The target information is acquired through the electronic equipment number or the international mobile equipment identification code, the acquired target information is more comprehensive, only the electronic equipment number or the international mobile equipment identification code needs to be determined, and other identification information does not need to be determined, so that the operating load of the electronic equipment is smaller.
Preferably, the electronic device further includes: a fourth obtaining module, configured to obtain historical operation information in at least one time period before the display module displays target information of a target time period associated with the first face, where the historical operation information includes an object of an operation and a time of the operation, and the object includes at least one of an application and a file; a first determining module for determining an operating frequency of each object based on the historical operating information for each time period; the second determination module is used for determining the target object with the operating frequency larger than the preset threshold; and the first generation module is used for generating target information corresponding to each time period based on the target object.
The target object is determined based on the operation frequency, the target message is determined based on the target object, the target messages which can be displayed in the screen locking interface are all information which is frequently checked and operated by the user, and the use of the user is facilitated.
Preferably, the electronic device further includes: the first receiving module is used for receiving first input of at least one face from a user before the first acquiring module acquires a first image acquired by the camera; a first response module for determining the at least one face as a first face in response to the first input; the second receiving module is used for receiving a second input of the user; and the second response module is used for responding to the second input and determining the time period input by the second input as a target time period.
The method comprises the steps of receiving the setting operation of a user on a first face and a target time period, and in the subsequent steps, generating a specific desktop of the first face based on the first face in the target time period, and only displaying target messages related to the first face in the desktop, namely messages displayed in a display interface, wherein the displayed target messages are more targeted.
Preferably, the target information includes at least one item of sub information; the display modes of the target information comprise a first display mode, a second display mode and a third display mode; under the condition that the display mode of the target information is a first display mode, the at least one item of sub information is displayed in a classified mode according to the type of the information; under the condition that the display mode of the target information is a second display mode, the at least one item of sub information is displayed according to the time sequence of the information flow; and under the condition that the display mode of the target information is a third display mode, the time interval between the acquisition time of the first type of sub information in the at least one item of sub information and the current time is less than a preset threshold value, and the second type of sub information in the at least one item of sub information is in a hidden state.
For the first display mode, when the sub-information included in the target information is information including both short message information and file types, the sub-information of the same type is sorted, and each sub-information is displayed according to classification, so that a user can check a plurality of pieces of sub-information directly according to classification, the user does not need to search the required information types from the plurality of pieces of information, and the time for the user to check the information is saved.
And for the second display mode, displaying the pieces of sub information in an information flow mode according to the receiving time sequence of the pieces of sub information, wherein a user can view the pieces of sub information according to the time sequence, display the information with the receiving time before at the front position of the display interface, and display the information with the receiving time after at the rear position of the display interface.
For the third display mode, acquiring time of each piece of sub information, calculating a time interval between each piece of acquiring time and the current time, and determining the sub information meeting the conditions as the first type of sub information under the condition that the time interval is smaller than a preset threshold, for example: and only displaying the related information of the specified user received in the last two hours on the display interface. And when the time interval is larger than the preset threshold, determining respective information of which the time interval is larger than the preset threshold as second-class sub-information, hiding and displaying the second-class sub-information, wherein the hidden display is folding and displaying the information, when a user does not trigger the operation of displaying the second-class sub-information, the second-class sub-information is not displayed on a display interface, and only when the user triggers the operation of viewing the second-class sub-information, the second-class sub-information is displayed on the display interface.
Preferably, the display module includes: the first display sub-module is used for displaying target information of a target time period related to the first face on a screen locking interface; the first receiving submodule is used for receiving third input of a user on the first sub information in the target information; and the first response submodule is used for responding to the third input and executing target control operation on the first sub information.
For example: the target information of the first face in the target time period is acquired as a short message, a WeChat and the like, and the user directly replies the short message or the WeChat in the screen locking interface without unlocking the screen locking interface. And under the condition that the user does not unlock the screen locking interface, the user does not need to unlock and then enter the interface corresponding to the first sub-information, so that the time of the user for information reply is shortened.
Preferably, the first display sub-module includes: the first receiving unit is used for receiving a fourth input of the user; a first response unit, configured to unlock a screen and display a target control in response to the fourth input, where the target control indicates the target information; and the first display unit is used for responding to a fifth input of the target control by a user and displaying the target information under the condition of receiving the fifth input.
Target information is called through the target control, the situation that due to the fact that the target information is too much, the content displayed on the unlocking screen is too messy is avoided, the target information is called through the target control, the unlocking interface is clean and tidy, and when the target information is checked by a user, the UI interface of the unlocking interface is more attractive.
Preferably, the electronic device further includes: a fifth obtaining module, configured to obtain a current time after the display module displays the target information of the target time period associated with the first face; and the display canceling module is used for canceling the display of the target information under the condition that the current time belongs to a preset time period.
When the user sets only the target information corresponding to the first face under one target time period, and the current time does not belong to the target time period, the electronic equipment returns to the normal operation mode, the target information does not need to be displayed, and the user can normally use the electronic equipment.
Preferably, the electronic device further includes: and the updating module is used for updating the target information of the target time period related to the first face into the target information of the target time period related to the second face under the condition that a second image is acquired by the camera and comprises the second face after the target information of the target time period related to the first face is displayed by the display module.
Since different time periods can be set to focus on different objects, when the second face is detected to be included in the second image, the target information of the target time period associated with the second face is switched to.
The user does not need to manually switch the target information of the target time period associated with the second face, and the switching process can be realized directly by acquiring the image in real time.
Preferably, after the displaying the target information of the target time period associated with the first face, the electronic device further includes: a third receiving module for receiving a first message after the display module displays the target information of the target time period associated with the first face; a masking module, configured to mask the first message if a message attribute of the first message does not match a message attribute associated with the first face; wherein the message attributes comprise at least one of: message type, message sender, message receive time.
By detecting the message attribute associated with the first face, the target information associated with the first face is accurately displayed, the user only needs to check the target information, and the user can manually check the messages except the other target information.
The electronic device provided in the embodiment of the present invention can implement each process implemented by the electronic device in the method embodiment of fig. 1, and is not described herein again to avoid repetition.
In the embodiment of the invention, a first image acquired by a camera is acquired, wherein the first image comprises a first face; displaying target information for a target time period associated with the first face; wherein the target information comprises at least one of: icons, files and messages can realize the starting mode of using face recognition as a concentration mode, and the safety and the convenience of checking the target messages are effectively improved; according to the first face, the system automatically scans target information associated with the first face in the electronic equipment, and helps a user to carry out information carding in advance, so that the information processing efficiency of the user is improved; and target information is determined according to the target time period, and the system can perform intelligent switching according to preset time, so that the user can focus on key information corresponding to the first face conveniently.
Referring to fig. 11, a hardware structure diagram of an electronic device according to a fifth embodiment of the present invention is shown;
the electronic device 500 includes, but is not limited to: the system comprises a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, a power supply 511, a camera 512, a shooting module 513 and the like. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 11 does not constitute a limitation of electronic devices, which may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
A processor 510, configured to obtain a first image acquired by a camera, where the first image includes a first face; a display unit 506 that displays target information of a target time period associated with the first face; wherein the target information comprises at least one of: icon, file, message.
In the embodiment of the invention, a first image acquired by a camera is acquired, wherein the first image comprises a first face; displaying target information for a target time period associated with the first face; wherein the target information comprises at least one of: icons, files and messages can realize the starting mode of using face recognition as a concentration mode, and the safety and the convenience of checking the target messages are effectively improved; according to the first face, the system automatically scans target information associated with the first face in the electronic equipment, and helps a user to carry out information carding in advance, so that the information processing efficiency of the user is improved; and target information is determined according to the target time period, and the system can perform intelligent switching according to preset time, so that the user can focus on key information corresponding to the first face conveniently.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 502, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the electronic apparatus 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 501 in case of the phone call mode.
The electronic device 500 also includes at least one sensor 505, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 5061 and/or a backlight when the electronic device 500 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 506 is used to display information input by the user or information provided to the user. The Display unit 606 may include a Display panel 5061, and the Display panel 5061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 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.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 6071 detects a touch operation on or near the touch panel, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 11, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 508 is an interface for connecting an external device to the electronic apparatus 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic apparatus 500 or may be used to transmit data between the electronic apparatus 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 510 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the electronic device. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The electronic device 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system.
In addition, the electronic device 500 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 510, a memory 509, and a computer program that is stored in the memory 509 and can be run on the processor 510, and when the computer program is executed by the processor 510, the processes of the display control method embodiment are implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not described here again.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the display control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
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.
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 invention 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 invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (10)
1. A display control method applied to electronic equipment is characterized by comprising the following steps:
acquiring a first image acquired by a camera, wherein the first image comprises a first face;
displaying target information for a target time period associated with the first face;
wherein the target information comprises at least one of: icons, files, messages;
wherein, before the acquiring the first image collected by the camera, the method further comprises:
receiving a first input of at least one face from a user;
determining the at least one face as the first face in response to the first input;
receiving a second input of the user;
determining a time period input by the second input as the target time period in response to the second input;
wherein, before displaying the target information of the target time period associated with the first face, further comprising:
acquiring historical operation information in at least one time period, wherein the historical operation information comprises an operation object and operation time, and the object comprises at least one of an application program and a file;
for each time period, determining an operating frequency of each object based on the historical operating information;
determining a target object with an operating frequency greater than a preset threshold;
and generating target information corresponding to each time period based on the target object.
2. The method of claim 1, wherein prior to displaying the target information for the target time period associated with the first face, further comprising:
acquiring identification information of the first face, wherein the identification information comprises: an electronic device number or an international mobile equipment identity;
and acquiring target information associated with the identification information.
3. The method of claim 1, wherein the target information comprises at least one item of sub-information; the display modes of the target information comprise a first display mode, a second display mode and a third display mode;
under the condition that the display mode of the target information is a first display mode, the at least one item of sub information is displayed in a classified mode according to the type of the information;
under the condition that the display mode of the target information is a second display mode, the at least one item of sub information is displayed according to the time sequence of the information flow;
and under the condition that the display mode of the target information is a third display mode, the time interval between the acquisition time of the first type of sub information in the at least one item of sub information and the current time is less than a preset threshold value, and the second type of sub information in the at least one item of sub information is in a hidden state.
4. The method of claim 3, wherein displaying the target information for the target time period associated with the first face comprises:
displaying target information of a target time period associated with the first face on a screen locking interface;
receiving a third input of the first sub information in the target information from the user;
in response to the third input, performing a target control operation on the first sub-information.
5. The method of claim 4, further comprising, after displaying the target information for the target time period associated with the first face on the lock screen interface:
receiving a fourth input from the user;
in response to the fourth input, unlocking a screen and displaying a target control, the target control indicating the target information;
in a case where a fifth input to the target control by the user is received, the target information is displayed in response to the fifth input.
6. The method of claim 1, wherein after displaying the target information for the target time period associated with the first face, further comprising:
acquiring current time;
and canceling the display of the target information under the condition that the current time belongs to a preset time period.
7. The method of claim 1, wherein after displaying the target information for the target time period associated with the first face, further comprising:
and under the condition that a second image is acquired by the camera and comprises a second face, updating the target information of the target time period associated with the first face into the target information of the target time period associated with the second face.
8. The method of claim 1, wherein after displaying the target information for the target time period associated with the first face, further comprising:
receiving a first message;
masking the first message if the message attribute of the first message does not match the message attribute associated with the first face;
wherein the message attributes comprise at least one of: message type, message sender, message receive time.
9. An electronic device, comprising:
the first acquisition module is used for acquiring a first image acquired by a camera, and the first image comprises a first face;
a display module for displaying target information for a target time period associated with the first face; wherein the target information comprises at least one of: icons, files, messages;
the first receiving module is used for receiving first input of at least one face from a user before the first acquiring module acquires a first image acquired by the camera;
a first response module for determining the at least one face as a first face in response to the first input;
the second receiving module is used for receiving a second input of the user;
a second response module, configured to determine, in response to the second input, a time period input by the second input as a target time period;
a fourth obtaining module, configured to obtain historical operation information in at least one time period before the display module displays target information of a target time period associated with the first face, where the historical operation information includes an object of an operation and a time of the operation, and the object includes at least one of an application and a file;
a first determining module for determining an operating frequency of each object based on the historical operating information for each time period;
the second determination module is used for determining the target object with the operating frequency larger than the preset threshold;
and the first generation module is used for generating target information corresponding to each time period based on the target object.
10. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the display control method according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911268897.5A CN111104019B (en) | 2019-12-11 | 2019-12-11 | Display control method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911268897.5A CN111104019B (en) | 2019-12-11 | 2019-12-11 | Display control method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111104019A CN111104019A (en) | 2020-05-05 |
CN111104019B true CN111104019B (en) | 2021-08-17 |
Family
ID=70421848
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911268897.5A Active CN111104019B (en) | 2019-12-11 | 2019-12-11 | Display control method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111104019B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101480669B1 (en) * | 2014-03-24 | 2015-01-26 | 충남대학교산학협력단 | Mobile Terminal Having Emotion Recognition Application using Facial Expression and Method for Controlling thereof |
CN106027363A (en) * | 2016-04-27 | 2016-10-12 | 乐视控股(北京)有限公司 | Message processing method and device |
CN107395875A (en) * | 2017-07-01 | 2017-11-24 | 珠海格力电器股份有限公司 | Timing reminding method and device based on terminal and electronic equipment |
CN107517321A (en) * | 2017-08-31 | 2017-12-26 | 努比亚技术有限公司 | Terminal pattern switching method, mobile terminal and computer-readable recording medium |
CN108401186A (en) * | 2018-04-28 | 2018-08-14 | 东莞市华睿电子科技有限公司 | A kind of smart television display control method based on recognition of face |
-
2019
- 2019-12-11 CN CN201911268897.5A patent/CN111104019B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101480669B1 (en) * | 2014-03-24 | 2015-01-26 | 충남대학교산학협력단 | Mobile Terminal Having Emotion Recognition Application using Facial Expression and Method for Controlling thereof |
CN106027363A (en) * | 2016-04-27 | 2016-10-12 | 乐视控股(北京)有限公司 | Message processing method and device |
CN107395875A (en) * | 2017-07-01 | 2017-11-24 | 珠海格力电器股份有限公司 | Timing reminding method and device based on terminal and electronic equipment |
CN107517321A (en) * | 2017-08-31 | 2017-12-26 | 努比亚技术有限公司 | Terminal pattern switching method, mobile terminal and computer-readable recording medium |
CN108401186A (en) * | 2018-04-28 | 2018-08-14 | 东莞市华睿电子科技有限公司 | A kind of smart television display control method based on recognition of face |
Also Published As
Publication number | Publication date |
---|---|
CN111104019A (en) | 2020-05-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111343081B (en) | Information display method and electronic equipment | |
CN108234289B (en) | Message display method and device and mobile terminal | |
CN108024019B (en) | Message display method and device | |
CN111010332A (en) | Group chat method and electronic equipment | |
CN109078319B (en) | Game interface display method and terminal | |
CN110768805B (en) | Group message display method and electronic equipment | |
CN111124221B (en) | File sending method and terminal equipment | |
CN109471690B (en) | Message display method and terminal equipment | |
CN109213407B (en) | Screenshot method and terminal equipment | |
CN111130817B (en) | Group creation method, electronic device and server | |
CN108376096B (en) | Message display method and mobile terminal | |
CN109412932B (en) | Screen capturing method and terminal | |
CN110752981B (en) | Information control method and electronic equipment | |
CN107977563B (en) | Message processing method and device and mobile terminal | |
CN110888705B (en) | Method for processing unread message corner marks and electronic equipment | |
CN111459362A (en) | Information display method, information display device, electronic apparatus, and storage medium | |
CN111064654A (en) | Message display method and electronic equipment | |
CN110929273A (en) | Permission setting method and electronic equipment | |
CN111158562A (en) | False touch prevention method and electronic equipment | |
CN111596986B (en) | Information prompting method and electronic equipment | |
CN111381753B (en) | Multimedia file playing method and electronic equipment | |
CN110740265B (en) | Image processing method and terminal equipment | |
CN112217713A (en) | Method and device for displaying message | |
CN111460537A (en) | Method for hiding page content and electronic equipment | |
CN110851042A (en) | Interface display method and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |