WO2023011368A1 - 未读消息提示方法、装置、电子设备及介质 - Google Patents

未读消息提示方法、装置、电子设备及介质 Download PDF

Info

Publication number
WO2023011368A1
WO2023011368A1 PCT/CN2022/109177 CN2022109177W WO2023011368A1 WO 2023011368 A1 WO2023011368 A1 WO 2023011368A1 CN 2022109177 W CN2022109177 W CN 2022109177W WO 2023011368 A1 WO2023011368 A1 WO 2023011368A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
message
emotion
contact
unread
Prior art date
Application number
PCT/CN2022/109177
Other languages
English (en)
French (fr)
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 维沃移动通信(杭州)有限公司
Priority to EP22852081.3A priority Critical patent/EP4383692A1/en
Publication of WO2023011368A1 publication Critical patent/WO2023011368A1/zh
Priority to US18/432,863 priority patent/US20240211100A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
    • 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/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/178Human faces, e.g. facial parts, sketches or expressions estimating age from face image; using age information for improving recognition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Definitions

  • the present application belongs to the technical field of communication, and in particular relates to an unread message prompting method, device, electronic equipment and medium.
  • the electronic device can display the number of unread messages on the application icon of the social application to prompt the user that the social application includes unread messages, so that the user can click The application icon to view unread messages in the social application.
  • the purpose of the embodiments of the present application is to provide an unread message prompting method, device, electronic device and medium, which can solve the problem that the electronic device has poor flexibility in prompting unread messages.
  • an embodiment of the present application provides a method for prompting unread messages, the method including: receiving a first message; displaying a target emotion identifier, where the target emotion identifier is used to indicate the emotion of the first contact on the first message, and the second A contact is the contact who sends the first message; wherein, the target emotion identifier is determined according to the target information, and the target information includes at least one of the following items: an image of the first contact collected by the electronic device of the first contact, an unidentified image of the first message
  • the read duration and the unread duration are the duration between the time when the first message is received and the current time.
  • the embodiment of the present application provides an unread message prompting device, which includes a receiving module and a display module; the receiving module is used to receive the first message; and the display module is used to receive the After the first message, the target emotion identifier is displayed, and the target emotion identifier is used to indicate the emotion of the first contact to the first message, and the first contact is the contact who sends the first message; wherein, the target emotion identifier is determined according to the target information, and the target The information includes at least one of the following items: an image of the first contact collected by the electronic device of the first contact, and an unread duration of the first message, where the unread duration is the duration between the time when the first message is received and the current time.
  • the embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is executed by the processor to realize Steps in the method for prompting unread messages in the first aspect above.
  • an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method for prompting an unread message in the above first aspect are implemented .
  • the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, the processor is used to run programs or instructions, and realize the unread message prompting method of the first aspect above .
  • the first message may be received; the target emotion identifier is displayed, and the target emotion identifier is used to indicate the emotion of the first contact on the first message, and the first contact is the contact who sent the first message; wherein, the target The emotion identification is determined according to the target information, and the target information includes at least one of the following items: the image of the first contact collected by the electronic device of the first contact, the unread duration of the first message, and the unread duration is the time when the first message is received The duration from the current time.
  • the electronic device can display the target emotion mark indicating the emotion of the first contact on the first message after receiving the first message sent by the first contact, the user can know the electronic device based on the target emotion mark.
  • the device receives the unread messages corresponding to the first contact and the emotional state of the first contact to these messages, so that the flexibility of the electronic device to prompt the unread messages can be improved.
  • FIG. 1 is a schematic flow chart of an unread message prompting method provided in an embodiment of the present application
  • FIG. 2 is one of the interface schematic diagrams of the application of the unread message prompt method provided by the embodiment of the present application
  • Fig. 3 is the second schematic diagram of the interface of the application of the unread message prompting method provided by the embodiment of the present application;
  • Fig. 4 is a schematic diagram of the relationship between the unread duration corresponding to the message and the emotion of the message sender;
  • Fig. 5 is the third schematic diagram of the interface of the application of the unread message prompting method provided by the embodiment of the present application.
  • FIG. 6 is a schematic diagram of an unread message prompting device provided in an embodiment of the present application.
  • FIG. 7 is a schematic diagram of an electronic device provided in an embodiment of the present application.
  • FIG. 8 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present application.
  • words such as “exemplary” or “for example” are used as examples, illustrations or descriptions. Any embodiment or design scheme described as “exemplary” or “for example” in the embodiments of the present application shall not be interpreted as being more preferred or more advantageous than other embodiments or design schemes. Rather, the use of words such as “exemplary” or “such as” is intended to present related concepts in a concrete manner.
  • multiple means two or more, for example, a plurality of contacts refers to two or more contacts.
  • logos in the embodiments of the present application are used to indicate text, symbols, images, etc. of information, and controls or other containers may be used as carriers for displaying information, including but not limited to text logos, symbol logos, and image logos.
  • the unread message prompting method provided in the embodiment of the present application can be applied to a scenario of prompting unread messages in an application.
  • the electronic device when the electronic device receives a message (such as this When applying for the first message in the embodiment), the electronic device may display a target emotion indicator for indicating the emotion of contact 1 on the message, so as to prompt the user that application A includes unread messages corresponding to contact 1.
  • the target emotion indicator for indicating the emotion of contact 1 on the message
  • the user can know the unread messages corresponding to the first contact in the target application and the emotional state of the first contact for these messages, thereby improving the flexibility of the electronic device to prompt unread messages.
  • an embodiment of the present application provides a method for prompting unread messages, and the method may include the following steps 101 and 102 .
  • an electronic device is used as an example to illustrate the method.
  • Step 101 the electronic device receives a first message.
  • Step 102 the electronic device displays the target emotion mark.
  • the target emotion identifier is used to indicate the emotion of the first contact to the first message
  • the first contact is the contact who sends the first message
  • the target emotion identifier is determined according to the target information
  • the target information may include at least one of the following: first The image of the first contact collected by the contact's electronic device (hereinafter referred to as the sending device) (mode 1), the unread duration of the first message (mode 2), the unread duration of the first message is the electronic device receiving the second The time between the time of a message and the current time.
  • the foregoing current time may specifically be: the current time of the system or the current time of the receiving device.
  • the electronic device of the first contact is called the sending device below, and the two have the same meaning and can be interchanged; the electronic device receiving the first message is called the receiving device, and the two have the same meaning. can be interchanged. Further, unless otherwise specified, the electronic devices in the embodiments of the present application are receiving devices.
  • the first message is: a message sent by the sending device to the receiving device and has not been checked yet.
  • the receiving device may receive the first message through an application program (hereinafter referred to as a target application program) installed in the receiving device.
  • the sending device may send the first message to the receiving device through the target application program installed in the sending device.
  • the electronic device can update the target emotion identifier to The updated target emotion identifier can indicate the changed emotion of the first contact.
  • the unread duration range of the first message continuously changes, gradually enlarge the size of the target emotion mark, so as to indicate the changed emotion of the first contact through the enlarged target emotion mark.
  • the range of unread duration is (0, 1min), [1, 3min), [3, 5min)
  • the electronic device can adjust the size of the target emotion logo from a is 1.5a
  • the unread time of the first message reaches 3 minutes, the electronic device can be adjusted from a to 2a.
  • the target information includes the image of the first contact collected by the sending device of the first contact.
  • the sending device may capture the image of the first contact (hereinafter referred to as the target image) while sending the first message or after sending the first message, and The target image is sent to the receiving device, so that after receiving the target image, the receiving device can perform expression analysis on the target image to determine the emotion of the first contact on the first message.
  • the target image the image of the first contact
  • the receiving device can perform expression analysis on the target image to determine the emotion of the first contact on the first message.
  • the sending device may continue to collect and send the image of the first contact to the receiving device as the duration of sending the first message increases, so that the receiving device , to determine the sentiment of the first contact for the first message.
  • the sending device may collect an image of the first contact through a front camera of the sending device.
  • Mode 2 The target information includes the unread duration of the first message.
  • the longer the unread time of the first message the worse the first contact's mood towards the first message.
  • the first contact's emotional changes are: happy, irritable, anxious, sad, angry, desperate, etc.
  • the receiving device after receiving the first message, the receiving device records the unread duration of the first message, and determines the emotion corresponding to the unread duration of the first message according to the corresponding relationship between the unread duration and the emotion, Therefore, the target emotion identifier is determined according to the emotion.
  • the electronic device may record the time when the first message is received, and calculate the unread duration corresponding to the first message (that is, the duration from receiving the first message to the current time). For example, suppose the electronic device receives the first message at 22:20, and the current system time of the electronic device is: 23:00, then the unread duration corresponding to the first message is: 40 minutes.
  • different unread durations may correspond to different emotions of the first contact, and different emotions may be passed through different Target emotional markers for indication.
  • the electronic device can use different target emotion identifiers to indicate the emotions of the first contact to the first message at different moments, the accuracy of indicating the emotions of the contacts can be improved.
  • the target emotion identification may include at least one of the following: (1), the image corresponding to the first contact, (2), the image after changing the expression of the image corresponding to the first contact , (3), the first logo.
  • the first identifier may be used to indicate emotion.
  • the target emotion identification includes the image corresponding to the first contact
  • the image corresponding to the first contact may be any image that can uniquely indicate the first contact and the emotion of the first contact.
  • the image corresponding to the first contact may be any one of the following i-iii:
  • the avatar of the first contact is the avatar set by the first contact in the target application program.
  • the target emotion identifier includes the avatar of the first contact
  • the emotion indicated by the avatar of the first contact (for example, the emotion obtained by analyzing the expression of the avatar of the first contact) is different from the emotion determined according to the target information.
  • the avatar of the first contact may be combined with an identifier that can indicate an emotion (such as the first identifier described below) to jointly form a target emotion identifier.
  • the image when the target emotion is identified as an image of the first contact, the image may be: a, information such as Moments, photos, videos, etc. that the electronic device discloses from the first contact through big data
  • the image acquired in b, or, b, may be an image of the first contact stored in the electronic device.
  • the electronic device can first acquire multiple images, and then use artificial intelligence AI (Artificial Intelligence, AI) technology to perform expression recognition on the multiple images to A photo (hereinafter referred to as photo 0) matching the emotional information corresponding to the first duration is determined from the plurality of photos.
  • AI Artificial Intelligence
  • an image for example, an image of a puppy
  • the user can pre-set an image for the first contact through a setting entry, where the image set by the user can be the first contact's own image, or other images except the first contact's image , such as images of stars or other images (any images such as group photos, plants, and landscapes).
  • different images set by the user for the first contact are used to indicate different emotions. Therefore, after determining the emotion of the first contact (hereinafter referred to as emotion 1), the electronic device can select an image indicating emotion 1 from these images.
  • the user can set different images for different emotions of the first contact. Therefore, after determining the emotion of the first contact, the electronic device can select an image indicating the emotion from preset images.
  • the emotion of the first contact indicated by the avatar of the first contact and the image set by the user for the first contact is the same as the emotion of the first contact determined according to the target information .
  • the target emotion identification includes an image after changing the expression of the image corresponding to the first contact.
  • the electronic device may use AI technology to change the expression of the image corresponding to the first contact, so that the expression-changed image matches the emotion of the first contact.
  • the target emotion identifier includes the first identifier.
  • the first mark may be any mark that can indicate emotions, such as an expression mark, a color mark, a text mark, and the like.
  • a yellow logo may indicate happiness; a blue logo may indicate anxiety; and a black logo may indicate despair.
  • the image of a smiling face indicates happiness; the image of flustered eyes indicates anxiety; the image of dull eyes indicates despair.
  • the text “happy” indicates happiness; the text “anxiety” indicates anxiety; the text “despair” indicates despair.
  • the above (1), (2) and (3) can be used in combination, or can be used alone, and can be determined according to the display form and/or display area of the target emotion indicator.
  • the target emotion identification may include at least one of the image corresponding to the first contact, the image after changing the expression of the image corresponding to the first contact, and the first identification, it is possible to improve the indication of the electronic device. Emotional flexibility and variety.
  • the electronic device after receiving the first message sent by the first contact, the electronic device can display a target emotion indicator for indicating the emotion of the first contact to the first message Therefore, based on the target emotion identifier, the user can learn that the electronic device has received unread messages including the first contact and the emotional state of the first contact for these messages, thereby improving the flexibility of the electronic device to prompt unread messages.
  • a contact may correspond to an emotion identifier, and the emotion identifier is used to indicate the emotion of the contact for all unread messages corresponding to it (A possible implementation), or, a contact may correspond to multiple emotion identifiers, and each emotion identifier is used to indicate the emotion of the contact to an unread message corresponding to it, and different emotion identifiers correspond to different Unread messages (another possible implementation).
  • the first contact corresponds to K unread messages, and the first message is the earliest received message among the K unread messages, and K is a positive integer; then the emotion of the first contact on the K unread messages can be indicated by the target emotion identifier.
  • the sending device also collects and sends the image of the first contact when sending the first message (the message with the earliest reception time)
  • the receiving device can indicate the emotion indicated by the image It is determined as the emotion of the first contact on the above K unread messages, and a target emotion identifier is determined based on the emotion.
  • the electronic device may determine the current emotion of the first contact on the above K unread messages based on the unread duration of the first unread message, and determine the target emotion identifier based on the emotion.
  • the above K unread messages are all unread messages corresponding to the first contact.
  • an emotion indicator can be used to indicate the emotion of all unread messages corresponding to the contact, the user can not only know the unread messages corresponding to the first contact in the electronic device based on the target emotion , and the emotions of the first contact on these unread messages can be known, so that the flexibility of the electronic device to prompt the unread messages can be further improved.
  • the first contact corresponds to K unread messages
  • the K unread messages include the first message
  • the first contact corresponds to K unread messages.
  • the emotion of each unread message is indicated by an emotion identifier, and K is a positive integer; the above-mentioned step 102 can be specifically implemented through the following step A.
  • Step A the electronic device sequentially displays K emotional signs.
  • the aforementioned K emotional markers are in one-to-one correspondence with the aforementioned K unread messages, and the K emotional markers include the aforementioned target emotional markers.
  • the electronic device may sequentially display the above K emotional markers according to the order in which the messages are received.
  • the electronic device may update the unread duration of the K unread messages after sequentially displaying the K emotional signs, and sequentially display the unread duration according to the updated unread duration Determine K emotional tokens.
  • the electronic device can first obtain the unread duration of an unread message, and determine an emotion identifier according to the unread duration, and display the emotion identifier; then, the electronic device obtains the duration of another unread message. unread duration, and according to the unread duration of another unread message, another emotion indicator is determined, and the other emotion indicator is displayed. And so on, until the electronic device displays the emotion indicator determined according to the unread duration of the last unread message.
  • the user when the first contact corresponds to K unread messages, since the emotion identification used to indicate the emotion of the first contact for each unread message can be displayed in sequence, the user can not only Identify and know that the electronic device includes unread messages corresponding to the first contact, and know the emotion of the first contact for each of the K unread messages, so that the flexibility of the electronic device to prompt unread messages can be further improved sex.
  • the foregoing step 102 may specifically be implemented through the following steps 102a to 102c.
  • Step 102a the electronic device displays the target emotion mark in the first area.
  • the first area is at least one of the following: at least a partial area where the target icon is displayed on the desktop, an area adjacent to the area where the target icon is displayed on the desktop; the target icon is the icon of the target application program, and the first message passes through the target application program take over.
  • At least a partial area on the desktop where the target icon is displayed may be understood as: a partial area on the desktop where the target icon is displayed; or an entire area on the desktop where the target icon is displayed.
  • the electronic device displays the target icon 22 in the area 21 of the desktop 20, then: after receiving the first message, as shown in FIG.
  • the electronic device can display "the smiley face image of the first contact” 23 (that is, the target emotion identification) in the right area of the area 21, that is, superimpose on the target icon 23 and display "the first contact The smiley face image" 23, that is, the electronic device displays the target emotion logo in a part of the area where the target icon is displayed on the desktop.
  • the electronic device may display a "smiley face image" 23 in the entire area 21, that is, the target emotion mark is overlaid on the target icon or the target icon is replaced by the target emotion mark.
  • the area on the desktop adjacent to the area where the target icon is displayed can be understood as: the area on the desktop that is located around the target icon, for example, the area above the target icon and adjacent to the area where the target icon is located Area, located below the target icon and adjacent to the area where the target icon is located, located on the left side of the target icon and adjacent to the area where the target icon is located, located on the right side of the target icon and adjacent to the area where the target icon is located; among them, up, down, left , and right are shown as an example of displaying target icons on the desktop when the desktop faces the user.
  • the electronic device displays the target icon 22 in the area 21 of the desktop 20, then: after receiving the first message, as shown in FIG. 2
  • the electronic device can display a "smiley face image” 23 (i.e., target emotion identification) in the area below the area 21 and adjacent to the first area, that is, the area where the electronic device displays the target icon on the desktop Adjacent areas show target emotion logos.
  • the electronic device may also display the target emotion mark on the entire area of the desktop where the target icon is displayed and the area on the desktop adjacent to the area where the target icon is displayed.
  • the target emotion identification may include: the image corresponding to the first contact, the image after changing the expression of the image corresponding to the first contact, the image corresponding to the first contact and the first The logo, the image corresponding to the image corresponding to the first contact with the expression changed, and the first logo.
  • the target emotion identifier when the target emotion identifier includes the first identifier, the target emotion identifier may also include the identifier of the first contact, and the identifier of the first contact may be the first contact's nickname, the user's Any identifier such as the remark name of the first contact may indicate the first contact.
  • Step 102b the electronic device displays the target emotion mark in the third area.
  • the third area is an area where message entries corresponding to the first contact (hereinafter referred to as target entries) are displayed on the target message list interface;
  • the target message list interface is a message list interface in the target application program.
  • the target entry includes an avatar of the first contact and a summary of a message corresponding to the first contact (for example, part of the message content of the last received message).
  • the electronic device may display the target emotion identifier on the avatar of the contact in the target entry. It can be understood that, in this embodiment of the present application, the electronic device may display different emotion identifiers on message items corresponding to different contacts.
  • step 102b for details, reference may be made to relevant descriptions in the above-mentioned step 102a. In order to avoid repetition, details are not repeated here.
  • the electronic device may display the target emotion identifier at any position of the target entry.
  • the target emotion identifier may be at least one of the following: an image corresponding to the first contact, an image after changing the expression of the image corresponding to the first contact, and a first identifier.
  • the electronic device may display an identifier representing emotions, such as a smiling face or a crying face, on the basis of the avatar of the first contact; or, the electronic device may additionally display an identifier representing emotions, such as a smiling face or a crying face, in the target entry , without changing the display of the original avatar.
  • an identifier representing emotions such as a smiling face or a crying face
  • Step 102c the electronic device displays the target emotion mark on the current interface in the form of a pop-up window.
  • the electronic device can superimpose and display the target emotion indicator in the form of a pop-up window on any interface.
  • the user may trigger the electronic device to move the display position of the target emotion mark and/or cancel the display of the target emotion mark by inputting.
  • the electronic device may always display the target emotion mark, or may cancel the display of the target emotion mark after a display period.
  • the target emotion identification may include: the image corresponding to the first contact, the image after changing the expression of the image corresponding to the first contact, the image corresponding to the first contact and the first The logo, the image corresponding to the image corresponding to the first contact with the expression changed, and the first logo.
  • Step 102c is exemplarily described below in conjunction with specific examples.
  • the electronic device may display the first contact's smiley face image (that is, the target emotion identifier) through a pop-up window, In order to notify the user that the electronic device has received the message sent by the first contact.
  • a chat interface text chat + video or voice call
  • the electronic device can display the target emotion mark on different interfaces, the flexibility of displaying the target emotion mark can be improved.
  • the unread message prompting method provided in the embodiment of the present application may further include the following step 103.
  • Step 103 After canceling the display of the target emotion mark, when the emotion of the first contact on the first message changes, the electronic device displays the target emotion mark for indicating the changed emotion.
  • the electronic device can display the target emotion logo again with a pop-up window
  • the form displays an angry image of the first contact (ie, a target emotion mark for indicating a changed emotion).
  • the electronic device can display the target emotion identifier indicating the changed emotion in the form of a pop-up window when the emotion of the first contact on the first message changes after canceling the display of the target emotion identifier, it is possible Further increases the flexibility of displaying target emotion markers.
  • the target emotion identifier may be an emotion identifier among Q emotion identifiers, and each emotion identifier is used to indicate the first emotion of a contact to at least one unread message corresponding to a contact , Q is an integer greater than 1. Then, the above step 102 can be specifically implemented through the following step 102e.
  • Step 102e the electronic device cyclically displays the Q emotion symbols according to the display duration corresponding to the Q emotion symbols.
  • the display duration corresponding to each emotion identifier can be determined by any of the following: the duration (1) associated with the above-mentioned one contact, and the duration (2) associated with the emotion type of the first emotion.
  • the correspondence between contacts and display duration may be preset, and the correspondence between different contacts and display duration may be different.
  • the corresponding relationship between emotion (specifically, emotional information) and display duration may be preset, and the corresponding relationship between different emotions and display duration may be different.
  • the at least one unread message may be: all unread messages corresponding to a contact; in the foregoing another possible implementation manner, The above at least one unread message is an unread message corresponding to a contact.
  • the aforementioned Q emotion identifiers may indicate P contacts, where P is a positive integer less than or equal to Q.
  • each emotion identifier is used to indicate the emotion of one contact among the P contacts to its corresponding unread message.
  • P ⁇ Q that is, in this case, multiple emotion identifiers in the Q emotion identifiers indicate the same contact, and each emotion identifier is used to indicate that a contact has The corresponding sentiment of an unread message.
  • the Q emotion identifiers may include a first emotion identifier and a second emotion identifier, where the first emotion identifier is used to indicate the emotion of the contact 1 on the unread message a and the unread message b, The second emotion identifier is used to indicate the emotion of the contact 2 on the unread message c and the unread message d; that is, each contact corresponds to an emotion identifier.
  • the Q emotional identifiers may include a third emotional identifier, a fourth emotional identifier, a fifth emotional identifier, and a sixth emotional identifier, wherein the third emotional identifier is used to indicate that the contact 1 is For the emotion of the unread message a, the fourth emotion identifier is used to indicate the emotion of the contact 1 to the unread message b; the fifth emotion identifier is used to indicate the emotion of the contact 2 to the unread message c; the sixth emotion identifier is used to indicate The emotion of contact 2 on the unread message d; that is, each message corresponds to an emotion identifier.
  • the electronic device may sequentially display the Q emotional markers according to the display duration corresponding to each emotional marker according to the order in which the unread messages indicated by the Q emotional markers are received. It can be understood that, in actual implementation, after displaying the last of the Q emotional markers, the electronic device may update the Q emotional markers according to the target information, and display the updated Q emotional markers in sequence. In the embodiment of the present application, when the target emotion token is an emotion token among the Q emotion tokens, the electronic device may display the Q emotion tokens in a cycle according to the display duration corresponding to the Q emotion tokens.
  • the user can not only know the unread messages corresponding to which contacts are included in the target application based on the emotion identification, but also can know the first emotion of each contact for at least one unread message corresponding to it, which can further improve the prompting of the electronic device. Flexibility for unread messages.
  • the corresponding relationship between the unread duration range corresponding to the message and the emotional information can be preset, and different emotional information is used to indicate different emotions, and different emotions can be passed through different Emotional signs are indicated.
  • the corresponding relationship between the unread duration range corresponding to the message and the emotional information of the message sender can be preset, as shown in Table 1 below:
  • the range of unread duration [0, 0.3] corresponds to emotional information 1; the range of unread duration (0.3, 10] corresponds to emotional information 2; the range of unread duration (10, 30] corresponds to emotional information 3; The unread duration range (30, 60] corresponds to emotional information 4; the unread duration range (60, -] corresponds to emotional information 5.
  • the electronic device After the electronic device obtains an unread duration, it can look up the unread duration in Table 1.
  • the unread duration range where the duration is, and the emotional information corresponding to the unread duration range is determined as the emotional information corresponding to the unread duration.
  • the user can set the corresponding relationship between the unread time range and emotional information for the first contact through the setting interface 30 corresponding to the first contact.
  • at least one entry is included in the setting interface 30, and each entry (such as entry 31 shown in Figure 3) is used to set the correspondence between an unread duration range and an emotional information, and each entry corresponds to a deletion control, the delete button is used to delete the entry.
  • the setting interface 30 may also include an adding control 32 for adding items.
  • the emotion of a contact may be: happy, irritable, anxious, sad, angry, desperate, and so on.
  • the above-mentioned emotional information 1 may indicate that the message sender has no change in mood; the above-mentioned emotional information 2 may indicate that the message sender is happy/expecting; the above-mentioned emotional information 3 may indicate that the message sender is irritable; the above-mentioned emotional information
  • the information 4 may indicate that the message sender is anxious; the aforementioned emotional information 4 may indicate that the message sender is sad; the aforementioned emotional information 5 may indicate that the message sender is angry.
  • the mood of the message sender when the corresponding unread duration of the message is within [0,5]min, the mood of the message sender can be happy; when the corresponding unread duration of the message is within (5,15]min, the message is sent The mood of the message sender can be sad; when the corresponding unread time of the message is greater than 15 minutes, the mood of the message sender can be angry.
  • the unread message prompting method provided in the embodiment of the present application may further include the following steps 104 and 105, and the above step 102 may specifically be It is realized through the following step 102f.
  • Step 104 the electronic device receives a second input from the user.
  • Step 105 The electronic device sets at least one first corresponding relationship in response to the second input.
  • each first correspondence corresponds to a contact
  • each first correspondence is a correspondence between a contact's emotion and a target unread duration
  • the target unread duration is an unread message corresponding to a contact. Unread time.
  • step 102f the electronic device acquires a target corresponding relationship corresponding to the first contact from at least one first corresponding relationship; and displays the target emotion identifier according to the unread duration of the first message and the target corresponding relationship.
  • the second input is any input for which at least one first correspondence can be set, which can be specifically determined according to actual usage requirements, and is not limited in this embodiment of the present application.
  • step 104 and step 105 For other descriptions of step 104 and step 105, reference may be made to relevant descriptions in the foregoing embodiments, and details are not repeated here to avoid repetition.
  • the electronic device can set a different corresponding relationship between the emotion of the contact and the unread duration of the message in units of contacts, the emotions of different contacts for the same unread duration may be different, so that different The emotional identification can improve the flexibility and diversity of displaying emotional identification.
  • the user may trigger the electronic device to display a message (for example, the first message) corresponding to the target emotion mark by inputting the target emotion mark.
  • the user can trigger the electronic device to display the message corresponding to the target emotion identifier by inputting the target emotion identifier (for example, the first input described below), and display at least one group of messages in units of contacts, each group of messages corresponds to a contact,
  • the emotion type of the emotion of the one contact on the group of messages is the same as the emotion type of the emotion indicated by the target emotion identifier.
  • the unread message prompting method provided by the embodiment of the present application may further include Step 106 and Step 107 described below.
  • Step 106 the electronic device receives a user's first input on the target emotion identification.
  • the first input may be any possible form of input such as the user's touch input or hovering input of the target emotion mark, which may be determined according to actual usage requirements, and is not limited in the embodiment of the present application.
  • the first input may be an input of the user double-clicking on the target emotion mark.
  • Step 107 the electronic device displays the first message in response to the first input, and displays N groups of second messages corresponding to the N second contacts one by one.
  • N can be a positive integer
  • the N second types are the same emotion type as the first type
  • each second type is the emotion of a group of second messages corresponding to a second contact for a second contact type.
  • the electronic device may further display H third messages, where the H third messages are messages other than the first message corresponding to the first contact.
  • the electronic device may display a first window on the desktop, and display the first message in the first window.
  • the first window may be a conversation window corresponding to the first contact.
  • a contact replies to the message.
  • the above N groups of second messages may be at least part of the unread messages corresponding to the N second contacts in the target application; that is, the N second contacts correspond to the N groups of second messages one-to-one.
  • the emotion type of the emotion of a group of second messages corresponding to one second contact is also the first type.
  • the messages in a group of second messages are the messages corresponding to one second contact. All unread messages.
  • the messages in a group of second messages are all messages of a second contact whose emotional type is the first type for the corresponding unread messages; The two messages correspond to the one second contact.
  • the electronic device may display the first message and N groups of second messages in the same window (such as the above-mentioned first window); or, the first message may be displayed in the first window, and the N groups of N groups of second messages are displayed in the second window.
  • the user can trigger the The electronic device updates the messages in the third window, such as updating message a in a group of messages to message b in the group of messages.
  • the third window may be the above-mentioned first window or the above-mentioned N second windows; the first direction may be an upward, downward, leftward, or rightward direction relative to the third window.
  • the electronic device when the electronic device displays the first message and N groups of second messages in the first window, and N is greater than 1, the user can pass in the first window (as shown in FIG. 5 Sliding input along the second direction (the direction shown by arrow 52 in FIG. 5 ) on the window 50) triggers updating of message groups in the first window, for example, message group 1 is updated to message group 2.
  • the second direction may be an upward, downward, leftward, or rightward direction relative to the first window. And the second direction is different from the first direction.
  • the second direction is different from the first direction.
  • the user since the user can trigger the electronic device to display the first message through the first input of the target emotion identifier of the first contact, and display N groups of second messages with the same emotion type as the emotion corresponding to the first message. message, without first triggering the display of the session list interface of the target application and searching for the session identifier corresponding to the corresponding contact in the session list interface. Therefore, the method for prompting unread messages provided by the embodiment of the present application can simplify the process for users to view unread messages.
  • the N second contacts may be contacts in the same application (such as the above-mentioned target application), or the N second contacts may be contacts in different applications .
  • the first contact and the N second contacts are contacts whose importance levels are greater than or equal to a preset threshold. That is, the electronic device may display an emotion indicator indicating the contact's emotion on the unread messages according to the importance level of the contacts, so as to remind the user that the unread messages corresponding to these more important contacts are included in the electronic device.
  • the user can set an importance level for the contacts in the target application, for example, the user can set the target
  • the importance level of some contacts in the application is set to "important”
  • the importance level of other contacts in the target application other than the part of contacts is set to "normal” by default. Therefore, after receiving a message sent by a contact whose importance level is "important" (for example, the first contact and the second contact), the electronic device may display the target emotion identifier corresponding to the contact.
  • the electronic device when the target application includes unread messages corresponding to contacts whose importance level is greater than or equal to the preset threshold, the electronic device can display the target emotion identifier corresponding to the contact to remind the user that the target application includes The unread messages corresponding to these contacts; that is, the electronic device can prompt the unread messages according to the importance level of the contacts, so that the user can avoid missing important messages, which can further improve the flexibility and accuracy of the electronic device prompting unread messages .
  • the unread message prompting method provided in the embodiment of the present application may be executed by an unread message prompting device, or a control module in the unread message prompting device for executing the unread message prompting method.
  • the unread message prompting device provided by the embodiment of the present application is described by taking the unread message prompting device executing the unread message prompting method as an example.
  • the embodiment of the present application provides an unread message prompting device 60 , which may include: a receiving module 61 and a display module 62 .
  • the receiving module 61 may be configured to receive the first message.
  • the display module 62 may be configured to display the target emotion identifier after the receiving module 61 receives the first message, the target emotion identifier is used to indicate the emotion of the first contact to the first message, and the first contact is the contact who sends the first message .
  • the target emotion identifier is determined according to the target information, and the target information includes at least one of the following items: the image of the first contact collected by the electronic device of the first contact, the unread duration of the first message, and the unread duration is when the first message is received. The time between the message's time and the current time.
  • the above target information may include the unread duration of the first message; where different unread durations correspond to different emotions of the first contact, and different emotions are indicated by different target emotion identifiers.
  • the display module 62 can be specifically configured to display the target emotion logo in the first area, and the first area is at least one of the following: at least part of the area where the target icon is displayed on the desktop, and the area where the target icon is displayed on the desktop. The area adjacent to the area.
  • the display module 62 may be specifically configured to display the target emotion identifier in the third area, where the third area is an area for displaying message items corresponding to the first contact on the target message list interface.
  • the display module 62 can be specifically configured to display the target emotion identifier on the current interface in the form of a pop-up window.
  • the target icon is the icon of the target application program
  • the first message is received through the target application program
  • the target message list interface is a message list interface in the target application program.
  • the display module 62 can also be used to display the target emotion mark on the current interface in the form of a pop-up window, and then cancel the display of the target emotion mark to display the first contact's emotion on the first message.
  • display a target emotion indicator for indicating the changed emotion.
  • the above-mentioned target emotion identification may include at least one of the following: an image corresponding to the first contact, an image after changing the expression of the image corresponding to the first contact, a first identification, and the first identification uses to indicate emotions.
  • the above-mentioned first contact may correspond to K unread messages, and the K unread messages include the first message, and the emotion of each unread message of the first contact is determined through an emotion identification. Indicates that K is a positive integer.
  • the display module 62 may specifically be used to sequentially display K emotional markers, the K emotional markers correspond to the K unread messages one by one, and the K emotional markers include the target emotional marker.
  • the above-mentioned first contact may correspond to K unread messages, the first message is a message received at the earliest time among the K unread messages, and K is a positive integer.
  • the emotions of the first contact on the K unread messages are all indicated by target emotion identifiers.
  • the emotion type of the first contact's emotion for the first message may be the first type.
  • the receiving module 61 may also be configured to receive the user's first input on the target emotion identifier after the display module 62 displays the target emotion identifier.
  • the display module 62 may also be configured to display the first message in response to the first input received by the receiving module 61, and display N groups of second messages corresponding to the N second contacts one-to-one, where N is a positive integer.
  • the N second types are the same emotion type as the first type, and each second type is an emotion type of the emotion of a group of second messages corresponding to one second contact to one second contact.
  • the above-mentioned target emotion identifier may be an emotion identifier among Q emotion identifiers, and each emotion identifier is used to indicate the first emotion of a contact to at least one unread message corresponding to a contact, Q is an integer greater than 1.
  • the display module 62 can specifically be used to display Q emotional signs in a cycle according to the display duration corresponding to the Q emotional signs, and the display time corresponding to each emotional sign is determined by any of the following items: the duration associated with a contact, the time associated with the first The duration of an emotion's emotion type association.
  • the unread message prompting device 60 may further include a setting module, and the above target information may include an unread duration of the first message.
  • the receiving module 61 may also be configured to receive a second input from the user before the display module 62 displays the target emotion identifier.
  • the above-mentioned setting module may be configured to set at least one first correspondence in response to the second input received by the receiving module 61, each first correspondence corresponds to a contact, and each first correspondence is a contact's emotion and Correspondence between target unread durations, where the target unread duration is the unread duration of unread messages corresponding to a contact.
  • the display module 62 may specifically be configured to acquire a target correspondence corresponding to the first contact from at least one first correspondence; and display a target emotion identifier according to the unread duration of the first message and the target correspondence.
  • the unread message prompting device after receiving the first message sent by the first contact, the unread message prompting device can display Target emotion identification, so the user can learn based on the target emotion identification that the unread message prompting device has received the unread messages corresponding to the first contact and the emotional state of the first contact for these messages, thereby improving the flexibility of prompting unread messages sex.
  • the unread message prompting device in the embodiment of the present application may be a device, or a component, an integrated circuit, or a chip in a terminal.
  • the device may 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 (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant).
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine or self-service machine etc.
  • the unread message prompting device in this embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
  • the unread message prompting device provided in the embodiment of the present application can realize various processes realized by the method embodiments in FIG. 1 to FIG. 5 , and details are not repeated here to avoid repetition.
  • the embodiment of the present application also provides an electronic device 200, including a processor 202, a memory 201, and a program or instruction stored in the memory 201 and operable on the processor 202.
  • the program or instruction is processed When executed by the device 202, each process of the above-mentioned unread message prompting method embodiment can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 8 is a schematic diagram of a 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, and a processor 1010, etc. part.
  • the electronic device 1000 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 1010 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions.
  • a power supply such as a battery
  • the structure of the electronic device shown in FIG. 8 does not constitute a limitation to the electronic device.
  • the electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, and details will not be repeated here. .
  • the radio frequency unit 1001 may be configured to receive the first message.
  • the display unit 1006 may be configured to display a target emotion identifier after the radio frequency unit 1001 receives the first message, the target emotion identifier is used to indicate the emotion of the first contact to the first message, and the first contact is the contact who sends the first message .
  • the target emotion identifier is determined according to the target information, and the target information includes at least one of the following items: the image of the first contact collected by the electronic device of the first contact, the unread duration of the first message, and the unread duration is when the first message is received. The time between the message's time and the current time.
  • the above target information may include an unread duration of the first message; where different unread durations correspond to different emotions of the first contact, and different emotions are indicated by different target emotion identifiers.
  • the display unit 1006 may specifically be configured to display the target emotion logo in the first area, and the first area is at least one of the following: at least a partial area where the target icon is displayed on the desktop, and an area where the target icon is displayed on the desktop. The area adjacent to the area.
  • the display unit 1006 may be specifically configured to display the target emotion identifier in a third area, where the third area is an area for displaying message items corresponding to the first contact on the target message list interface.
  • the display unit 1006 may specifically be configured to display the target emotion identifier on the current interface in the form of a pop-up window.
  • the target icon is the icon of the target application program
  • the first message is received through the target application program
  • the target message list interface is a message list interface in the target application program.
  • the display unit 1006 can also be configured to display the target emotion identifier on the current interface in the form of a pop-up window, and then cancel the display of the target emotion identifier to display the first contact's emotion on the first message.
  • display a target emotion indicator for indicating the changed emotion.
  • the above-mentioned target emotion identification may include at least one of the following: an image corresponding to the first contact, an image after changing the expression of the image corresponding to the first contact, a first identification, and the first identification uses to indicate emotions.
  • the above-mentioned first contact may correspond to K unread messages, and the K unread messages include the first message, and the emotion of each unread message of the first contact is determined through an emotion identification.
  • K is a positive integer.
  • the display unit 1006 may be specifically configured to sequentially display K emotional markers, the K emotional markers are in one-to-one correspondence with the K unread messages, and the K emotional markers include a target emotional marker.
  • the above-mentioned first contact may correspond to K unread messages, the first message is a message received at the earliest time among the K unread messages, and K is a positive integer.
  • the emotions of the first contact on the K unread messages are all indicated by target emotion identifiers.
  • the emotion type of the first contact's emotion for the first message may be the first type.
  • the radio frequency unit 1001 may also be configured to receive a user's first input on the target emotion identifier after the display unit 1006 displays the target emotion identifier.
  • the display unit 1006 may also be configured to display the first message in response to the first input received by the radio frequency unit 1001, and display N groups of second messages corresponding to the N second contacts one-to-one, where N is a positive integer.
  • the N second types are the same emotion type as the first type, and each second type is an emotion type of the emotion of a group of second messages corresponding to one second contact to one second contact.
  • the above-mentioned target emotion identifier may be an emotion identifier among Q emotion identifiers, and each emotion identifier is used to indicate the first emotion of a contact to at least one unread message corresponding to a contact, Q is an integer greater than 1.
  • the display unit 1006 can be specifically configured to display Q emotion identifiers in a cycle according to the display duration corresponding to the Q emotion identifiers, and the display duration corresponding to each emotion identifier is determined by any of the following items: the duration associated with a contact, the duration associated with the second The duration of an emotion's emotion type association.
  • the above target information may include an unread duration of the first message.
  • the radio frequency unit 1001 may also be used to receive a second input from the user before the display unit 1006 displays the target emotion identifier.
  • the processor 1010 may be configured to set at least one first correspondence in response to the second input received by the radio frequency unit 1001, each first correspondence corresponds to a contact, and each first correspondence is a contact's emotion and Correspondence between target unread durations, where the target unread duration is the unread duration of unread messages corresponding to a contact.
  • the display unit 1006 may specifically be configured to acquire a target correspondence corresponding to the first contact from at least one first correspondence; and display a target emotion identifier according to the unread duration of the first message and the target correspondence.
  • the electronic device since the electronic device can display the target emotion indicator used to indicate the emotion of the first contact to the first message after receiving the first message sent by the first contact, the user Based on the target emotion identifier, it can be known that the electronic device receives unread messages corresponding to the first contact and the emotional state of the first contact for these messages, so that the flexibility of the electronic device to prompt unread messages can be improved.
  • the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 is used for the image capture device (such as the image data of the still picture or video obtained by the camera) for processing.
  • the display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 1007 includes a touch panel 10071 and other input devices 10072 .
  • the touch panel 10071 is also called a touch screen.
  • the touch panel 10071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 10072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • the memory 1009 can be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • Processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 1010 .
  • the embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by the processor, each process of the above embodiment of the unread message prompting method is realized, and can achieve The same technical effects are not repeated here to avoid repetition.
  • the above-mentioned processor is the processor in the electronic device in the above-mentioned embodiment.
  • the above-mentioned readable storage medium includes a computer readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
  • the 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 programs or instructions to implement the various processes of the above-mentioned unread message prompt method embodiment, and can To achieve the same technical effect, in order to avoid repetition, no more details are given here.
  • chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
  • the term “comprising”, “comprising” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase “comprising a " does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
  • 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. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Health & Medical Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请实施例提供一种未读消息提示方法、装置、电子设备及介质,涉及通信技术领域。该方法包括:接收第一消息;显示目标情绪标识,目标情绪标识用于指示第一联系人对第一消息的情绪,第一联系人为发送第一消息的联系人;其中,目标情绪标识根据目标信息确定,目标信息包括以下至少一项:第一联系人的电子设备采集的第一联系人的图像、第一消息的未读时长,未读时长为接收到第一消息的时间与当前时间之间的时长。

Description

未读消息提示方法、装置、电子设备及介质
相关申请的交叉引用
本申请主张在2021年08月06日在中国提交的中国专利申请号202110904283.2的优先权,其全部内容通过引用包含于此。
技术领域
本申请属于通信技术领域,具体涉及一种未读消息提示方法、装置、电子设备及介质。
背景技术
随着通信技术的高速发展,用户通过电子设备的社交应用进行沟通的频率来越高。
目前,当一个社交应用中包括未读消息时,电子设备可以在该社交应用的应用图标上显示未读消息的数量,以提示用户该社交应用中包括未读的消息,从而使用户可以通过点击该应用图标查看该社交应用中的未读消息。
然而,按照上述方法,由于电子设备仅提示社交应用中未读消息的总数量,因此用户在查看这些未读消息之前,无法获知这些未读消息的发送者,因此导致电子设备提示未读消息的灵活性较差。
发明内容
本申请实施例的目的是提供一种未读消息提示方法、装置、电子设备及介质,能够解决电子设备提示未读消息的灵活性较差的问题。
第一方面,本申请实施例提供了一种未读消息提示方法,该方法包括:接收第一消息;显示目标情绪标识,目标情绪标识用于指示第一联系人对第一消息的情绪,第一联系人为发送第一消息的联系人;其中,目标情绪标识根据目标信息确定,目标信息包括以下至少一项:第一联系人的电子设备采集的第一联系人的图像、第一消息的未读时长,未读时长为接收到第一消息的时间与当前时间之间的时长。
第二方面,本申请实施例提供了一种未读消息提示装置,该装置包括接收模块和显示模块;接收模块,用于接收第一消息;显示模块,用于在所述接收模块接收到所述第一消息之后显示目标情绪标识,目标情绪标识用于指示第一联系人对第一消息的情绪,第一联系人为发送第一消息的联系人;其中,目标情绪标识根据目标信息确定,目标信息包括以下至少一项:第一联系人的电子设备采集的第一联系人的图像、第一消息的未读时长,未读时长为接收到第一消息的时间与当前时间之间的时长。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在存储器上并可在处理器上运行的程序或指令,该程序或指令被处理器执行时实现上述第一方面的未读消息提示方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,该可读存储介质上存储程序或指令,该程序或指令被处理器执行时实现上述第一方面的未读消息提示方法的步骤。
第五方面,本申请实施例提供了一种芯片,该芯片包括处理器和通信接口,该通信接口和处理器耦合,处理器用于运行程序或指令,实现上述第一方面的未读消息提示方法。
在本申请实施例中,可以接收第一消息;显示目标情绪标识,目标情绪标识用于指示第一联系人对第一消息的情绪,第一联系人为发送第一消息的联系人;其中,目标情绪标识根据目标信息确定,目标信息包括以下至少一项:第一联系人的电子设备采集的第一联系人的图像、第一消息的未读时长,未读时长为接收到第一消息的时间与当前时间之间的时长。通过该方案,由于电子设备可以在接收到第一联系人发送的第一消息后,显示用于指示第一联系人对第一消息的情绪的目标情绪标识,因此用户可以基于目标情绪标识获知电子设备接收到第一联系人对应的未读消息以及第一联系人对这些消息的情绪状况,从而可以提高电子设备提示未读消息的灵活性。
附图说明
图1为本申请实施例提供的未读消息提示方法的流程示意图;
图2为本申请实施例提供的未读消息提示方法应用的界面示意图之一;
图3为本申请实施例提供的未读消息提示方法应用的界面示意图之二;
图4为消息对应的未读时长与消息发送者的情绪之间的关系示意图;
图5为本申请实施例提供的未读消息提示方法应用的界面示意图之三;
图6为本申请实施例提供的未读消息提示装置的示意图;
图7为本申请实施例提供的电子设备的示意图;
图8为本申请实施例提供的电子设备的硬件示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。
本文中术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别不同的对象,而不是用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。
在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说 明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。
在本申请实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个联系人是指两个或者两个以上的联系人等。
需要说明的是,本申请实施例中的标识用于指示信息的文字、符号、图像等,可以以控件或者其他容器作为显示信息的载体,包括但不限于文字标识、符号标识、图像标识。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的未读消息提示方法、装置、电子设备及介质进行详细地说明。
本申请实施例提供的未读消息提示方法可以应用于对应用中的未读消息进行提示的场景中。
示例性地,当电子设备接收到一个应用(以下称为应用A)中的一个联系人(以下称为联系人1,例如本申请实施例中的第一联系人)发送的一个消息(例如本申请实施例中的第一消息)时,电子设备可以显示用于指示联系人1对该消息的情绪的目标情绪标识,以提示用户应用A中包括联系人1对应的未读消息。如此,用户可以基于该目标情绪标识获知目标应用中包括第一联系人对应的未读消息以及第一联系人对这些消息的情绪状况,从而可以提高电子设备提示未读消息的灵活性。
结合图1,本申请实施例提供一种未读消息提示方法,该方法可以包括下述的步骤101和步骤102。下面以电子设备执行该方法为例进行示例性地说明。
步骤101、电子设备接收第一消息。
步骤102、电子设备显示目标情绪标识。
其中,目标情绪标识用于指示第一联系人对第一消息的情绪,第一联系人为发送第一消息的联系人,目标情绪标识根据目标信息确定,目标信息可以包括以下至少一项:第一联系人的电子设备(以下称为发送设备)采集的第一联系人的图像(方式1)、第一消息的未读时长(方式2),第一消息的未读时长为电子设备接收到第一消息的时间与当前时间之间的时长。
本申请实施例中,上述当前时间具体可以为:***当前时间或接收设备当前时间。
需要说明的是,为了便于描述,下面将第一联系人的电子设备称为发送设备,两者意思相同,可以互换;将接收第一消息的电子设备称为接收设备,两者意思相同,可以互换。进一步地,除特别说明外,本申请实施例中的电子设备均为接收设备。
本申请实施例中,第一消息为:由发送设备发送给接收设备,且还未被查阅的消息。
本申请实施例中,接收设备可以通过接收设备中安装的应用程序(以下称为目标应用程序)接收第一消息。相应地,发送设备可以通过发送设备中安装的目标应用程 序发送向接收设备发送第一消息。
可选地,本申请实施例中,在电子设备显示目标情绪标识的过程中,若第一联系人对第一消息的情绪发生变化,例如再次接收到发送设备发送的第一联系人的图像(以下称为图像x),且图像x指示的情绪与目标情绪标识指示的情绪不同,或第一消息的未读时长所处的未读时长范围发生改变;则电子设备可以更新目标情绪标识,以使更新后的目标情绪标识能够指示第一联系人变化后的情绪。
进一步地,随着第一消息的未读时长所处的未读时长范围的不断改变,逐渐放大目标情绪标识的尺寸,以通过放大尺寸后的目标情绪标识指示第一联系人变化后的情绪。例如,假设未读时长范围为(0,1min)、[1,3min)、[3,5min),在第一消息的未读时长达到1min时,电子设备可以将目标情绪标识的尺寸从a调整为1.5a,在第一消息的未读时长达到3min时,电子设备可以从a调整为2a。
下面分别对上述方式1和上述方式2进行详细说明。
方式1:目标信息包括第一联系人的发送设备采集的第一联系人的图像。
可选地,本申请实施例中,在上述方式1中,发送设备可以在发送第一消息的同时或在发送第一消息之后,采集第一联系人的图像(以下称为目标图像),并向接收设备发送目标图像,从而接收设备在接收到目标图像之后,可以通过对目标图像进行表情分析,以确定第一联系人对第一消息的情绪。
当然,发送设备还可以在发送第一消息后,随着发送设备发送第一消息的时长的增加,继续采集并向接收设备发送第一联系人的图像,以使接收设备根据最近一次接收的图像,确定第一联系人对第一消息的情绪。
本申请实施例中,发送设备可以通过发送设备的前置摄像头采集第一联系人的图像。
方式2:目标信息包括第一消息的未读时长。
可选地,本申请实施例中,在上述方式2中,第一消息的未读时长越长,第一联系人对第一消息的情绪越恶劣。例如,随着未读时长的增加,第一联系人的情绪的变化依次为:开心、烦躁、焦虑、难过、生气、绝望等。
本申请实施例中,接收设备在接收到第一消息之后,记录第一消息的未读时长,并按照未读时长与情绪之间对应关系,确定与第一消息的未读时长对应的情绪,从而根据该情绪确定目标情绪标识。
可选地,本申请实施例中,电子设备可以记录接收到第一消息时的时间,且计算第一消息对应的未读时长(即从接收第一消息开始直至当前时间之间的时长)。例如,假设电子设备在22:20接收到第一消息,电子设备的***当前时间为:23:00,那么第一消息对应的未读时长为:40分钟。
对于未读时长与情绪之间的对应关系的描述,具体将在下述实施例中进行详细描述,为了避免重复,此处不予赘述。
可选地,本申请实施例中,在上述方式2中,即当目标信息包括第一消息的未读时长时,不同未读时长可以对应第一联系人的不同情绪,不同情绪可以通过不同的目标情绪标识进行指示。
本申请实施例中,由于电子设备可以采用不同目标情绪标识指示第一联系人在不同时刻对第一消息的情绪,因此可以提高指示联系人情绪的准确性。
可选地,本申请实施例中,目标情绪标识可以包括以下至少一项:(一),第一联系人对应的图像、(二),对第一联系人对应的图像进行表情变化后的图像、(三),第一标识。其中,第一标识可以用于指示情绪。
下面分别对上述(一)、(二)和(三)进行详细描述。
(一),目标情绪标识包括第一联系人对应的图像
可选地,本申请实施例中,第一联系人对应的图像可以为任意能够唯一指示第一联系人和第一联系人的情绪的图像。示例性地,第一联系人对应的图像可以为以下i~iii中任意一项:
i,第一联系人的头像。
本申请实施例中,第一联系人的头像为第一联系人在目标应用程序中设置的头像。
需要说明的是,当目标情绪标识包括第一联系人的头像时,第一联系人的头像指示的情绪(例如对第一联系人的头像进行表情分析,得到的情绪)与根据目标信息确定的情绪相同。或者,第一联系人的头像可以结合可以指示情绪的标识(例如下述的第一标识)共同构成目标情绪标识。
ii,第一联系人的图像。
对于第一联系人的图像的描述,具体可以参见上述实施例中的相关描述,为了避免重复,此处不再赘述。
可选地,本申请实施例中,当目标情绪标识为第一联系人的图像时,该图像可以为:a,电子设备通过大数据从第一联系人公开的朋友圈、照片、视频等信息中获取的图像,或者,b,可以为电子设备中存储的第一联系人的图像。
可选地,本申请实施例中,在上述a和b中,电子设备可以先获取多张图像,然后再采用人工智能AI(Artificial Intelligence,AI)技术,对该多张图像进行表情识别,以从该多张照片中确定与第一时长对应的情绪信息相匹配的照片(以下称为照片0)。
iii,用户为第一联系人设置的图像(例如,小狗图像)等。
具体的,用户可以通过一个设置入口,预先为第一联系人设置的图像,其中,用户设置的可以为第一联系人本人的图像,也可以为除第一联系人的图像之外的其他图像,比如是明星的图像或其他图像(合照、植物、风景之类的任意图像)。
可选地,本申请实施例中,用户为第一联系人设置的不同图像用于指示不同的情绪。从而电子设备可以在确定第一联系人的情绪(以下称为情绪1)之后,从这些图像中选择用于指示情绪1的图像。
可以理解,本申请实施例中,在上述ii和iii中,用户可以针对第一联系人的不同情绪,设置不同的图像。从而电子设备可以在确定第一联系人的情绪之后,从预先设置的图像中选择用于指示该情绪的图像。
需要说明的是,本申请实施例中,第一联系人的头像及用户为第一联系人设置的图像所指示的第一联系人的情绪,与根据目标信息确定的第一联系人的情绪相同。
(二),目标情绪标识包括对第一联系人对应的图像进行表情变化后的图像。
对于第一联系人对应的图像的描述,具体可以参见上述(一)中的相关描述,为了避免重复,此处不再赘述。
可选地,本申请实施例中,电子设备可以采用AI技术,对第一联系人对应的图像进行表情变化,以使进行表情变化后的图像与第一联系人的情绪相匹配的图像。
(三),目标情绪标识包括第一标识。
可选地,本申请实施例中,第一标识可以为表情标识、颜色标识、文字标识等任意能够指示情绪的标识。
例如,以第一标识为颜色标识为例,黄色标识可以指示开心;蓝色标识指示焦虑;黑色标识指示绝望。
又例如,以第一标识为表情图像为例,笑脸图像指示开心;眼神慌张的图像指示焦虑;眼神呆滞的图像指示绝望。
再例如,以第一标识为文字标识为例,文字“开心”指示开心;文字“焦虑”指示焦虑;文字“绝望”指示绝望。
需要说明的是,本申请实施例中,上述(一)、(二)和(三)可以搭配使用,也可以单独使用,具体可以根据目标情绪标识的显示形式和/或显示区域确定。
本申请实施例中,由于目标情绪标识可以包括第一联系人对应的图像、对第一联系人对应的图像进行表情变化后的图像和第一标识中的至少一项,因此可以提高电子设备指示情绪的灵活性和多样性。在本申请实施例提供的未读消息提示方法中,由于电子设备可以在接收到第一联系人发送的第一消息后,显示用于指示第一联系人对第一消息的情绪的目标情绪标识,因此用户可以基于目标情绪标识获知电子设备接收到包括第一联系人对应的未读消息以及第一联系人对这些消息的情绪状况,从而可以提高电子设备提示未读消息的灵活性。
可选地,本申请实施例中,针对每个联系人对应的未读消息,一个联系人可以对应一个情绪标识,该情绪标识用于指示该联系人对其所对应的全部未读消息的情绪(一种可能的实现方式),或者,一个联系人可以对应多个情绪标识,每个情绪标识用于指示该联系人对其所对应的一个未读消息的情绪,且不同情绪标识对应不同的未读消息(另一种可能的实现方式)。
可选地,本申请实施例中,在上述一种可能的实现方式中,假设第一联系人对应K个未读消息,第一消息为该K个未读消息中接收时间最早的消息,K为正整数;那 么第一联系人对该K个未读消息的情绪均可以通过目标情绪标识进行指示。
示例性地,在上述方式1中,假设发送设备在发送第一消息(为接收时间最早的消息)时,还采集并发送了第一联系人的图像,那么接收设备可以将该图像指示的情绪确定为第一联系人对上述K个未读消息的情绪,并基于该情绪确定目标情绪标识。
又示例性地,在上述方式2中,电子设备可以基于第一未读消息的未读时长,确定第一联系人当前对上述K个未读消息的情绪,并基于该情绪确定目标情绪标识。
本申请实施例中,上述K个未读消息为第一联系人对应的全部未读消息。
本申请实施例中,由于可以通过一个情绪标识指示一个联系人对该联系人对应的全部未读消息的情绪,因此用户不但可以基于目标情绪知晓电子设备中包括第一联系人对应的未读消息,且可以知晓第一联系人对这些未读消息的情绪,如此可以进一步提高电子设备提示未读消息的灵活性。
可选地,本申请实施例中,在上述另一种可能的实现方式中,假设第一联系人对应K个未读消息,该K个未读消息中包括第一消息,第一联系人对每个未读消息的情绪分别通过一个情绪标识进行指示,K为正整数;上述步骤102具体可以通过下述的步骤A实现。
步骤A、电子设备依次显示K个情绪标识。
其中,上述K个情绪标识与上述K个未读消息一一对应,该K个情绪标识中包括上述目标情绪标识。
可选地,本申请实施例中,电子设备可以按照接收消息的先后顺序,依次显示上述K个情绪标识。
可选地,本申请实施例中,在上述方式1中,电子设备在依次显示K个情绪标识之后,可以更新K个未读消息的未读时长,并的依次显示根据更新后的未读时长确定K个情绪标识。
可以理解,实际实现中,电子设备可以先获取一个未读消息的未读时长,并根据该未读时长确定一个情绪标识,以及显示该情绪标识;然后,电子设备再获取另一个未读消息的未读时长,且根据该另一个未读消息的未读时长确定另一个情绪标识,以及显示该另一个情绪标识。以此类推,直至电子设备显示根据最后一个未读消息的未读时长确定的情绪标识。
本申请实施例中,当第一联系人对应K个未读消息时,由于可以依次显示用于指示第一联系人对每个未读消息的情绪的情绪标识,因此用户不但可以基于K个情绪标识知晓电子设备中包括第一联系人对应的未读消息,且可以知晓第一联系人对该K个未读消息中的每个消息的情绪,如此可以进一步提高电子设备提示未读消息的灵活性。可选地,本申请实施例中,上述步骤102具体可以通过下述的步骤102a至步骤102c实现。
步骤102a、电子设备在第一区域显示目标情绪标识。
其中,第一区域为以下至少一项:桌面上显示目标图标的至少部分区域、桌面上与显示目标图标的区域相邻的区域;目标图标为目标应用程序的图标,第一消息通过目标应用程序接收。
需要说明的是,本申请实施例中,桌面上显示目标图标的至少部分区域可以理解为:桌面上显示目标图标的部分区域;或者桌面上显示目标图标的全部区域。
示例性地,如图2中的(a)所示,在电子设备接收第一消息之前,电子设备在桌面20中的区域21显示目标图标22,那么:在接收到第一消息之后,如图2中的(b)所示,电子设备可以在区域21的右侧区域显示“第一联系人的笑脸图像”23(即目标情绪标识),即在目标图标23上叠加显示“第一联系人的笑脸图像”23,也即电子设备在桌面上显示目标图标的部分区域显示目标情绪标识。或者,如图2中的(c)所示,电子设备可以在区域21的全部区域显示“笑脸图像”23,即在目标情绪标识覆盖在目标图标上或目标图标替换为目标情绪标识。
需要说明的是,本申请实施例中,桌面上与显示目标图标的区域相邻的区域可以理解为:桌面上位于目标图标周围的区域,例如位于目标图标上方且与目标图标所在区域相邻的区域、位于目标图标下方且与目标图标所在区域相邻、位于目标图标左侧且与目标图标所在区域相邻、位于目标图标右侧且与目标图标所在区域相邻;其中,上、下、左、右是以桌面朝向用户时,桌面上显示显示目标图标为例进行示意的。
或者,如图2中的(a)所示,在电子设备接收第一消息之前,电子设备在桌面20中的区域21显示目标图标22,那么:在接收到第一消息之后,如图2中的(d)所示,电子设备可以在区域21的下方区域且与第一区域相邻的区域显示“笑脸图像”23(即目标情绪标识),即电子设备在桌面上与显示目标图标的区域相邻的区域显示目标情绪标识。
当然,实际实现中,电子设备还可以在桌面上显示目标图标的全部区域和桌面上与显示目标图标的区域相邻的区域显示目标情绪标识。
需要说明的是,本申请实施例中,目标情绪标识可以包括:第一联系人对应的图像、对第一联系人对应的图像进行表情变化后的图像、第一联系人对应的图像和第一标识、对第一联系人对应的图像进行表情变化后的图像和第一标识。
可选地,本申请实施例中,当目标情绪标识包括第一标识时,目标情绪标识还可以包括第一联系人的标识,第一联系人的标识可以为第一联系人的昵称、用户对第一联系人的备注名称等任意可以指示第一联系人的标识。
步骤102b、电子设备在第三区域显示目标情绪标识。
其中,第三区域为目标消息列表界面上显示与第一联系人对应的消息条目(以下称为目标条目)的区域;目标消息列表界面为目标应用程序中的消息列表界面。
可选地,本申请实施例中,目标条目中包括第一联系人的头像、第一联系人对应的消息的摘要(例如最近一次接收到的消息的部分消息内容)。
可选地,本申请实施例中,电子设备可以在目标条目中的联系人头像那里显示目标情绪标识。可以理解,本申请实施例中,电子设备可以在不同联系人对应的消息条目上显示不同的情绪标识。对于步骤102b的其他描述,具体可以参见上述步骤102a中的相关描述,为了避免重复,此处不再赘述。
本申请实施例中,电子设备可以在目标条目的任意位置显示目标情绪标识。
需要说明的是,本申请实施例中,目标情绪标识可以为以下至少一项:第一联系人对应的图像、对第一联系人对应的图像进行表情变化后的图像、第一标识。
示例性地,电子设备可以在第一联系人的头像的基础上显示代表情绪的标识,比如笑脸或哭脸;或者,电子设备可以在目标条目中额外显示代表情绪的标识,比如笑脸或哭脸,而不改变原来头像的显示。
步骤102c、电子设备以弹窗形式,在当前界面上显示目标情绪标识。
可以理解,本申请实施例中,电子设备可以在任意界面上,以弹窗形式叠加显示目标情绪标识。
可选地,本申请实施例中,用户可以通过输入触发电子设备移动目标情绪标识的显示位置和/或取消显示目标情绪标识。
可选地,本申请实施例中,电子设备可以一直显示目标情绪标识,或者可以在一个显示时长后取消显示目标情绪标识。需要说明的是,本申请实施例中,目标情绪标识可以包括:第一联系人对应的图像、对第一联系人对应的图像进行表情变化后的图像、第一联系人对应的图像和第一标识、对第一联系人对应的图像进行表情变化后的图像和第一标识。
下面结合具体示例对步骤102c进行示例性地描述。
示例性地,假设电子设备当前显示用户与第二联系人的聊天界面(文字聊天+视频或语音通话),那么电子设备可以通过弹窗显示第一联系人的笑脸图像(即目标情绪标识),以通知用户电子设备接收到第一联系人发送的消息。
本申请实施例中,由于电子设备可以在不同界面上显示目标情绪标识,因此可以提高显示目标情绪标识的灵活性。
可选地,本申请实施例中,上述步骤102c之后,本申请实施例提供的未读消息提示方法还可以包括下述的步骤103。
步骤103、在取消显示目标情绪标识后,在第一联系人对第一消息的情绪发生变化时,电子设备显示用于指示变化后的情绪的目标情绪标识。
示例性地,假设在取消显示目标情绪标识后的一个时长后,与第一消息的未读时长对应的情绪信息指示的情绪从“开心”变为“愤怒”,那么电子设备可以再次以弹窗形式显示第一联系人的发怒图像(即用于指示变化后的情绪的目标情绪标识)。
本申请实施例中,由于电子设备可以在取消显示目标情绪标识之后,当第一联系人对第一消息的情绪发生变化时,以弹窗形式显示指示变化后的情绪的目标情绪标识, 因此可以进一步提高显示目标情绪标识的灵活性。
可选地,本申请实施例中,目标情绪标识可以为Q个情绪标识中的情绪标识,且每个情绪标识用于指示一个联系人对一个联系人对应的至少一个未读消息的第一情绪,Q为大于1的整数。那么,上述步骤102具体可以通过下述的步骤102e实现。
步骤102e、电子设备按照Q个情绪标识对应的显示时长,循环显示Q个情绪标识。
其中,每个情绪标识对应的显示时长可以通过以下任一项确定:与上述一个联系人关联的时长(1)、与第一情绪的情绪类型关联的时长(2)。
可选地,本申请实施例中,在上述(1)中,可以预先设置联系人与显示时长之间的对应关系,且不同联系人与显示时长之间的对应关系可以不同。在上述(2)中,可以预先设置情绪(具体可以为情绪信息)与显示时长之间的对应关系,且不同情绪与显示时长之间的对应关系可以不同。
可选地,本申请实施例中,在上述一种可能的实现方式中,上述至少一个未读消息可以为:一个联系人对应的全部未读消息;在上述另一种可能的实现方式中,上述至少一个未读消息为一个联系人对应的一个未读消息。
可选地,本申请实施例中,上述Q个情绪标识可指示P个联系人,P为小于或等于Q的正整数。
具体的,在上述一种可能的实现方式中,P=Q,每个情绪标识用于指示P个联系人中的一个联系人对其所对应的未读消息的情绪。
在上述另一种可能的实现方式中,P≤Q,即这种情况下,Q个情绪标识中的多个情绪标识指示同一个联系人,且每个情绪标识用于指示一个联系人对其所对应的一个未读消息的情绪。
示例性地,假设P个联系人分别为联系人1和联系人2,联系人1对应未读消息a和未读消息b,联系人2对应未读消息消息c、未读消息d,那么:
上述一种可能的实现方式中,Q个情绪标识可以包括第一情绪标识和第二情绪标识,其中,第一情绪标识用于指示联系人1对未读消息a和未读消息b的情绪,第二情绪标识用于指示联系人2对未读消息消息c、未读消息d的情绪;即每个联系人对应一个情绪标识。在上述另一种可能的实现方式中,Q个情绪标识可以包括第三情绪标识、第四情绪标识、第五情绪标识和第六情绪标识,其中,第三情绪标识用于指示联系人1对未读消息a的情绪,第四情绪标识用于指示联系人1对未读消息b的情绪;第五情绪标识用于指示联系人2对未读消息c的情绪;第六情绪标识用于指示联系人2对未读消息d的情绪;即每个消息对应一个情绪标识。
可选地,本申请实施例中,电子设备可以按照接收Q个情绪标识指示的未读消息的先后顺序,根据每个情绪标识对应的显示时长,依次显示Q个情绪标识。可以理解,实际实现中,电子设备在显示Q个情绪标识中的最后一个情绪标识之后,可以根据目标信息更新Q个情绪标识,并依次显示更新后的Q个情绪标识。本申请实施例中, 当目标情绪标识为Q个情绪标识中的情绪标识时,由于电子设备可以按照Q个情绪标识对应的显示时长,循环显示Q个情绪标识。因此,用户不但可以基于情绪标识知晓目标应用中包括哪些联系人对应的未读消息,且可以知晓每个联系人对其对应的至少一个未读消息的第一情绪,如此可以进一步提高电子设备提示未读消息的灵活性。
下面对未读时长与情绪之间的对应关系进行示例性地说明。
可选地,本申请实施例中,在上述方式1中,可以预先设置消息对应的未读时长范围与情绪信息之间的对应关系,不同情绪信息用于指示不同情绪,不同情绪可以通过不同的情绪标识进行指示。
示例性地,可以预先设置消息对应的未读时长范围与消息发送者(例如第一联系人)的情绪信息之间的对应关系,如下表1所示:
表1
Figure PCTCN2022109177-appb-000001
其中,根据上述表1可知,未读时长范围[0,0.3]对应情绪信息1;未读时长范围(0.3,10]对应情绪信息2;未读时长范围(10,30]对应情绪信息3;未读时长范围(30,60]对应情绪信息4;未读时长范围(60,-]对应情绪信息5。如此,电子设备在获取到一个未读时长之后,可以在表1中查找该未读时长所处的未读时长范围,并将该未读时长范围所对应的情绪信息确定为与该未读时长对应的情绪信息。
可以理解,本申请实施例中,对于不同联系人,可以设置消息未读时长范围与情绪信息之间的不同对应关系。
例如,如图3所示,用户可以通过第一联系人对应的设置界面30,为第一联系人设置未读时长范围与情绪信息之间的对应关系。具体的,设置界面30中包括至少一个条目,每个条目(如图3中所示的条目31)用于设置一个未读时长范围与一个情绪信息之间的对应关系,每个条目对应一个删除控件,该删除按用于删除该条目。进一步地,设置界面30中还可以包括一个用于添加条目的添加控件32。
可选地,本申请实施例中,一个联系人的情绪可以为:开心、烦躁、焦虑、难过、生气、绝望等。
示例性地,参照上述表1,上述情绪信息1可以指示消息发送者心情无变化;上述情绪信息2可以指示消息发送者开心/期待;上述情绪信息3可以指示消息发送者的心情烦躁;上述情绪信息4可以指示消息发送者心情焦急;上述情绪信息4可以指示消息发送者难过;上述情绪信息5可以指示消息发送者生气。
可以看出,未读时长越大,消息发送者(例如第一联系人)的心情越糟糕。
例如,如图4所示,消息对应的未读时长处于[0,5]min内时,消息发送者心情可 以为开心;消息对应的未读时长处于(5,15]min内时,消息发送者的心情可以为难过;消息对应的未读时长处于大于15min时,消息发送者心情可以为生气。
实际实现中,可以针对联系人,设置不同的未读时长与情绪(情绪信息)之间的对应关系。
可选地,本申请实施例中,在上述方式2中,在上述步骤102之前,本申请实施例提供的未读消息提示方法还可以包括下述的步骤104和步骤105,上述步骤102具体可以通过下述的步骤102f实现。
步骤104、电子设备接收用户的第二输入。
步骤105、电子设备响应于第二输入,设置至少一个第一对应关系。
其中,每个第一对应关系对应一个联系人,每个第一对应关系为一个联系人的情绪与目标未读时长之间的对应关系,目标未读时长为一个联系人对应的未读消息的未读时长。
步骤102f、电子设备从至少一个第一对应关系中,获取与第一联系人对应的目标对应关系;根据第一消息的未读时长和目标对应关系,显示目标情绪标识。
可选地,本申请实施例中,第二输入为任意可以设置至少一个第一对应关系的输入,具体可以根据实际使用需求确定,本申请实施例不作限定。
对于步骤104和步骤105的其他描述具体可以参见上述实施例中的相关描述,为了避免重复,此处不再赘述。
本申请实施例中,由于电子设备可以联系人为单位,设置联系人的情绪与消息的未读时长之间的不同对应关系,因此针对同一未读时长不同联系人的情绪可能不同,从而可以确定不同的情绪标识,进而可以提高显示情绪标识的灵活性和多样性。
可选地,本申请实施例中,在电子设备显示目标情绪标识之后,用户可以通过对目标情绪标识的输入,触发电子设备显示目标情绪标识对应的消息(例如第一消息)。或者,用户可以通过对目标情绪标识的输入(例如下述第一输入),触发电子设备显示目标情绪标识对应的消息,并以联系人为单位显示至少一组消息,每组消息对应一个联系人,该一个联系人对该组消息的情绪的情绪类型与目标情绪标识指示的情绪的情绪类型相同。可选地,本申请实施例中,假设第一联系人对第一消息的情绪的情绪类型为第一类型,那么在上述步骤102之后,本申请实施例提供的未读消息提示方法还可以包括下述的步骤106和步骤107。
步骤106、电子设备接收用户对目标情绪标识的第一输入。
可选地,本申请实施例中,第一输入可以为用户对目标情绪标识的触控输入或悬浮输入等任意可能形式的输入,具体可以根据实际使用需求确定,本申请实施例不作限定。
例如,以第一输入为用户对目标情绪标识的触控输入为例,第一输入可以为用户在目标情绪标识上双击的输入。
步骤107、电子设备响应于第一输入,显示第一消息,并显示与N个第二联系人一一对应的N组第二消息。
其中,N可以为正整数,N个第二类型与第一类型为相同情绪类型,每个第二类型为一个第二联系人对一个第二联系人对应的一组第二消息的情绪的情绪类型。需要说明的是,在上述另一种可能的实现方式中,电子设备还可以显示H个第三消息,该H个第三消息为第一联系人对应的除第一消息之外的其他消息。
可选地,本申请实施例中,电子设备可以在桌面上显示第一窗口,并在第一窗口中显示第一消息。
可选地,本申请实施例中,第一窗口可以为第一联系人对应的会话窗口,这种情况下,第一窗口中可以包括一个消息输入框,以便于用户通过该消息输入框向第一联系人回复消息。
本申请实施例中,上述N组第二消息可以为目标应用中的N个第二联系人对应的至少部分未读消息;即N个第二联系人与N组第二消息一一对应。
其中,对于上述N个第二联系人中的每个第二联系人,一个第二联系人对其所对应的一组第二消息的情绪的情绪类型也为第一类型。
可选地,本申请实施例中,在上述一种可能的实现方式中,对于N组第二消息中的每组第二消息,一组第二消息中的消息为一个第二联系人对应的全部未读消息。在上述另一种可能的实现方式中,一组第二消息中的消息为一个第二联系人对其所对应的未读消息的情绪类型为第一类型的全部消息;其中,该一组第二消息与该一个第二联系人对应。
可选地,本申请实施例中,电子设备可以在同一窗口(例如上述第一窗口)中显示第一消息和N组第二消息;或者,可以在第一窗口显示第一消息,在N个第二窗口中显示N组第二消息。
可选地,本申请实施例中,用户可以通过在第三窗口(如图5所示的窗口50)上沿第一方向(如图5中的箭头51所示的方向)滑动的输入,触发电子设备更新第三窗口中的消息,例如将一组消息中的消息a更新为该组消息中的消息b。
其中,第三窗口可以为上述第一窗口或上述N个第二窗口;第一方向可以为相对于第三窗口向上、向下、向左、向右的方向。
需要说明的是,上述向上、向下是以电子设备的屏幕朝向用户时,该屏幕上显示第三窗口为例进行示意的。
可选地,本申请实施例中,当电子设备在第一窗口中显示第一消息和N组第二消息时,且N大于1时,用户可以通过在第一窗口(如图5所示的窗口50)上沿第二方向(如图5中的箭头52所示的方向)的滑动输入,触发更新第一窗口中的消息组,例如将消息组1更新为消息组2。
其中,第二方向可以为相对于第一窗口向上、向下、向左、向右的方向。且第二 方向与第一方向不同。对于第二方向的其他描述,具体可以参见上述实施例中对第一方向的相关描述,为避免重复,此处不再赘述。本申请实施例中,由于用户可以通过对第一联系人的目标情绪标识的第一输入,触发电子设备显示第一消息,并显示与第一消息对应的情绪的情绪类型相同的N组第二消息,而无需先触发显示目标应用的会话列表界面且在该会话列表界面中查找对应联系人对应的会话标识。因此,本申请实施例提供的未读消息提示方法可以简化用户查看未读消息的过程。
可选地,本申请实施例中,N个第二联系人可以为相同应用程序(例如上述目标应用程序)中的联系人,或者,N个第二联系人可以为不同应用程序中的联系人。
可选地,本申请实施例中,第一联系人和N个第二联系人均为重要等级大于或等于预设阈值的联系人。即电子设备可以按照联系人的重要等级,显示指示联系人对未读消息的情绪的情绪标识,以提示用户电子设备中包括这些较为重要的联系人对应的未读消息。
可选地,本申请实施例中,以N个第二联系人与第一联系人为目标应用程序中的联系人为例,用户可以对目标应用中的联系人设置重要等级,例如,用户可以将目标应用中的一部分联系人的重要等级设置为“重要”,并默认目标应用中除该一部分联系人之外的其他联系人的重要等级为“普通”。从而电子设备可以在接收到重要等级为“重要”的联系人(例如第一联系人、第二联系人)发送的消息之后,显示与联系人对应的目标情绪标识。
本申请实施例中,当目标应用中包括重要等级大于或等于预设阈的联系人对应的未读消息时,由于电子设备可以显示与联系人对应的目标情绪标识,以提示用户目标应用中包括这些联系人对应的未读消息;即电子设备可以按照联系人的重要等级进行未读消息的提示,因此可以避免用户错过重要消息,如此可以进一步提高电子设备提示未读消息的灵活性和准确性。
需要说明的是,本申请实施例提供的未读消息提示方法,执行主体可以为未读消息提示装置,或者该未读消息提示装置中的用于执行未读消息提示方法的控制模块。本申请实施例中以未读消息提示装置执行未读消息提示方法为例,说明本申请实施例提供的未读消息提示装置。
结合图6,本申请实施例提供一种未读消息提示装置60,该未读消息提示装置60可以包括:接收模块61和显示模块62。接收模块61,可以用于接收第一消息。显示模块62,可以用于在接收模块61接收到第一消息之后显示目标情绪标识,目标情绪标识用于指示第一联系人对第一消息的情绪,第一联系人为发送第一消息的联系人。其中,目标情绪标识根据目标信息确定,目标信息包括以下至少一项:第一联系人的电子设备采集的第一联系人的图像、第一消息的未读时长,未读时长为接收到第一消息的时间与当前时间之间的时长。
一种可能的实现方式中,上述目标信息可以包括第一消息的未读时长;其中,不 同未读时长对应第一联系人的不同情绪,不同情绪通过不同的目标情绪标识进行指示。
一种可能的实现方式中,显示模块62,具体可以用于在第一区域显示目标情绪标识,第一区域为以下至少一项:桌面上显示目标图标的至少部分区域、桌面上与显示目标图标的区域相邻的区域。或,显示模块62,具体可以用于在第三区域显示目标情绪标识,第三区域为目标消息列表界面上显示与第一联系人对应的消息条目的区域。或,显示模块62,具体可以用于以弹窗形式,在当前界面上显示目标情绪标识。其中,目标图标为目标应用程序的图标,第一消息通过目标应用程序接收,目标消息列表界面为目标应用程序中的消息列表界面。
一种可能的实现方式中,显示模块62,还可以用于以弹窗形式,在当前界面上显示目标情绪标识之后,在取消显示目标情绪标识后,在第一联系人对第一消息的情绪发生变化时,显示用于指示变化后的情绪的目标情绪标识。
一种可能的实现方式中,上述目标情绪标识可以包括以下至少一项:第一联系人对应的图像、对第一联系人对应的图像进行表情变化后的图像、第一标识,第一标识用于指示情绪。
一种可能的实现方式中,上述第一联系人可以对应K个未读消息,K个未读消息中包括第一消息,第一联系人对每个未读消息的情绪分别通过一个情绪标识进行指示,K为正整数。显示模块62,具体可以用于依次显示K个情绪标识,K个情绪标识与K个未读消息一一对应,K个情绪标识中包括目标情绪标识。
一种可能的实现方式中,上述第一联系人可以对应K个未读消息,第一消息为K个未读消息中接收时间最早的消息,K为正整数。其中,第一联系人对K个未读消息的情绪均通过目标情绪标识进行指示。
一种可能的实现方式中,上述第一联系人对第一消息的情绪的情绪类型可以为第一类型。接收模块61,还可以用于显示模块62显示目标情绪标识之后,接收用户对目标情绪标识的第一输入。显示模块62,还可以用于响应于接收模块61接收的第一输入,显示第一消息,并显示与N个第二联系人一一对应的N组第二消息,N为正整数。其中,N个第二类型与第一类型为相同情绪类型,每个第二类型为一个第二联系人对一个第二联系人对应的一组第二消息的情绪的情绪类型。
一种可能的实现方式中,上述目标情绪标识可以为Q个情绪标识中的情绪标识,且每个情绪标识用于指示一个联系人对一个联系人对应的至少一个未读消息的第一情绪,Q为大于1的整数。显示模块62,具体可以用于按照Q个情绪标识对应的显示时长,循环显示Q个情绪标识,每个情绪标识对应的显示时长通过以下任一项确定:与一个联系人关联的时长、与第一情绪的情绪类型关联的时长。
一种可能的实现方式中,未读消息提示装置60还可以包括设置模块,上述目标信息可以包括第一消息的未读时长。接收模块61,还可以用于显示模块62显示目标情绪标识之前,接收用户的第二输入。上述设置模块,可以用于响应于接收模块61接收 的第二输入,设置至少一个第一对应关系,每个第一对应关系对应一个联系人,每个第一对应关系为一个联系人的情绪与目标未读时长之间的对应关系,目标未读时长为一个联系人对应的未读消息的未读时长。显示模块62,具体可以用于从至少一个第一对应关系中,获取与第一联系人对应的目标对应关系;根据第一消息的未读时长和目标对应关系,显示目标情绪标识。
在本申请实施例提供的未读消息提示装置中,由于未读消息提示装置可以在接收到第一联系人发送的第一消息后,显示用于指示第一联系人对第一消息的情绪的目标情绪标识,因此用户可以基于目标情绪标识获知未读消息提示装置接收到包括第一联系人对应的未读消息以及第一联系人对这些消息的情绪状况,从而可以提高提示未读消息的灵活性。
本实施例中各种实现方式具有的有益效果具体可以参见上述方法实施例中相应实现方式所具有的有益效果,为避免重复,此处不再赘述。
本申请实施例中的未读消息提示装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的未读消息提示装置可以为具有操作***的装置。该操作***可以为安卓(Android)操作***,可以为ios操作***,还可以为其他可能的操作***,本申请实施例不作具体限定。
本申请实施例提供的未读消息提示装置能够实现图1至图5的方法实施例实现的各个过程,为避免重复,这里不再赘述。
如图7所示,本申请实施例还提供一种电子设备200,包括处理器202,存储器201,存储在存储器201上并可在处理器202上运行的程序或指令,该程序或指令被处理器202执行时实现上述未读消息提示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要注意的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
图8为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元1008、存储器1009、以及处理器1010等部件。
本领域技术人员可以理解,电子设备1000还可以包括给各个部件供电的电源(比 如电池),电源可以通过电源管理***与处理器1010逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗管理等功能。图8中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,射频单元1001,可以用于接收第一消息。显示单元1006,可以用于在射频单元1001接收到第一消息之后显示目标情绪标识,目标情绪标识用于指示第一联系人对第一消息的情绪,第一联系人为发送第一消息的联系人。其中,目标情绪标识根据目标信息确定,目标信息包括以下至少一项:第一联系人的电子设备采集的第一联系人的图像、第一消息的未读时长,未读时长为接收到第一消息的时间与当前时间之间的时长。
一种可能的实现方式中,上述目标信息可以包括第一消息的未读时长;其中,不同未读时长对应第一联系人的不同情绪,不同情绪通过不同的目标情绪标识进行指示。
一种可能的实现方式中,显示单元1006,具体可以用于在第一区域显示目标情绪标识,第一区域为以下至少一项:桌面上显示目标图标的至少部分区域、桌面上与显示目标图标的区域相邻的区域。或,显示单元1006,具体可以用于在第三区域显示目标情绪标识,第三区域为目标消息列表界面上显示与第一联系人对应的消息条目的区域。或,显示单元1006,具体可以用于以弹窗形式,在当前界面上显示目标情绪标识。其中,目标图标为目标应用程序的图标,第一消息通过目标应用程序接收,目标消息列表界面为目标应用程序中的消息列表界面。
一种可能的实现方式中,显示单元1006,还可以用于以弹窗形式,在当前界面上显示目标情绪标识之后,在取消显示目标情绪标识后,在第一联系人对第一消息的情绪发生变化时,显示用于指示变化后的情绪的目标情绪标识。
一种可能的实现方式中,上述目标情绪标识可以包括以下至少一项:第一联系人对应的图像、对第一联系人对应的图像进行表情变化后的图像、第一标识,第一标识用于指示情绪。
一种可能的实现方式中,上述第一联系人可以对应K个未读消息,K个未读消息中包括第一消息,第一联系人对每个未读消息的情绪分别通过一个情绪标识进行指示,K为正整数。显示单元1006,具体可以用于依次显示K个情绪标识,K个情绪标识与K个未读消息一一对应,K个情绪标识中包括目标情绪标识。
一种可能的实现方式中,上述第一联系人可以对应K个未读消息,第一消息为K个未读消息中接收时间最早的消息,K为正整数。其中,第一联系人对K个未读消息的情绪均通过目标情绪标识进行指示。
一种可能的实现方式中,上述第一联系人对第一消息的情绪的情绪类型可以为第一类型。射频单元1001,还可以用于显示单元1006显示目标情绪标识之后,接收用户对目标情绪标识的第一输入。显示单元1006,还可以用于响应于射频单元1001接 收的第一输入,显示第一消息,并显示与N个第二联系人一一对应的N组第二消息,N为正整数。其中,N个第二类型与第一类型为相同情绪类型,每个第二类型为一个第二联系人对一个第二联系人对应的一组第二消息的情绪的情绪类型。
一种可能的实现方式中,上述目标情绪标识可以为Q个情绪标识中的情绪标识,且每个情绪标识用于指示一个联系人对一个联系人对应的至少一个未读消息的第一情绪,Q为大于1的整数。显示单元1006,具体可以用于按照Q个情绪标识对应的显示时长,循环显示Q个情绪标识,每个情绪标识对应的显示时长通过以下任一项确定:与一个联系人关联的时长、与第一情绪的情绪类型关联的时长。
一种可能的实现方式中,上述目标信息可以包括第一消息的未读时长。射频单元1001,还可以用于显示单元1006显示目标情绪标识之前,接收用户的第二输入。处理器1010,可以用于响应于射频单元1001接收的第二输入,设置至少一个第一对应关系,每个第一对应关系对应一个联系人,每个第一对应关系为一个联系人的情绪与目标未读时长之间的对应关系,目标未读时长为一个联系人对应的未读消息的未读时长。显示单元1006,具体可以用于从至少一个第一对应关系中,获取与第一联系人对应的目标对应关系;根据第一消息的未读时长和目标对应关系,显示目标情绪标识。
在本申请实施例提供的电子设备中,由于电子设备可以在接收到第一联系人发送的第一消息后,显示用于指示第一联系人对第一消息的情绪的目标情绪标识,因此用户可以基于目标情绪标识获知电子设备接收到包括第一联系人对应的未读消息以及第一联系人对这些消息的情绪状况,从而可以提高电子设备提示未读消息的灵活性。
本实施例中各种实现方式具有的有益效果具体可以参见上述方法实施例中相应实现方式所具有的有益效果,为避免重复,此处不再赘述。
应理解的是,本申请实施例中,输入单元1004可以包括图形处理器(Graphics Processing Unit,GPU)10041和麦克风10042,图形处理器10041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1006可包括显示面板10061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板10061。用户输入单元1007包括触控面板10071以及其他输入设备10072。触控面板10071,也称为触摸屏。触控面板10071可包括触摸检测装置和触摸控制器两个部分。其他输入设备10072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器1009可用于存储软件程序以及各种数据,包括但不限于应用程序和操作***。处理器1010可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作***、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1010中。
本申请实施例还提供一种可读存储介质,该可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述未读消息提示方法实施例的各个过程,且能达 到相同的技术效果,为避免重复,这里不再赘述。
其中,上述处理器为上述实施例中的电子设备中的处理器。上述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。本申请实施例另提供了一种芯片,该芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现上述未读消息提示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为***级芯片、***芯片、芯片***或片上***芯片等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (25)

  1. 一种未读消息提示方法,所述方法包括:
    接收第一消息;
    显示目标情绪标识,所述目标情绪标识用于指示第一联系人对所述第一消息的情绪,所述第一联系人为发送所述第一消息的联系人;
    其中,所述目标情绪标识根据目标信息确定,所述目标信息包括以下至少一项:所述第一联系人的电子设备采集的所述第一联系人的图像、所述第一消息的未读时长,所述未读时长为接收到所述第一消息的时间与当前时间之间的时长。
  2. 根据权利要求1所述的方法,其中,所述目标信息包括所述第一消息的未读时长;
    其中,不同未读时长对应所述第一联系人的不同情绪,不同情绪通过不同的目标情绪标识进行指示。
  3. 根据权利要求1或2所述的方法,其中,所述显示目标情绪标识,包括:
    在第一区域显示所述目标情绪标识,所述第一区域为以下至少一项:桌面上显示目标图标的至少部分区域、所述桌面上与显示所述目标图标的区域相邻的区域;或,
    在第三区域显示所述目标情绪标识,所述第三区域为目标消息列表界面上显示与所述第一联系人对应的消息条目的区域;或,
    以弹窗形式,在当前界面上显示所述目标情绪标识;
    其中,所述目标图标为目标应用程序的图标,所述第一消息通过所述目标应用程序接收,所述目标消息列表界面为所述目标应用程序中的消息列表界面。
  4. 根据权利要求3所述的方法,其中,所述以弹窗形式,在当前界面上显示所述目标情绪标识之后,所述方法还包括:
    在取消显示所述目标情绪标识后,在所述第一联系人对所述第一消息的情绪发生变化时,显示用于指示变化后的情绪的目标情绪标识。
  5. 根据权利要求1所述的方法,其中,所述目标情绪标识包括以下至少一项:
    所述第一联系人对应的图像、对所述第一联系人对应的图像进行表情变化后的图像、第一标识,所述第一标识用于指示情绪。
  6. 根据权利要求1所述的方法,其中,所述第一联系人对应K个未读消息,所述K个未读消息中包括所述第一消息,所述第一联系人对每个未读消息的情绪分别通过一个情绪标识进行指示,K为正整数;
    所述显示所述目标情绪标识,包括:
    依次显示K个情绪标识,所述K个情绪标识与所述K个未读消息一一对应,所述K个情绪标识中包括所述目标情绪标识。
  7. 根据权利要求1所述的方法,其中,所述第一联系人对应K个未读消息,所述第一消息为所述K个未读消息中接收时间最早的消息,K为正整数;
    其中,所述第一联系人对所述K个未读消息的情绪均通过所述目标情绪标识进行指示。
  8. 根据权利要求1所述的方法,其中,所述第一联系人对所述第一消息的情绪的情绪类型为第一类型;
    所述显示目标情绪标识之后,所述方法还包括:
    接收对所述目标情绪标识的第一输入;
    响应于所述第一输入,显示所述第一消息,并显示与N个第二联系人一一对应的N组第二消息,N为正整数;
    其中,N个第二类型与所述第一类型为相同情绪类型,每个第二类型为一个第二联系人对所述一个第二联系人对应的一组第二消息的情绪的情绪类型。
  9. 根据权利要求1所述的方法,其中,所述目标情绪标识为Q个情绪标识中的情绪标识,且每个情绪标识用于指示一个联系人对所述一个联系人对应的至少一个未读消息的第一情绪,Q为大于1的整数;
    所述显示目标情绪标识,包括:
    按照Q个情绪标识对应的显示时长,循环显示所述Q个情绪标识,所述每个情绪标识对应的显示时长通过以下任一项确定:与所述一个联系人关联的时长、与所述第一情绪的情绪类型关联的时长。
  10. 根据权利要求1所述的方法,其中,所述目标信息包括所述第一消息的未读时长;
    所述显示目标情绪标识之前,所述方法还包括:
    接收用户的第二输入;
    响应于所述第二输入,设置至少一个第一对应关系,每个第一对应关系对应一个联系人,所述每个第一对应关系为所述一个联系人的情绪与目标未读时长之间的对应关系,所述目标未读时长为所述一个联系人对应的未读消息的未读时长;
    所述显示目标情绪标识,包括:
    从所述至少一个第一对应关系中,获取与所述第一联系人对应的目标对应关系;
    根据所述第一消息的未读时长和所述目标对应关系,显示所述目标情绪标识。
  11. 一种未读消息提示装置,所述装置包括接收模块和显示模块;
    所述接收模块,用于接收第一消息;
    所述显示模块,用于在所述接收模块接收到所述第一消息之后显示目标情绪标识,所述目标情绪标识用于指示第一联系人对所述第一消息的情绪,所述第一联系人为发送所述第一消息的联系人;
    其中,所述目标情绪标识根据目标信息确定,所述目标信息包括以下至少一项:所述第一联系人的电子设备采集的所述第一联系人的图像、所述第一消息的未读时长,所述未读时长为接收到所述第一消息的时间与当前时间之间的时长。
  12. 根据权利要求11所述的装置,其中,所述目标信息包括所述第一消息的未读时长;
    其中,不同未读时长对应所述第一联系人的不同情绪,不同情绪通过不同的目标情绪标识进行指示。
  13. 根据权利要求11或12所述的装置,其中,
    所述显示模块,具体用于在第一区域显示所述目标情绪标识,所述第一区域为以下至少一项:桌面上显示目标图标的至少部分区域、所述桌面上与显示所述目标图标的区域相邻的区域;或,
    所述显示模块,具体用于在第三区域显示所述目标情绪标识,所述第三区域为目标消息列表界面上显示与所述第一联系人对应的消息条目的区域;或,
    所述显示模块,具体用于以弹窗形式,在当前界面上显示所述目标情绪标识;其中,所述目标图标为目标应用程序的图标,所述第一消息通过所述目标应用程序接收,所述目标消息列表界面为所述目标应用程序中的消息列表界面。
  14. 根据权利要求13所述的装置,其中,
    所述显示模块,还用于所述显示模块以弹窗形式,在当前界面上显示所述目标情绪标识之后,在取消显示所述目标情绪标识后,在所述第一联系人对所述第一消息的情绪发生变化时,显示用于指示变化后的情绪的目标情绪标识。
  15. 根据权利要求11所述的装置,其中,所述目标情绪标识包括以下至少一项:
    所述第一联系人对应的图像、对所述第一联系人对应的图像进行表情变化后的图像、第一标识,所述第一标识用于指示情绪。
  16. 根据权利要求11所述的装置,其中,所述第一联系人对应K个未读消息,所述K个未读消息中包括所述第一消息,所述第一联系人对每个未读消息的情绪分别通过一个情绪标识进行指示,K为正整数;
    所述显示模块,具体用于依次显示K个情绪标识,所述K个情绪标识与所述K个未读消息一一对应,所述K个情绪标识中包括所述目标情绪标识。
  17. 根据权利要求11所述的装置,其中,所述第一联系人对应K个未读消息,所述第一消息为所述K个未读消息中接收时间最早的消息,K为正整数;
    其中,所述第一联系人对所述K个未读消息的情绪均通过所述目标情绪标识进行指示。
  18. 根据权利要求11所述的装置,其中,所述第一联系人对所述第一消息的情绪的情绪类型为第一类型;
    所述接收模块,还用于所述显示模块显示目标情绪标识之后,接收对所述目标情绪标识的第一输入;
    所述显示模块,还用于响应于所述接收模块接收的所述第一输入,显示所述第一消息,并显示与N个第二联系人一一对应的N组第二消息,N为正整数;其中,N个 第二类型与所述第一类型为相同情绪类型,每个第二类型为一个第二联系人对所述一个第二联系人对应的一组第二消息的情绪的情绪类型。
  19. 根据权利要求11所述的装置,其中,所述目标情绪标识为Q个情绪标识中的情绪标识,且每个情绪标识用于指示一个联系人对所述一个联系人对应的至少一个未读消息的第一情绪,Q为大于1的整数;
    所述显示模块,具体用于按照Q个情绪标识对应的显示时长,循环显示所述Q个情绪标识,所述每个情绪标识对应的显示时长通过以下任一项确定:与所述一个联系人关联的时长、与所述第一情绪的情绪类型关联的时长。
  20. 根据权利要求11所述的装置,其中,所述未读消息提示装置还包括设置模块,所述目标信息包括所述第一消息的未读时长;
    所述接收模块,还用于所述显示模块显示所述目标情绪标识之前,接收用户的第二输入;
    所述设置模块,用于响应于所述接收模块接收的所述第二输入,设置至少一个第一对应关系,每个第一对应关系对应一个联系人,所述每个第一对应关系为所述一个联系人的情绪与目标未读时长之间的对应关系,所述目标未读时长为所述一个联系人对应的未读消息的未读时长;
    所述显示模块,具体用于从所述至少一个第一对应关系中,获取与所述第一联系人对应的目标对应关系;根据所述第一消息的未读时长和所述目标对应关系,显示所述目标情绪标识。
  21. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至10中任一项所述的未读消息提示方法的步骤。
  22. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至10中任一项所述的未读消息提示方法的步骤。
  23. 一种计算机软件产品,所述计算机软件产品被至少一个处理器执行以实现如权利要求1至10中任一项所述的未读消息提示方法。
  24. 一种电子设备,包括电子设备被配置成用于执行如权利要求1至10中任一项所述的未读消息提示方法。
  25. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至10中任一项所述的未读消息提示方法。
PCT/CN2022/109177 2021-08-06 2022-07-29 未读消息提示方法、装置、电子设备及介质 WO2023011368A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP22852081.3A EP4383692A1 (en) 2021-08-06 2022-07-29 Method and apparatus for prompting unread message, electronic device and medium
US18/432,863 US20240211100A1 (en) 2021-08-06 2024-02-05 Method for Prompting Unread Message, Electronic Device and Medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110904283.2A CN113794803B (zh) 2021-08-06 2021-08-06 未读消息提示方法、装置、电子设备及介质
CN202110904283.2 2021-08-06

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/432,863 Continuation US20240211100A1 (en) 2021-08-06 2024-02-05 Method for Prompting Unread Message, Electronic Device and Medium

Publications (1)

Publication Number Publication Date
WO2023011368A1 true WO2023011368A1 (zh) 2023-02-09

Family

ID=79181495

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/109177 WO2023011368A1 (zh) 2021-08-06 2022-07-29 未读消息提示方法、装置、电子设备及介质

Country Status (4)

Country Link
US (1) US20240211100A1 (zh)
EP (1) EP4383692A1 (zh)
CN (1) CN113794803B (zh)
WO (1) WO2023011368A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113794803B (zh) * 2021-08-06 2023-02-24 维沃移动通信(杭州)有限公司 未读消息提示方法、装置、电子设备及介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1624683A (zh) * 2004-09-22 2005-06-08 冯彦 显示器上的一种图标显示方法
CN101917512A (zh) * 2010-07-26 2010-12-15 宇龙计算机通信科技(深圳)有限公司 一种显示联系人头像的方法、***及移动终端
US20150332088A1 (en) * 2014-05-16 2015-11-19 Verizon Patent And Licensing Inc. Generating emoticons based on an image of a face
CN106254620A (zh) * 2015-06-08 2016-12-21 中兴通讯股份有限公司 一种呼叫等待的显示方法及装置
CN109343919A (zh) * 2018-08-30 2019-02-15 深圳市口袋网络科技有限公司 一种聊天气泡的呈现方法及终端设备、存储介质
CN111106995A (zh) * 2019-12-26 2020-05-05 腾讯科技(深圳)有限公司 一种消息显示方法、装置、终端及计算机可读存储介质
CN113794803A (zh) * 2021-08-06 2021-12-14 维沃移动通信(杭州)有限公司 未读消息提示方法、装置、电子设备及介质

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902572A (zh) * 2012-12-27 2014-07-02 三星电子(中国)研发中心 移动终端及其数据管理方法
US9386110B2 (en) * 2014-03-13 2016-07-05 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Communications responsive to recipient sentiment
CN108173835B (zh) * 2017-12-25 2021-04-02 北京奇艺世纪科技有限公司 一种验证的方法、装置、服务器和终端
CN108388403B (zh) * 2018-02-07 2020-05-12 维沃移动通信有限公司 一种处理消息的方法及终端
CN110134484B (zh) * 2019-05-21 2024-02-13 腾讯科技(深圳)有限公司 消息图标的显示方法、装置、终端及存储介质
CN110321477B (zh) * 2019-05-24 2022-09-09 平安科技(深圳)有限公司 信息推荐方法、装置、终端及存储介质
CN112910753A (zh) * 2019-12-04 2021-06-04 上海掌门科技有限公司 一种语音消息展示方法及设备
CN113129927B (zh) * 2021-04-16 2023-04-07 平安科技(深圳)有限公司 语音情绪识别方法、装置、设备及存储介质

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1624683A (zh) * 2004-09-22 2005-06-08 冯彦 显示器上的一种图标显示方法
CN101917512A (zh) * 2010-07-26 2010-12-15 宇龙计算机通信科技(深圳)有限公司 一种显示联系人头像的方法、***及移动终端
US20150332088A1 (en) * 2014-05-16 2015-11-19 Verizon Patent And Licensing Inc. Generating emoticons based on an image of a face
CN106254620A (zh) * 2015-06-08 2016-12-21 中兴通讯股份有限公司 一种呼叫等待的显示方法及装置
CN109343919A (zh) * 2018-08-30 2019-02-15 深圳市口袋网络科技有限公司 一种聊天气泡的呈现方法及终端设备、存储介质
CN111106995A (zh) * 2019-12-26 2020-05-05 腾讯科技(深圳)有限公司 一种消息显示方法、装置、终端及计算机可读存储介质
CN113794803A (zh) * 2021-08-06 2021-12-14 维沃移动通信(杭州)有限公司 未读消息提示方法、装置、电子设备及介质

Also Published As

Publication number Publication date
CN113794803B (zh) 2023-02-24
US20240211100A1 (en) 2024-06-27
CN113794803A (zh) 2021-12-14
EP4383692A1 (en) 2024-06-12

Similar Documents

Publication Publication Date Title
WO2020220872A1 (zh) 未读消息管理方法及终端设备
CN113037924B (zh) 语音发送方法、装置、电子设备和可读存储介质
WO2022247864A1 (zh) 消息提醒方法、装置及电子设备
CN113300938B (zh) 消息发送方法、装置及电子设备
CN111884908B (zh) 联系人标识显示方法、装置及电子设备
WO2023040741A1 (zh) 消息处理方法、装置和电子设备
WO2023024970A1 (zh) 信息处理方法、相关设备及可读存储介质
US20240211100A1 (en) Method for Prompting Unread Message, Electronic Device and Medium
CN114422461A (zh) 消息引用方法及其装置
WO2022253182A1 (zh) 通信方法、装置、电子设备以及可读存储介质
CN111124231B (zh) 图片生成方法及电子设备
WO2022206538A1 (zh) 信息发送方法、信息发送装置和电子设备
CN111651106A (zh) 未读消息的提示方法、装置、设备及可读存储介质
CN108710521B (zh) 一种便签生成方法和终端设备
CN112764603B (zh) 消息显示方法、装置和电子设备
CN113885750A (zh) 消息处理方法、装置和电子设备
CN111131540B (zh) 一种名称设置方法及电子设备
WO2023072265A1 (zh) 消息更正方法、装置和电子设备
CN111897474A (zh) 文件处理方法和电子设备
CN110825979A (zh) 一种备注方法、装置及移动终端
CN113141296B (zh) 消息显示方法、装置及电子设备
WO2022228270A1 (zh) 信息处理方法、信息处理装置、电子设备和可读存储介质
WO2022143661A1 (zh) 候选信息显示方法、装置和电子设备
WO2022213987A1 (zh) 信息处理方法、处理装置、电子设备和可读存储介质
CN113852540B (zh) 信息发送方法、信息发送装置和电子设备

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: 22852081

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2022852081

Country of ref document: EP

Effective date: 20240306