WO2021238775A1 - Display method, display apparatus, and electronic device - Google Patents

Display method, display apparatus, and electronic device Download PDF

Info

Publication number
WO2021238775A1
WO2021238775A1 PCT/CN2021/095005 CN2021095005W WO2021238775A1 WO 2021238775 A1 WO2021238775 A1 WO 2021238775A1 CN 2021095005 W CN2021095005 W CN 2021095005W WO 2021238775 A1 WO2021238775 A1 WO 2021238775A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
application
input
content
display
Prior art date
Application number
PCT/CN2021/095005
Other languages
French (fr)
Chinese (zh)
Inventor
林昊
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021238775A1 publication Critical patent/WO2021238775A1/en

Links

Images

Classifications

    • 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
    • G06F3/04817Interaction 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 using icons
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Definitions

  • This application belongs to the field of communication technology, and specifically relates to a display method, a display device and an electronic device.
  • the electronic device receives a new message when the screen is locked (or off the screen), in order to avoid privacy leakage, the user can choose to turn off the notification information details in the notification mode for displaying new messages.
  • the electronic device will only display the icon of the application on the lock screen interface (screen off interface).
  • the aforementioned new message notification method can avoid privacy leakage, the user cannot quickly distinguish the importance of the message when the screen is locked. If the user is waiting to receive an important message, he needs to unlock the screen to view the message every time he views a new message.
  • the specific content causes that the operation of viewing messages in the locked screen state or the off-screen state of the electronic device is not convenient enough.
  • the purpose of the embodiments of the present application is to provide a display method, a display device, and an electronic device, which can solve the problem that the operation of viewing messages in the locked state or off state of the electronic device is not convenient enough.
  • an embodiment of the present application provides a display method.
  • the display method includes: if the electronic device receives the first message of the first application in the target state, displaying the icon of the first application; the target state is the lock screen State or off-screen state; receiving a first input; if the first input is a preset input, in response to the first input, display the first content of the first message in the target state; wherein the first content includes at least one of the following : Sender information of the first message, part of the message content of the first message that meets the preset type.
  • an embodiment of the present application provides a display device, the display device includes: a display module and a receiving module; The icon of the first application; the target state is the lock screen state or the screen off state; the receiving module is used to receive the first input; the display module is also used to respond to the first input if the first input is a preset input
  • the first content of the first message is displayed in the target state; wherein the first content includes at least one of the following: sender information of the first message, and part of the message content of the first message that meets the preset type.
  • an embodiment of the present application provides an electronic device that includes a processor, a memory, and a program or instruction that is stored on the memory and can run on the processor.
  • the program or instruction is The processor implements the steps of the display method as described in the first aspect when executed.
  • an embodiment of the present application provides a readable storage medium storing a program or instruction on the readable storage medium, and when the program or instruction is executed by a processor, the display method as described in the first aspect is implemented. step.
  • an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used to run a program or an instruction to implement the chip as in the first aspect The display method described.
  • the electronic device first, if the electronic device receives the first message of the first application in the target state, the electronic device displays the icon of the first application, and the target state is the screen locked state or the screen off state; then, the electronic device The device receives the first input; then, if the first input is a preset input, the electronic device displays the first content of the first message in the target state in response to the first input. Since in the locked screen state (or off state), the electronic device can display the icon of the first application from which the first message comes in the locked screen state (or off state) to remind the user that there is a new version of the first application. Message, if the user needs to view more content of the new message, the user can input the first input.
  • the electronic device can display the first message in the locked state (or off state) The first content. Since the first content includes at least one of the following: sender information of the first message, and part of the message content of the message content of the first message that meets the preset type, the simple summary content will not cause the privacy of the user to be leaked, compared to Related technologies can enable users to view part of the information of new messages without triggering the electronic device to turn on the screen or unlock the screen, so that users can view the message content of important messages without fully unlocking, and quickly identify whether There are important messages, and the user does not need to unlock the screen to view the entire content of each message every time the user operates, making the operation of the electronic device more convenient.
  • FIG. 1 is a schematic flowchart of a display method provided by an embodiment of this application.
  • FIG. 2 is one of the schematic diagrams of the interface of the display method provided by the embodiment of the application.
  • FIG. 3 is the second schematic diagram of the interface of the display method provided by the embodiment of this application.
  • FIG. 4 is a schematic diagram of a setting interface of a display method provided by an embodiment of the application.
  • FIG. 5 is a schematic diagram of a possible structure of a display device provided by an embodiment of the application.
  • FIG. 6 is a schematic diagram of hardware of an electronic device provided by an embodiment of the application.
  • FIG. 1 is a schematic flowchart of a display method provided by an embodiment of the application. As shown in FIG. 1, the display method includes S101 to S103:
  • the target state is the screen locked state or the screen off state.
  • the first application may be a system application in the electronic device, may be an installed third-party application, or may be a web-version third-party application, which is not specifically limited in the embodiment of the present application.
  • the electronic device before the first message is received in the target state, if the electronic device does not include the unread message of the first application, the icon of the first application is not displayed on the screen of the electronic device in the target state; After the first message is reached, the electronic device starts to display the icon of the first application to remind the user that there is an unread message from the first application.
  • the electronic device before receiving the first message in the target state, if the electronic device includes the unread message of the first application, the icon of the first application is displayed on the screen of the electronic device in the target state; After the first message, the electronic device keeps displaying the icon of the first application, highlights the icon of the first application, or updates the number of messages displayed on the icon of the first application to remind the user that there is an unread message from the first application.
  • the electronic device may update the display number N on the icon of the first application to prompt the user that there are N unread messages of the first application, where N is a positive integer.
  • the electronic device receives the first input.
  • the first input may be an input for the user to trigger the electronic device to display part of the content of the unread message.
  • the first input may be the input of the user clicking on the icon of the first application, or the input of inputting a fingerprint on the screen, or the input of placing the face in the camera collection area, or the input of the user on the screen.
  • the first content includes at least one of the following: sender information of the first message, and part of the message content of the message content of the first message that meets a preset type.
  • the preset type may be a type selected by the user from the default type of the electronic device, or may be a user-defined type.
  • the first content may indicate the importance of the first message.
  • the first content may be determined by the electronic device according to predefined rules and the first message, or determined by the electronic device according to the importance of machine learning and the first message, wherein the predefined rule may be the user It can be set manually, or it can be the default configuration in the electronic device.
  • the first content may include at least one of the following: the avatar of the sender of the first message, the name of the sender, the keywords in the first message, the header text of the first message, and the like.
  • the keywords can be preset in the electronic device or customized by the user.
  • a message is deduction information
  • the first content can be "a certain bank, deduction” in the message
  • a message is a specific
  • the first content sent by the user may be a specially marked image set by the user in advance for the user.
  • the message header text can be the content in the brackets [***] displayed at the beginning of the message.
  • the electronic device can display the SMS icon.
  • the electronic device can display the [a bank] in the message on the screen for the user to check initially.
  • the electronic device can display [a station] in the message on the screen for the user to view.
  • the preset input may be the user's input for the direct operation of the prompt icon (for example, the icon of the first application mentioned above), for example, click on the prompt icon, double-click on the prompt icon, or click on the prompt icon.
  • Swiping can also be an input that is incorrect to a prompt icon, such as an input that draws a preset track on the screen.
  • the preset track can be preset by the electronic device or customized by the user.
  • displaying the first content of the first message in the locked screen state can be understood as the electronic device is half unlocked, that is, more content of the first message can be viewed without unlocking.
  • the electronic device may superimpose and display a display frame on the screen to display the first content.
  • FIG. 2 is a schematic diagram of an interface of a display method provided by an embodiment of the application.
  • the electronic device determines to receive a new message from Zhang San, the contact person of Application 1, if the electronic device is in the off-screen state, as shown in Figure 2 (a), when the electronic device is in the off-screen state, The application 1 icon is displayed on the screen. If the user clicks the icon of Application 1 on the screen, the electronic device can display the icon and Zhang San of the contact person in Application 1 on the screen as shown in Figure 2 (b). Three's name.
  • the electronic device After the electronic device receives the first input, for example, the preset input is the input of fingerprints or the input of facial images, the electronic device will not unlock the screen.
  • the electronic device When the electronic device is in the lock screen state, the first content of the first message is displayed.
  • the first new message prompt method is that after receiving the unread message, the electronic device directly displays the entire content of the unread message. After the number of unread messages exceeds the preset number of words, the pre-display is displayed. Set the message content with the number of words, for example, display up to 40 words at a time. If the number of unread messages exceeds 40 words, the first 40 words are displayed first, and the user can click on the message to view the remaining content.
  • the second new message notification method is to only display the icon of the application to indicate that the application has unread messages.
  • the user needs to view the content of the message when the screen is locked (or off), the user needs to unlock the screen (or when the screen is off) Turn on the screen and unlock) before you can click the app icon to view the content of the message. If the user has set a lock screen password, the password must be entered before unlocking, and then the entire content of unread messages can be viewed.
  • the first new message notification method displays the specific content of the information, which is likely to cause privacy leakage; the second new message notification method does not display the message content of the new message, although The problem of privacy leakage is avoided, but for the user, the content of any message cannot be obtained in the target state, and it is impossible to quickly distinguish whether the new message is an important message.
  • the user needs to unlock the screen and enter the application where the message is located to view it. When the user is waiting for an important message, every time a new message comes, the user needs to unlock it for viewing, and the operation steps are relatively cumbersome.
  • the electronic device first, if the electronic device receives the first message of the first application in the target state, the electronic device displays the icon of the first application, and the target state is the screen locked state or the screen off state; , The electronic device receives the first input; then, if the first input is a preset input, the electronic device displays the first content of the first message in the target state in response to the first input. Since in the locked screen state (or off state), the electronic device can display the icon of the first application from which the first message comes in the locked screen state (or off state) to remind the user that there is a new message of the first application If the user needs to view more content of the new message, the user can enter the first input.
  • the electronic device can display the first message in the locked state (or off state) The first content. Since the first content includes at least one of the following: sender information of the first message, and part of the message content of the message content of the first message that meets the preset type, the simple summary content will not cause the privacy of the user to be leaked, compared to Related technologies can enable users to view part of the information of new messages without triggering the electronic device to turn on the screen or unlock the screen, so that users can view the message content of important messages without fully unlocking, and quickly identify whether There are important messages, and the user does not need to unlock the screen to view the entire content of each message every time the user operates, making the operation of the electronic device more convenient.
  • the lock screen or the off-screen interface can display an icon of one application. If the electronic device receives unread messages of different applications, The electronic device displays the icons of each application in the target state.
  • the electronic device may display unread messages in response to the first input.
  • the electronic device may only display more content of the most recent unread message, that is, display the first content of the first message, and the electronic device may also display the first message and other unread messages in the following manner. content.
  • the foregoing S103 may be executed by the following S103a:
  • the electronic device displays the first content of the first message in the target state and displays the second content of the second message .
  • the second message is an unread message
  • the second message is a message received through the first application or through the second application
  • the second application and the first application are different applications.
  • the second content includes at least one of the following: sender information of the second message, and part of the message content of the message content of the second message that meets the preset type.
  • the electronic device may, after receiving the first input, sequentially display the first message of the first message in an area according to the target order.
  • the content and the second content of the second message may be messages sent by the same contact, or messages sent by different contacts.
  • the target order may be in the order of receiving time, or in the order of the contact priority set by the user.
  • the electronic device may display the first content of the first message in the first area after receiving the first input, and display the first content of the first message in the second area after receiving the first input. Display the second content of the second message.
  • first area and the second area may be arranged in chronological order.
  • FIG. 3 is a schematic diagram of the interface of a display method provided by an embodiment of the application. It is assumed that the electronic device receives a new message (ie, the second message) from Zhang San in Application 1 from the express station in Application 2. Send a new message (ie, the first message), after the electronic device receives the first input, as shown in (a) in Figure 3, the electronic device can display the avatar and Zhang San of the contact person Zhang San in Application 1. The name of the courier station and the name of the courier station of the contact in the application 2 are displayed.
  • a new message ie, the second message
  • Send a new message ie, the first message
  • the electronic device can display the avatar and Zhang San of the contact person Zhang San in Application 1.
  • the name of the courier station and the name of the courier station of the contact in the application 2 are displayed.
  • the electronic device can display the avatar and name of Zhang San, the contact person in Application 1, and the avatar and name of Li Si, the contact person in Application 1.
  • the first input may be an input that does not operate on the icon of the first application.
  • the first input may be the user inputting a fingerprint on the screen, placing the face in front of the camera, and drawing presets. The input of the trajectory.
  • the user can trigger the electronic device to display more content of the multiple unread messages at a time through the first input, so that the user can follow the electronic device Display more content of unread messages, quickly determine whether there are important messages in the received unread messages, so that the user does not need to operate each unread message once, which simplifies the steps for the user to operate the electronic device, and makes the electronic device The operation is more convenient.
  • the electronic device receives the second input.
  • the second input may be an input for the user to set a new message prompt mode on the setting interface.
  • the setting interface can be the setting interface of the first application or the system setting interface.
  • the new message prompt method is set for the first application. If the user sets on the system settings interface, it can be set for all applications or at least one application selected by the user. The way to prompt new messages.
  • the electronic device updates the new message prompt mode in the target state to the target prompt mode.
  • the electronic device receives the preset input in the target prompt mode, the target content of the new message is displayed.
  • the target content includes at least one of the following: sender information of the new message, and part of the message content of the new message that meets the preset type.
  • the target content is user-defined or preset in the electronic device.
  • the electronic device may receive the new message in the target state according to the above-mentioned embodiment
  • the display mode in to remind the user, that is, to display the application from which the unread message comes. If the user enters a preset input, the target state is maintained and the target content of the unread message is displayed.
  • Fig. 4 is a schematic diagram of a setting interface provided by an embodiment of the application. As shown in Fig. 4, the user can set the new message reminding method of Application 1 in the setting interface. Choose which target content to display in options such as, message header, message number, etc.
  • FIG. 4 is only a setting method of the setting interface of the application 1 provided by the embodiment of the present application. In actual applications, the user can also perform unified settings in the system setting interface of the electronic device.
  • the user can manually set the new message prompt mode in the target state as the target prompt mode, and select which content in the new message to display, that is, select the target content, so that the user can customize the electronic device in the target state, After receiving a new message, what content in the new message is displayed, so that the user can choose according to which information to determine whether a new message is more important information, and can also avoid displaying too much content and causing privacy leakage.
  • the display is more flexible and diverse.
  • the user can also set in the target state, which information does not need to be reminded by electronic equipment, which information electronic equipment can be reminded according to the reminding method in related technologies, and which information electronic equipment needs to be reminded according to the reminding method provided by this application .
  • the electronic device receives the third input.
  • the third input may be an input for the user to select a target message type, and the prompt for selecting a new message of the target message type may be prompted according to the display mode provided in the embodiment of the present application.
  • the electronic device determines to prompt a new message of the target message type in the target state.
  • the user can choose to display the new message of the target message type in the target state according to the display mode provided in the embodiment of the present application.
  • the message of the target message type may be a message that meets certain rules, for example, a message determined according to the content type of the message, or a message including a specific keyword.
  • the electronic device may receive a new message. , First identify the message, and identify whether the message is a message of the target message type.
  • deduction messages, transfer messages, and messages sent by contacts in payment applications can be set as target message types, and other notification messages and push messages can be non-target message types.
  • Messages in the phone address book can be set as messages of the target message type, and messages carrying a specific identifier can be set as messages of the target message type, such as express delivery information, bank deduction information, shopping delivery information, and so on.
  • the user can set not to prompt new messages of other message types in the target state, or set the target state to prompt other message types in the traditional way New news.
  • the target state the entire content of the information of other message types can be displayed, and the user can directly view all the content of other message types in the target state; or in the target state, only the application icon prompts other messages of the application Types of new messages, the user operates the icon of the application in the target state, and the electronic device does not respond to display more information.
  • the user can set which types of messages according to the needs to display the new message using the display method provided in the embodiment of this application.
  • the electronic device can first determine whether the new message is a target message after receiving the new message according to the user’s settings. Type of message, if the new message is a message of the target message type, the icon of the first application can be displayed to prompt the user that there is a new message, and then after receiving the user’s first input, the electronic device can display the first content of the first message, In this way, electronic devices can differentiate and display messages of different message types, such as unimportant messages or messages that do not involve private content. Advertising pushes can be displayed in accordance with related technologies. Important messages can be displayed in accordance with the embodiments of this application.
  • the method prompts and displays. If the user has set to only prompt new messages of the target message type in the target state, the electronic device can not remind (or filter) new messages of non-target message types in the target state, but only remind the target message type New messages, so that users can quickly determine which are important messages.
  • the user can control the electronic device to clear the first message, for example, on the screen Swipe left or right on the first message to clear the first message; if the user needs to continue to view more content of the first message, he can control the electronic device to switch the screen state to view the entire content of the first message; if the user needs to reply quickly , The user can trigger the electronic device to display the input area in the target state for the user to quickly reply to the message, which can be specifically implemented in the following manner.
  • the electronic device receives the fourth input.
  • the fourth input is an input for the user to control the electronic device to display a message reply area.
  • the fourth input may be an input of the user double-clicking the first message or the first content on the screen of the electronic device.
  • the electronic device displays a message reply area in the target state.
  • the message reply area is used for the user to input message content.
  • the electronic device may call the input method interface for the user to use.
  • the user can input content in the message reply area and reply to the message through the first application.
  • the electronic device can display the message reply area in the target state according to the user's fourth input, so that the user can turn off the message without unlocking the screen or in other areas.
  • the electronic device can display the message reply area in the target state according to the user's fourth input, so that the user can turn off the message without unlocking the screen or in other areas.
  • the execution subject of the display method provided in the embodiment of the present application may be a display device, or a control module in the display device for executing the loading display method.
  • the display device executes the loading display method as an example to illustrate the display method provided in the embodiment of the present application.
  • FIG. 5 is a schematic diagram of a possible structure of a display device provided for the implementation of this application.
  • the display device 500 includes: a display module 501 and a receiving module 502; When the first message of the first application is received, the icon of the first application is displayed; the target state is the screen locked state or the screen off state; the receiving module 502 is used to receive the first input; the display module 501 is also used to If one input is a preset input, in response to the first input, the first content of the first message is displayed in the target state; wherein the first content includes at least one of the following: sender information of the first message, and the first message Part of the message content of the message content conforms to the preset type.
  • the display device displays the icon of the first application, and the target state is the screen locked state or the screen off state; then, the display device receives the first message. Input; afterwards, if the first input is a preset input, the display device responds to the first input and displays the first content of the first message in the target state. Since in the locked screen state (or off state), the display device can display the icon of the first application of the first application from which the first message comes in the locked screen state (or off state) to prompt the user to have the first application.
  • the new message of the application if the user needs to view more content of the new message, the user can input the first input, and the display device can be displayed in the locked state (or off state) when the first input is the preset input
  • the first content of the first message Since the first content includes at least one of the following: sender information of the first message, and part of the message content of the message content of the first message that meets the preset type, the simple summary content will not cause the privacy of the user to be leaked, compared to
  • the related technology can enable the user to view part of the information of the new message without triggering the display device to turn on the screen or unlock the screen, so that the user can view the message content of the important message without completely unlocking, and quickly identify whether There are important messages, and there is no need for the user to unlock the screen for each operation to view the entire content of each message, making the operation of the display device more convenient.
  • the display module 501 is specifically configured to: if the second message is received before the first message is received, display the first content of the first message in the target state and display the second content of the second message; Wherein, the second message is an unread message, the second message is a message received through the first application or through the second application, and the second application and the first application are different applications.
  • the user can trigger the display device to display more content of the multiple unread messages at a time through the first input, so that the user can display more content of the multiple unread messages at a time according to the display device. More content of the unread messages displayed, quickly determine whether there are important messages in the received unread messages, so that the user does not need to operate each unread message once, which simplifies the steps for the user to operate the display device, so that the display device The operation is more convenient.
  • the display device further includes a determining module; the receiving module 502 is further configured to receive a second input before displaying the icon of the first application if the display device receives the first message of the first application in the target state; confirm A module for determining the new message prompt mode in the target state as the target prompt mode in response to the second input received by the receiving module 502; wherein, if the preset input is received in the target prompt mode, the target of the new message is displayed content.
  • the user can manually set the new message prompt mode in the target state as the target prompt mode, and select which content in the new message to display, that is, select the target content, so that the user can customize the display device in the target state to receive
  • the new message arrives, what content in the new message is displayed, so that the user can choose according to which information to determine whether a new message is more important information, and it can also avoid displaying too much content and causing privacy leakage, and it can also make the display More flexible and diverse.
  • the receiving module 502 is further configured to receive a third input before displaying the icon of the first application if the display device receives the first message of the first application in the target state; the determining module is also configured to respond to The third input is to determine that a new message of the target message type is prompted in the target state; the display module is specifically configured to display the icon of the first application if the first message belongs to the message of the target message type.
  • the user can set which types of messages according to the needs, using the display method provided in the embodiment of this application to display the new message, and the display device can first determine whether the new message is the target message type after receiving the new message according to the user's setting If the new message is a message of the target message type, the icon of the first application can be displayed to prompt the user that there is a new message, and then after receiving the user’s first input, the display device can display the first content of the first message, thereby This allows the display device to differentiate and display different types of messages, such as unimportant messages or messages that do not involve privacy content. Advertising pushes can be displayed according to related technologies. Important messages can be prompted according to the display mode provided in the embodiments of this application.
  • the display device can not remind (or filter out) new messages of non-target message type in the target state, but only remind new messages of the target message type Messages, so that users can quickly determine which are important messages.
  • the receiving module 502 is configured to receive a fourth input after the display module 501 displays the first content of the first message in the target state; the display module 501 is also configured to respond to the fourth input received by the receiving module 502 , In the target state, the message reply area is displayed, and the message reply area is used for the user to input the message content.
  • the display device can display a message reply area in the target state according to the user's fourth input, so that the user can turn off the screen without unlocking the screen or in other areas
  • a message reply area in the target state according to the user's fourth input
  • the display device in the embodiment of the present application may be a device, or a component, integrated circuit, or chip in a terminal.
  • the device can be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). assistant, PDA), etc.
  • Non-mobile electronic devices can be servers, network attached storage (NAS), personal computers (PC), televisions (television, TV), teller machines or self-service machines, etc., this application The embodiments are not specifically limited.
  • the display device in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
  • the display device provided by the embodiment of the present application can implement the various processes implemented by the display device in the method embodiments of FIGS. 1 to 4, and to avoid repetition, details are not described herein again.
  • an embodiment of the present application further provides an electronic device, including a processor 1010, a memory 1009, a program or instruction that is stored in the memory 1009 and can run on the processor 1010, and the program or instruction is executed by the processor 1010
  • an electronic device including a processor 1010, a memory 1009, a program or instruction that is stored in the memory 1009 and can run on the processor 1010, and the program or instruction is executed by the processor 1010
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • Fig. 6 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010, etc. part.
  • the electronic device 1000 may also include a power source (such as a battery) for supplying power to various components.
  • the power source may be logically connected to the processor 1010 through a power management system, so that the power management system can manage charging, discharging, and power management. Consumption management and other functions.
  • the structure of the electronic device shown in FIG. 6 does not constitute a limitation on the electronic device.
  • the electronic device may include more or less components than those shown in the figure, or some components may be combined, or different component arrangements, which will not be repeated here. .
  • the display unit 1006 is configured to display the icon of the first application if the electronic device receives the first message of the first application in the target state; the target state is the screen locked state or the screen off state; the user input unit 1007 uses After receiving a first input; the display unit 1006 is further configured to display the first content of the first message in the target state in response to the first input if the first input is a preset input; wherein, the first content includes at least the following One item: sender information of the first message, part of the message content of the message content of the first message that meets the preset type.
  • the electronic device For the electronic device provided by the embodiment of the present application, first, if the electronic device receives the first message of the first application in the target state, the electronic device displays the icon of the first application, and the target state is the screen locked state or the screen off state; , The electronic device receives the first input; then, if the first input is a preset input, the electronic device displays the first content of the first message in the target state in response to the first input. Since in the locked screen state (or off state), the electronic device can display the icon of the first application of the first application from which the first message comes in the locked screen state (or off state) to prompt the user to have the first application A new message of an application. If the user needs to view more content of the new message, the user can input the first input.
  • the electronic device can be in the locked state (or off state) Display the first content of the first message. Since the first content includes at least one of the following: sender information of the first message, and part of the message content of the message content of the first message that meets the preset type, the simple summary content will not cause the privacy of the user to be leaked, compared to Related technologies can enable users to view part of the information of new messages without triggering the electronic device to turn on the screen or unlock the screen, so that users can view the message content of important messages without fully unlocking, and quickly identify whether There are important messages, and the user does not need to unlock the screen to view the entire content of each message every time the user operates, making the operation of the electronic device more convenient.
  • the display unit 1006 is further configured to, if the second message is received before the first message is received, display the first content of the first message in the target state and display the second content of the second message; wherein ,
  • the second message is an unread message, the second message is a message received through the first application or through the second application, and the second application and the first application are different applications.
  • the user can trigger the electronic device to display more content of the multiple unread messages at a time through the first input, so that the user can display more content according to the electronic device More content of unread messages, quickly determine whether there are important messages in the received unread messages, so that the user does not need to operate each unread message once, which simplifies the steps for the user to operate the electronic device, and makes the electronic device more effective. The operation is more convenient.
  • the user input unit 1007 is further configured to receive a second input; the processor 1010 is configured to, in response to the second input, determine the new message prompt mode in the target state as the target prompt mode; wherein, if the target prompt When the preset input is received in the mode, the target content of the new message is displayed, and the target content is user-defined or preset in the electronic device.
  • the user can manually set the new message prompt mode in the target state as the target prompt mode, and select which content in the new message to display, that is, select the target content, so that the user can customize the receiving mode when the electronic device is in the target state.
  • the new message arrives, what content in the new message is displayed, so that the user can choose according to which information to determine whether a new message is more important information, and it can also avoid displaying too much content and causing privacy leakage, and it can also make the display More flexible and diverse.
  • the user input unit 1007 is also used for receiving a third input; the processor 1010 is used for determining, in response to the third input, a new message that prompts the target message type in the target state; and the display unit 1006 is also used for If the first message is a message of the target message type, the icon of the first application is displayed.
  • the user can set which types of messages according to the needs and use the display method provided in the embodiment of this application to display the new message.
  • the electronic device can first determine whether the new message is the target message type after receiving the new message according to the user's setting. If the new message is a message of the target message type, the icon of the first application can be displayed to prompt the user that there is a new message, and then after receiving the user’s first input, the electronic device can display the first content of the first message, thereby This allows the electronic device to differentiate and display different types of messages, such as unimportant messages or messages that do not involve private content. Advertising pushes can be displayed according to related technologies, and important messages can be prompted according to the display mode provided in the embodiments of this application.
  • the electronic device can not remind (or filter out) new messages of non-target message type in the target state, but only remind new messages of the target message type. Messages, so that users can quickly determine which are important messages.
  • the user input unit 1007 is further configured to receive a fourth input; the display unit 1006 is further configured to display a message reply area in the target state in response to the fourth input, and the message reply area is used for the user to input message content.
  • the electronic device can display the message reply area in the target state according to the user's fourth input, so that the user can turn off the screen without unlocking the screen or in other areas
  • the electronic device can display the message reply area in the target state according to the user's fourth input, so that the user can turn off the screen without unlocking the screen or in other areas
  • the user can enter a password to unlock, so that the user can quickly browse the message to determine whether the new message is an important message.
  • the embodiment of the present application also provides a readable storage medium with a program or instruction stored on the readable storage medium.
  • the program or instruction is executed by a processor, each process of the foregoing display method embodiment is realized, and the same technology can be achieved. The effect, in order to avoid repetition, will not be repeated here.
  • the foregoing processor is the processor in the electronic device described in the foregoing embodiment.
  • the aforementioned readable storage media include computer readable storage media, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disks, or optical disks.
  • An embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a program or an instruction to implement each of the foregoing display method embodiments The process, and can achieve the same technical effect, in order to avoid repetition, I will not repeat it here.
  • chips mentioned in the embodiments of the present application may also be referred to as system-level chips, system-on-chips, system-on-chips, or system-on-chips.
  • the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. ⁇
  • the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.

Abstract

The present application relates to the technical field of communications, and discloses a display method, a display apparatus, and an electronic device. The method comprises: displaying the icon of a first application if a first message of the first application is received by an electronic device in a target state, the target state being a screen locked state or a screen off state; receiving a first input; and displaying first content of the first message in the target state in response to the first input if the first input is a preset input; the first content comprises at least one of the following: sender information of the first message and some message content in the first message that complies with a preset type.

Description

显示方法、显示装置及电子设备Display method, display device and electronic equipment
相关申请的交叉引用Cross-references to related applications
本申请主张在2020年05月25日在中国提交的中国专利申请号202010451079.5的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 202010451079.5 filed in China on May 25, 2020, the entire content of which is incorporated herein by reference.
技术领域Technical field
本申请属于通信技术领域,具体涉及一种显示方法、显示装置及电子设备。This application belongs to the field of communication technology, and specifically relates to a display method, a display device and an electronic device.
背景技术Background technique
随着通信技术的发展,用户使用电子设备进行日常交流的频率越来越高。With the development of communication technology, users use electronic devices for daily communication more and more frequently.
通常,若电子设备处于锁屏状态(或者熄屏状态)下接收到新消息,为了避免隐私泄露,用户可以在设置显示新消息的通知方式中选择关闭通知信息详情,在该状态下若一个应用有新消息,电子设备会在锁屏界面(熄屏界面)仅显示该应用的图标。Generally, if the electronic device receives a new message when the screen is locked (or off the screen), in order to avoid privacy leakage, the user can choose to turn off the notification information details in the notification mode for displaying new messages. In this state, if an application When there is a new message, the electronic device will only display the icon of the application on the lock screen interface (screen off interface).
然而,上述新消息的提示方式,虽然可以避免隐私泄露,但是用户无法在锁屏状态下快速区分消息的重要程度,若用户在等待接收重要消息,每次查看新消息均需要解锁屏幕查看消息的具体内容,如此,导致电子设备在锁屏状态或熄屏状态下查看消息的操作不够便捷。However, although the aforementioned new message notification method can avoid privacy leakage, the user cannot quickly distinguish the importance of the message when the screen is locked. If the user is waiting to receive an important message, he needs to unlock the screen to view the message every time he views a new message. The specific content, as such, causes that the operation of viewing messages in the locked screen state or the off-screen state of the electronic device is not convenient enough.
发明内容Summary of the invention
本申请实施例的目的是提供一种显示方法、显示装置及电子设备,能够解决电子设备在锁屏状态或熄屏状态下查看消息的操作不够便捷的问题。The purpose of the embodiments of the present application is to provide a display method, a display device, and an electronic device, which can solve the problem that the operation of viewing messages in the locked state or off state of the electronic device is not convenient enough.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:
第一方面,本申请实施例提供了一种显示方法,该显示方法包括:若 电子设备在目标状态下接收到第一应用的第一消息,则显示第一应用的图标;目标状态为锁屏状态或熄屏状态;接收第一输入;若第一输入为预设输入,则响应于第一输入,在目标状态下显示第一消息的第一内容;其中,第一内容包括以下至少一项:第一消息的发件人信息,第一消息的消息内容中符合预设类型的部分消息内容。In the first aspect, an embodiment of the present application provides a display method. The display method includes: if the electronic device receives the first message of the first application in the target state, displaying the icon of the first application; the target state is the lock screen State or off-screen state; receiving a first input; if the first input is a preset input, in response to the first input, display the first content of the first message in the target state; wherein the first content includes at least one of the following : Sender information of the first message, part of the message content of the first message that meets the preset type.
第二方面,本申请实施例提供了一种显示装置,该显示装置包括:显示模块和接收模块;显示模块,用于若显示装置在目标状态下接收到第一应用的第一消息,则显示第一应用的图标;目标状态为锁屏状态或熄屏状态;接收模块,用于接收第一输入;显示模块,还用于若第一输入为预设输入,则响应于第一输入,在目标状态下显示第一消息的第一内容;其中,第一内容包括以下至少一项:第一消息的发件人信息,第一消息的消息内容中符合预设类型的部分消息内容。In a second aspect, an embodiment of the present application provides a display device, the display device includes: a display module and a receiving module; The icon of the first application; the target state is the lock screen state or the screen off state; the receiving module is used to receive the first input; the display module is also used to respond to the first input if the first input is a preset input The first content of the first message is displayed in the target state; wherein the first content includes at least one of the following: sender information of the first message, and part of the message content of the first message that meets the preset type.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的显示方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device that includes a processor, a memory, and a program or instruction that is stored on the memory and can run on the processor. The program or instruction is The processor implements the steps of the display method as described in the first aspect when executed.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的显示方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium storing a program or instruction on the readable storage medium, and when the program or instruction is executed by a processor, the display method as described in the first aspect is implemented. step.
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的显示方法。In a fifth aspect, an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used to run a program or an instruction to implement the chip as in the first aspect The display method described.
在本申请实施例中,首先,若电子设备在目标状态下接收到第一应用的第一消息,则电子设备显示第一应用的图标,目标状态为锁屏状态或熄屏状态;然后,电子设备接收第一输入;之后若第一输入为预设输入,则电子设备响应于第一输入,在目标状态下显示第一消息的第一内容。由于在锁屏屏状态(或熄屏状态)下,电子设备可以在锁屏状态(或熄屏状态)下,显示 第一消息来自的第一应用的图标,以提示用户有第一应用的新消息,若用户需要查看新消息更多的内容,用户可以输入第一输入,电子设备在第一输入为预设输入的情况下,可以在锁屏状态(或熄屏状态)下显示第一消息的第一内容。由于第一内容包括以下至少一项:第一消息的发件人信息、第一消息的消息内容中符合预设类型的部分消息内容,简单概要的内容不会引起用户的隐私泄露,相比于相关技术,可以使得用户在无需触发电子设备亮屏或者解锁屏幕的情况下,可以查看新消息的部分信息,从而可以使得用户在不完全解锁的情况下查看重要消息的消息内容,快速地识别是否有重要的消息,无需用户每操作解锁屏幕查看每一条消息的全部内容,使得电子设备的操作更加便捷。In the embodiment of this application, first, if the electronic device receives the first message of the first application in the target state, the electronic device displays the icon of the first application, and the target state is the screen locked state or the screen off state; then, the electronic device The device receives the first input; then, if the first input is a preset input, the electronic device displays the first content of the first message in the target state in response to the first input. Since in the locked screen state (or off state), the electronic device can display the icon of the first application from which the first message comes in the locked screen state (or off state) to remind the user that there is a new version of the first application. Message, if the user needs to view more content of the new message, the user can input the first input. When the first input is a preset input, the electronic device can display the first message in the locked state (or off state) The first content. Since the first content includes at least one of the following: sender information of the first message, and part of the message content of the message content of the first message that meets the preset type, the simple summary content will not cause the privacy of the user to be leaked, compared to Related technologies can enable users to view part of the information of new messages without triggering the electronic device to turn on the screen or unlock the screen, so that users can view the message content of important messages without fully unlocking, and quickly identify whether There are important messages, and the user does not need to unlock the screen to view the entire content of each message every time the user operates, making the operation of the electronic device more convenient.
附图说明Description of the drawings
图1为本申请实施例提供的一种显示方法的流程示意图;FIG. 1 is a schematic flowchart of a display method provided by an embodiment of this application;
图2为本申请实施例提供的显示方法的界面示意图之一;FIG. 2 is one of the schematic diagrams of the interface of the display method provided by the embodiment of the application;
图3为本申请实施例提供的显示方法的界面示意图之二;FIG. 3 is the second schematic diagram of the interface of the display method provided by the embodiment of this application;
图4为本申请实施例提供的显示方法的设置界面示意图;FIG. 4 is a schematic diagram of a setting interface of a display method provided by an embodiment of the application;
图5为本申请实施例提供的一种显示装置可能的结构示意图;FIG. 5 is a schematic diagram of a possible structure of a display device provided by an embodiment of the application;
图6为本申请实施例提供的一种电子设备的硬件示意图。FIG. 6 is a schematic diagram of hardware of an electronic device provided by an embodiment of the application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of them. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示 或描述的那些以外的顺序实施。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first" and "second" in the specification and claims of this application are used to distinguish similar objects, but not to describe a specific sequence or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances so that the embodiments of the present application can be implemented in a sequence other than those illustrated or described herein. In addition, "and/or" in the description and claims means at least one of the connected objects, and the character "/" generally means that the associated objects before and after are in an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的显示方法进行详细地说明。In the following, the display method provided by the embodiments of the present application will be described in detail through specific embodiments and application scenarios with reference to the accompanying drawings.
图1为本申请实施例提供的一种显示方法的流程示意图,如图1所示,该显示方法包括S101至S103:FIG. 1 is a schematic flowchart of a display method provided by an embodiment of the application. As shown in FIG. 1, the display method includes S101 to S103:
S101、若电子设备在目标状态下接收到第一应用的第一消息,则电子设备显示第一应用的图标。S101. If the electronic device receives the first message of the first application in the target state, the electronic device displays the icon of the first application.
其中,目标状态为锁屏状态或熄屏状态。Among them, the target state is the screen locked state or the screen off state.
可选地,第一应用可以为电子设备中的系统应用,可以为已安装的第三方应用,也可以为网页版的第三方应用,本申请实施例对此不作具体限定。Optionally, the first application may be a system application in the electronic device, may be an installed third-party application, or may be a web-version third-party application, which is not specifically limited in the embodiment of the present application.
需要说明的是,在目标状态下接收到第一消息之前,若电子设备中未包括第一应用的未读消息,则目标状态下的电子设备的屏幕上不显示第一应用的图标;在接收到第一消息后,电子设备开始显示第一应用的图标,以提示用户有来自第一应用的未读消息。It should be noted that before the first message is received in the target state, if the electronic device does not include the unread message of the first application, the icon of the first application is not displayed on the screen of the electronic device in the target state; After the first message is reached, the electronic device starts to display the icon of the first application to remind the user that there is an unread message from the first application.
需要说明的是,在目标状态下接收到第一消息之前,若电子设备中包括第一应用的未读消息,则目标状态下的电子设备的屏幕上显示有第一应用的图标;在接收到第一消息后,电子设备保持显示第一应用的图标、突出显示第一应用的图标,或者更新显示第一应用的图标上的消息数量,以提示用户有来自第一应用的未读消息。It should be noted that, before receiving the first message in the target state, if the electronic device includes the unread message of the first application, the icon of the first application is displayed on the screen of the electronic device in the target state; After the first message, the electronic device keeps displaying the icon of the first application, highlights the icon of the first application, or updates the number of messages displayed on the icon of the first application to remind the user that there is an unread message from the first application.
例如,电子设备可以在第一应用的图标上更新显示数量N,以提示用户有第一应用的N条未读消息,N为正整数。For example, the electronic device may update the display number N on the icon of the first application to prompt the user that there are N unread messages of the first application, where N is a positive integer.
S102、电子设备接收第一输入。S102. The electronic device receives the first input.
例如,第一输入可以为用户触发电子设备显示未读消息的部分内容的输入。For example, the first input may be an input for the user to trigger the electronic device to display part of the content of the unread message.
示例性的,第一输入可以为用户点击第一应用的图标的输入,也可以为在屏幕上输入指纹的输入,也可以为将面部置于摄像头采集区域的输入,也可以为用户在屏幕上绘制预设形状的轨迹的输入。Exemplarily, the first input may be the input of the user clicking on the icon of the first application, or the input of inputting a fingerprint on the screen, or the input of placing the face in the camera collection area, or the input of the user on the screen. Input to draw a trajectory of a preset shape.
S103、若第一输入为预设输入,则电子设备响应于第一输入,在目标状态下显示第一消息的第一内容。S103: If the first input is a preset input, the electronic device displays the first content of the first message in the target state in response to the first input.
其中,第一内容包括以下至少一项:第一消息的发件人信息、第一消息的消息内容中符合预设类型的部分消息内容。The first content includes at least one of the following: sender information of the first message, and part of the message content of the message content of the first message that meets a preset type.
其中,预设类型可以为用户从电子设备中默认类型选中的类型,也可以为用户自定义的类型。Among them, the preset type may be a type selected by the user from the default type of the electronic device, or may be a user-defined type.
可以理解,第一内容可以指示第一消息的重要程度。It can be understood that the first content may indicate the importance of the first message.
可选地,第一内容可以为电子设备根据预定义的规则和第一消息确定的,也可以为电子设备根据机器学习的重要程度和第一消息确定的,其中,预定义的规则可以为用户手动设置的,也可以为电子设备中默认配置的。Optionally, the first content may be determined by the electronic device according to predefined rules and the first message, or determined by the electronic device according to the importance of machine learning and the first message, wherein the predefined rule may be the user It can be set manually, or it can be the default configuration in the electronic device.
示例性的,第一内容可以包括以下至少一项:第一消息的发送人的头像、发送人的姓名、第一消息中的关键字、第一消息的消息头文字等。Exemplarily, the first content may include at least one of the following: the avatar of the sender of the first message, the name of the sender, the keywords in the first message, the header text of the first message, and the like.
其中,关键字可以为电子设备中预设的,也可以为用户自定义的,例如,一个消息为扣款信息,第一内容可以为消息中的“某银行,扣款”;一个消息为特定用户发送的,第一内容可以为用户预先为该用户设置的特殊标记的图像。Among them, the keywords can be preset in the electronic device or customized by the user. For example, a message is deduction information, and the first content can be "a certain bank, deduction" in the message; a message is a specific The first content sent by the user may be a specially marked image set by the user in advance for the user.
其中,消息头文字可以为消息中最开始显示的括号【***】中的内容,例如通过短信功能收到银行的扣款信息,电子设备可以显示短信的图标,在用户点击该图标的情况下,电子设备可以将消息中的【某银行】显示在屏幕上供用户初步查看。例如通过短信功能接收到驿站的物流信息,在用户点击短信图标的情况下,电子设备可以将消息中的【某驿站】显示在屏幕上供用户初步查看。Among them, the message header text can be the content in the brackets [***] displayed at the beginning of the message. For example, when the bank’s deduction information is received through the SMS function, the electronic device can display the SMS icon. When the user clicks the icon Next, the electronic device can display the [a bank] in the message on the screen for the user to check initially. For example, when the logistics information of the station is received through the SMS function, when the user clicks the short message icon, the electronic device can display [a station] in the message on the screen for the user to view.
在本申请实施例中,预设输入可以为用户对提示图标(例如上述的第一应用的图标)的直接操作的输入,例如,对提示图标的点击、在提示图 标上双击、在提示图标上滑动,也可以为不对提示图标的输入,例如在屏幕上绘制预设轨迹的输入,预设轨迹可以为电子设备预设的,也可以为用户自定义的。In the embodiment of the present application, the preset input may be the user's input for the direct operation of the prompt icon (for example, the icon of the first application mentioned above), for example, click on the prompt icon, double-click on the prompt icon, or click on the prompt icon. Swiping can also be an input that is incorrect to a prompt icon, such as an input that draws a preset track on the screen. The preset track can be preset by the electronic device or customized by the user.
需要说明的是,若电子设备处于锁屏状态下,在锁屏状态显示第一消息的第一内容可以理解为电子设备进行了半解锁,即无需解锁即可以查看第一消息的更多内容。It should be noted that if the electronic device is in the locked screen state, displaying the first content of the first message in the locked screen state can be understood as the electronic device is half unlocked, that is, more content of the first message can be viewed without unlocking.
具体的,电子设备可以在屏幕上叠加显示一个显示框显示第一内容。Specifically, the electronic device may superimpose and display a display frame on the screen to display the first content.
示例性的,图2为本申请实施例提供的一种显示方法的界面示意图。电子设备在确定接收到应用1的联系人张三的新消息的情况下,若电子设备为熄屏状态,如图2中的(a)所示,电子设备在熄屏状态的情况下,在屏幕上显示应用1的图标。若用户在屏幕上点击应用1的图标,则电子设备可以按照图2中的(b)所示,电子设备继续在熄屏状态下,在屏幕上显示应用1中联系人张三的图标和张三的姓名。Exemplarily, FIG. 2 is a schematic diagram of an interface of a display method provided by an embodiment of the application. When the electronic device determines to receive a new message from Zhang San, the contact person of Application 1, if the electronic device is in the off-screen state, as shown in Figure 2 (a), when the electronic device is in the off-screen state, The application 1 icon is displayed on the screen. If the user clicks the icon of Application 1 on the screen, the electronic device can display the icon and Zhang San of the contact person in Application 1 on the screen as shown in Figure 2 (b). Three's name.
需要说明的是,若用户设置了锁屏密码,则电子设备在接收到第一输入之后,例如,预设输入为输入指纹的输入,或者输入面部图像的输入,则电子设备不进行屏幕解锁,在电子设备处于锁屏状态下,显示第一消息的第一内容。It should be noted that if the user sets a lock screen password, after the electronic device receives the first input, for example, the preset input is the input of fingerprints or the input of facial images, the electronic device will not unlock the screen. When the electronic device is in the lock screen state, the first content of the first message is displayed.
可以理解,在设置了锁屏密码的情况下,若通过第一输入查看第一内容之后,需要继续查看第一消息中的其他内容,则用户需要再次输入密码控制屏幕解锁之后查看。It is understandable that if the screen lock password is set, if the first content needs to be viewed through the first input after viewing the first content, the user needs to enter the password again to control the viewing after unlocking the screen.
需要说明的是,相关技术中,第一种新消息提示方式是在接收到未读消息后,电子设备直接显示未读消息的全部内容,在未读消息字数超过预设字数之后,显示前预设字数的消息内容,比如一次最多显示40个字的内容,则在未读消息的字数超过40个的情况下,先显示前40个字的内容,用户点击信息则可以查看剩余的内容。第二种新消息提示方式是仅显示应用的图标提示该应用有未读消息,若用户在屏幕锁屏(或者熄屏)时需要查看消息的内容,则需要解锁屏幕(或者在熄屏状态下点亮屏幕并解锁) 之后才能点击应用图标查看消息的内容,若用户设置了锁屏密码,则在解锁之前还需要输入密码,之后才可以查看未读消息的全部内容。上述的两种新消息提示方式中,第一种新消息提示方式,由于显示的是信息的具体内容,容易造成隐私泄露;第二种新消息提示方式,由于未显示新消息的消息内容,虽然避免了隐私泄露的问题,但是对于用户来说在目标状态下获取不到任何消息的内容,无法快速辨别新消息是否为重要的消息,用户需要解锁屏幕之后进入该消息所在的应用中才能查看,在用户等待重要消息的情况下,每次来一条新消息,用户均需要进行解锁查看,操作起来步骤比较繁琐。It should be noted that, in the related technology, the first new message prompt method is that after receiving the unread message, the electronic device directly displays the entire content of the unread message. After the number of unread messages exceeds the preset number of words, the pre-display is displayed. Set the message content with the number of words, for example, display up to 40 words at a time. If the number of unread messages exceeds 40 words, the first 40 words are displayed first, and the user can click on the message to view the remaining content. The second new message notification method is to only display the icon of the application to indicate that the application has unread messages. If the user needs to view the content of the message when the screen is locked (or off), the user needs to unlock the screen (or when the screen is off) Turn on the screen and unlock) before you can click the app icon to view the content of the message. If the user has set a lock screen password, the password must be entered before unlocking, and then the entire content of unread messages can be viewed. Among the above two new message notification methods, the first new message notification method displays the specific content of the information, which is likely to cause privacy leakage; the second new message notification method does not display the message content of the new message, although The problem of privacy leakage is avoided, but for the user, the content of any message cannot be obtained in the target state, and it is impossible to quickly distinguish whether the new message is an important message. The user needs to unlock the screen and enter the application where the message is located to view it. When the user is waiting for an important message, every time a new message comes, the user needs to unlock it for viewing, and the operation steps are relatively cumbersome.
本申请实施例提供的显示方法,首先,若电子设备在目标状态下接收到第一应用的第一消息,则电子设备显示第一应用的图标,目标状态为锁屏状态或熄屏状态;然后,电子设备接收第一输入;之后若第一输入为预设输入,则电子设备响应于第一输入,在目标状态下显示第一消息的第一内容。由于在锁屏屏状态(或熄屏状态)下,电子设备可以锁屏状态(或熄屏状态)下,显示第一消息来自的第一应用的图标,以提示用户有第一应用的新消息,若用户需要查看新消息更多的内容,用户可以输入第一输入,电子设备在第一输入为预设输入的情况下,可以在锁屏状态(或熄屏状态)下显示第一消息的第一内容。由于第一内容包括以下至少一项:第一消息的发件人信息、第一消息的消息内容中符合预设类型的部分消息内容,简单概要的内容不会引起用户的隐私泄露,相比于相关技术,可以使得用户在无需触发电子设备亮屏或者解锁屏幕的情况下,可以查看新消息的部分信息,从而可以使得用户在不完全解锁的情况下查看重要消息的消息内容,快速地识别是否有重要的消息,无需用户每操作解锁屏幕查看每一条消息的全部内容,使得电子设备的操作更加便捷。In the display method provided by the embodiments of the present application, first, if the electronic device receives the first message of the first application in the target state, the electronic device displays the icon of the first application, and the target state is the screen locked state or the screen off state; , The electronic device receives the first input; then, if the first input is a preset input, the electronic device displays the first content of the first message in the target state in response to the first input. Since in the locked screen state (or off state), the electronic device can display the icon of the first application from which the first message comes in the locked screen state (or off state) to remind the user that there is a new message of the first application If the user needs to view more content of the new message, the user can enter the first input. When the first input is a preset input, the electronic device can display the first message in the locked state (or off state) The first content. Since the first content includes at least one of the following: sender information of the first message, and part of the message content of the message content of the first message that meets the preset type, the simple summary content will not cause the privacy of the user to be leaked, compared to Related technologies can enable users to view part of the information of new messages without triggering the electronic device to turn on the screen or unlock the screen, so that users can view the message content of important messages without fully unlocking, and quickly identify whether There are important messages, and the user does not need to unlock the screen to view the entire content of each message every time the user operates, making the operation of the electronic device more convenient.
在本申请实施例中,若电子设备接收到同一个应用的多个未读消息,锁屏界面或熄屏界面可以显示一个应用的图标即可,若电子设备接收到不同应用的未读消息,电子设备在目标状态下显示各个应用的图标。In the embodiment of the present application, if the electronic device receives multiple unread messages of the same application, the lock screen or the off-screen interface can display an icon of one application. If the electronic device receives unread messages of different applications, The electronic device displays the icons of each application in the target state.
需要说明的是,若电子设备在接收第一输入之前,还有未读消息,则电子设备可以响应于第一输入显示未读消息。可选地,电子设备可以仅显示最近一条未读消息的更多内容,即显示第一消息的第一内容,电子设备还可以按照下述的方式显示第一消息和其他未读消息更多的内容。It should be noted that if the electronic device has unread messages before receiving the first input, the electronic device may display unread messages in response to the first input. Optionally, the electronic device may only display more content of the most recent unread message, that is, display the first content of the first message, and the electronic device may also display the first message and other unread messages in the following manner. content.
可选地,本申请实施例提供的显示方法中,上述的S103可以通过下述的S103a执行:Optionally, in the display method provided in the embodiment of the present application, the foregoing S103 may be executed by the following S103a:
S103a、若第一输入为预设输入,且在接收到第一消息之前接收到第二消息,则电子设备在目标状态下显示第一消息的第一内容,并显示第二消息的第二内容。S103a. If the first input is a preset input and the second message is received before the first message is received, the electronic device displays the first content of the first message in the target state and displays the second content of the second message .
其中,第二消息为未读消息,第二消息为通过第一应用或通过第二应用接收到的消息,第二应用与第一应用为不同应用。Wherein, the second message is an unread message, the second message is a message received through the first application or through the second application, and the second application and the first application are different applications.
在本申请实施例中,第二内容包括以下至少一项:第二消息的发件人信息、第二消息的消息内容中符合预设类型的部分消息内容。In the embodiment of the present application, the second content includes at least one of the following: sender information of the second message, and part of the message content of the message content of the second message that meets the preset type.
具体的,在第一消息和第二消息均为同一个应用的未读消息的情况下,电子设备可以在接收到第一输入之后,按照目标顺序在一个区域中依次显示第一消息的第一内容和第二消息的第二内容。其中,第一消息和第二消息可以为同一个联系人发送的消息,也可以为不同的联系人发送的消息。Specifically, in the case where the first message and the second message are both unread messages of the same application, the electronic device may, after receiving the first input, sequentially display the first message of the first message in an area according to the target order. The content and the second content of the second message. The first message and the second message may be messages sent by the same contact, or messages sent by different contacts.
其中,目标顺序可以为按照接收时间先后的顺序,也可以为按照用户设置的联系人优先级的顺序。Wherein, the target order may be in the order of receiving time, or in the order of the contact priority set by the user.
具体的,在第一消息和第二消息为不同应用的未读消息的情况下,电子设备可以在接收到第一输入之后,在第一区域显示第一消息的第一内容,在第二区域显示第二消息的第二内容。Specifically, when the first message and the second message are unread messages of different applications, the electronic device may display the first content of the first message in the first area after receiving the first input, and display the first content of the first message in the second area after receiving the first input. Display the second content of the second message.
例如,第一区域和第二区域可以按照时间顺序排布。For example, the first area and the second area may be arranged in chronological order.
示例性的,图3为本申请实施例提供的一种显示方法的界面示意图,假设电子设备接收到来自应用1中的张三的新消息(即,第二消息),来自应用2中快递驿站发送的新消息(即,第一消息),则电子设备在接收到第一输入之后,如图3中的(a)所示,电子设备可以显示应用1中联系 人张三的头像和张三的姓名,显示应用2中的联系人快递驿站的头像和快递驿站的姓名。假设电子设备接到来自应用1中李四的新消息(即,即第二消息)和应用2中张三的新消息(即,第一消息),则电子设备在接收到第一输入之后,如图3中的(b)所示,电子设备可以显示应用1中联系人张三的头像和张三的姓名,以及应用1中联系人李四的头像和李四的姓名。Exemplarily, FIG. 3 is a schematic diagram of the interface of a display method provided by an embodiment of the application. It is assumed that the electronic device receives a new message (ie, the second message) from Zhang San in Application 1 from the express station in Application 2. Send a new message (ie, the first message), after the electronic device receives the first input, as shown in (a) in Figure 3, the electronic device can display the avatar and Zhang San of the contact person Zhang San in Application 1. The name of the courier station and the name of the courier station of the contact in the application 2 are displayed. Assuming that the electronic device receives a new message from Li Si in application 1 (ie, the second message) and a new message from Zhang San in application 2 (ie, the first message), after the electronic device receives the first input, As shown in (b) of FIG. 3, the electronic device can display the avatar and name of Zhang San, the contact person in Application 1, and the avatar and name of Li Si, the contact person in Application 1.
需要说明的是,在该方案中,第一输入可以为不针对第一应用的图标操作的输入,例如第一输入可以为用户在屏幕上输入指纹、将面部的置于摄像头前、绘制预设轨迹的输入。It should be noted that in this solution, the first input may be an input that does not operate on the icon of the first application. For example, the first input may be the user inputting a fingerprint on the screen, placing the face in front of the camera, and drawing presets. The input of the trajectory.
基于该方案,在接收第一消息后,若电子设备包括多条未读消息,用户可以通过第一输入,触发电子设备一次显示多条未读消息的更多内容,从而使得用户可以根据电子设备显示的未读消息的更多内容,快速判断收到的未读消息中是否存在重要的消息,使得用户无需对每一条未读消息均操作一次,简化了用户操作电子设备的步骤,使得电子设备的操作更加便捷。Based on this solution, after receiving the first message, if the electronic device includes multiple unread messages, the user can trigger the electronic device to display more content of the multiple unread messages at a time through the first input, so that the user can follow the electronic device Display more content of unread messages, quickly determine whether there are important messages in the received unread messages, so that the user does not need to operate each unread message once, which simplifies the steps for the user to operate the electronic device, and makes the electronic device The operation is more convenient.
可选地,本申请实施例提供的显示方法中,在上述的S101之前,还可以包括下述的S104和S105:Optionally, in the display method provided in the embodiment of the present application, before the foregoing S101, the following S104 and S105 may also be included:
S104、电子设备接收第二输入。S104. The electronic device receives the second input.
其中,第二输入可以为用户在设置界面设置新消息提示方式的输入。该设置界面可以为第一应用的设置界面,也可以为系统设置界面。Wherein, the second input may be an input for the user to set a new message prompt mode on the setting interface. The setting interface can be the setting interface of the first application or the system setting interface.
可以理解的是,若用户在第一应用的设置界面进行设置,则针对第一应用设置新消息的提示方式,若用户在系统设置界面设置,则可以针对全部应用或者用户选择的至少一个应用设置新消息的提示方式。It is understandable that if the user makes settings on the setting interface of the first application, the new message prompt method is set for the first application. If the user sets on the system settings interface, it can be set for all applications or at least one application selected by the user. The way to prompt new messages.
S105、电子设备响应于第二输入,将目标状态下的新消息提示方式更新为目标提示方式。S105. In response to the second input, the electronic device updates the new message prompt mode in the target state to the target prompt mode.
其中,若电子设备在目标提示方式下接收到预设输入,则显示新消息的目标内容。Wherein, if the electronic device receives the preset input in the target prompt mode, the target content of the new message is displayed.
可以理解,目标内容包括以下至少一项:新消息的发件人信息、新消息的消息内容中符合预设类型的部分消息内容。It can be understood that the target content includes at least one of the following: sender information of the new message, and part of the message content of the new message that meets the preset type.
示例性的,目标内容为用户自定义的或电子设备中预设的。Exemplarily, the target content is user-defined or preset in the electronic device.
具体的,若用户设置目标状态下的新消息提示方式为目标提示方式,即本申请实施例提供的新消息的显示方式,则电子设备在目标状态下接收到新消息,则可以按照上述实施例中的显示方式提醒用户,即显示未读消息来自的应用,若用户输入预设输入,则保持目标状态,并显示未读消息的目标内容。Specifically, if the user sets the new message prompt mode in the target state as the target prompt mode, that is, the display mode of the new message provided in the embodiment of the present application, the electronic device may receive the new message in the target state according to the above-mentioned embodiment The display mode in to remind the user, that is, to display the application from which the unread message comes. If the user enters a preset input, the target state is maintained and the target content of the unread message is displayed.
示例性的,图4为本申请实施例提供的一种设置界面示意图,如图4所示,用户可以在设置界面中设置应用1的新消息提醒方式,用户可以从联系人昵称、联系人头像、消息头文字、消息个数等选项中选择显示哪些目标内容。Illustratively, Fig. 4 is a schematic diagram of a setting interface provided by an embodiment of the application. As shown in Fig. 4, the user can set the new message reminding method of Application 1 in the setting interface. Choose which target content to display in options such as, message header, message number, etc.
需要说明的是,图4仅为本申请实施例提供的一种在应用1的设置界面的设置方式,实际应用中,用户还可以在电子设备的系统设置界面中进行统一的设置。It should be noted that FIG. 4 is only a setting method of the setting interface of the application 1 provided by the embodiment of the present application. In actual applications, the user can also perform unified settings in the system setting interface of the electronic device.
基于该方案,用户可以手动设置目标状态下的新消息提示方式为目标提示方式,并选择显示新消息中的哪些内容,即选择目标内容,从而使得用户可以自定义在电子设备在目标状态下,接收到新消息后,显示新消息中的哪些内容,从而使得用户可以根据需要选择根据哪些信息确定一个新消息是否为比较重要的信息,还可以避免显示过多的内容导致泄露隐私,还可以使得显示更加灵活多样。Based on this solution, the user can manually set the new message prompt mode in the target state as the target prompt mode, and select which content in the new message to display, that is, select the target content, so that the user can customize the electronic device in the target state, After receiving a new message, what content in the new message is displayed, so that the user can choose according to which information to determine whether a new message is more important information, and can also avoid displaying too much content and causing privacy leakage. The display is more flexible and diverse.
在本申请实施例中,用户还可以设置在目标状态下,哪些信息无需电子设备提醒,哪些信息电子设备可以按照相关技术中的提醒方式提醒,哪些信息电子设备需要按照本申请提供的提醒方式提示。In the embodiment of this application, the user can also set in the target state, which information does not need to be reminded by electronic equipment, which information electronic equipment can be reminded according to the reminding method in related technologies, and which information electronic equipment needs to be reminded according to the reminding method provided by this application .
可选地,本申请实施例提供的显示方法中,在上述的S101之前,还可以包括下述的S106和S107:Optionally, in the display method provided in the embodiment of the present application, before the foregoing S101, the following S106 and S107 may also be included:
S106、电子设备接收第三输入。S106. The electronic device receives the third input.
其中,第三输入可以为用户选择目标消息类型的输入,用于选择目标消息类型的新消息的提示可以按照本申请实施例提供的显示方式提示。The third input may be an input for the user to select a target message type, and the prompt for selecting a new message of the target message type may be prompted according to the display mode provided in the embodiment of the present application.
S107、电子设备响应于第三输入,确定在目标状态下提示目标消息类型的新消息。S107. In response to the third input, the electronic device determines to prompt a new message of the target message type in the target state.
进而,上述的S101可以通过下述的S101a执行:Furthermore, the aforementioned S101 can be executed by the following S101a:
S101a、若电子设备在目标状态下接收到第一应用的第一消息,且第一消息属于目标消息类型的消息,则电子设备显示第一应用的图标。S101a. If the electronic device receives the first message of the first application in the target state, and the first message belongs to the message of the target message type, the electronic device displays the icon of the first application.
需要说明的是,用户可以选择在目标状态下按照本申请实施例提供的显示方式显示目标消息类型的新消息。It should be noted that the user can choose to display the new message of the target message type in the target state according to the display mode provided in the embodiment of the present application.
在本申请实施例中,目标消息类型的消息可以为满足一定规则的消息,例如根据消息的内容类型确定的消息,也可以为包括特定的关键字的消息,电子设备可以在接收到新消息后,先进行消息的识别,识别消息是否为目标消息类型的消息。In the embodiment of the present application, the message of the target message type may be a message that meets certain rules, for example, a message determined according to the content type of the message, or a message including a specific keyword. The electronic device may receive a new message. , First identify the message, and identify whether the message is a message of the target message type.
示例性的,可以设置支付类应用中扣款消息、转账消息、联系人发送的消息为目标消息类型的消息,其他通知消息、推送类消息可以为非目标消息类型的消息。可以设置手机通讯录中的消息为目标消息类型的消息,设置携带有特定标识的消息为目标消息类型的消息,例如快递信息、银行扣款信息、购物发货信息等。Exemplarily, deduction messages, transfer messages, and messages sent by contacts in payment applications can be set as target message types, and other notification messages and push messages can be non-target message types. Messages in the phone address book can be set as messages of the target message type, and messages carrying a specific identifier can be set as messages of the target message type, such as express delivery information, bank deduction information, shopping delivery information, and so on.
针对除目标消息类型之外的其他消息类型的新消息的提示,用户可以设置在目标状态下不提示其他消息类型的新消息,也可以设置在目标状态下按照传统的方式提示有其他消息类型的新消息。例如,在目标状态下,可以显示其他消息类型的信息的全部内容,用户在目标状态下可以直接查看其他消息类型的全部内容;或者在目标状态下仅以应用的图标提示有该应用的其他消息类型的新消息,用户在目标状态下对应用的图标操作,电子设备不作显示信息更多内容的响应。For the prompt of new messages of other message types except the target message type, the user can set not to prompt new messages of other message types in the target state, or set the target state to prompt other message types in the traditional way New news. For example, in the target state, the entire content of the information of other message types can be displayed, and the user can directly view all the content of other message types in the target state; or in the target state, only the application icon prompts other messages of the application Types of new messages, the user operates the icon of the application in the target state, and the electronic device does not respond to display more information.
基于该方案,用户可以根据需求设置哪些类型的消息采用本申请实施例提供的显示方法显示新消息,电子设备可以根据用户的设置,在接收到 新消息后,可以先判断新消息是否为目标消息类型的消息,如果新消息为目标消息类型的消息,则可以显示第一应用的图标提示用户有新消息,进而在接收用户的第一输入之后,电子设备可以显示第一消息的第一内容,从而使得电子设备可以针对不同消息类型的消息区分显示,比如不重要的消息或者不涉及隐私内容的消息,广告推送等可以按照相关技术中显示,重要的消息,可以按照本申请实施例提供的显示方式提示并显示,若用户设置了在目标状态下仅提示目标消息类型的新消息,则电子设备可以在目标状态下不提醒(或过滤掉)非目标消息类型的新消息,仅提醒目标消息类型的新消息,从而便于用户快速地确定哪些是重要消息。Based on this solution, the user can set which types of messages according to the needs to display the new message using the display method provided in the embodiment of this application. The electronic device can first determine whether the new message is a target message after receiving the new message according to the user’s settings. Type of message, if the new message is a message of the target message type, the icon of the first application can be displayed to prompt the user that there is a new message, and then after receiving the user’s first input, the electronic device can display the first content of the first message, In this way, electronic devices can differentiate and display messages of different message types, such as unimportant messages or messages that do not involve private content. Advertising pushes can be displayed in accordance with related technologies. Important messages can be displayed in accordance with the embodiments of this application. The method prompts and displays. If the user has set to only prompt new messages of the target message type in the target state, the electronic device can not remind (or filter) new messages of non-target message types in the target state, but only remind the target message type New messages, so that users can quickly determine which are important messages.
在本申请实施例中,在用户根据显示的第一内容确定第一消息是否为重要的消息之后,若用户不需要继续查看第一消息,用户可以控制电子设备清除第一消息,比如可以在屏幕上通过左滑或者右滑第一消息,清除第一消息;若用户需要继续查看第一消息更多的内容,则可以控制电子设备切换屏幕状态查看第一消息的全部内容;若用户需要快速回复,则用户可以触发电子设备可以在目标状态下显示输入区域,以供用户快速回复消息,具体的可以按照下述的方式实现。In the embodiment of the present application, after the user determines whether the first message is an important message according to the displayed first content, if the user does not need to continue to view the first message, the user can control the electronic device to clear the first message, for example, on the screen Swipe left or right on the first message to clear the first message; if the user needs to continue to view more content of the first message, he can control the electronic device to switch the screen state to view the entire content of the first message; if the user needs to reply quickly , The user can trigger the electronic device to display the input area in the target state for the user to quickly reply to the message, which can be specifically implemented in the following manner.
可选地,本申请实施例提供的显示方法中,在上述的S103之后,还可以包括下述的S108和S109:Optionally, in the display method provided in the embodiment of the present application, after the foregoing S103, the following S108 and S109 may be further included:
S108、电子设备接收第四输入。S108. The electronic device receives the fourth input.
其中,第四输入为用户控制电子设备显示消息回复区域的输入。Wherein, the fourth input is an input for the user to control the electronic device to display a message reply area.
示例性的,第四输入可以为用户在电子设备的屏幕上双击第一消息或者第一内容的输入。Exemplarily, the fourth input may be an input of the user double-clicking the first message or the first content on the screen of the electronic device.
S109、电子设备响应于第四输入,在目标状态下显示消息回复区域。S109. In response to the fourth input, the electronic device displays a message reply area in the target state.
其中,消息回复区域用于用户输入消息内容。Among them, the message reply area is used for the user to input message content.
示例性的,若检测到用户在消息回复区域点击,则电子设备可以调用输入法界面供用户使用。Exemplarily, if it is detected that the user clicks in the message reply area, the electronic device may call the input method interface for the user to use.
可以理解,在无需解锁电子设备的情况下,用户可以在消息回复区域 输入内容,并通过第一应用回复消息。It can be understood that without the need to unlock the electronic device, the user can input content in the message reply area and reply to the message through the first application.
基于该方案,在显示第一内容之后,电子设备可以根据用户的第四输入,在目标状态的情况下,显示消息回复区域,以使得用户可以在不解锁屏幕的情况下,或者在其他区域熄屏的情况下快速回复消息,无需用户再输入密码进行解锁,从而使得用户快速浏览消息,从而判断新消息是否为重要的消息。Based on this solution, after displaying the first content, the electronic device can display the message reply area in the target state according to the user's fourth input, so that the user can turn off the message without unlocking the screen or in other areas. Quickly reply to the message in the case of the screen, without the user having to enter the password to unlock, so that the user can quickly browse the message to determine whether the new message is an important message.
需要说明的是,本申请实施例提供的显示方法,执行主体可以为显示装置,或者该显示装置中的用于执行加载显示方法的控制模块。本申请实施例中以显示装置执行加载显示方法为例,说明本申请实施例提供的显示方法。It should be noted that the execution subject of the display method provided in the embodiment of the present application may be a display device, or a control module in the display device for executing the loading display method. In the embodiment of the present application, the display device executes the loading display method as an example to illustrate the display method provided in the embodiment of the present application.
图5为本申请实施提供一种显示装置可能的结构示意图,如图5中所示,该显示装置500包括:显示模块501和接收模块502;显示模块501,用于若显示装置500在目标状态下接收到第一应用的第一消息,则显示第一应用的图标;目标状态为锁屏状态或熄屏状态;接收模块502,用于接收第一输入;显示模块501,还用于若第一输入为预设输入,则响应于第一输入,在目标状态下显示第一消息的第一内容;其中,第一内容包括以下至少一项:第一消息的发件人信息、第一消息的消息内容中符合预设类型的部分消息内容。FIG. 5 is a schematic diagram of a possible structure of a display device provided for the implementation of this application. As shown in FIG. 5, the display device 500 includes: a display module 501 and a receiving module 502; When the first message of the first application is received, the icon of the first application is displayed; the target state is the screen locked state or the screen off state; the receiving module 502 is used to receive the first input; the display module 501 is also used to If one input is a preset input, in response to the first input, the first content of the first message is displayed in the target state; wherein the first content includes at least one of the following: sender information of the first message, and the first message Part of the message content of the message content conforms to the preset type.
可以理解,首先,若显示装置在目标状态下接收到第一应用的第一消息,则显示装置显示第一应用的图标,目标状态为锁屏状态或熄屏状态;然后,显示装置接收第一输入;之后若第一输入为预设输入,则显示装置响应于第一输入,在目标状态下显示第一消息的第一内容。由于在锁屏屏状态(或熄屏状态)下,显示装置可以锁屏状态(或熄屏状态)下,显示第一消息来自的第一应用的第一应用的图标,以提示用户有第一应用的新消息,若用户需要查看新消息更多的内容,用户可以输入第一输入,显示装置在第一输入为预设输入的情况下,可以在锁屏状态(或熄屏状态)下显示第一消息的第一内容。由于第一内容包括以下至少一项:第一消息的 发件人信息、第一消息的消息内容中符合预设类型的部分消息内容,简单概要的内容不会引起用户的隐私泄露,相比于相关技术,可以使得用户在无需触发显示装置亮屏或者解锁屏幕的情况下,可以查看新消息的部分信息,从而可以使得用户在不完全解锁的情况下查看重要消息的消息内容,快速地识别是否有重要的消息,无需用户每操作解锁屏幕查看每一条消息的全部内容,使得显示装置的操作更加便捷。It can be understood that, first, if the display device receives the first message of the first application in the target state, the display device displays the icon of the first application, and the target state is the screen locked state or the screen off state; then, the display device receives the first message. Input; afterwards, if the first input is a preset input, the display device responds to the first input and displays the first content of the first message in the target state. Since in the locked screen state (or off state), the display device can display the icon of the first application of the first application from which the first message comes in the locked screen state (or off state) to prompt the user to have the first application. The new message of the application, if the user needs to view more content of the new message, the user can input the first input, and the display device can be displayed in the locked state (or off state) when the first input is the preset input The first content of the first message. Since the first content includes at least one of the following: sender information of the first message, and part of the message content of the message content of the first message that meets the preset type, the simple summary content will not cause the privacy of the user to be leaked, compared to The related technology can enable the user to view part of the information of the new message without triggering the display device to turn on the screen or unlock the screen, so that the user can view the message content of the important message without completely unlocking, and quickly identify whether There are important messages, and there is no need for the user to unlock the screen for each operation to view the entire content of each message, making the operation of the display device more convenient.
可选地,显示模块501,具体用于:若在接收到第一消息之前接收到第二消息,则在目标状态下显示第一消息的第一内容,并显示第二消息的第二内容;其中,第二消息为未读消息,第二消息为通过第一应用或通过第二应用接收到的消息,第二应用与第一应用为不同应用。Optionally, the display module 501 is specifically configured to: if the second message is received before the first message is received, display the first content of the first message in the target state and display the second content of the second message; Wherein, the second message is an unread message, the second message is a message received through the first application or through the second application, and the second application and the first application are different applications.
可以理解,在接收到第一消息后,若显示装置包括多条未读消息,用户可以通过第一输入,触发显示装置一次显示多条未读消息的更多内容,从而使得用户可以根据显示装置显示的未读消息的更多内容,快速判断收到的未读消息中是否存在重要的消息,使得用户无需对每一条未读消息均操作一次,简化了用户操作显示装置的步骤,使得显示装置的操作更加便捷。It can be understood that after receiving the first message, if the display device includes multiple unread messages, the user can trigger the display device to display more content of the multiple unread messages at a time through the first input, so that the user can display more content of the multiple unread messages at a time according to the display device. More content of the unread messages displayed, quickly determine whether there are important messages in the received unread messages, so that the user does not need to operate each unread message once, which simplifies the steps for the user to operate the display device, so that the display device The operation is more convenient.
可选地,显示装置还包括确定模块;接收模块502,还用于若显示装置在目标状态下接收到第一应用的第一消息,则显示第一应用的图标之前,接收第二输入;确定模块,用于响应于接收模块502接收的第二输入,将目标状态下的新消息提示方式确定为目标提示方式;其中,若在目标提示方式下接收到预设输入,则显示新消息的目标内容。Optionally, the display device further includes a determining module; the receiving module 502 is further configured to receive a second input before displaying the icon of the first application if the display device receives the first message of the first application in the target state; confirm A module for determining the new message prompt mode in the target state as the target prompt mode in response to the second input received by the receiving module 502; wherein, if the preset input is received in the target prompt mode, the target of the new message is displayed content.
可以理解,用户可以手动设置目标状态下的新消息提示方式为目标提示方式,并选择显示新消息中的哪些内容,即选择目标内容,从而使得用户可以自定义在显示装置在目标状态下,接收到新消息后,显示新消息中的哪些内容,从而使得用户可以根据需要选择根据哪些信息确定一个新消息是否为比较重要的信息,还可以避免显示过多的内容导致泄露隐私,还可以使得显示更加灵活多样。It is understandable that the user can manually set the new message prompt mode in the target state as the target prompt mode, and select which content in the new message to display, that is, select the target content, so that the user can customize the display device in the target state to receive When the new message arrives, what content in the new message is displayed, so that the user can choose according to which information to determine whether a new message is more important information, and it can also avoid displaying too much content and causing privacy leakage, and it can also make the display More flexible and diverse.
可选地,接收模块502,还用于若显示装置在目标状态下接收到第一应用的第一消息,则显示第一应用的图标之前,接收第三输入;确定模块,还用于响应于第三输入,确定在目标状态下提示目标消息类型的新消息;显示模块,具体用于若第一消息属于目标消息类型的消息,则显示第一应用的图标。Optionally, the receiving module 502 is further configured to receive a third input before displaying the icon of the first application if the display device receives the first message of the first application in the target state; the determining module is also configured to respond to The third input is to determine that a new message of the target message type is prompted in the target state; the display module is specifically configured to display the icon of the first application if the first message belongs to the message of the target message type.
可以理解,用户可以根据需求设置哪些类型的消息采用本申请实施例提供的显示方法显示新消息,显示装置可以根据用户的设置,在接收到新消息后,可以先判断新消息是否为目标消息类型的消息,如果新消息为目标消息类型的消息,则可以显示第一应用的图标提示用户有新消息,进而在接收用户的第一输入之后,显示装置可以显示第一消息的第一内容,从而使得显示装置可以针对不同类型的消息区分显示,比如不重要的消息或者不涉及隐私内容的消息,广告推送等可以按照相关技术中显示,重要的消息,可以按照本申请实施例提供的显示方式提示并显示,若用户设置了在目标状态下仅提示目标消息类型的新消息,则显示装置可以在目标状态下不提醒(或过滤掉)非目标消息类型的新消息,仅提醒目标消息类型的新消息,从而便于用户快速地确定哪些是重要消息。It is understandable that the user can set which types of messages according to the needs, using the display method provided in the embodiment of this application to display the new message, and the display device can first determine whether the new message is the target message type after receiving the new message according to the user's setting If the new message is a message of the target message type, the icon of the first application can be displayed to prompt the user that there is a new message, and then after receiving the user’s first input, the display device can display the first content of the first message, thereby This allows the display device to differentiate and display different types of messages, such as unimportant messages or messages that do not involve privacy content. Advertising pushes can be displayed according to related technologies. Important messages can be prompted according to the display mode provided in the embodiments of this application. And display, if the user has set to only prompt new messages of the target message type in the target state, the display device can not remind (or filter out) new messages of non-target message type in the target state, but only remind new messages of the target message type Messages, so that users can quickly determine which are important messages.
可选地,接收模块502,用于在显示模块501在目标状态下显示第一消息的第一内容之后,接收第四输入;显示模块501,还用于响应于接收模块502接收的第四输入,在目标状态下显示消息回复区域,消息回复区域用于用户输入消息内容。Optionally, the receiving module 502 is configured to receive a fourth input after the display module 501 displays the first content of the first message in the target state; the display module 501 is also configured to respond to the fourth input received by the receiving module 502 , In the target state, the message reply area is displayed, and the message reply area is used for the user to input the message content.
可以理解,在显示第一内容之后,显示装置可以根据用户的第四输入,在目标状态的情况下,显示消息回复区域,以使得用户可以在不解锁屏幕的情况下,或者在其他区域熄屏的情况下快速回复消息,无需用户再输入密码进行解锁,从而使得用户快速浏览消息,从而判断新消息是否为重要的消息。It is understandable that after displaying the first content, the display device can display a message reply area in the target state according to the user's fourth input, so that the user can turn off the screen without unlocking the screen or in other areas In the case of quick reply to the message, there is no need for the user to enter a password to unlock, so that the user can quickly browse the message to determine whether the new message is an important message.
本申请实施例中的显示装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。 示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The display device in the embodiment of the present application may be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). assistant, PDA), etc. Non-mobile electronic devices can be servers, network attached storage (NAS), personal computers (PC), televisions (television, TV), teller machines or self-service machines, etc., this application The embodiments are not specifically limited.
本申请实施例中的显示装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为iOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The display device in the embodiment of the present application may be a device with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
本申请实施例提供的显示装置能够实现图1至图4的方法实施例中显示装置实现的各个过程,为避免重复,这里不再赘述。The display device provided by the embodiment of the present application can implement the various processes implemented by the display device in the method embodiments of FIGS. 1 to 4, and to avoid repetition, details are not described herein again.
可选地,本申请实施例还提供一种电子设备,包括处理器1010,存储器1009,存储在存储器1009上并可在处理器1010上运行的程序或指令,该程序或指令被处理器1010执行时实现上述显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present application further provides an electronic device, including a processor 1010, a memory 1009, a program or instruction that is stored in the memory 1009 and can run on the processor 1010, and the program or instruction is executed by the processor 1010 Each process of the above-mentioned display method embodiment can be realized at a time, and the same technical effect can be achieved. In order to avoid repetition, it will not be repeated here.
需要注意的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图6为实现本申请实施例的一种电子设备的硬件结构示意图。Fig. 6 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元1008、存储器1009、以及处理器1010等部件。The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010, etc. part.
本领域技术人员可以理解,电子设备1000还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图6中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 1000 may also include a power source (such as a battery) for supplying power to various components. The power source may be logically connected to the processor 1010 through a power management system, so that the power management system can manage charging, discharging, and power management. Consumption management and other functions. The structure of the electronic device shown in FIG. 6 does not constitute a limitation on the electronic device. The electronic device may include more or less components than those shown in the figure, or some components may be combined, or different component arrangements, which will not be repeated here. .
其中,显示单元1006,用于若电子设备在目标状态下接收到第一应用的第一消息,则显示第一应用的图标;目标状态为锁屏状态或熄屏状态;用户输入单元1007,用于接收第一输入;显示单元1006,还用于若第一输入为预设输入,则响应于第一输入,在目标状态下显示第一消息的第一内容;其中,第一内容包括以下至少一项:第一消息的发件人信息,第一消息的消息内容中符合预设类型的部分消息内容。Wherein, the display unit 1006 is configured to display the icon of the first application if the electronic device receives the first message of the first application in the target state; the target state is the screen locked state or the screen off state; the user input unit 1007 uses After receiving a first input; the display unit 1006 is further configured to display the first content of the first message in the target state in response to the first input if the first input is a preset input; wherein, the first content includes at least the following One item: sender information of the first message, part of the message content of the message content of the first message that meets the preset type.
本申请实施例提供的电子设备,首先,若电子设备在目标状态下接收到第一应用的第一消息,则电子设备显示第一应用的图标,目标状态为锁屏状态或熄屏状态;然后,电子设备接收第一输入;之后若第一输入为预设输入,则电子设备响应于第一输入,在目标状态下显示第一消息的第一内容。由于在锁屏屏状态(或熄屏状态)下,电子设备可以在锁屏状态(或熄屏状态)下,显示第一消息来自的第一应用的第一应用的图标,以提示用户有第一应用的新消息,若用户需要查看新消息更多的内容,用户可以输入第一输入,电子设备在第一输入为预设输入的情况下,可以在锁屏状态(或熄屏状态)下显示第一消息的第一内容。由于第一内容包括以下至少一项:第一消息的发件人信息、第一消息的消息内容中符合预设类型的部分消息内容,简单概要的内容不会引起用户的隐私泄露,相比于相关技术,可以使得用户在无需触发电子设备亮屏或者解锁屏幕的情况下,可以查看新消息的部分信息,从而可以使得用户在不完全解锁的情况下查看重要消息的消息内容,快速地识别是否有重要的消息,无需用户每操作解锁屏幕查看每一条消息的全部内容,使得电子设备的操作更加便捷。For the electronic device provided by the embodiment of the present application, first, if the electronic device receives the first message of the first application in the target state, the electronic device displays the icon of the first application, and the target state is the screen locked state or the screen off state; , The electronic device receives the first input; then, if the first input is a preset input, the electronic device displays the first content of the first message in the target state in response to the first input. Since in the locked screen state (or off state), the electronic device can display the icon of the first application of the first application from which the first message comes in the locked screen state (or off state) to prompt the user to have the first application A new message of an application. If the user needs to view more content of the new message, the user can input the first input. When the first input is a preset input, the electronic device can be in the locked state (or off state) Display the first content of the first message. Since the first content includes at least one of the following: sender information of the first message, and part of the message content of the message content of the first message that meets the preset type, the simple summary content will not cause the privacy of the user to be leaked, compared to Related technologies can enable users to view part of the information of new messages without triggering the electronic device to turn on the screen or unlock the screen, so that users can view the message content of important messages without fully unlocking, and quickly identify whether There are important messages, and the user does not need to unlock the screen to view the entire content of each message every time the user operates, making the operation of the electronic device more convenient.
可选地,显示单元1006,还用于若在接收到第一消息之前接收到第二消息,则在目标状态下显示第一消息的第一内容,并显示第二消息的第二内容;其中,第二消息为未读消息,第二消息为通过第一应用或通过第二应用接收到的消息,第二应用与第一应用为不同应用。Optionally, the display unit 1006 is further configured to, if the second message is received before the first message is received, display the first content of the first message in the target state and display the second content of the second message; wherein , The second message is an unread message, the second message is a message received through the first application or through the second application, and the second application and the first application are different applications.
可以理解,在接收第一消息后,若电子设备包括多条未读消息,用户可以通过第一输入,触发电子设备一次显示多条未读消息的更多内容,从 而使得用户可以根据电子设备显示的未读消息的更多内容,快速判断收到的未读消息中是否存在重要的消息,使得用户无需对每一条未读消息均操作一次,简化了用户操作电子设备的步骤,使得电子设备的操作更加便捷。It can be understood that after receiving the first message, if the electronic device includes multiple unread messages, the user can trigger the electronic device to display more content of the multiple unread messages at a time through the first input, so that the user can display more content according to the electronic device More content of unread messages, quickly determine whether there are important messages in the received unread messages, so that the user does not need to operate each unread message once, which simplifies the steps for the user to operate the electronic device, and makes the electronic device more effective. The operation is more convenient.
可选地,用户输入单元1007,还用于接收第二输入;处理器1010,用于响应于第二输入,将目标状态下的新消息提示方式确定为目标提示方式;其中,若在目标提示方式下接收到预设输入,则显示新消息的目标内容,目标内容为用户自定义的或电子设备中预设的。Optionally, the user input unit 1007 is further configured to receive a second input; the processor 1010 is configured to, in response to the second input, determine the new message prompt mode in the target state as the target prompt mode; wherein, if the target prompt When the preset input is received in the mode, the target content of the new message is displayed, and the target content is user-defined or preset in the electronic device.
可以理解,用户可以手动设置目标状态下的新消息提示方式为目标提示方式,并选择显示新消息中的哪些内容,即选择目标内容,从而使得用户可以自定义在电子设备在目标状态下,接收到新消息后,显示新消息中的哪些内容,从而使得用户可以根据需要选择根据哪些信息确定一个新消息是否为比较重要的信息,还可以避免显示过多的内容导致泄露隐私,还可以使得显示更加灵活多样。It is understandable that the user can manually set the new message prompt mode in the target state as the target prompt mode, and select which content in the new message to display, that is, select the target content, so that the user can customize the receiving mode when the electronic device is in the target state. When the new message arrives, what content in the new message is displayed, so that the user can choose according to which information to determine whether a new message is more important information, and it can also avoid displaying too much content and causing privacy leakage, and it can also make the display More flexible and diverse.
可选地,用户输入单元1007,还用于接收第三输入;处理器1010,用于响应于第三输入,确定在目标状态下提示目标消息类型的新消息;显示单元1006,还用于若第一消息属于目标消息类型的消息,则显示第一应用的图标。Optionally, the user input unit 1007 is also used for receiving a third input; the processor 1010 is used for determining, in response to the third input, a new message that prompts the target message type in the target state; and the display unit 1006 is also used for If the first message is a message of the target message type, the icon of the first application is displayed.
可以理解,用户可以根据需求设置哪些类型的消息采用本申请实施例提供的显示方法显示新消息,电子设备可以根据用户的设置,在接收到新消息后,可以先判断新消息是否为目标消息类型的消息,如果新消息为目标消息类型的消息,则可以显示第一应用的图标提示用户有新消息,进而在接收用户的第一输入之后,电子设备可以显示第一消息的第一内容,从而使得电子设备可以针对不同类型的消息区分显示,比如不重要的消息或者不涉及隐私内容的消息,广告推送等可以按照相关技术中显示,重要的消息,可以按照本申请实施例提供的显示方式提示并显示,若用户设置了在目标状态下仅提示目标消息类型的新消息,则电子设备可以在目标状态下不提醒(或过滤掉)非目标消息类型的新消息,仅提醒目标消息类型的 新消息,从而便于用户快速地确定哪些是重要消息。It is understandable that the user can set which types of messages according to the needs and use the display method provided in the embodiment of this application to display the new message. The electronic device can first determine whether the new message is the target message type after receiving the new message according to the user's setting. If the new message is a message of the target message type, the icon of the first application can be displayed to prompt the user that there is a new message, and then after receiving the user’s first input, the electronic device can display the first content of the first message, thereby This allows the electronic device to differentiate and display different types of messages, such as unimportant messages or messages that do not involve private content. Advertising pushes can be displayed according to related technologies, and important messages can be prompted according to the display mode provided in the embodiments of this application. It also shows that if the user has set to only prompt new messages of the target message type in the target state, the electronic device can not remind (or filter out) new messages of non-target message type in the target state, but only remind new messages of the target message type. Messages, so that users can quickly determine which are important messages.
可选地,用户输入单元1007,还用于接收第四输入;显示单元1006,还用于响应于第四输入,在目标状态下显示消息回复区域,消息回复区域用于用户输入消息内容。Optionally, the user input unit 1007 is further configured to receive a fourth input; the display unit 1006 is further configured to display a message reply area in the target state in response to the fourth input, and the message reply area is used for the user to input message content.
可以理解,在显示第一内容之后,电子设备可以根据用户的第四输入,在目标状态的情况下,显示消息回复区域,以使得用户可以在不解锁屏幕的情况下,或者在其他区域熄屏的情况下快速回复消息,无需用户再输入密码进行解锁,从而使得用户快速浏览消息,从而判断新消息是否为重要的消息。It is understandable that after displaying the first content, the electronic device can display the message reply area in the target state according to the user's fourth input, so that the user can turn off the screen without unlocking the screen or in other areas In the case of quick reply to the message, there is no need for the user to enter a password to unlock, so that the user can quickly browse the message to determine whether the new message is an important message.
本申请实施例还提供一种可读存储介质,该可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium with a program or instruction stored on the readable storage medium. When the program or instruction is executed by a processor, each process of the foregoing display method embodiment is realized, and the same technology can be achieved. The effect, in order to avoid repetition, will not be repeated here.
其中,上述处理器为上述实施例中所述的电子设备中的处理器。上述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the foregoing processor is the processor in the electronic device described in the foregoing embodiment. The aforementioned readable storage media include computer readable storage media, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disks, or optical disks.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a program or an instruction to implement each of the foregoing display method embodiments The process, and can achieve the same technical effect, in order to avoid repetition, I will not repeat it here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-level chips, system-on-chips, system-on-chips, or system-on-chips.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素 的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that in this article, the terms "including", "including" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements that are not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. The function is performed, for example, the described method may be performed in an order different from the described order, and various steps may also be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application are described above with reference to the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of this application, without departing from the purpose of this application and the scope of protection of the claims, many forms can be made, all of which fall within the protection of this application.

Claims (15)

  1. 一种显示方法,所述方法包括:A display method, the method includes:
    若电子设备在目标状态下接收到第一应用的第一消息,则显示所述第一应用的图标;所述目标状态为锁屏状态或熄屏状态;If the electronic device receives the first message of the first application in the target state, display the icon of the first application; the target state is the screen locked state or the screen off state;
    接收第一输入;Receive the first input;
    若所述第一输入为预设输入,则响应于所述第一输入,在所述目标状态下显示所述第一消息的第一内容;If the first input is a preset input, in response to the first input, display the first content of the first message in the target state;
    其中,所述第一内容包括以下至少一项:所述第一消息的发件人信息、所述第一消息的消息内容中符合预设类型的部分消息内容。Wherein, the first content includes at least one of the following: sender information of the first message, and part of the message content of the message content of the first message that meets a preset type.
  2. 根据权利要求1所述的方法,其中,所述在所述目标状态下显示所述第一消息的第一内容,包括:The method according to claim 1, wherein the displaying the first content of the first message in the target state comprises:
    若在接收到所述第一消息之前接收到第二消息,则在所述目标状态下显示所述第一消息的第一内容,并显示所述第二消息的第二内容;If the second message is received before the first message is received, the first content of the first message is displayed in the target state, and the second content of the second message is displayed;
    其中,所述第二消息为未读消息,所述第二消息为通过所述第一应用或通过第二应用接收到的消息,所述第二应用与所述第一应用为不同应用。Wherein, the second message is an unread message, the second message is a message received through the first application or through a second application, and the second application and the first application are different applications.
  3. 根据权利要求1或2所述的方法,其中,所述若电子设备在目标状态下接收到第一应用的第一消息,则显示所述第一应用的图标之前,所述方法还包括:The method according to claim 1 or 2, wherein, if the electronic device receives the first message of the first application in the target state, before displaying the icon of the first application, the method further comprises:
    接收第二输入;Receive the second input;
    响应于所述第二输入,将所述目标状态下的新消息提示方式确定为目标提示方式;In response to the second input, determining a new message prompt mode in the target state as a target prompt mode;
    其中,若在所述目标提示方式下接收到所述预设输入,则显示新消息的目标内容。Wherein, if the preset input is received in the target prompt mode, the target content of the new message is displayed.
  4. 根据权利要求3所述的方法,其中,所述若电子设备在目标状态下接收到第一应用的第一消息,则显示所述第一应用的图标之前,所述方法还包括:The method according to claim 3, wherein, if the electronic device receives the first message of the first application in the target state, before displaying the icon of the first application, the method further comprises:
    接收第三输入;Receive the third input;
    响应于所述第三输入,确定在所述目标状态下提示目标消息类型的新消息;In response to the third input, determining a new message prompting a target message type in the target state;
    所述显示所述第一应用的图标,包括:The displaying the icon of the first application includes:
    若所述第一消息属于所述目标消息类型的消息,则显示所述第一应用的图标。If the first message belongs to the message of the target message type, the icon of the first application is displayed.
  5. 根据权利要求1所述的方法,其中,所述在所述目标状态下显示所述第一消息的第一内容之后,所述方法还包括:The method according to claim 1, wherein, after the first content of the first message is displayed in the target state, the method further comprises:
    接收第四输入;Receive the fourth input;
    响应于所述第四输入,在所述目标状态下显示消息回复区域,所述消息回复区域用于用户输入消息内容。In response to the fourth input, a message reply area is displayed in the target state, and the message reply area is used for the user to input message content.
  6. 一种显示装置,所述显示装置包括:显示模块和接收模块;A display device, the display device comprising: a display module and a receiving module;
    所述显示模块,用于若所述显示装置在目标状态下接收到第一应用的第一消息,则显示所述第一应用的图标;所述目标状态为锁屏状态或熄屏状态;The display module is configured to display the icon of the first application if the display device receives the first message of the first application in the target state; the target state is the screen locked state or the screen off state;
    所述接收模块,用于接收第一输入;The receiving module is used to receive the first input;
    所述显示模块,还用于若第一输入为预设输入,则响应于所述第一输入,在所述目标状态下显示第一内容;The display module is further configured to display the first content in the target state in response to the first input if the first input is a preset input;
    其中,所述第一内容包括以下至少一项:所述第一消息的发件人信息、所述第一消息的消息内容中符合预设类型的部分消息内容。Wherein, the first content includes at least one of the following: sender information of the first message, and part of the message content of the message content of the first message that meets a preset type.
  7. 根据权利要求6所述的显示装置,其中,所述显示模块,具体用于:The display device according to claim 6, wherein the display module is specifically used for:
    若在接收到所述第一消息之前接收到第二消息,则在所述目标状态下显示所述第一消息的第一内容,并显示所述第二消息的第二内容;If the second message is received before the first message is received, the first content of the first message is displayed in the target state, and the second content of the second message is displayed;
    其中,所述第二消息为未读消息,所述第二消息为通过所述第一应用或通过第二应用接收到的消息,所述第二应用与所述第一应用为不同应用。Wherein, the second message is an unread message, the second message is a message received through the first application or through a second application, and the second application and the first application are different applications.
  8. 根据权利要求6或7所述的显示装置,其中,所述显示装置还包括确定模块;The display device according to claim 6 or 7, wherein the display device further comprises a determining module;
    所述接收模块,还用于若所述显示装置在目标状态下接收到第一应用 的第一消息,则显示所述第一应用的图标之前,接收第二输入;The receiving module is further configured to receive a second input before displaying the icon of the first application if the display device receives the first message of the first application in the target state;
    所述确定模块,用于响应于所述接收模块接收的所述第二输入,将所述目标状态下的新消息提示方式确定为目标提示方式;The determining module is configured to determine a new message prompt mode in the target state as a target prompt mode in response to the second input received by the receiving module;
    其中,若在所述目标提示方式下接收到所述预设输入,则显示新消息的目标内容。Wherein, if the preset input is received in the target prompt mode, the target content of the new message is displayed.
  9. 根据权利要求8所述的显示装置,其中,The display device according to claim 8, wherein:
    所述接收模块,还用于若所述显示装置在目标状态下接收到第一应用的第一消息,则显示所述第一应用的图标之前,接收第三输入;The receiving module is further configured to receive a third input before displaying the icon of the first application if the display device receives the first message of the first application in the target state;
    所述确定模块,还用于响应于所述第三输入,确定在所述目标状态下提示目标消息类型的新消息;The determining module is further configured to determine, in response to the third input, a new message prompting a target message type in the target state;
    所述显示模块,具体用于若所述第一消息属于所述目标消息类型的消息,则显示所述第一应用的图标。The display module is specifically configured to display the icon of the first application if the first message belongs to the message of the target message type.
  10. 根据权利要求6所述的显示装置,其中,The display device according to claim 6, wherein:
    所述接收模块,用于在显示模块在所述目标状态下显示所述第一消息的第一内容之后,接收第四输入;The receiving module is configured to receive a fourth input after the display module displays the first content of the first message in the target state;
    所述显示模块,还用于响应于所述接收模块接收的第四输入,在所述目标状态下显示消息回复区域,所述消息回复区域用于用户输入消息内容。The display module is further configured to display a message reply area in the target state in response to the fourth input received by the receiving module, and the message reply area is used for the user to input message content.
  11. 一种电子设备,其特征在于,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-5任一项所述的显示方法的步骤。An electronic device, characterized in that it comprises a processor, a memory, and a program or instruction stored on the memory and capable of running on the processor. When the program or instruction is executed by the processor, the The steps of the display method described in any one of 1-5 are required.
  12. 一种可读存储介质,其特征在于,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-5任一项所述的显示方法的步骤。A readable storage medium, characterized in that a program or instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the display method according to any one of claims 1 to 5 are realized .
  13. 一种计算机程序产品,其特征在于,所述程序产品被存储在非易失的存储介质中,所述程序产品被至少一个处理器执行以实现如权利要求1-5中任一项所述的显示方法。A computer program product, characterized in that the program product is stored in a non-volatile storage medium, and the program product is executed by at least one processor to implement the method according to any one of claims 1-5 Display method.
  14. 一种电子设备,其特征在于,包括所述电子设备被配置成用于执 行如权利要求1-5任一项所述的显示方法。An electronic device, comprising the electronic device configured to execute the display method according to any one of claims 1-5.
  15. 一种芯片,其特征在于,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如如权利要求1-5任一项所述的显示方法。A chip, characterized in that, the chip comprises a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used to run a program or an instruction, and realizes as in any one of claims 1-5 The display method described.
PCT/CN2021/095005 2020-05-25 2021-05-21 Display method, display apparatus, and electronic device WO2021238775A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010451079.5A CN111638821B (en) 2020-05-25 2020-05-25 Display method, display device and electronic equipment
CN202010451079.5 2020-05-25

Publications (1)

Publication Number Publication Date
WO2021238775A1 true WO2021238775A1 (en) 2021-12-02

Family

ID=72329138

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/095005 WO2021238775A1 (en) 2020-05-25 2021-05-21 Display method, display apparatus, and electronic device

Country Status (2)

Country Link
CN (1) CN111638821B (en)
WO (1) WO2021238775A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117131555A (en) * 2023-04-28 2023-11-28 荣耀终端有限公司 Information display method and electronic equipment
WO2024088319A1 (en) * 2022-10-28 2024-05-02 维沃移动通信有限公司 Lock screen interface operating method and apparatus, electronic device, and medium

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111638821B (en) * 2020-05-25 2022-07-01 维沃移动通信有限公司 Display method, display device and electronic equipment
CN113079080B (en) * 2021-03-18 2022-05-17 维沃移动通信有限公司 Message processing method and device and electronic equipment
CN115202775A (en) * 2021-04-13 2022-10-18 Oppo广东移动通信有限公司 Notification message display method and device, wearable device and storage medium
CN113741781B (en) * 2021-06-15 2022-06-28 荣耀终端有限公司 Notification display method and electronic equipment
CN113961111A (en) * 2021-09-18 2022-01-21 北京城市网邻信息技术有限公司 Information display method and device, electronic equipment and storage medium
CN114500717A (en) * 2022-01-26 2022-05-13 维沃移动通信有限公司 Information display method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130086522A1 (en) * 2011-10-03 2013-04-04 Kyocera Corporation Device, method, and storage medium storing program
CN104503689A (en) * 2014-11-21 2015-04-08 小米科技有限责任公司 Method and device for displaying application interface
CN107977563A (en) * 2017-12-12 2018-05-01 维沃移动通信有限公司 A kind of message treatment method, device and mobile terminal
CN110069306A (en) * 2019-03-29 2019-07-30 维沃移动通信有限公司 A kind of message display method and terminal device
CN111638821A (en) * 2020-05-25 2020-09-08 维沃移动通信有限公司 Display method, display device and electronic equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020587A (en) * 2016-04-29 2016-10-12 北京小米移动软件有限公司 Method and device for message display
CN108024019B (en) * 2017-12-19 2020-02-07 维沃移动通信有限公司 Message display method and device
CN109739669B (en) * 2019-01-15 2020-09-18 维沃移动通信有限公司 Unread message prompting method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130086522A1 (en) * 2011-10-03 2013-04-04 Kyocera Corporation Device, method, and storage medium storing program
CN104503689A (en) * 2014-11-21 2015-04-08 小米科技有限责任公司 Method and device for displaying application interface
CN107977563A (en) * 2017-12-12 2018-05-01 维沃移动通信有限公司 A kind of message treatment method, device and mobile terminal
CN110069306A (en) * 2019-03-29 2019-07-30 维沃移动通信有限公司 A kind of message display method and terminal device
CN111638821A (en) * 2020-05-25 2020-09-08 维沃移动通信有限公司 Display method, display device and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024088319A1 (en) * 2022-10-28 2024-05-02 维沃移动通信有限公司 Lock screen interface operating method and apparatus, electronic device, and medium
CN117131555A (en) * 2023-04-28 2023-11-28 荣耀终端有限公司 Information display method and electronic equipment

Also Published As

Publication number Publication date
CN111638821A (en) 2020-09-08
CN111638821B (en) 2022-07-01

Similar Documents

Publication Publication Date Title
WO2021238775A1 (en) Display method, display apparatus, and electronic device
US11934505B2 (en) Information content viewing method and terminal
CN107992248A (en) Message display method and device
CN111866270B (en) Application program control method and device and electronic equipment
CN107038358B (en) Self-starting processing method and device and mobile terminal
CN112306325B (en) Interaction control method and device
CN113364668B (en) Message reminding method and device and electronic equipment
US20230328018A1 (en) Sending method and apparatus, and electronic device
WO2023030129A1 (en) Message display method, apparatus and electronic device
WO2021227922A1 (en) Communication object adding method and apparatus, and electronic device
WO2023131055A1 (en) Message sending method and apparatus, and electronic device
WO2021233282A1 (en) Method and apparatus for displaying message detail page, and electronic device
WO2023040845A1 (en) Message transmission method and apparatus, and electronic device
JP2024508008A (en) Message display method, message display device, electronic equipment and readable storage medium
WO2023046184A1 (en) Message processing method and apparatus, and electronic device
WO2023066085A1 (en) Data backup method and apparatus thereof, electronic device, and readable storage medium
CN111656347A (en) Project display method and terminal
US20240094868A1 (en) Display Control Method and Apparatus, Electronic Device, and Medium
CN112929254B (en) Message processing method and device and electronic equipment
CN112235412B (en) Message processing method and device
CN112422735B (en) Information prompting method and device
CN111857466B (en) Message display method and device
WO2023001252A1 (en) Application reminder method and apparatus, and electronic device
WO2022253132A1 (en) Information display method and apparatus, and electronic device
CN112702258B (en) Chat message sharing method and device and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21814334

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 04.05.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21814334

Country of ref document: EP

Kind code of ref document: A1