CN112162810A - Message display method and device and electronic equipment - Google Patents

Message display method and device and electronic equipment Download PDF

Info

Publication number
CN112162810A
CN112162810A CN202011027266.7A CN202011027266A CN112162810A CN 112162810 A CN112162810 A CN 112162810A CN 202011027266 A CN202011027266 A CN 202011027266A CN 112162810 A CN112162810 A CN 112162810A
Authority
CN
China
Prior art keywords
input
message
preset
screen
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011027266.7A
Other languages
Chinese (zh)
Inventor
戴文款
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011027266.7A priority Critical patent/CN112162810A/en
Publication of CN112162810A publication Critical patent/CN112162810A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction 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/0488Interaction 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
    • G06F3/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a message display method, a message display device and electronic equipment, belongs to the technical field of communication and aims to solve the problem that privacy information of a user is possibly leaked in the process of viewing unread messages. The method comprises the following steps: under the condition that the electronic equipment is in a screen locking state, receiving an unread message, and hiding the unread message in a screen locking interface; receiving a first input; determining a target message according to the first input, wherein the target message is a message in the unread message; and displaying the target message in a screen locking interface. The method and the device are applied to the scene of viewing the unread messages.

Description

Message display method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a message display method and device and electronic equipment.
Background
With the development of electronic devices, electronic devices have become indispensable tools in human life, and users can view various messages on the electronic devices. Currently, when an electronic device receives an unread message, the electronic device usually lights up a screen and displays the unread message in a screen locking interface.
However, when the user does not view the unread messages in time, the electronic device keeps displaying the unread messages in the screen locking interface, so that the content of the unread messages can be viewed after any user triggers the electronic device to light the screen, and the privacy information of the user may be leaked.
Disclosure of Invention
The embodiment of the application aims to provide a message display method, a message display device and electronic equipment, and the problem that privacy information of a user is possibly leaked in the process of viewing unread messages can be solved.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a message display method, where the method includes: under the condition that the electronic equipment is in a screen locking state, receiving an unread message, and hiding the unread message in a screen locking interface; receiving a first input; determining a target message according to the first input, wherein the target message is a message in the unread message; and displaying the target message in a screen locking interface.
In a second aspect, an embodiment of the present application provides a message display apparatus, including: the device comprises a receiving module, a determining module and a display module; the receiving module is used for receiving the unread message under the condition that the electronic equipment is in a screen locking state and hiding the unread message in a screen locking interface; and receiving a first input; the determining module is used for determining a target message according to the first input received by the receiving module, wherein the target message is a message in the unread message; and the display module is used for displaying the target message determined by the determination module in the screen locking interface.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, the message display device receives the unread message and hides the unread message in the screen locking interface under the condition that the electronic equipment is in the screen locking state. After the message display device receives the first input, the message display device may determine a target message, which is a message of the unread messages. The message display device may then display the targeted message in the lock screen interface. By the aid of the scheme, under the condition that the electronic equipment is in the screen locking state, the message display device cannot display the received unread messages in the screen locking interface, and only after the message display device receives the first input, the message display device determines the target message from the unread messages, and finally displays the target message in the screen locking interface. Thus, even when other users trigger the message display device to light up the screen, the unread messages cannot be viewed, so that the privacy information of the users can be protected from being leaked.
Drawings
Fig. 1 is an interface schematic diagram of a conventional message display method according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a message display method according to an embodiment of the present application;
fig. 3 is one of interface diagrams of a message display method according to an embodiment of the present application;
fig. 4 is a second schematic interface diagram of a message display method according to an embodiment of the present application;
fig. 5 is a third schematic interface diagram of a message display method according to an embodiment of the present application;
fig. 6 is a fourth schematic interface diagram of a message display method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a message display device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 9 is a second schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. The objects distinguished by "first", "second", and the like are usually a class, and the number of the objects is not limited, and for example, the first object may be one or a plurality of objects. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
Fig. 1 is an interface schematic diagram of an application of a related unread message display method, where in a case that an electronic device is in a screen lock state, when the electronic device receives an unread message, the electronic device usually lights up a screen and displays the unread message in the screen lock interface. As shown in fig. 1, 3 unread messages, namely message 1, message 2, and message 3, are displayed in the electronic device lock screen interface 11. At this time, the user can quickly view the contents of message 1, message 2, and message 3.
However, in the case that the user does not view the unread messages in time, the electronic device keeps displaying the message 1, the message 2, and the message 3 in the screen locking interface, so that any user can view the contents of the message 1, the message 2, and the message 3 after triggering the electronic device to light the screen, thereby possibly causing leakage of user privacy information.
In view of the foregoing problems, embodiments of the present application provide a message display method, where when an electronic device is in a screen lock state, a message display device does not display a received unread message in a screen lock interface. Only after the message display device receives the first input matched with the preset input, the target message can be displayed in the screen locking interface, and therefore, even if other users trigger the message display device to light the screen, the unread message cannot be viewed, and therefore privacy information of the users can be protected from being leaked.
The message display method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 2 is a schematic flow chart of a message display method according to an embodiment of the present application, including steps 201 to 204:
step 201: and under the condition that the electronic equipment is in the screen locking state, the message display device receives the unread message and hides the unread message in the screen locking interface.
In this embodiment of the application, the screen locking state refers to a state in which the electronic device needs to be unlocked by inputting a password or other unlocking methods.
In this embodiment of the present application, the unread message may be a single message or multiple messages, which is not limited in this embodiment of the present application.
For example, the unread message may be a message in the same application program or a message in a different application program, which is not limited in this embodiment of the application.
Step 202: the message display device receives a first input.
In an embodiment of the present application, the first input may be: the method includes that a user clicks on a screen locking interface to input, or inputs a voice command for the user, or inputs a specific gesture for the user, or inputs biometric information for the user, which can be determined according to actual use requirements, and the embodiment of the application is not limited thereto.
The specific gesture in the embodiment of the application can be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure identification gesture, a long-press gesture, an area change gesture, a double-press gesture and a double-click gesture; the click input in the embodiment of the application can be click input, double-click input, click input of any number of times and the like, and can also be long-time press input or short-time press input.
Step 203: the message display device determines a target message according to the first input.
And the target message is a message in the unread message.
Step 204: the message display device displays the target message in the screen locking interface.
It can be understood that the target message may be all of the unread messages or a part of the unread messages, and this embodiment of the present application is not limited thereto.
In this embodiment of the present application, the target message may be a message in the same application program or a message in a different application program, which is not limited in this embodiment of the present application.
For example, in the case that the mobile phone is in the screen lock state, the mobile phone receives the message 1, the message 2 and the message 3, and the message 1, the message 2 and the message 3 are hidden in the screen lock interface. After the user triggers the mobile phone to light up the mobile phone screen, as shown in fig. 3, a screen locking interface 32 is displayed in the mobile phone screen 31, and the message 1, the message 2, and the message 3 are not displayed in the screen locking interface 32. When the user wants to view the unread messages, the user can draw a circle on the lock screen interface 32 (i.e., the first input described above), at which point the handset determines that the user wants to view message 1, message 2, and message 3. The handset then displays message 1, message 2, and message 3 in the lock screen interface 32, as shown in fig. 4. Finally, the user can view message 1, message 2, and message 3 directly in the lock screen interface 32.
Optionally, when the target message is a message in different applications, the target message may be a message in multiple applications, and the multiple applications may be the same type of application or different types of applications, which is not limited in this embodiment of the application.
In one example, the targeted message may be a message in the same type of application. For example, the target message may be a message in a chat-type application.
In one example, the message display apparatus may determine the target message if the first input matches a preset input.
In this embodiment of the present application, the matching of the first input and the preset input means: the message display apparatus may determine the preset input according to a first correspondence between the first input and the preset input after receiving the first input. The first corresponding relationship may be set by a system or a user, and is not limited in this embodiment of the application.
In the embodiment of the present application, after determining the preset input, the message display apparatus may determine the target message according to a second correspondence between the preset input and the target message. The second corresponding relationship may be set by a system or a user, and is not limited in this embodiment of the application.
Optionally, different preset inputs may correspond to different applications, and the target message is a target message in the application corresponding to the preset input. For example, if the preset input is a double-click input on the lock screen interface, the target message is a message in application 1; if the preset input is the input of drawing a circle on the screen locking interface, the target message is the message in the application 2; and if the preset input is the input of sliding down of the two fingers on the screen locking interface, the target message is the message in the application 3.
It should be noted that the preset inputs include, but are not limited to, the above 3 kinds of inputs.
In one example, different preset inputs may correspond to different types of applications.
Specifically, the preset inputs may include a first preset input and a second preset input, the first preset input corresponds to a first application program, the second preset input corresponds to a second application program, and the first application program and the second application program are different types of application programs.
For example, the first application may be a chat application, a shopping application, a map application, or any type of application, which is not limited in this embodiment of the present application.
For example, the second application program may be a chat application program, a shopping application program, a map application program, or any type of application program, which is not limited in this embodiment of the present application.
It should be noted that the first application and the second application are different types of applications. For example, the first application may be a chat-type application and the second application may be a shopping-type application or a map-type application.
It is to be understood that the first input may correspond to an application of a target type, and the target message is an unread message in the application of the target type. The target type application may be the first application or the second application.
For example, if the preset input is a double-click input on the screen locking interface, the target message is a message in a chat application (such as chat application 1 and chat application 2); if the preset input is the input of drawing a rectangle on the screen locking interface, the target message is the message in the map application program (map application 3); if the preset input is the input of sliding down by two fingers on the screen locking interface, the target message is a message in the shopping application program (shopping application 4).
For example, taking the preset inputs including double-click input and rectangle-drawing input, and the message 1 is a message in the chat application 1, the message 2 is a message in the chat application 2, and the message 3 is a message in the map application 3 as an example, in conjunction with fig. 3, when the user wants to view an unread message in the chat-type application, the user can double-click the lock screen interface 32 (i.e., the first input described above). At this time, the mobile phone determines that the double-click screen locking interface 32 of the user is matched with the double-click input in the preset input, and may determine that the user wants to view the unread message in the chat application. Then, as shown in fig. 5, the mobile phone displays message 1 and message 2 on the screen locking interface 32. When the user wants to view unread messages in the map-like application, the user can draw a rectangle (i.e., the first input described above) on the lock screen interface 32. At this time, the mobile phone determines that the rectangle drawn on the screen locking interface 32 by the user matches the input of the rectangle drawn in the preset input, and may determine that the user wants to view the unread message in the map application. The handset then displays message 3 in the lock screen interface 32.
In an example, the screen of the electronic device may be a curved screen, the curved screen includes a plane area and a curved area, and the first input may be an input in the curved area.
For example, when the user wants to view an unread message, the user may double-click on the curved area of the curved-screen cell phone (i.e., the first input described above). At this point, the handset determines that the user wants to view message 1, message 2, and message 3. The handset then displays message 1, message 2, and message 3 in the lock screen interface 32.
According to the message display method provided by the embodiment of the application, under the condition that the electronic equipment is in the screen locking state, the message display device receives the unread message and hides the unread message in the screen locking interface. After the message display device receives the first input, the message display device may determine a target message, which is a message of the unread messages. The message display device may then display the targeted message in the lock screen interface. By the aid of the scheme, under the condition that the electronic equipment is in the screen locking state, the message display device cannot display the received unread messages in the screen locking interface, and only after the message display device receives the first input, the message display device determines the target message from the unread messages, and finally displays the target message in the screen locking interface. Thus, even when other users trigger the message display device to light up the screen, the unread messages cannot be viewed, so that the privacy information of the users can be protected from being leaked.
Optionally, in this embodiment of the application, to further protect privacy, the message display device may cancel displaying the target message after displaying the target message in the screen locking interface, so as to prevent the privacy information of the user from being leaked.
In one example, the message display apparatus may maintain display of the target message in the lock screen interface during an input of the first input, and cancel display of the target message in the lock screen interface after the first input is ended.
In example 1, in a case that the first input is a touch input of the user on the lock screen interface, an input process of the first input may be a process in which the user touches the lock screen interface, and the ending of the first input means that the user stops touching the lock screen interface.
For example, the first input is a long-press input of a finger of the user on the lock screen interface, the input process of the first input may be a process of pressing the lock screen interface by the user, and the ending of the first input means that the finger of the user is lifted and stops pressing the lock screen interface.
Example 2, in a case where the first input is the user inputting the biometric information, the input process of the first input may be a process in which the user inputs the biometric information, and the first input end means that the user stops inputting the biometric information.
For example, the first input is that the user inputs face information, the input process of the first input may be a process in which the user aims the face at the camera, and the first input end means that the user moves the face away from the front of the camera.
For example, in conjunction with FIG. 3, when the user wants to view unread information, the user may continuously press the lock screen interface 32 with a finger. During the process of pressing the lock screen interface 32 by the user, as shown in fig. 4, the mobile phone displays message 1, message 2 and message 3 in the lock screen interface 32. When the user does not want to view the unread message, the user can lift the finger (i.e., the first input described above ends), at which time, as shown in fig. 3, message 1, message 2, and message 3 are not displayed in the lock screen interface 32.
In another example, after step 204, the method may further include steps 205 and 206 as follows:
step 205: the message display device receives a second input from the user.
For example, the second input may be: the click input of the user on the screen locking interface, or the voice instruction input by the user, or the specific gesture input by the user may be specifically determined according to the actual use requirement, and the embodiment of the present application does not limit this.
Step 206: and responding to the second input, and canceling the display of the target message in the screen locking interface by the message display device.
For example, in connection with FIG. 3, when the user wants to view an unread message, the user may draw a circle (i.e., the first input described above) on the lock screen interface 32. At this time, as shown in fig. 4, the mobile phone displays message 1, message 2, and message 3 in the lock screen interface 32. When the user does not want to view the unread message, the user may slide down both fingers on the lock screen interface 32 (i.e., the second input described above). At this time, as shown in fig. 3, message 1, message 2, and message 3 are not displayed in the lock screen interface 32.
The message display method provided by the embodiment of the application can be applied to a scene of canceling display of the target message, and after the user triggers the message display device to display the target message in the screen locking interface, the message display device can be triggered to cancel display of the target message.
Optionally, in this embodiment of the application, the message display apparatus may determine that the first input matches the preset input by determining input parameters of the first input and the preset input.
Illustratively, the step 203 may specifically include the following step 203 a:
step 203 a: the message display device determines a target message according to the first input under the condition that the input parameters of the first input are matched with the input parameters of the preset input;
wherein the input parameters include at least one of: input position, input duration and input track.
For example, the input position refers to an input position of a user on a screen, and the input position may be coordinates on the screen, for example.
For example, the input position may be any position in the screen of the electronic device; the input time period may be any time period (for example, 5 seconds); the input trajectory may be any trajectory (for example, a circle, a rectangle, an ellipse, an irregular figure, or the like), and may be specifically set according to actual requirements, which is not limited in this embodiment of the application.
Example 1, taking the input parameter as the input track as an example, in conjunction with fig. 3, when the user wants to view the unread message, the user can draw a circle on the lock screen interface 32 (i.e., the input track of the first input described above). At this time, the mobile phone determines that the circle matches the input track of the preset input, and the mobile phone determines that the user wants to view the message 1, the message 2, and the message 3. Then, as shown in fig. 4, the handset displays message 1, message 2, and message 3 in the lock screen interface 32.
Example 2, taking the input parameter as the input position as an example, in conjunction with fig. 3, when the user wants to view the unread message, the user can click on the target area. At this time, the mobile phone determines that the coordinates of the screen clicked by the user are matched with the preset input coordinates, and the mobile phone determines that the user wants to view the message 1, the message 2 and the message 3. Then, as shown in fig. 4, the handset displays message 1, message 2, and message 3 in the lock screen interface 32.
The message display method provided by the embodiment of the application can be applied to a scene of accurately judging whether the first input is matched with the preset input, and the message display device can more accurately determine that the first input is matched with the preset input by judging whether the input parameters of the first input and the preset input are matched, so that the accuracy of the message display device for displaying the target message can be improved.
Further optionally, in this embodiment of the application, the message display device may jointly determine whether the user wants to view the target message, so as to avoid the user from triggering the message display device to display the target message by mistake.
For example, in a case that the first input includes a touch input of a user in a preset area, and a fingerprint identification area of a screen of the electronic device includes the preset area, the step 203 may specifically include the step 203 b:
step 203 b: and the message display device determines the target message according to the first input under the condition that the input parameters of the first input are matched with the input parameters of the preset input and the fingerprint of the user is matched with the preset fingerprint.
For example, the preset area may be any area in the screen of the electronic device, for example, the preset area may be an upper area in the screen of the electronic device, or may be a lower area in the screen of the electronic device, or may be a left area in the screen of the electronic device, or may be a right area in the screen of the electronic device, which is not limited in this embodiment of the application.
In an example, the first input may include at least two sub-inputs, for example, the first input may include a first sub-input and a second sub-input, where the first sub-input may be a touch input of a user in a preset area, and the second sub-input may be an input for obtaining an input parameter of the first input.
For example, referring to fig. 3 and example 1, when the user wants to view the unread message, the user may draw a circle (i.e., the input trace of the first input) on the lock screen interface 32 and touch the circle in the fingerprint identification area 33 with a finger. At this time, the mobile phone determines that the circle matches the input track of the preset input and the user fingerprint matches the preset fingerprint, and the mobile phone determines that the user wants to view the message 1, the message 2 and the message 3. Then, as shown in fig. 4, the handset displays message 1, message 2, and message 3 in the lock screen interface 32.
In another example, the first input may include only one input, that is, the touch input by the user in the preset area may be the same input as the input for acquiring the input parameter of the first input.
For example, referring to fig. 3 and example 2, the target area is a fingerprint identification area (i.e., the above-mentioned preset area), when the user wants to view the unread message, the user may click on the fingerprint identification area 33, at this time, the mobile phone determines that the coordinates of the screen clicked by the user match the preset input coordinates, and the user fingerprint matches the preset fingerprint, and the mobile phone determines that the user wants to view the message 1, the message 2, and the message 3. Then, as shown in fig. 4, the handset displays message 1, message 2, and message 3 in the lock screen interface 32.
In an example, in a case that the screen of the electronic device is a curved screen, the preset area may be a curved area of the curved screen.
For example, the curved surface area of the curved surface screen mobile phone comprises a fingerprint identification area (namely the preset area), and when the user wants to view the unread message, the user can double click on the curved surface area. At this time, the mobile phone determines that the coordinates of the user click curved surface area are matched with the preset input coordinates, and the user fingerprint is matched with the preset fingerprint, as shown in fig. 4, the mobile phone displays a message 1, a message 2 and a message 3 in the screen locking interface 32.
The message display method provided by the embodiment of the application can be applied to a scene for preventing the misreading display of the unread message, the message display device can jointly judge whether the input parameter of the first input is matched with the input parameter of the preset input and whether the fingerprint of the user is matched with the preset fingerprint, and the message display device can display the target message only under the condition that the input parameter of the first input is matched with the input parameter of the preset input and the fingerprint of the user is matched with the preset fingerprint.
Optionally, in this embodiment of the application, the message display device may prompt the user that the operation is wrong when the first input is not matched with the preset input.
Illustratively, after the step 202, the method may further include the step 207 of:
step 207: and responding to the first input, and outputting prompt information by the message display device under the condition that the first input is not matched with the preset input.
The prompt message is used for indicating that the first input is not matched with the preset input.
For example, the prompt message may be a vibration message, a voice message, or a text message, which is not limited in this embodiment of the application.
For example, when the user wants to view the unread message, the user can slide up the three fingers on the screen locking interface, and if the mobile phone does not match the preset input matched with the three-finger slide-up, the mobile phone can control the mobile phone to vibrate and display the text "please input the correct gesture".
The message display method provided by the embodiment of the application can be applied to a scene that the input of the user is not matched, and under the condition that the message display device detects that the first input is not matched with the preset input, the user can be prompted in a mode of outputting prompt information until the user inputs the correct input, so that the flexibility of the message display method is improved.
Optionally, in this embodiment of the application, a user may set a correspondence between the preset input and the application program.
Illustratively, the method may further include the following steps a1 to a 4:
step A1: the message display device receives a third input from the user.
For example, the third input may be: the click input of the user on the screen, or the voice instruction input by the user, or the specific gesture input by the user, or the input of the target control by the user may be specifically determined according to the actual use requirement, which is not limited in the embodiment of the present application.
The target control may be an existing control or a newly added control, which is not limited in the embodiment of the present application.
Step A2: in response to the third input, the message display device displays an application setting interface.
The application program setting interface comprises at least one option, each option comprises two sub-options, one sub-option is used for setting preset input, and the other sub-option is used for setting an application program corresponding to the preset input.
Illustratively, the application setting interface is configured to set a corresponding relationship between the preset input and the application.
Step A3: the message display device receives a fourth input of the target option of the at least one option from the user.
For example, the fourth input may be: the click input of the target option by the user, or the voice instruction input by the user, or the specific gesture input by the user may be specifically determined according to the actual use requirement, which is not limited in the embodiment of the present application.
Step A4: and responding to the fourth input, and storing the corresponding relation between the preset input corresponding to the target option and the application program by the message display device.
For example, when the user wants to set the corresponding relationship between the preset input and the application program, the user may first click the "set" application program, and then click the "application program set" control (i.e., the target control) in the setting interface. As shown in fig. 6, the mobile phone displays an application setting interface 41, and the application setting interface 41 displays 1 setting option, that is, "set 1" option 42, and also displays a "determine" control 42 and a "reset" control. The "set 1" option 42 includes 2 sub-options, which are an "input" option 42a and an "application" option 42 b. Then, when the user wants to set the double-click input corresponding to chat application 1 and chat application 2, the user can select the double-click input in "input" option 42a and select chat application 1 and chat application 2 in "application" option 42 b. Finally, the user can click on the "ok" control 43 and the handset saves the double-click input and the correspondence of chat application 1 and chat application 2.
It should be noted that, when the user clicks the "reset" control, the mobile phone cancels the display content in the "input" option 42a and the "application" option 42b, and at this time, the user may reset the display content.
It should be noted that a "+" control is also displayed in the application setting interface 41, and when the user wants to trigger the mobile phone to increase the corresponding relationship between the input and the application, the user can click the "+" control to perform setting.
The message display method provided by the embodiment of the application can be applied to a scene of setting the corresponding relation between the input and the application program, and a user can flexibly set the corresponding relation between the input and the application program through the application program setting interface according to requirements, so that the flexibility of the message display method is improved.
It should be noted that, in the message display method provided in the embodiment of the present application, the execution main body may be a message display apparatus, or a control module in the message display apparatus for executing the message display method. The message display device provided in the embodiment of the present application is described by taking a message display method executed by a message display device as an example.
Fig. 7 is a schematic diagram of a possible structure of a message display apparatus for implementing the embodiment of the present application, and as shown in fig. 7, the message display apparatus 500 includes: a receiving module 501, a determining module 502 and a displaying module 503, wherein: a receiving module 501, configured to receive an unread message when the electronic device is in a screen lock state, and hide the unread message in a screen lock interface; and receiving a first input; a determining module 502, configured to determine a target message according to the first input received by the receiving module 501, where the target message is a message in the unread message; and a display module 503, configured to display the target message determined by the determination module 502 in the screen locking interface.
Optionally, the determining module 502 is specifically configured to determine the target message when the input parameter of the first input matches the input parameter of the preset input; wherein the input parameters include at least one of: input position, input duration and input track.
Optionally, the first input includes a touch input of a user in a preset area, and the fingerprint identification area of the screen of the electronic device includes the preset area; the determining module 502 is specifically configured to determine the target message when the input parameter of the first input matches the input parameter of the preset input and the fingerprint of the user matches the preset fingerprint.
Optionally, the preset input includes a first preset input and a second preset input, the first preset input corresponds to a first application program, the second preset input corresponds to a second application program, and the first application program and the second application program are different types of application programs.
Optionally, the screen of the electronic device is a curved screen, the curved screen includes a plane area and a curved area, and the first input is an input in the curved area.
According to the message display device provided by the embodiment of the application, under the condition that the electronic equipment is in the screen locking state, the message display device receives the unread message and hides the unread message in the screen locking interface. After the message display device receives the first input, the message display device may determine a target message, which is a message of the unread messages. The message display device may then display the targeted message in the lock screen interface. By the aid of the scheme, under the condition that the electronic equipment is in the screen locking state, the message display device cannot display the received unread messages in the screen locking interface, and only after the message display device receives the first input, the message display device determines the target message from the unread messages, and finally displays the target message in the screen locking interface. Thus, even when other users trigger the message display device to light up the screen, the unread messages cannot be viewed, so that the privacy information of the users can be protected from being leaked.
The message display device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The message display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The message display device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 6, and is not described here again to avoid repetition.
Optionally, as shown in fig. 8, an electronic device 600 is further provided in this embodiment of the present application, and includes a processor 601, a memory 602, and a program or an instruction stored in the memory 602 and executable on the processor 601, where the program or the instruction is executed by the processor 601 to implement each process of the foregoing message display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 9 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 9 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The radio frequency unit 101 is configured to receive an unread message when the electronic device is in a screen lock state, and hide the unread message in a screen lock interface; a user input unit 107 for receiving a first input; a processor 110, configured to determine a target message according to a first input received by the user input unit 107, where the target message is a message in the unread message; and a display unit 106 for displaying the target message determined by the processor 110 in the screen locking interface.
Optionally, the processor 110 is specifically configured to determine the target message when the input parameter of the first input matches the input parameter of the preset input; wherein the input parameters include at least one of: input position, input duration and input track.
Optionally, the first input includes a touch input of a user in a preset area, and the fingerprint identification area of the screen of the electronic device includes the preset area; the processor 110 is specifically configured to determine the target message when the input parameter of the first input matches the input parameter of the preset input and the fingerprint of the user matches the preset fingerprint.
Optionally, the preset input includes a first preset input and a second preset input, the first preset input corresponds to a first application program, the second preset input corresponds to a second application program, and the first application program and the second application program are different types of application programs.
Optionally, the screen of the electronic device is a curved screen, the curved screen includes a plane area and a curved area, and the first input is an input in the curved area.
According to the electronic equipment provided by the embodiment of the application, under the condition that the electronic equipment is in the screen locking state, the electronic equipment receives the unread message and hides the unread message in the screen locking interface. After the electronic device receives the first input, the electronic device may determine a target message, which is a message of the unread messages. The electronic device may then display the targeted message in the lock screen interface. Through the scheme, under the condition that the electronic equipment is in the screen locking state, the electronic equipment cannot display the received unread messages in the screen locking interface, and the message display device determines the target message from the unread messages only after receiving the first input, and finally displays the target message in the screen locking interface. Therefore, even when other users trigger the electronic equipment to light the screen, the unread messages cannot be viewed, and the privacy information of the users can be protected from being leaked.
It should be understood that, in the embodiment of the present application, the input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 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. The memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 110 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned message display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above-mentioned message display method embodiment, and can achieve the same technical effect, and is not described here again to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A method for displaying messages, the method comprising:
under the condition that the electronic equipment is in a screen locking state, receiving an unread message, and hiding the unread message in a screen locking interface;
receiving a first input;
determining a target message according to the first input, wherein the target message is a message in the unread message;
and displaying the target message in the screen locking interface.
2. The method of claim 1, wherein determining a target message based on the first input comprises:
determining a target message under the condition that the input parameters of the first input are matched with the input parameters of the preset input;
wherein the input parameters include at least one of: input position, input duration and input track.
3. The method of claim 2, wherein the first input comprises a touch input of a user in a preset area, and a fingerprint identification area of a screen of the electronic device contains the preset area;
said determining a target message according to said first input, comprising:
and under the condition that the input parameters of the first input are matched with the input parameters of the preset input and the fingerprint of the user is matched with the preset fingerprint, determining the target message.
4. The method according to claim 2 or 3, wherein the preset input comprises a first preset input and a second preset input, the first preset input corresponds to a first application, the second preset input corresponds to a second application, and the first application and the second application are different types of applications.
5. The method of claim 1, wherein the screen of the electronic device is a curved screen, wherein the curved screen comprises a flat area and a curved area, and wherein the first input is an input at the curved area.
6. A message display apparatus, comprising a receiving module, a determining module, and a display module;
the receiving module is used for receiving the unread message under the condition that the electronic equipment is in a screen locking state, and hiding the unread message in a screen locking interface; and receiving a first input;
the determining module is configured to determine a target message according to the first input received by the receiving module, where the target message is a message in the unread message;
the display module is configured to display the target message determined by the determination module in the screen locking interface.
7. The apparatus according to claim 6, wherein the determining module is specifically configured to determine the target message if the input parameters of the first input match the input parameters of a preset input;
wherein the input parameters include at least one of: input position, input duration and input track.
8. The apparatus of claim 7, wherein the first input comprises a touch input of a user in a preset area, and a fingerprint identification area of a screen of the electronic device contains the preset area;
the determining module is specifically configured to determine the target message when the input parameter of the first input matches the input parameter of the preset input and the fingerprint of the user matches the preset fingerprint.
9. The apparatus of claim 7 or 8, wherein the preset input comprises a first preset input and a second preset input, the first preset input corresponds to a first application, the second preset input corresponds to a second application, and the first application and the second application are different types of applications.
10. The apparatus of claim 6, wherein the screen of the electronic device is a curved screen, the curved screen comprising a flat area and a curved area, and wherein the first input is an input at the curved area.
11. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the message display method as claimed in any one of claims 1 to 5.
12. A readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the message display method according to any one of claims 1 to 5.
CN202011027266.7A 2020-09-25 2020-09-25 Message display method and device and electronic equipment Pending CN112162810A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011027266.7A CN112162810A (en) 2020-09-25 2020-09-25 Message display method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011027266.7A CN112162810A (en) 2020-09-25 2020-09-25 Message display method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112162810A true CN112162810A (en) 2021-01-01

Family

ID=73864085

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011027266.7A Pending CN112162810A (en) 2020-09-25 2020-09-25 Message display method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112162810A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114020391A (en) * 2021-11-10 2022-02-08 维沃移动通信有限公司 Information display method and device, electronic equipment and readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104471920A (en) * 2013-06-19 2015-03-25 华为终端有限公司 Method and Apparatus for Processing Data and Message
US20160192324A1 (en) * 2014-12-30 2016-06-30 Xiaomi Inc. Method and device for displaying notification information
CN106412334A (en) * 2016-11-11 2017-02-15 努比亚技术有限公司 Notification message shielding device and method
CN106534572A (en) * 2016-11-30 2017-03-22 广东欧珀移动通信有限公司 Information display method and device and terminal
CN106681587A (en) * 2016-12-21 2017-05-17 深圳市金立通信设备有限公司 Application icon corner marker processing method and terminal
WO2019071539A1 (en) * 2017-10-12 2019-04-18 华为技术有限公司 Method and device for scrolling display of notification message
CN111597530A (en) * 2020-04-07 2020-08-28 上海传英信息技术有限公司 Notification message display method, terminal and computer storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104471920A (en) * 2013-06-19 2015-03-25 华为终端有限公司 Method and Apparatus for Processing Data and Message
CN108833657A (en) * 2013-06-19 2018-11-16 华为终端(东莞)有限公司 A kind of method and device of data and Message Processing
US20160192324A1 (en) * 2014-12-30 2016-06-30 Xiaomi Inc. Method and device for displaying notification information
CN106412334A (en) * 2016-11-11 2017-02-15 努比亚技术有限公司 Notification message shielding device and method
CN106534572A (en) * 2016-11-30 2017-03-22 广东欧珀移动通信有限公司 Information display method and device and terminal
CN106681587A (en) * 2016-12-21 2017-05-17 深圳市金立通信设备有限公司 Application icon corner marker processing method and terminal
WO2019071539A1 (en) * 2017-10-12 2019-04-18 华为技术有限公司 Method and device for scrolling display of notification message
CN111201512A (en) * 2017-10-12 2020-05-26 华为技术有限公司 Method and equipment for scrolling and displaying notification message
CN111597530A (en) * 2020-04-07 2020-08-28 上海传英信息技术有限公司 Notification message display method, terminal and computer storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114020391A (en) * 2021-11-10 2022-02-08 维沃移动通信有限公司 Information display method and device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
US20200183574A1 (en) Multi-Task Operation Method and Electronic Device
EP4206883A1 (en) Permission setting method and apparatus and electronic device
CN110007822B (en) Interface display method and terminal equipment
CN111338524A (en) Application program control method and electronic equipment
CN112699363A (en) Graphic code identification method and device and electronic equipment
CN113794795A (en) Information sharing method and device, electronic equipment and readable storage medium
CN104182161A (en) Method and device for opening screen functional area
CN112948843B (en) Encryption method, encryption device, electronic equipment and medium
CN112162810A (en) Message display method and device and electronic equipment
CN112181559A (en) Interface display method and device and electronic equipment
WO2023030304A1 (en) Prompt information display method and apparatus, and electronic device
CN112162689B (en) Input method and device and electronic equipment
CN114020099B (en) Display method and device
WO2022199540A1 (en) Unread message identifier clearing method and apparatus, and electronic device
CN113824841B (en) Notification message processing method and device, electronic equipment and readable storage medium
CN115795429A (en) Application interface management method and device, electronic equipment and readable storage medium
CN114020391A (en) Information display method and device, electronic equipment and readable storage medium
CN113703592A (en) Secure input method and device
CN113515216A (en) Application program switching method and device and electronic equipment
CN114416264A (en) Message display method and device
CN114115639A (en) Interface control method and device, electronic equipment and storage medium
CN113253884A (en) Touch method, touch device and electronic equipment
CN113238691A (en) Application icon management method and device and electronic equipment
CN112596645A (en) Application identifier hiding method and device and electronic equipment
CN113342241A (en) Target character selection method and device, electronic equipment and storage medium

Legal Events

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