CN110134484B - Message icon display method and device, terminal and storage medium - Google Patents

Message icon display method and device, terminal and storage medium Download PDF

Info

Publication number
CN110134484B
CN110134484B CN201910426103.7A CN201910426103A CN110134484B CN 110134484 B CN110134484 B CN 110134484B CN 201910426103 A CN201910426103 A CN 201910426103A CN 110134484 B CN110134484 B CN 110134484B
Authority
CN
China
Prior art keywords
message
icon
unread
contact
style
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910426103.7A
Other languages
Chinese (zh)
Other versions
CN110134484A (en
Inventor
刘立强
陈世玉
柳欲浚
钟庆华
李榕
曾发辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910426103.7A priority Critical patent/CN110134484B/en
Publication of CN110134484A publication Critical patent/CN110134484A/en
Application granted granted Critical
Publication of CN110134484B publication Critical patent/CN110134484B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The embodiment of the application provides a message icon display method, a message icon display device, a message icon display terminal and a storage medium. The method comprises the following steps: displaying a target user interface; selecting a first style from n styles of message icons, wherein different styles are used for representing different attributes of unread messages in a message list, and n is an integer greater than 1; a first style of message icon is displayed in a target user interface. According to the technical scheme provided by the embodiment of the application, when the user views the style of the message icon, the attribute of the unread message in the message list can be known, compared with the method that the unread message is marked by only adopting red dots or numerical marks in the related technology, the display mode of the message icon is enriched, and the message icon can provide more information.

Description

Message icon display method and device, terminal and storage medium
Technical Field
The embodiment of the application relates to the technical field of terminals, in particular to a method and a device for displaying message icons, a terminal and a storage medium.
Background
An instant messaging application program, a social application program and the like installed in the terminal have a messaging function, the application programs are generally provided with message icons, and a user can trigger to display a message list by clicking the message icons, so that messages sent and received to and from all contacts are seen in the message list.
In the related art, when an unread message exists, some applications display a red dot mark on the upper right corner of a message icon, by which the user is prompted that an unread message exists. Alternatively, other applications may display a numerical indicia in the upper right hand corner of the message icon, by which the user is prompted for the number of unread messages.
At present, the display mode of the message icon is relatively fixed and single, and the provided information quantity is relatively small.
Disclosure of Invention
The embodiment of the application provides a method, a device, a terminal and a storage medium for displaying message icons, which can be used for solving the technical problems that the display mode of the message icons provided by the related technology is relatively fixed and single and the provided information quantity is less.
In one aspect, an embodiment of the present application provides a method for displaying a message icon, where the method includes:
displaying a target user interface, wherein the target user interface comprises a message icon, and the message icon is an icon for triggering the display of a message list;
selecting a first style from n styles of the message icon, wherein different styles are used for representing different attributes of unread messages in the message list, and n is an integer greater than 1;
Displaying the message icon of the first style in the target user interface.
Optionally, when there are multiple contacts sending the unread message, shortcut session windows of the multiple contacts and/or identification information of the multiple contacts are ordered according to feature information of the unread message sent by each contact. Optionally, the message icon correspondingly displays an angle mark, and the angle mark is used for prompting the unread message;
after the message icon of the first style is displayed in the target user interface, the method further comprises:
and when a touch operation signal corresponding to the corner mark is received, eliminating the corner mark.
In another aspect, an embodiment of the present application provides a display device for a message icon, where the device includes:
the interface display module is used for displaying a target user interface, wherein the target user interface comprises a message icon, and the message icon is an icon used for triggering the display of a message list;
a style selection module, configured to select a first style from n styles of the message icon, where different styles are used to characterize different attributes of unread messages in the message list, and n is an integer greater than 1;
And the icon display module is used for displaying the message icon of the first style in the target user interface.
In yet another aspect, an embodiment of the present application provides a terminal, where the terminal includes a processor and a memory, where at least one instruction, at least one section of program, a code set, or an instruction set is stored in the memory, where the at least one instruction, the at least one section of program, the code set, or the instruction set is loaded and executed by the processor to implement a method for displaying a message icon described above.
In yet another aspect, embodiments of the present application provide a computer readable storage medium having at least one instruction, at least one program, a code set, or an instruction set stored therein, where the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the method for displaying a message icon described above.
In yet another aspect, a computer program product is provided which, when executed, is adapted to carry out the method of displaying a message icon as described above.
The technical scheme provided by the embodiment of the application can bring the following beneficial effects:
selecting a first style matched with the attribute of the unread message from the multiple styles by providing the message icons of the multiple styles, and then displaying the message icons of the first style in a target user interface, wherein when the user views the styles of the message icons, the user can know the attribute of the unread message in the message list; compared with the technical scheme that only red dots or digital marks are used for marking unread messages in the related technology, the method for displaying the message icons is enriched, and the message icons can provide more information.
Drawings
FIG. 1 is a block diagram of an implementation environment provided by one embodiment of the present application;
FIG. 2 is a schematic diagram of a functional implementation logic of a receiver client according to one embodiment of the present application;
fig. 3 is an interface schematic diagram related to a method for displaying a message icon provided by the related art;
FIG. 4 is a flow chart of a method for displaying message icons provided in one embodiment of the present application;
FIG. 5 is an interface schematic of a message icon related to the embodiment of FIG. 4;
FIG. 6 is a schematic diagram of an interface for displaying message icons according to importance levels provided by one embodiment of the present application;
FIGS. 7-9 are interface diagrams illustrating the display of type tags according to the number of unread messages provided by one embodiment of the present application;
FIG. 10 is a flow chart of a method for displaying message icons provided in another embodiment of the present application;
FIGS. 11-12 are interface diagrams of an open message according to a pan-tilt operation provided in one embodiment of the present application;
FIGS. 13-19 are interface diagrams illustrating a shortcut session window in accordance with an embodiment of the present application;
FIG. 20 is a schematic diagram of an interface for eliminating corner marks of message icons provided in one embodiment of the present application;
FIG. 21 is a schematic diagram of an interface for locating unread messages provided by one embodiment of the present application;
FIG. 22 is a flow chart of a method of displaying message icons provided in another embodiment of the present application;
23-26 are schematic views of interfaces for interacting with message icons provided in one embodiment of the present application;
FIG. 27 is a flow chart of a method of displaying message icons provided in another embodiment of the present application;
FIG. 28 is an interface schematic of a different form of message icon provided in another embodiment of the present application;
FIG. 29 is a block diagram of a display device for message icons provided in one embodiment of the present application;
FIG. 30 is a block diagram of a display device for message icons provided in accordance with another embodiment of the present application;
fig. 31 is a block diagram of a terminal provided in one embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Referring to fig. 1, a schematic diagram of an implementation environment provided in one embodiment of the present application is shown. The implementation environment may include: a transmitting terminal 11, a server 12 and a receiving terminal 13.
The transmitting terminal 11 has a transmitting client running therein. The transmitting terminal 11 may be a mobile phone, a tablet computer, an electronic book reader, a multimedia playing device, a wearable device, a laptop portable computer, a desktop computer, and the like.
The server 12 may be a server, a server cluster comprising a plurality of servers, or a cloud computing service center.
The receiving terminal 13 has a receiving client running therein. The receiving terminal 13 may also be a mobile phone, a tablet computer, an electronic book reader, a multimedia playing device, a wearable device, a laptop portable computer, a desktop computer, etc.
The server 12 may establish communication connection with the transmitting terminal 11 and the receiving terminal 13, respectively, through a network. The network may be a wireless network or a wired network.
In the embodiment of the application, the sender client has a message sending function, and the receiver client has a message receiving function. For example, the sender client and the receiver client may be clients of the target application, and accordingly, the server 12 may be a background server of the target application described above. For example, the target application may be a social class application, an instant messaging application, a payment class application, a gaming application, a reading application, an application dedicated to sending virtual packages, and so forth.
The receiver client has the function of displaying the received message. For example, the recipient client may be provided with a message icon that the user clicks on may trigger the display of a message list containing messages that the user receives and dispatches with the respective contacts. In addition, the receiver client also has a man-machine interaction function, and can receive the operation of a user and respond.
Alternatively, as shown in fig. 2, which schematically illustrates a model diagram of the function implementation logic of the receiver client, the model may be referred to as an icon reminding capability rendering model, including a visual information rendering layer 21, a function operation layer 22, and a message icon representation layer 23. The visual information rendering layer 21 is used for realizing the message display function; the function operation layer 22 is used for realizing the man-machine interaction function; the message icon presentation layer 23 is used to implement the display function of the message icon described above.
In practical application, the sender client and the receiver client may be two clients with different functions, where the sender client has a function of sending a message, and the receiver client has a function of receiving a message. Alternatively, the sender client and the receiver client may be two clients having the same function, and the clients have the function of sending and receiving messages. When the client is used for realizing the function of the client side of the sender in the method example, the client is used as the client of the sender; when the client is used for implementing the function of the receiver client side in the method example of the application, the client is the receiver client. Correspondingly, the sending terminal and the receiving terminal are terminal equipment. When the client running in the terminal device is used for realizing the function of the client side of the sender in the method example of the application, the terminal device is used as a sending terminal; when the client running in the terminal device is used for realizing the function of the client side of the receiving party in the method example of the application, the terminal device is used as a receiving terminal. In practical applications, the same client may be used as a sender client or a receiver client. The same terminal can be used as a transmitting terminal or a receiving terminal.
Referring to fig. 3 in combination, an interface schematic diagram related to a method for displaying a message icon provided by the related art is shown. When there is an unread message, the application displays a numerical marker 33 in the upper right corner of the message icon 31, and prompts the user with the numerical marker 33 the number of unread messages, such as the number of unread messages being 1 in fig. 3. The display mode of the message icon is relatively fixed and single, and the provided information quantity is relatively small.
Based on this, the embodiments of the present application provide a method, an apparatus, a terminal, and a storage medium for displaying a message icon, by providing a plurality of types of message icons, selecting a first type matching with an attribute of an unread message from the plurality of types of message icons, and then displaying the message icon of the first type in a target user interface, where a user can learn the attribute of the unread message in a message list when looking up the type of the message icon; compared with the technical scheme that only red dots or digital marks are used for marking unread messages in the related technology, the method for displaying the message icons is enriched, and the message icons can provide more information.
Referring to fig. 4, a flowchart of a method for displaying a message icon according to an embodiment of the present application is shown. The execution subject of each step may be a terminal, such as a target application program with a messaging function installed and running in the terminal. In the method embodiment of the present application, for convenience of description, only the execution subject of each step is used as a terminal to perform description. The method may comprise the following steps (401-403):
Step 401, a target user interface is displayed.
The target user interface is a user interface provided by the target application. The target user interface includes a message icon therein. A message icon refers to an icon for triggering the display of a message list. Alternatively, the message icon is an operable control, such as a button, that is capable of responding to a touch operation by a user's click, press, slide, etc.
In an exemplary embodiment, the terminal displays a message list after receiving a preset operation signal corresponding to a message icon displayed in a target user interface. The terminal may display the message list and the message icon may or may not display the message list, which is not limited in the embodiment of the present application. In an exemplary embodiment, the terminal displays the message list while still displaying the message icon. For example, the message icon is located below the message list, such as in the lower left corner of the screen.
The message list typically includes a plurality of entries, with different contacts corresponding to different entries. When the terminal receives the trigger signal corresponding to the target item, the terminal displays a session window of the target contact corresponding to the target item. The target entry may include identification information (e.g., an avatar, a nickname, etc.) of the target contact, a last message sent to and received from the target contact, and an occurrence time of the last message. The plurality of entries may be ordered according to a certain rule, such as time.
Step 402, selecting a first style from n styles of message icons, n being an integer greater than 1.
In the embodiment of the application, the message icons have different styles. The style of the message icon may be determined by factors such as color, shape, elements contained in the icon, and the like. Different styles have different visual effects. In an exemplary embodiment, when the message icon is a virtual character, different styles of the message icon may refer to different expressions of the virtual character, such as happy, difficult, surprise, fear, etc. The virtual character may be a virtual cartoon character, and the corresponding expression is the facial expression of the virtual cartoon character.
In the embodiment of the application, different styles of message icons are used for characterizing different attributes of unread messages in a message list. The attributes may be the type, number, importance level, etc. of the unread messages. The user may learn the properties of the unread message based on the style of the viewed message icon.
Types of unread messages include, but are not limited to, at least one of: text, picture, voice, video, red envelope, attention, etc. The number of unread messages refers to the total number of unread messages sent by each contact in the message list. The importance level of the unread message may be set based on factors such as the type of the unread message or the contact, for example, the importance level may be divided into a first level and a second level, wherein the first level refers to a red packet message and a message of interest (i.e., a message sent by the contact of interest), and the second level refers to other messages except the first level. Of course, in other embodiments, three or more importance levels may be set, which is not limited in the embodiments of the present application.
The first pattern may be any one selected from the n patterns described above. A specific procedure for selecting the first style from among n styles of the message icon will be described below.
As shown in fig. 5, which is a schematic diagram illustrating several different styles of message icons. As shown in part (a) of fig. 5, when an unread message of a text type is contained in the message list 50, the message icon 51 presents the style shown in fig. 5 (a). As shown in part (b) of fig. 5, when an unread message of a voice type is contained in the message list 50, the message icon 51 presents the style shown in fig. 5 (b). As shown in part (c) of fig. 5, when an unread message of a video type is contained in the message list 50, the message icon 51 presents the style shown in fig. 5 (c). As shown in part (d) of fig. 5, when an unread message of the red packet type is contained in the message list 50, the message icon 51 presents the style shown in fig. 5 (d). As shown in part (e) of fig. 5, when an unread message of the type of interest is contained in the message list 50, the message icon 51 presents the style shown in fig. 5 (e). Of course, the style of the message icon shown in fig. 5 is merely exemplary and explanatory, and the message icon may have a variety of different styles, which are not limited in this embodiment of the present application.
Step 403, displaying a message icon of a first style in the target user interface.
The terminal displays a message icon of a first style in the target user interface. When the user views the style of the message icon in the target user interface, the user can directly learn the attribute of the unread message.
In addition, when the terminal displays the message icons in different styles, the terminal can also adapt according to the theme colors (namely the background colors) of the message list. For example, the message list may have a dark (e.g., black) theme color, and the message icon may have a light (e.g., white) color; for another example, the message list may have a light (e.g., white) theme color and the message icon may have a dark (e.g., black) color. By the method, the situation that the user cannot view the message icon when the theme color of the message list is relatively close to the color of the message icon can be avoided.
In summary, according to the technical solution provided in the embodiments of the present application, by providing a plurality of types of message icons, selecting a first type matching with an attribute of an unread message from the plurality of types, and then displaying the message icon of the first type in a target user interface, a user can learn the attribute of the unread message in a message list when looking up the type of the message icon; compared with the technical scheme that only red dots or digital marks are used for marking unread messages in the related technology, the method for displaying the message icons is enriched, and the message icons can provide more information.
The process of selecting the first style from among n styles of the message icon is explained as follows. In an alternative embodiment provided based on the embodiment shown in fig. 4, step 402 may be embodied as: and selecting a first style from the n styles according to the attribute information of the unread message.
The attribute information of the unread message may include at least one of: type, level of importance, number. For descriptions of the above properties, reference may be made to the above embodiments, which are not repeated.
Referring to fig. 6 in combination, several different styles of message icons are illustrated. Message icon 61 corresponds to an unread message of the type of interest, message icon 62 corresponds to an unread message of the red packet type, message icon 63 corresponds to an unread message of the text type, message icon 64 corresponds to an unread message of the voice type, and message icon 65 corresponds to an unread message of the video type. Wherein the attention type and the red packet type have the same importance level, the text type, the voice type and the video type have the same importance level, and the importance level of the former is greater than that of the latter.
The terminal may select the first pattern from the n patterns according to any one of attribute information of the unread message. The terminal may also select the first style from the n styles according to various attribute information of the unread message. In one possible implementation, the terminal selects a first pattern from the n patterns according to the type and number of unread messages. Optionally, when receiving a new unread message, the terminal determines the type of the newly received unread message, determines the number of unread messages belonging to the same type as the newly received unread message, and then selects a pattern matching the type and the number from n patterns as the first pattern.
For example, when the type of the newly received unread message is a text type, the patterns of the message icons corresponding to the unread messages of different numbers of text types are as shown in fig. 7. For another example, when the type of the newly received unread message is the attention type, the patterns of the message icons corresponding to the unread messages of different numbers of the attention type are as shown in fig. 8. For another example, when the type of the newly received unread message is a red packet type, the patterns of message icons corresponding to the unread messages of different numbers of red packet types are shown in fig. 9.
Optionally, the terminal selects the first style from the n styles according to attribute information of the unread message, including the following sub-steps:
1. the terminal determines the target type of the newly received unread message;
2. determining the importance level of the newly received unread message according to the target type;
3. if the importance level of the newly received unread message accords with a preset condition, acquiring the number of the unread messages belonging to the target type, and selecting a pattern matched with the target type and the number of the unread messages belonging to the target type from n patterns as a first pattern;
4. if the importance level of the newly received unread message does not meet the preset condition, the number of the unread messages belonging to the appointed type is obtained, and a pattern matched with the appointed type and the number of the unread messages belonging to the appointed type is selected from n patterns to be used as a first pattern.
The preset condition may be that the importance level of the newly received unread message is the highest level. The specified type refers to the type of the unread message with the highest importance level among all the unread messages.
This case is illustratively explained in connection with the importance levels divided with reference to fig. 6. After receiving a message sent by the contact 1, if the latest received message is a red packet type, the terminal acquires the quantity of all unread messages belonging to the red packet type as the red packet type accords with a preset condition, and then selects a pattern matched with the red packet type and the quantity from n patterns as a first pattern. If the latest received message is of interest type, the processing flow of the terminal is similar to the red packet type.
If the latest received message is a text type, the terminal acquires the type (for example, attention type) of the unread message with the highest importance level in all the unread messages because the text type does not meet the preset condition, further acquires the number of the unread messages of the attention type, and then selects a pattern matching the attention type and the number from n patterns. If the latest received message is of a voice type or a video type, the processing flow of the terminal is similar to that of a text type. In addition, if there are a plurality of specified types, the terminal may select any one of the specified types or select the specified type having the largest number of unread messages, which is not limited in the embodiment of the present application.
In a specific example, referring to fig. 10 in combination, a flowchart of a method for displaying a message icon according to another embodiment of the present application is shown. The method may comprise the steps of:
step 1001, a message list is displayed.
Step 1002, the unread message in the message list is analyzed to determine the type to which the unread message belongs.
Step 1003, detecting whether an important message exists in the unread message according to the type of the unread message.
In step 1004, when the type of the unread message includes the attention message or the red packet message, it is determined that an important message exists in the unread message.
In step 1005, when the type to which the unread message belongs does not include the attention message and does not include the red packet message, it is determined that there is no important message (i.e., a normal message) in the unread message.
Step 1006, it is detected whether there is an unread message (i.e., a flat message) with the same importance level. If so, steps 1007-1008 are performed; if not, steps 1009-1011 are performed.
Step 1007, determining the number of messages of the same type as the unread message;
step 1008, determining a first pattern matching the type of unread message and the number of messages
Step 1009, comparing the receiving time of each flat message to obtain the latest received unread message.
Step 1010, determining the number of messages of the same type as the newly received unread message.
In step 1011, a first pattern is determined that matches the type, number of messages, to which the newly received unread message belongs.
When an unread message exists in the message list, the user can look at the unread message through interaction with the terminal.
In an alternative embodiment provided based on the embodiment shown in fig. 4, if there is an unread message in the message list, the method further includes the following steps: and when a shaking operation is detected, displaying a session window of the target contact.
The target contact refers to a contact that sends an unread message of a specified type. The designated type can be set by user definition or by the terminal. For example, the specified type is a red packet type or a focus type.
The panning operation refers to an operation of panning the terminal. The terminal can detect a shake operation through the acceleration sensor. The session window of the target contact is used for displaying the receiving and transmitting information between the local end user and the target contact.
Optionally, the terminal displays a message list and a message icon, and when a pan-tilt operation is detected, the terminal displays an animation related to the specified type at an upper layer of the message list and displays a conversation window of the target contact after the animation ends.
Referring to FIG. 11 in combination, an interface diagram is illustrated that triggers the display of unread messages of the type of interest by a pan-tilt operation. As shown in fig. 11, the terminal displays a message list 111 and a message icon 112. If the unread message of the terminal contains the attention message sent by the target contact, after the user performs a shaking operation on the terminal, the terminal displays an animation related to the attention type, such as an animation that a plurality of heart shapes move upwards from the bottom of the screen to the top of the screen, at the upper layer of the message list, and after the animation is finished, a session window 113 between the terminal and the target contact is opened.
Referring to fig. 12 in combination, an interface diagram is illustrated that triggers the display of an unread message of the red packet type by a pan-tilt operation. As shown in fig. 12, the terminal displays a message list 121 and a message icon 122. If the unread message of the terminal contains the red packet message sent by the target contact, after the user performs a shake operation on the terminal, the terminal displays an animation related to the red packet type, such as an animation that a plurality of gold coins move upwards from the bottom of the screen to the top of the screen, after the animation is finished, a session window 123 between the terminal and the target contact is opened, and the session window 123 comprises the red packet message 124. Further, the terminal automatically displays a pickup page 125 corresponding to the red packet message 124. In one possible implementation, the terminal automatically retrieves the red packet and displays a retrieval page 125 corresponding to the red packet message 124; in another possible implementation, the terminal displays the pickup page 125 corresponding to the red packet message 124 after receiving the touch operation signal corresponding to the red packet message 124 from the user.
By the method, the session window of the target contact person is rapidly opened through the shaking operation, a rapid opening mode of the session window is provided, and the efficiency of checking important unread messages is improved.
In another alternative embodiment provided based on the embodiment shown in fig. 4, if there is an unread message in the message list, the method further includes the following steps:
step 501, a first operation signal corresponding to a message icon is received.
The first operation signal may be any one of a click signal, a double click signal, a long press signal, a double press signal, a slide signal, and a drag signal. In the embodiment of the present application, only the first operation signal is taken as an example of the long press signal.
Step 502, a shortcut session window for a first contact is displayed.
The first contact refers to the contact that sent the unread message. In this embodiment of the present application, the contact may be a contact in a buddy list of a user account logged into a local client, or may be a group to which the user account logged into the local client belongs, or may be a public account subscribed by the user account logged into the local client, where the public account may be an account registered by a person, an enterprise, or other content provider in a target application. A shortcut session window refers to a session window with a contact sending an unread message that is displayed in suspension at the upper layer of the message list. Optionally, the terminal further displays identification information of the first contact, where the identification information may be an avatar or a nickname of the contact that sent the unread message. In the embodiment of the application, only the identification information is used as the head portrait for explanation.
It should be noted that, after the terminal displays the shortcut session window of the first contact, the icon reminding manner corresponding to the first contact will be eliminated. For example, when a red dot mark or a digital mark is displayed on the right side of the message entry, the terminal is removed after displaying the shortcut session window of the first contact. For another example, when the style of the message icon is determined according to the attribute of the unread message sent by the first contact, the terminal redetermines the style of the message icon according to other unread messages after displaying the shortcut session window of the first contact.
Referring in conjunction to fig. 13, an interface schematic diagram for displaying a shortcut session window is shown provided in an embodiment of the present application. When the terminal receives the long-press operation signal acting on the message icon 131, the identification information 132 of the friend 1 and the shortcut session window 133 are displayed on the upper layer of the message list, and the shortcut session window corresponding to the identification information 134 of the friend 3 is hidden.
In step 503, in the shortcut session window of the first contact, an unread message from the first contact is displayed.
The user may view the unread message in the shortcut session window and may also reply to the first contact with a message, such as a text message, an expressive message, a voice message, etc., through the shortcut session window.
The text message transmission will be explained with reference to fig. 14. An interface schematic diagram for displaying a shortcut session window according to an embodiment of the present application is shown. The terminal displays a virtual keyboard 142 under the shortcut session window 141 of the friend 1, and the user can edit a text message through the virtual keyboard 142 and send the text message to the friend 1.
The transmission of the expression message is explained below with reference to fig. 15. An interface schematic diagram for displaying a shortcut session window according to an embodiment of the present application is shown. The terminal displays the emotlist 152 under the shortcut session window 151 of the friend 1, and the user may select an emoticon in the emotlist 152 to generate an emoticon message and send the emoticon message to the friend 1.
The following explains the transmission of voice messages. After step 502, the method further comprises the steps of: receiving a first touch operation signal corresponding to identification information of a first contact; recording a voice message; a voice message is sent to the first contact.
The first touch operation signal corresponding to the identification information of the first contact may be any one of a click signal, a double click signal, a long press signal, a double press signal, a slide signal, and a drag signal. In the embodiment of the present application, only the first touch operation signal corresponding to the identification information of the first contact is described as an example of the long press signal.
In the embodiment of the application, when the terminal receives the long-press signal acting on the head portrait of the contact person, voice recording is performed through the microphone component of the terminal. After the voice recording is finished, the terminal performs analog-to-digital conversion, noise reduction, encapsulation and other processing on the recorded voice signal to obtain a voice message, and then sends the voice message to a server, wherein the server is used for forwarding the voice message to a first contact.
In one possible implementation manner, if the first touch operation signal corresponding to the identification information of the first contact is a continuous pressing operation signal, the terminal may start recording voice when receiving the first touch operation signal, and end recording voice when the first touch operation signal disappears, so as to generate the voice message. In another possible implementation manner, if the first touch operation signal corresponding to the identification information of the first contact is a click operation signal, the terminal may start recording voice when receiving the first touch operation signal, and end recording voice and generate a voice message when receiving the second first touch operation signal.
Referring in conjunction to FIG. 16, an interface diagram showing a shortcut session window is shown in one embodiment of the present application. When the terminal receives the continuous pressing operation signal acting on the avatar 161 of the friend 1, the terminal starts voice recording, and when the continuous pressing operation signal disappears, the terminal generates a voice message 162 and sends the voice message to the friend 1.
Optionally, after the terminal starts the voice recording, the user may also interact with the terminal to cancel recording and sending the voice message, and the process may specifically be implemented as follows: and when a third operation signal acting on the identification information of the first contact is received, canceling the voice recording.
The third operation signal may be any one of a click signal, a double click signal, a long press signal, a double press signal, a slide signal, and a drag signal. In the embodiment of the present application, the third operation signal is merely taken as an example of the sliding operation signal.
Referring now to FIG. 17, an interface diagram illustrating a shortcut session window is shown in accordance with an embodiment of the present application. After the terminal receives the long-press operation signal acting on the head portrait 171 of the friend 1, voice recording is started, and if the terminal receives the sliding operation signal starting from the contact position corresponding to the long-press operation signal, the voice message is deleted.
In addition, when a plurality of contacts for sending the unread messages exist, shortcut session windows of the plurality of contacts and/or identification information of the plurality of contacts are ordered according to the characteristic information of the unread messages sent by the contacts. The characteristic information includes at least one of the following: type, level of importance, number, time.
Optionally, the terminal sorts the identification information of the contact and the shortcut session window according to the type of the unread message. Optionally, when the type of the unread message is a preset type, the sequencing of the shortcut session window is more forward; when the type of the unread message is not the preset type, the sequencing of the shortcut session window is more backward. Optionally, the terminal sorts the identification information of the contact and the shortcut session window according to the receiving time of the unread message. Optionally, the closer the sending time of the unread message is to the current time, the earlier the ordering of the shortcut session window is; the further the sending time of the unread message is from the current time, the later the ordering of the shortcut session window.
Optionally, the terminal sorts the identification information of the contact person and the shortcut session window according to the importance level of the unread message. Optionally, the higher the importance level of the unread message, the earlier the ranking of the shortcut session window; the lower the importance level of the unread message, the later the ordering of the shortcut session window.
Optionally, the terminal sorts the identification information of the contact person and the shortcut session window according to the number of the unread messages. Optionally, the more unread messages a certain contact sends, the earlier the ordering of the shortcut session window is; the fewer unread messages a contact sends, the later the ordering of the shortcut session window.
Referring in conjunction to FIG. 18, an interface diagram of a shortcut session window provided by an embodiment of the present application is shown. The unread messages of the message list include the common message 181 sent by the friend 1 and the attention message 182 sent by the friend 3, and when the user presses the message icon 183 for a long time, the head portrait 184 of the friend 3 and the shortcut session window 185 are ranked forward, and the shortcut session window of the friend 1 is hidden after the head portrait 186 of the friend 1 is ranked forward, because the importance level of the attention message 182 is higher than that of the common message 181.
Optionally, due to the size limitation of the display area, the terminal typically displays a shortcut session window on the upper layer of the target user interface, and the user may switch the shortcut session window. The process may be embodied as the following steps:
step 504, a switch instruction of a shortcut session window corresponding to the first contact is received.
In one possible implementation, the switch instruction refers to a sliding operation signal of the shortcut session window corresponding to the first contact. In another possible implementation, the switching instruction refers to a second touch operation signal corresponding to identification information of the second contact. The second touch operation signal corresponding to the identification information of the second contact may be any one of a click signal, a double click signal, a long press signal, a double press signal, a slide signal, and a drag signal. In the embodiment of the present application, only the second touch operation signal corresponding to the identification information of the second contact is described as an example of the click signal.
Step 505, according to the switching instruction, displaying a shortcut session window of the second contact.
The second contact refers to another contact other than the first contact of the at least two contacts that sent the unread message.
In step 506, an unread message from the second contact is displayed in the shortcut session window of the second contact.
Referring now to FIG. 19, an interface diagram of a shortcut session window is shown in accordance with an embodiment of the present application. The terminal displays the avatar and shortcut session window 191 of the friend 3, and displays the shortcut session window 192 of the friend 1 after receiving the left sliding operation signal.
When the unread message exists in the terminal, the terminal can also display an angle mark on the peripheral side (such as the upper right corner) of the message icon of the target user interface, wherein the angle mark is used for prompting the existence of the unread message. Optionally, a corner mark is used to indicate the number of unread messages.
In an alternative embodiment provided based on the embodiment shown in fig. 4, after step 403, the method for displaying a message icon further includes the steps of: and when the touch operation signal corresponding to the corner mark is received, eliminating the corner mark. Optionally, the terminal also modifies the unread messages in the message list from an unread state to a read state.
The touch operation signal corresponding to the corner mark can be any one of a single click signal, a double click signal, a long press signal, a double press signal, a sliding signal and a dragging signal. In the embodiment of the present application, only the touch operation signal corresponding to the corner mark is taken as an example for explanation.
Referring in conjunction to FIG. 20, an interface schematic of a target user interface provided by one embodiment of the present application is shown. There are 4 unread messages in the message list, the 4 unread messages come from friend 1 and friend 3 respectively, and when the terminal receives the sliding signal acting on the corner mark 201, the corner mark 201 is eliminated.
When the terminal has the unread message, the terminal can also position the unread message according to the interactive operation of the user, namely, a certain unread message is in a selected state. In an alternative embodiment provided based on the embodiment shown in fig. 4, the first entry of the unread message in the message list is in the selected state, and after step 401, the method for displaying a message icon further includes the following steps: receiving a second operation signal corresponding to the message icon; and switching the entry in the selected state in the message list from the first entry to the second entry.
The second operation signal corresponding to the message icon may be any one of a single click signal, a double click signal, a long press signal, a double press signal, a slide signal, and a drag signal. In the embodiment of the present application, only the second operation signal corresponding to the message icon is described as an example of the click operation signal. The second entry refers to an entry corresponding to an unread message other than the first entry. Optionally, the second entry refers to an entry that is ordered after the first entry and closest to the first entry. When the items are arranged in the order of the receiving time, the second item refers to an item which is earlier than the receiving time of the first item and is closest to the current time.
Referring to fig. 21, there are 4 unread messages in the message list, where the 4 unread messages are respectively from the friend 1 and the friend 3, and the terminal sets the unread message 211 sent from the friend 1 with the top ranking to the selected state.
In a specific example, referring to fig. 22 in combination, when there is an unread message in the target user interface, the interaction procedure between the user and the terminal may include the following steps:
Step 2201, a message list is displayed.
There are unread messages in the message list.
At step 2202, a drag operation signal corresponding to a message icon is received.
In step 2203, it is detected whether the drag operation signal is successfully responded.
If successful, go to step 2204; if so, go to step 2201.
Step 2204 displays the process of dragging the message icon in an animated form.
Step 2205, determining whether the drag operation signal is detected to disappear in the preset area.
If so, go to step 2206; if not, go to step 2201.
At step 2206, all unread messages are converted to read messages.
At step 2207, a single click operation signal corresponding to the message icon is received.
At step 2208, it is detected whether the single click operation signal has been successfully responded.
If successful, go to step 2209; if so, go to step 2214.
At step 2209, the current newly unread message is located.
Step 2210 detects whether a single click operation signal corresponding to a message icon is received.
If so, go to step 2209; if not, step 2211 is performed.
Step 2211, the next most recent unread message is located.
Step 2212 detects whether a single click operation signal corresponding to a message icon is received.
If not, go to step 2211; if so, step 2213 is performed.
Step 2213, it is determined whether it is the last unread message.
Step 2214, the current result style is displayed.
Step 2215 receives a long press operation signal corresponding to the message icon.
Step 2216, it is detected whether the long press operation signal is successfully responded.
If successful, go to step 2217, if failed, go to step 2201.
Step 2217, enter shortcut reply mode.
In step 2218, real-time message data is acquired.
Step 2219 displays the preview message window.
When an important message exists in the unread message, the preview message window is used for displaying a shortcut session window corresponding to the important message; when no important message exists in the unread messages, the preview message window is used for displaying a shortcut session window for receiving the unread messages with the time closest to the current time.
Step 2220 detects whether a slide signal is received that acts on the preview message window.
If so, go to step 2219; if not, step 2221 is performed.
Step 2221 detects whether the slip signal has disappeared.
If so, execute step 2222; if not, step 2220 is performed.
Step 2222, switch to display the preview message window.
In summary, according to the technical scheme provided by the embodiment of the present application, when the operation signal acting on the message icon is received, the shortcut session windows corresponding to the unread messages are displayed, and the user can switch different shortcut session windows to reply the message through the sliding operation, so that the message reply efficiency can be improved.
In addition, the ordering of the shortcut session windows is determined according to the importance degree of the unread messages, so that the user can timely process the messages with higher importance degree.
The user may also interact with the terminal when there is no unread message in the target user interface. The process is explained below. In an alternative embodiment provided based on the embodiment shown in fig. 4, when the number of unread messages in the message list is 0, the method for displaying a message icon may further include the steps of:
step 601, a third operation signal corresponding to a message icon is received.
The third operation signal corresponding to the message icon may be any one of a click signal, a double click signal, a long press signal, a double press signal, a slide signal, and a drag signal. In the embodiment of the present application, only the third operation signal corresponding to the message icon is described as an example of the click operation signal.
Step 602, switching the message icon in the target user interface from the first style to the second style.
The first pattern is different from the second pattern. Referring to fig. 23 in combination, there is no unread message in the message list, and if a single click operation signal acting on the message icon 231 of the first style is received, the message icon 231 of the first style is switched to the message icon 232 of the second style.
In an alternative embodiment provided based on the embodiment shown in fig. 4, when the number of unread messages in the message list is 0, the method for displaying a message icon may further include the steps of:
step 603, a fourth operation signal corresponding to the message icon is received.
The fourth operation signal corresponding to the message icon may be any one of a single click signal, a double click signal, a long press signal, a double press signal, a slide signal, and a drag signal. In the embodiment of the present application, only the fourth operation signal corresponding to the message icon is described as an example of the long press operation signal.
Step 604, an icon selection interface is displayed.
The icon selection interface is used to select a display style of the message icon. The icon selection interface includes a plurality of different styles of message icons.
Step 605 receives a selection signal corresponding to a message icon of a third style in the icon selection interface.
The message icon of the third style is selected by the user. When the user desires to display a message icon of a certain style in the target user interface, the message icon of the style may be selected as a message icon of a third style.
Optionally, when receiving a selection signal corresponding to the message icon of the third style in the icon selection interface, the terminal enlarges and displays the message icon of the third style, so as to facilitate the user to view.
Step 606, a third style message icon is displayed in the target user interface.
In one possible implementation manner, after receiving the touch operation signal corresponding to the blank area, the terminal exits the icon selection interface and displays a message icon of a third style in the target user interface; in another possible implementation, the icon selection interface includes a confirm button, and when the terminal receives a trigger operation signal corresponding to the function button, the terminal exits the icon selection interface and displays a message icon of a third style in the target user interface.
Referring to fig. 24 in combination, there is no unread message in the message list, if a long press operation signal acting on the message icon 241 is received, an icon selection interface 242 is displayed, and when the user selects a message icon 243 of a third style, the message icon 243 of the third style is displayed in the target user interface.
Optionally, after the terminal completes the style switching of the message icon, the style switching result may also be sent to other contacts, so that other contacts may display the message icon after the style switching on the relevant user interface, for example, other users may view the message icon after the style switching on a session window of the user account logged in the local client, and for example, other users may view the message icon after the style switching in a message entry of the user account logged in the local client. Optionally, the terminal sends a style switching result to the server, and then the server sends a style switching notice to other contacts, wherein the style switching notice carries a message icon of a third style after switching and an identifier of the local client, and when the client corresponding to the other contacts displays a message item and a session window of the local client, the message icon of the third style after switching is concomitantly displayed on the peripheral side of the identifier information of the local client.
Referring to fig. 25 in combination, the contact "friend 1" of the local client switches the display style of the message icon from the first style to the second style. Referring to fig. 25 (a), the native client displays a second style message icon 252 in a message entry 251 of "buddy 1"; referring to fig. 25 (b), the native client displays a second style message icon 252 in a conversation window 253 of "buddy 1".
In an alternative embodiment provided based on the embodiment shown in fig. 4, when the number of unread messages in the message list is 0, the method for displaying a message icon may further include the steps of:
step 607, receiving a drag operation signal acting on the message icon;
in step 608, the elements in the control message icon move in the drag direction following the drag operation signal.
An element in a message icon refers to a component in the message icon. Illustratively, the message icon is an emoji, and the elements in the message icon refer to the five sense organs in the emoji.
Referring in conjunction to fig. 26, an interface diagram of a message list is shown, as shown in one embodiment of the present application. The terminal receives a drag operation signal acting on the message icon 261, and the element 262 in the message icon 261 moves in the drag direction following the drag operation signal.
In a specific example, referring to fig. 27 in combination, a flow chart of a message display method according to one embodiment of the present application is shown. The method may include:
at step 2701, a target user interface is displayed, the target user interface being free of unread messages.
Step 2702, a double click operation signal corresponding to the message icon is received.
At step 2703, it is detected whether the double click signal is successful.
If the response is successful, then step 2703 is performed; if the response fails, step 2701 is performed.
In step 2704, a message icon to be displayed is determined in the icon resource.
In step 2705, it is detected whether the icon to be displayed is identical to the current message icon.
If so, go to step 2704; if not, then step 2706 is performed.
Step 2706, switch icon.
Step 2707, detect if the handover is successful.
If successful, go to step 2701; if it fails, step 2706 is performed.
Step 2708, a drag operation signal corresponding to the message icon is received.
At step 2709, it is detected whether the drag operation signal has been successfully responded.
If the response is successful, then step 2710 is performed; if the response fails, then step 2713 is performed.
Step 2710, determine the direction of the drag.
Step 2711, the target element (the five sense organs element or the background element) in the message icon is moved along with the dragging direction.
Step 2712, detect if the drag operation signal has disappeared.
If it is disappeared, go to step 2713; if not, go to step 2711.
Step 2713, the display message interface is restored.
Step 2714, receive the long press operation signal corresponding to the message icon.
Step 2715, detect if the long press operation signal has responded successfully.
If the response is successful, then step 2716 is performed; if the response fails, step 2701 is performed.
Step 2716, enter icon switching mode.
Step 2717, an icon switching window is displayed, which defaults to displaying the currently displayed message icon.
Step 2718, it is detected whether a slide signal corresponding to the icon switching window is received.
If so, go to step 2719; if not, then step 2719 is performed.
Step 2719, detect if the message icon in the icon switching window switches.
If the switch is made, then step 2720 is performed; if not, then step 2717 is performed.
Step 2720, detecting whether the sliding operation signal disappears.
If it is disappeared, go to step 2721; if not, then step 2719 is performed.
Step 2721, magnifying and displaying the message icon of the icon switching window.
Step 2722, detecting whether an acknowledgement indication is received.
If received, step 2723 is performed, and if not received, step 2701 is performed.
Step 2723, switch message icons in the target user interface.
After step 2701, the terminal may perform at least one of steps 2702 to 2707, steps 2708 to 2713, and steps 2714 to 2721.
In summary, according to the technical scheme provided by the embodiment of the application, when the unread message does not exist in the message list, the display mode of the message icon is switched according to the operation signal triggered by the user, so that the interaction mode of the user icon and the user is expanded, and the interestingness is enhanced.
It should be noted that, in the embodiment of the present application, the implementation form of the message icon may be any one of the following: text form, bubble form, animation form, pendant form, corner mark form.
Text form refers to the attribute of representing an unread message by text form. The bubble form refers to an attribute representing an unread message through a bubble pattern, the bubble pattern refers to an interesting display pattern provided to a user by a provider of a target application program, and a symbol or a picture for representing the attribute of the unread message is included in the bubble.
Animation refers to representing the properties of an unread message by animation. In one example, an animated version refers to a process in which pictures or symbols representing unread message attributes repeatedly appear-disappear in the peripheral side of a message icon. In another example, the animated version may also be a gradual enlargement or a gradual reduction of a picture or symbol in the message icon representing an unread message attribute. In another example, the animation may be a motion of a picture or symbol representing an unread message attribute on the circumference of a message icon according to a certain rule. The embodiment of the application does not limit the concrete expression form of the animation form.
The corner mark form refers to displaying a picture or symbol for representing the attribute of the unread message in the position where the corner mark of the message icon is located. The pendant form refers to the attribute of the unread message represented by a pendant mode, the pendant mode refers to an interesting display mode provided by a provider of the target application program to a user, and the pendant comprises a picture or a symbol for representing the attribute of the unread message.
As shown in fig. 28, which is a schematic diagram illustrating several different forms of message icons. As shown in part (a) of fig. 28, when the message icon 281 is in the form of text, the message icon 281 presents the style shown in fig. 28 (a). As shown in part (b) of fig. 28, when the message icon 281 is in the form of a bubble, the message icon 281 assumes the style shown in fig. 28 (b). As shown in part (c) of fig. 28, when the message icon 281 is in the form of an animation, the message icon 281 presents the style shown in fig. 28 (c). As shown in part (d) of fig. 28, when the message icon 281 is in the form of a corner mark, the message icon 281 assumes the style shown in fig. 28 (d). As shown in part (e) of fig. 28, when the message icon 281 is in the form of a pendant, the message icon 281 presents the style shown in fig. 28 (e). Of course, the style of message icons shown in fig. 28 is merely exemplary and explanatory, and the message icons may take a variety of other different forms, and embodiments of the present application are not limited in this regard.
The following are device embodiments of the present application, which may be used to perform method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
Referring to fig. 29, a block diagram of a message icon display device according to one embodiment of the present application is shown. The device has the function of realizing the method, and the function can be realized by hardware or can be realized by executing corresponding software by hardware. The apparatus may include:
interface display module 2901 is configured to display a target user interface, where the target user interface includes a message icon, and the message icon is an icon for triggering display of a message list.
Style selection module 2902 is configured to select a first style from n styles of the message icon, where different styles are used to characterize different properties of unread messages in the message list, and n is an integer greater than 1.
Icon display module 2903 is configured to display the message icons of the first style in the target user interface.
In summary, according to the technical solution provided in the embodiments of the present application, by providing a plurality of types of message icons, selecting a first type matching with an attribute of an unread message from the plurality of types, and then displaying the message icon of the first type in a target user interface, a user can learn the attribute of the unread message in a message list when looking up the type of the message icon; compared with the technical scheme that only red dots or digital marks are used for marking unread messages in the related technology, the method for displaying the message icons is enriched, and the message icons can provide more information.
In an alternative embodiment provided based on the embodiment shown in fig. 29, the style selection module 2902 is configured to select the first style from the n styles according to attribute information of the unread message; wherein the attribute information includes at least one of: type, level of importance, number.
Optionally, the style selection module 2902 is configured to:
determining a target type of the newly received unread message;
determining the importance level of the newly received unread message according to the target type;
if the importance level of the newly received unread message meets a preset condition, acquiring the number of the unread messages belonging to the target type, and selecting a pattern matched with the target type and the number of the unread messages belonging to the target type from the n patterns as the first pattern;
if the importance level of the newly received unread message does not meet the preset condition, acquiring the number of the unread messages belonging to a specified type, and selecting a pattern matched with the number of the unread messages belonging to the specified type from the n patterns as the first pattern.
In an alternative embodiment provided based on the embodiment shown in fig. 29, referring to fig. 30, the apparatus further comprises: a signal receiving module 2904, a window display module 2905, and a message display module 2906 (not shown).
A signal receiving module 2904 is configured to receive a first operation signal corresponding to the message icon.
Window display module 2905 is configured to display a shortcut session window for a first contact, where the first contact is a contact that sends the unread message.
Message display module 2906 is configured to display an unread message from the first contact in a shortcut session window for the first contact.
Optionally, the signal receiving module 2904 is configured to receive a switch instruction of a shortcut session window corresponding to the first contact.
The window display module 2905 is configured to display, according to the switching instruction, a shortcut session window of a second contact, where the second contact is another contact other than the first contact of the at least two contacts that send the unread message.
The message display module 2906 is configured to display, in a shortcut session window of the second contact, an unread message from the second contact.
Optionally, the signal receiving module 2904 is configured to receive a sliding operation signal corresponding to a shortcut session window of the first contact; or, receiving a second touch operation signal corresponding to the identification information of the second contact.
Optionally, referring to fig. 30, the apparatus further includes: voice recording module 2907, messaging module 2908.
The signal receiving module 2904 is configured to receive a first touch operation signal corresponding to identification information of the first contact.
Voice recording module 2907 is configured to record voice messages.
Message sending module 2908 is configured to send the voice message to the first contact.
Optionally, when there are multiple contacts sending the unread message, shortcut session windows of the multiple contacts and/or identification information of the multiple contacts are ordered according to feature information of the unread message sent by each contact.
In an alternative embodiment provided based on the embodiment shown in figure 29,
the window display module 2905 is further configured to display a session window of a target contact when a pan-tilt operation is detected, where the target contact is a contact that sends an unread message of a specified type.
In an alternative embodiment provided based on the embodiment shown in fig. 29, the first entry in the message list in which the unread message exists is in a selected state; referring to fig. 30, the apparatus further includes: entry switching module 2909.
A signal receiving module 2904 is configured to receive a second operation signal corresponding to the message icon.
An entry switching module 2909 is configured to switch an entry in the message list that is in the selected state from the first entry to a second entry.
In an alternative embodiment provided based on the embodiment shown in fig. 29, the message icon correspondingly displays an angle mark, and the angle mark is used for prompting the existence of the unread message; referring to fig. 30, the apparatus further includes: the module 2910 is eliminated.
And the eliminating module 2910 is configured to eliminate the corner mark when receiving a touch operation signal corresponding to the corner mark.
In an alternative embodiment provided based on the embodiment shown in fig. 29, the apparatus further comprises: style switching module 2911.
A signal receiving module 2904 is configured to receive a third operation signal corresponding to the message icon.
A style switching module 2911, configured to switch the message icon in the target user interface from the first style to a second style.
In an alternative embodiment provided based on the embodiment shown in figure 29,
a signal receiving module 2904 is configured to receive a fourth operation signal corresponding to the message icon.
The interface display module 2901 is configured to display an icon selection interface.
A signal receiving module 2904 is configured to receive a selection signal of the message icon corresponding to a third style in the icon selection interface.
The icon display module 2903 is configured to display the message icon of the third style in the target user interface.
In an alternative embodiment provided based on the embodiment shown in fig. 29, referring to fig. 30, the apparatus further comprises: and a mobile module 2912.
The signal receiving module 2904 is configured to receive a drag operation signal acting on the message icon.
And the movement module 2912 is used for controlling the elements in the message icon to move along the dragging direction of the dragging operation signal.
Fig. 31 shows a block diagram of a terminal 3100 provided in an exemplary embodiment of the present application. The terminal 3100 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion picture expert compression standard audio plane 3), an MP4 (Moving Picture Experts Group Audio Layer IV, motion picture expert compression standard audio plane 4) player, a notebook computer, or a desktop computer. Terminal 3100 may also be referred to by other names of user devices, portable terminals, laptop terminals, desktop terminals, and the like.
In general, terminal 3100 includes: a processor 3101 and a memory 3102.
The processor 3101 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 3101 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 3101 may also include a main processor, which is a processor for processing data in the awake state, also referred to as a CPU (Central Processing Unit, central processor); a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 3101 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and drawing of content required to be displayed by the display screen. In some embodiments, the processor 3101 may also include an AI (Artificial Intelligence ) processor for processing computing operations related to machine learning.
Memory 3102 may include one or more computer-readable storage media, which may be non-transitory. Memory 3102 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 3102 is used to store at least one instruction for execution by processor 3101 to implement the method of displaying message icons provided by the method embodiments of the present application.
In some embodiments, terminal 3100 may further optionally include: a peripheral interface 3103, and at least one peripheral device. The processor 3101, memory 3102, and peripheral interface 3103 may be connected by buses or signal lines. The various peripheral devices may be connected to the peripheral device interface 3103 by buses, signal lines or circuit boards. Specifically, the peripheral device includes: at least one of radio frequency circuitry 3104, a display screen 3105, a camera assembly 3106, audio circuitry 3107, a positioning assembly 3108, and a power supply 3109.
In some embodiments, terminal 3100 can further comprise one or more sensors. The one or more sensors include, but are not limited to: acceleration sensor, gyroscope sensor, pressure sensor, fingerprint sensor, optical sensor, and proximity sensor.
Those skilled in the art will appreciate that the structure shown in fig. 31 is not limiting and that terminal 3100 may include more or fewer components than shown, or may combine certain components, or may employ a different arrangement of components.
In an exemplary embodiment, there is also provided a computer-readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which are loaded and executed by a processor of an electronic device to implement the above-described message icon display method.
Alternatively, the above-described computer-readable storage medium may be a ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, or the like.
In an exemplary embodiment, a computer program product is also provided, which, when executed, is adapted to carry out the above-described method of displaying a message icon.
It should be understood that references herein to "a plurality" are to two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship. The terms "first," "second," and the like, as used herein, do not denote any order, quantity, or importance, but rather are used to distinguish one element from another.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
The foregoing is illustrative of the present application and is not to be construed as limiting thereof, but rather as providing for the use of various modifications, equivalents, improvements or alternatives falling within the spirit and principles of the present application.

Claims (11)

1. A method for displaying a message icon, the method comprising:
displaying a target user interface, wherein the target user interface comprises a message icon, and the message icon is an icon for triggering the display of a message list;
selecting a first style from n styles of the message icon, wherein different styles are used for representing different attributes of unread messages in the message list, and n is an integer greater than 1;
displaying the message icon of the first style in the target user interface;
when a plurality of contacts for sending the unread message exist, receiving a first operation signal corresponding to the message icon;
displaying a shortcut session window of a first contact and identification information of the first contact, wherein the shortcut session window of a second contact is hidden, the first contact is a contact for sending the unread message, the second contact is another contact except the first contact in at least two contacts for sending the unread message, the shortcut session window and the identification information of the first contact are displayed in a suspending mode on the upper layer of the message list, and the sequence of the shortcut session window of the first contact is related to at least one of the type, the number and the importance level of the unread message;
Displaying unread messages from the first contact in a shortcut session window of the first contact;
receiving a switching instruction of a shortcut session window corresponding to the first contact, wherein the switching instruction refers to a sliding operation signal of the shortcut session window corresponding to the first contact;
and displaying a shortcut session window of the second contact according to the switching instruction.
2. The method of claim 1, wherein selecting a first style from n styles of the message icon comprises:
selecting the first style from the n styles according to the attribute information of the unread message;
wherein the attribute information includes at least one of: type, level of importance, number.
3. The method of claim 2, wherein selecting the first style from the n styles according to attribute information of the unread message comprises:
determining a target type of the newly received unread message;
determining the importance level of the newly received unread message according to the target type;
if the importance level of the newly received unread message meets a preset condition, acquiring the number of the unread messages belonging to the target type, and selecting a pattern matched with the target type and the number of the unread messages belonging to the target type from the n patterns as the first pattern;
If the importance level of the newly received unread message does not meet the preset condition, acquiring the number of the unread messages belonging to a specified type, and selecting a pattern matched with the number of the unread messages belonging to the specified type from the n patterns as the first pattern.
4. A method according to any one of claims 1 to 3, wherein after the displaying of the message icon of the first style in the target user interface, further comprising:
and when a shaking operation is detected, displaying a session window of a target contact, wherein the target contact is a contact for sending unread messages of a specified type.
5. A method according to any one of claims 1 to 3, wherein a first entry in the message list in which the unread message is present is in a selected state;
after the message icon of the first style is displayed in the target user interface, the method further comprises:
receiving a second operation signal corresponding to the message icon;
and switching the entry in the selected state in the message list from the first entry to a second entry.
6. A method according to any one of claims 1 to 3, wherein after the displaying of the message icon of the first style in the target user interface, further comprising:
Receiving a third operation signal corresponding to the message icon;
switching the message icon in the target user interface from the first style to a second style.
7. A method according to any one of claims 1 to 3, wherein after the displaying of the message icon of the first style in the target user interface, further comprising:
receiving a fourth operation signal corresponding to the message icon;
displaying an icon selection interface;
receiving a selection signal of the message icon corresponding to a third style in the icon selection interface;
displaying the message icon of the third style in the target user interface.
8. A method according to any one of claims 1 to 3, wherein after the displaying of the message icon of the first style in the target user interface, further comprising:
receiving a drag operation signal acting on the message icon;
and controlling the elements in the message icon to move along the dragging direction of the dragging operation signal.
9. A display device for message icons, the device comprising:
the interface display module is used for displaying a target user interface, wherein the target user interface comprises a message icon, and the message icon is an icon used for triggering the display of a message list;
A style selection module, configured to select a first style from n styles of the message icon, where different styles are used to characterize different attributes of unread messages in the message list, and n is an integer greater than 1;
an icon display module for displaying the message icon of the first style in the target user interface;
the signal receiving module is used for receiving a first operation signal corresponding to the message icon when a plurality of contacts for sending the unread message exist;
the window display module is used for displaying a shortcut session window of a first contact person and identification information of the first contact person, wherein the shortcut session window of a second contact person is hidden, the first contact person is a contact person sending the unread message, the second contact person is another contact person except the first contact person in at least two contact persons sending the unread message, the shortcut session window and the identification information of the first contact person are displayed at the upper layer of the message list in a suspending way, and the ordering of the shortcut session window of the first contact person is related to at least one of the type, the number and the importance level of the unread message;
The message display module is used for displaying unread messages from the first contact in the shortcut session window of the first contact;
the signal receiving module is further configured to receive a switching instruction corresponding to the shortcut session window of the first contact, where the switching instruction refers to a sliding operation signal corresponding to the shortcut session window of the first contact;
and the window display module is also used for displaying the shortcut session window of the second contact according to the switching instruction.
10. A terminal comprising a processor and a memory, wherein the memory stores at least one program, and wherein the at least one program is loaded and executed by the processor to implement the method for displaying a message icon according to any one of claims 1 to 8.
11. A computer-readable storage medium, in which at least one program is stored, the at least one program being loaded and executed by a processor to implement the method of displaying a message icon according to any one of claims 1 to 8.
CN201910426103.7A 2019-05-21 2019-05-21 Message icon display method and device, terminal and storage medium Active CN110134484B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910426103.7A CN110134484B (en) 2019-05-21 2019-05-21 Message icon display method and device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910426103.7A CN110134484B (en) 2019-05-21 2019-05-21 Message icon display method and device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN110134484A CN110134484A (en) 2019-08-16
CN110134484B true CN110134484B (en) 2024-02-13

Family

ID=67572347

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910426103.7A Active CN110134484B (en) 2019-05-21 2019-05-21 Message icon display method and device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110134484B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110737371A (en) * 2019-09-04 2020-01-31 珠海格力电器股份有限公司 information display method, device and computer readable medium
CN110598143B (en) * 2019-09-25 2021-05-11 腾讯科技(深圳)有限公司 Method, related device and system for displaying instant communication content
CN110989877B (en) * 2019-10-30 2021-09-17 重庆小雨点小额贷款有限公司 Message management method, related equipment and computer readable storage medium
CN110851035B (en) * 2019-11-12 2021-06-18 北京字节跳动网络技术有限公司 Session message display method and device, electronic equipment and storage medium
CN111596823B (en) * 2020-04-30 2022-05-17 北京字节跳动网络技术有限公司 Page display method and device and electronic equipment
CN113769371A (en) * 2020-06-10 2021-12-10 网易(杭州)网络有限公司 Message reminding method, device, equipment and storage medium
CN111885258B (en) * 2020-07-22 2021-11-16 维沃移动通信有限公司 Unread message display method and device, electronic equipment and storage medium
CN112165549A (en) * 2020-09-22 2021-01-01 珠海格力电器股份有限公司 Short message processing method, device, equipment and medium applied to intelligent terminal
CN112615775A (en) * 2020-12-31 2021-04-06 天津中新智冠信息技术有限公司 Message marking method, device, storage medium and electronic equipment
CN112783591A (en) * 2021-01-27 2021-05-11 北京字跳网络技术有限公司 Interaction method, interaction device, electronic equipment and storage medium
CN112965647B (en) * 2021-04-07 2023-05-26 联仁健康医疗大数据科技股份有限公司 Message processing method and device, electronic equipment and storage medium
CN113794803B (en) * 2021-08-06 2023-02-24 维沃移动通信(杭州)有限公司 Unread message prompting method, unread message prompting device, electronic equipment and unread message prompting medium
CN113791709A (en) * 2021-08-20 2021-12-14 北京达佳互联信息技术有限公司 Page display method and device, electronic equipment and storage medium
CN114020379A (en) * 2021-10-19 2022-02-08 青岛海信移动通信技术股份有限公司 Terminal device, information feedback method and storage medium
CN115378893A (en) * 2022-08-26 2022-11-22 维沃移动通信有限公司 Message processing method and device, electronic equipment and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013075575A1 (en) * 2011-11-25 2013-05-30 腾讯科技(深圳)有限公司 Method and system for displaying unread message
CN105117157A (en) * 2015-08-11 2015-12-02 深圳市金立通信设备有限公司 Corner mark switching method and terminal
CN105653132A (en) * 2015-12-31 2016-06-08 北京金山安全软件有限公司 Message notification method and device and electronic equipment
CN106210297A (en) * 2016-06-30 2016-12-07 维沃移动通信有限公司 A kind of message treatment method and mobile terminal
CN106325671A (en) * 2016-08-16 2017-01-11 浙江翼信科技有限公司 Message reply method and device
CN109471690A (en) * 2018-10-15 2019-03-15 维沃移动通信有限公司 A kind of message display method and terminal device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105119799B (en) * 2015-06-15 2019-11-19 阿里巴巴集团控股有限公司 Instant communication information processing method and client
CN107404387A (en) * 2016-05-19 2017-11-28 阿里巴巴集团控股有限公司 The processing method of one species information, device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013075575A1 (en) * 2011-11-25 2013-05-30 腾讯科技(深圳)有限公司 Method and system for displaying unread message
CN105117157A (en) * 2015-08-11 2015-12-02 深圳市金立通信设备有限公司 Corner mark switching method and terminal
CN105653132A (en) * 2015-12-31 2016-06-08 北京金山安全软件有限公司 Message notification method and device and electronic equipment
CN106210297A (en) * 2016-06-30 2016-12-07 维沃移动通信有限公司 A kind of message treatment method and mobile terminal
CN106325671A (en) * 2016-08-16 2017-01-11 浙江翼信科技有限公司 Message reply method and device
CN109471690A (en) * 2018-10-15 2019-03-15 维沃移动通信有限公司 A kind of message display method and terminal device

Also Published As

Publication number Publication date
CN110134484A (en) 2019-08-16

Similar Documents

Publication Publication Date Title
CN110134484B (en) Message icon display method and device, terminal and storage medium
JP6842799B2 (en) Sharing user-configurable graphic structures
KR102586855B1 (en) Combining first user interface content into a second user interface
US11290683B2 (en) User interfaces to facilitate multiple modes of electronic communication
US20160259502A1 (en) Diverse emojis/emoticons
CN103442201B (en) Enhancing interface for voice and video communication
US8373799B2 (en) Visual effects for video calls
RU2488232C2 (en) Communication network and devices for text to speech and text to facial animation conversion
JP6609361B2 (en) Multi-participant live communication user interface
US20070086773A1 (en) Method for creating and operating a user interface
US20170093785A1 (en) Information processing device, method, and program
CN103189864A (en) Methods and apparatuses for determining shared friends in images or videos
WO2017157174A1 (en) Information processing method, device, and terminal device
KR20200132995A (en) Creative camera
CN111464430B (en) Dynamic expression display method, dynamic expression creation method and device
JP2023524119A (en) Facial image generation method, device, electronic device and readable storage medium
CN110784597A (en) Automatic camera selection
CN113126875B (en) Virtual gift interaction method and device, computer equipment and storage medium
CN113709022A (en) Message interaction method, device, equipment and storage medium
CN114338572B (en) Information processing method, related device and storage medium
CN114327197A (en) Message sending method, device, equipment and medium
JP2004054471A (en) Communication terminal for displaying emotion/action expression of character from face character and communication mediating system using the same terminal
CN114330403B (en) Graphic code processing method, device, equipment and medium
EP4300409A1 (en) Method and device for generating emotional combination content
CN117278511A (en) Message processing method, device, electronic equipment and storage medium

Legal Events

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