WO2022127604A1 - 未读消息的展示方法、装置、电子设备和存储介质 - Google Patents
未读消息的展示方法、装置、电子设备和存储介质 Download PDFInfo
- Publication number
- WO2022127604A1 WO2022127604A1 PCT/CN2021/134948 CN2021134948W WO2022127604A1 WO 2022127604 A1 WO2022127604 A1 WO 2022127604A1 CN 2021134948 W CN2021134948 W CN 2021134948W WO 2022127604 A1 WO2022127604 A1 WO 2022127604A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- unread
- message
- unread message
- target
- display area
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 62
- 230000004044 response Effects 0.000 claims abstract description 44
- 230000002452 interceptive effect Effects 0.000 claims description 106
- 230000000977 initiatory effect Effects 0.000 claims description 70
- 230000000694 effects Effects 0.000 claims description 65
- 230000003993 interaction Effects 0.000 claims description 27
- 238000004590 computer program Methods 0.000 claims description 11
- 230000009471 action Effects 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 8
- 238000012544 monitoring process Methods 0.000 description 7
- 230000001960 triggered effect Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 238000013461 design Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000007667 floating Methods 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 101000822695 Clostridium perfringens (strain 13 / Type A) Small, acid-soluble spore protein C1 Proteins 0.000 description 1
- 101000655262 Clostridium perfringens (strain 13 / Type A) Small, acid-soluble spore protein C2 Proteins 0.000 description 1
- 101000655256 Paraclostridium bifermentans Small, acid-soluble spore protein alpha Proteins 0.000 description 1
- 101000655264 Paraclostridium bifermentans Small, acid-soluble spore protein beta Proteins 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/21—Monitoring or handling of messages
- H04L51/216—Handling conversation history, e.g. grouping of messages in sessions or threads
Definitions
- the embodiments of the present disclosure relate to the field of computer technology, for example, to a method, apparatus, electronic device, and storage medium for displaying unread messages.
- a message page in an instant messaging (Instant Messaging, IM) product for displaying messages received by a user and sent by a friend generally adopts a three-tier design.
- the core of the three-tier design is storage, which is designed to allow users to quickly identify which friends have sent messages to them.
- a prompt mark is added, that is, the prompt mark is added to the friends who have unread messages on the message page, so that users can quickly distinguish friends who have unread messages, and enter the View the unread messages sent by the friend on the friend's conversation page.
- Embodiments of the present disclosure provide a method, apparatus, electronic device, and storage medium for displaying unread messages, so as to simplify operations required for viewing unread messages.
- an embodiment of the present disclosure provides a method for displaying unread messages, including:
- the current unread messages displayed in the unread message display area are switched to unread messages other than the current unread messages sent by the target sending user, and the target sending user For the user who sent the target unread message.
- an embodiment of the present disclosure further provides an apparatus for displaying unread messages, including:
- a page display module configured to display a message list page, where unread message thumbnails are displayed on the message list page;
- a first trigger module configured to receive a first trigger operation acting on the thumbnail of the target unread message
- a message display module configured to display an unread message display area in response to the first trigger operation, and display the target unread message corresponding to the target unread message thumbnail in the unread message display area;
- a second trigger module configured to receive a second trigger operation for switching the current unread message displayed in the unread message display area, where the current unread message includes the target unread message;
- a message switching module configured to, in response to the second trigger operation, switch the current unread message displayed in the unread message display area to an unread message other than the current unread message sent by the target sending user , the target sending user is the user who sends the target unread message.
- an embodiment of the present disclosure also provides an electronic device, including:
- memory arranged to store at least one program
- the at least one processor When the at least one program is executed by the at least one processor, the at least one processor implements the method for displaying unread messages according to the embodiment of the present disclosure.
- an embodiment of the present disclosure further provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the method for displaying unread messages according to the embodiment of the present disclosure.
- FIG. 1 is a schematic flowchart of a method for displaying unread messages according to an embodiment of the present disclosure
- FIG. 2 is a schematic diagram of a message list page according to an embodiment of the present disclosure
- FIG. 3 is a schematic diagram of an unread message display area provided by an embodiment of the present disclosure.
- FIG. 4 is a schematic diagram of another unread message display area provided by an embodiment of the present disclosure.
- FIG. 5 is a schematic diagram of a third unread message display area provided by an embodiment of the present disclosure.
- FIG. 6 is a schematic flowchart of another method for displaying unread messages according to an embodiment of the present disclosure
- FIG. 7 is a structural block diagram of an apparatus for displaying unread messages according to an embodiment of the present disclosure.
- FIG. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
- the term “including” and variations thereof are open-ended inclusions, ie, "including but not limited to”.
- the term “based on” is “based at least in part on.”
- the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one additional embodiment”; the term “some embodiments” means “at least some embodiments”. Relevant definitions of other terms will be given in the description below.
- FIG. 1 is a schematic flowchart of a method for displaying unread messages according to an embodiment of the present disclosure.
- the method may be performed by an apparatus for displaying unread messages, wherein the apparatus may be implemented by software and/or hardware, and may be configured in an electronic device, such as a mobile phone or a tablet computer.
- the method for displaying unread messages provided by the embodiments of the present disclosure is suitable for the scenario of viewing unread messages sent by other users, and is especially suitable for viewing multiple unread messages sent by other users.
- the method for displaying unread messages provided by this embodiment may include:
- the message list page may be understood as any page used to push at least one message sent by another user to the initiating user, such as a message list page in an instant messaging application.
- the initiating user may be understood as the user who instructs the electronic device to display the message list page, and also the user who initiates the subsequent trigger operation.
- the unread message thumbnail can be understood as the thumbnail of the unread message received by the initiating user.
- the unread message can be understood as a message that has not been read by the initiating user, which can include any type of unread messages, such as text messages whose message content is text, video messages whose message content is video, voice messages whose message content is voice, and messages Red envelope messages with red envelopes to be claimed, special effects sharing messages with special effects, live broadcast room invitation messages inviting users to enter the live broadcast room, chat room invitation messages inviting users to enter the chat room, and game invitations inviting users to enter the game
- the message and/or the content of the message is a linked message, etc.
- the initiating user wants to view the message list page, he can perform a corresponding trigger operation, such as an operation of clicking the message button at the bottom of the currently displayed page;
- a trigger operation such as an operation of clicking the message button at the bottom of the currently displayed page;
- the message list page can be displayed, and the user information of at least one sending user with unread messages (that is, the user who sent the unread message to the initiating user) and the user information of at least one sending user are displayed on the message list page. Thumbnails of unread messages.
- the display page may display at least one other user (including a message that interacts with the initiating user (that is, has sent a message to the initiating user and/or has sent a message to the initiating user) on the display page.
- Unread message thumbnails of unread messages sent by users such as text unread message thumbnails (not shown in Figure 2), voice unread message thumbnails (not shown in Figure 2), red envelope unread message thumbnails Thumbnail (reference numeral 20), special effect unread message thumbnail (reference numeral 21), live room unread message thumbnail (reference numeral 22), chat room unread message thumbnail (reference numeral 23), link Unread message thumbnails (reference numeral 24), game unread message thumbnails (reference numeral 25), and/or video unread message thumbnails (reference numeral 26) to facilitate the initiating user by triggering an unread message Message Thumbnails View unread messages sent by the corresponding sending user.
- the unread message thumbnails of different types of unread messages may be different.
- the unread message thumbnails of the sender's multiple types of unread messages can be displayed on the message list page respectively; or only one type of unread messages can be displayed.
- the unread message thumbnail such as the unread message thumbnail showing the last unread message sent by the user or the unread message thumbnail showing the unread message with the highest priority of the message type among multiple unread messages.
- the unread message thumbnails of the multiple unread messages in the message type can be displayed separately, or only the unread message of one unread message in the message type can be displayed.
- Unread message thumbnails such as the unread message thumbnails showing the last unread message sent by the sending user in this message type. The following is an example of only displaying the unread message thumbnails of an unread message sent by each sending user on the message list page.
- the thumbnail of the target unread message can be understood as the thumbnail of the unread message acted on by the first trigger operation;
- the target sending user can be understood as the sending user corresponding to the thumbnail of the target unread message, that is, the thumbnail of the target unread message is sent.
- the user of the unread message corresponding to the thumbnail is understood as the thumbnail of the unread message acted on by the first trigger operation;
- the electronic device displays a message list page, and displays an unread message thumbnail of a certain unread message of each sending user on the message list page; the initiating user wants to view the corresponding unread message thumbnail.
- trigger such as clicking or dragging
- the thumbnail of the unread message displayed on the message list page or, when the initiating user wants to view an unread message sent by a sending user, trigger the unread message on the message list page.
- the displayed thumbnail of the unread message of the sending user correspondingly, when the electronic device detects a thumbnail of an unread message in the message list page triggered by the initiating user, it determines that the first trigger operation is received, and can
- the read message thumbnail is used as the target unread message thumbnail, and the sending user corresponding to the unread message thumbnail is used as the target sending user.
- the target unread message may be an unread message corresponding to the thumbnail image of the target unread message.
- the unread message display area can be understood as an area used to display unread messages, and the unread message display area can be located in a page other than the message list page, as shown in Figure 3 ( Figure 3 shows the red envelopes to be received as example); it can also be located on the upper layer of the message list page, for example, the unread message display area can be displayed in the form of a floating layer or a pop-up window above the message list page, so as to realize the display of unread messages without page switching. Display, as shown in Figure 4 ( Figure 4 shows the red envelope to be received as an example).
- the target unread message may be displayed on other pages different from the message list page, or may be displayed in a floating layer or a pop-up window located on the upper layer of the message list page.
- the size of the unread message display area can be preset, or it can be determined according to the message type or message content of the unread message currently to be displayed, that is, when the message type and/or Or when the message content is different, the size of the unread message display area may be the same or different.
- the electronic device when monitoring the first trigger operation, switches the current display page from the message list page to the display page of the unread message display area, and displays the target unread message in the unread message display area of the page.
- the target unread message corresponding to the thumbnail or, when monitoring the first trigger operation, the electronic device displays the unread message display area on the upper layer of the currently displayed page, and displays the target unread message thumbnail in the unread message display area.
- the target unread message corresponding to the thumbnail when monitoring the first trigger operation, the electronic device switches the current display page from the message list page to the display page of the unread message display area, and displays the target unread message in the unread message display area of the page.
- the target unread message corresponding to the thumbnail when monitoring the first trigger operation, the electronic device switches the current display page from the message list page to the display page of the unread message display area, and displays the target unread message in the unread message display area of the page.
- the target unread message corresponding to the thumbnail when monitoring the first trigger operation, the electronic device displays
- the display mode of the message display page corresponding to each type of unread message can also be preset (for example, displayed on the upper layer of the message list page or displayed on other pages independent of the message list page),
- the electronic device receives the first trigger operation, it first determines the message type of the target unread message corresponding to the target unread message thumbnail, and then displays the message display page in a display mode corresponding to the message type of the target unread message , and display the target unread message on the message display page.
- the target unread message is a red envelope to be received
- the target unread message is a video message
- the unread message display area can be displayed on a separate page from the message list page.
- the target unread message is an interactive unread message
- the method further includes: displaying an interactive control in the unread message display area; when receiving an interactive triggering operation acting on the interactive control , execute the interactive operation corresponding to the interactive control.
- interactive unread messages can be understood as messages that can be triggered, such as red envelopes to be received, special effects sharing messages or room invitation messages, game invitation messages, and so on.
- the interactive trigger operation can be understood as the trigger operation of the interactive control acting on the interactive message.
- the interaction operation may be an operation that initiates interaction between the user and the electronic device or other users.
- the electronic device when it receives the first trigger operation, it may display an unread message display area, and display the target unread message corresponding to the thumbnail image of the target unread message and the target unread message in the unread message display area.
- Interactive controls thus, when the initiating user wants to interact, he can click on the interactive controls displayed in the unread message display area; correspondingly, when the electronic device detects that the initiating user clicks on the interactive controls displayed in the unread message display area , you can perform the preset interactive operations when the interactive control is triggered, such as receiving red envelopes to be received (for the case where the target unread message is a red envelope to be received), shooting with corresponding special effects (for the target unread message is a special effect invitation message ), interact with other users in the room (for the case where the target unread message is a room invitation message), or perform corresponding game operations (for the case where the target unread message is a game invitation message), and so on.
- S104 Receive a second trigger operation for switching the current unread message displayed in the unread message display area, where the current unread message includes the target unread message.
- the current unread message can be understood as the unread message displayed in the unread message display area when the second trigger operation is received, that is, the last unread message displayed in the unread message display area before responding to the second trigger operation Read the message.
- the second trigger operation can be any operation that can instruct the electronic device to switch the unread messages of the target sending user displayed in the unread message display area.
- the displayed message switching control of the target sending user's unread messages correspondingly, the second triggering operation may be an operation of clicking the message switching control; or, the second triggering operation may be a sliding operation in the unread message display area , such as swipe up and down or swipe left and right.
- the following description will be given by taking the second trigger operation as an up and down sliding operation acting on the unread message display area as an example.
- the electronic device displays the unread messages (such as the target unread messages) of a certain sending user (such as the target sending user) in the unread message display area;
- the unread message is the next unread message
- an up and down swipe operation such as an upward swipe operation or a downward swipe operation
- the unread message other than the current unread message may be the previous unread message or the next unread message in the unread messages displayed on the message list page, or may be a message other than the current unread message Any other unread message other than the current unread message, the unread message other than the current unread message may be an unread message whose message type is the same or different from that of the current unread message, that is, the unread message except the current unread message Unread messages other than the current unread message may include unread messages of different message types from the current unread message, that is, this embodiment does not display unread messages in the unread message display area. The message type is limited, as long as it is an unread message received by the initiating user, it can be displayed in the unread message display area.
- the electronic device when the electronic device detects the upward sliding operation acting on the unread message display area, it can display the unread messages displayed in the unread message display area.
- the read message is switched to the next unread message of the currently displayed unread message; when the electronic device detects the swipe down operation acting on the unread message display area, it can The unread message is switched to the previous unread message of the currently displayed unread message.
- the unread message sorting rules of the sending user can be preset, such as sorting the unread messages sent by the target sending user to the initiating user according to the order of sending time or receiving time.
- multiple unread messages of the sending user can be sorted based on the sorting rule to obtain a list of unread messages of the sending user, and when a second trigger operation is received, based on the The unread message list determines the next unread message or the previous unread message of the unread message currently displayed in the unread message display area.
- the method for displaying unread messages may further include: if the target sending user does not have unread messages other than the current unread messages, displaying unread messages in the unread messages Displaying a user switching control in the display area; when receiving a third trigger operation acting on the user switching control, displaying the messages sent by the sending users other than the target sending user in the unread message display area unread messages; and/or, if the target sending user does not have unread messages other than the current unread messages, display a session control in the message list page; when receiving an action on the session During the fourth triggering operation of the control, the current display page is switched to the conversation page of the target sending user; the target unread message corresponding to the thumbnail image of the target unread message is displayed in the unread message display area Afterwards, the method further includes: switching the target unread message from an unread state to a read state.
- the initiating user after the initiating user has viewed all the unread messages of the target sending user, he can continue to view the unread messages of other sending users or enter the conversation page with the target sending user to chat with the target sending user.
- the judging rule for the electronic device to judge whether the target sending user has unread messages other than the current unread message can be set as needed.
- the target sending user In addition to the unread messages currently displayed in the area, whether the target sending user has other unread messages in the unread state, in addition to the unread messages currently displayed in the unread message display area, the target sending user also has In the case of other unread messages in the unread state, it is determined that the target sending user has unread messages other than the current unread messages, and the unread messages currently being displayed in the unread message display area are among the unread messages.
- the target sending user does not have other unread messages in the unread state, it is determined that the target sending user does not have unread messages other than the current unread message;
- determine the unread messages that need to be displayed in response to the second trigger operation and determine whether the target sending user has other unread messages in addition to the unread messages that need to be displayed in response to the second trigger operation If the target sending user has other unread messages in the unread state in addition to the unread messages that need to be displayed in response to the second trigger operation, it is determined that the target sending user has unread messages in the unread state.
- the target sending user does not have other unread messages in the unread state In the case of a message, it is determined that the target sending user does not have unread messages other than the unread messages that need to be displayed in response to the second trigger operation.
- the electronic device when the electronic device displays any unread message of the target sending user in the unread message display area, the electronic device can switch the unread message from the unread state to the read state, and when the current conditions meet the judgment target Whether the sending user has a trigger condition for unread messages other than the current unread message, such as when a second trigger operation is received, determine whether the target sending user has unread messages other than the current unread message message, and when it is determined that the target sending user does not have unread messages other than the current unread message, the user switching control 50 and/or the session control 51 are displayed in the unread message display area, as shown in Figure 5 ( FIG. 5 takes the simultaneous display of the user switch control 50 and the session control 51 as an example).
- the user switching control 50 can be triggered (such as clicking or dragging, etc.); correspondingly, when the electronic device detects that the initiating user has triggered the unread message display area
- the user switches the control 50 the following can be determined according to the preset user switching rules, such as the order of the number of interactions with the initiating user from more to less, or the order of the sending time of the last unread message from late to early, etc.
- the session control 51 can be triggered (such as clicking or dragging); accordingly,
- the electronic device detects that the initiating user triggers the session control 51 in the unread message display area, it can switch the currently displayed page to a session page between the initiating user and the target sending user, so that the initiating user can communicate with the target sending user in the session page. Have a conversation.
- the electronic device can switch the unread messages of the target sending user displayed in the unread message display area based on the unread message list of the target sending user.
- the operation of deleting the unread message from the unread message list of the target sending user may or may not be performed, which is not limited in this embodiment.
- the user switching control and/or the conversation control can also be displayed in the unread message display area all the time, so that the initiating user can switch the target sending user or have a conversation with the target sending user at any time.
- the electronic device can also pop up a session window in the message session page, so that the initiating user can directly have a conversation with the target sending user in the session area.
- the method for displaying unread messages further includes: receiving a fifth trigger operation acting on a return control in the unread message display area; and in response to the fifth trigger operation, displaying The currently displayed page is switched to the session page of the target sending user.
- the fifth trigger operation may be understood as a trigger operation acting on the return control in the unread message display area.
- the electronic device may return to the conversation page between the initiating user and the target sending user based on the fifth triggering operation of the initiating user, so as to facilitate the initiating user and the target sending user to have a conversation.
- the electronic device displays the unread messages of the target sending user in the unread message display area; when the initiating user wants to stop viewing the unread messages of the target sending user or wants to have a conversation with the target sending user, he can click the unread message.
- the return control 30 in the read message display area is shown in Figure 3-5; correspondingly, when the electronic device detects that the initiating user clicks the return control 30 in the unread message display area, it can switch the currently displayed page to the initiating user A session page with the target sending user, so that the initiating user can have a session with the target sending user in the session page.
- the initiating user wants to continue to view the message list page, he can click the list return control in the session page; thus, when the electronic device detects that the initiating user clicks the list returning control in the session page, the currently displayed page can be displayed by the initiating user.
- the conversation page with the target sending user is switched to the message list page.
- the display method, device, electronic device, and storage medium for unread messages provided in this embodiment display a message list page and display unread message thumbnails on the message list page.
- the unread message display area is displayed, and the target unread message corresponding to the thumbnail of the target unread message is displayed in the unread message display area.
- the current unread message displayed in the unread message display area is switched to the unread message except the current unread message of the target sending user of the sending target unread message.
- Current unread messages include target unread messages.
- the user can view different unread messages received by the user through corresponding trigger operations acting on the unread message display area, without the need for the user to manually search for unread messages for viewing, which can avoid the occurrence of unread messages. Read messages are missed and simplify the operations required to view unread messages.
- FIG. 6 is a schematic flowchart of another method for displaying unread messages provided by an embodiment of the present disclosure.
- the solution in this embodiment may be combined with at least one optional solution in the foregoing embodiments.
- the target unread message is a red envelope to be received
- the interactive control is an open control of the red envelope to be received
- an interactive triggering operation acting on the interactive control is received, execute the same operation as the red envelope.
- the interactive operation corresponding to the interactive control includes: receiving the red packet to be claimed when a first interactive trigger operation acting on the open control of the red packet to be claimed is received.
- the target unread message is a special effect sharing message
- the interactive control is a shooting control
- the target unread message corresponding to the thumbnail image of the target unread message is displayed in the unread message display area
- the method includes: displaying the preview effect of the target special effect shared by the special effect sharing message in the unread message display area; when receiving an interactive triggering operation acting on the interactive control, executing the corresponding interactive control
- the interactive operation includes: when a second interactive trigger operation acting on the shooting control is received, shooting with the target special effect.
- the target unread message is a room invitation message
- the interactive control includes user avatars of other users in the target room
- the target unread message thumbnail is displayed in the unread message display area.
- the corresponding target unread message includes: displaying the room picture of the target room corresponding to the room invitation message in the unread message display area, where the target room is a live broadcast room or a chat room;
- the interactive operation corresponding to the interactive control is performed, including: when a third interactive triggering operation acting on the user avatar of the target other user in the target room is received, displaying the interactive A window is used for the initiating user of the third interactive operation to interact with the target other user.
- the method for displaying unread messages includes:
- the target unread message corresponding to the target unread message thumbnail is a red envelope to be received, then in response to the first trigger operation, display an unread message display area, and display it in the unread message display area
- the electronic device displays the thumbnails (reference numeral 20) of the unread messages of the red envelopes to be received in the message list page (that is, the thumbnails of the unread messages of the red envelopes to be received);
- the electronic device detects that the initiating user clicks on the red envelope to be claimed.
- the unread message display area is displayed, and the red envelope to be received and the opening control 31 of the red envelope to be received are displayed in the unread message display area, as shown in Figure 3 and 4 shown.
- the first interactive trigger operation can be understood as an interactive trigger operation for receiving the red envelopes to be claimed displayed in the display area of unread messages, such as clicking the display area of the red envelopes to be claimed or the operation of clicking the open control of the red packets to be claimed, as follows.
- the first interactive trigger operation is the operation of clicking the open control of the red envelope to be claimed as an example for description.
- the electronic device displays the red envelope to be claimed in the unread message display area; when the initiating user wants to receive the red envelope to be claimed, click the open control 31 of the red envelope to be claimed; correspondingly,
- the electronic device displays the received screen when the red envelope to be received is completed, and can correspondingly modify the account of the login account of the initiating user based on the amount in the red envelope to be received. balance.
- the target unread message corresponding to the target unread message thumbnail is a special effect sharing message
- the target unread message corresponding to the target unread message thumbnail is a special effect sharing message
- display an unread message display area in response to the first trigger operation, display an unread message display area, and display it in the unread message display area
- the target special effect is the special effect shared by the initiating user to trigger the special effect sharing message of the thumbnail of his unread message.
- the target shared by the special effect sharing message can be directly displayed in the unread message display area
- the preview effect of special effects so that the initiating user can intuitively view the target special effect shared by the special effect sharing message, and avoid the initiating user who wants to view the target special effect shared by a certain special effect sharing message.
- the trigger operation controls the electronic device to completely display the special effect sharing message, and the corresponding trigger operation for viewing the preview effect of the target special effect needs to be performed again to switch the current display page to the shooting preview page to realize the preview of the target special effect shared by the special effect sharing message.
- the display of the effect simplifies the operations required to initiate the user to view the target special effect.
- the electronic device displays the special effect unread message thumbnail (reference numeral 21) of the special effect sharing message on the message list page (that is, the unread message thumbnail of the special effect sharing message);
- the electronic device detects the initiating user
- the second trigger operation is any interactive trigger operation that can trigger the shooting controls in the unread message display area, such as an operation of clicking on the shooting controls in the unread message display area or triggering the unread message display through a corresponding voice command, etc.
- the shooting controls in the area are used to instruct the electronic device to perform shooting operations, etc., which is not limited in this embodiment.
- the electronic device displays the shooting screen and shooting controls after adding the target special effect in the unread message display area; initiating the user to trigger the shooting control displayed in the unread message display area when the target special effect is to be used for shooting;
- the electronic device detects that the initiating user triggers the shooting control in the unread message display area, the electronic device can shoot a picture with the special effect of the target added.
- the target unread message corresponding to the target unread message thumbnail is a room invitation message
- display an unread message display area and display all the unread messages in the unread message display area.
- the room picture of the target room corresponding to the room invitation message, the target room is a live room or a chat room, and the room picture contains the user avatar of at least one other user in the target room.
- the room invitation message may include a live room invitation message and/or a chat room invitation message
- the target room may include a live room invited by the live room invitation message or a chat room invited by the chat room invitation message, Such as double chat room or multi-person chat room.
- the avatars of other users displayed in the room screen may include the avatars of the host, the avatars of users who give gifts to the host, and/or the avatars of users who send chat messages in the target room (for example, when the chat messages are displayed, the chat messages are displayed correspondingly at the same time). the avatar of the user of the message), etc.
- the electronic device displays the unread message thumbnails (reference numeral 22 ) of the live room invitation message (that is, the unread message thumbnail of the live room invitation message) and/or the chat room invitation message in the message list page
- the unread message thumbnail of the chat room (reference numeral 23) (that is, the unread message thumbnail of the chat room invitation message).
- the initiating user wants to enter the live room invited by a live room invitation message, he can click on the unread message thumbnail (reference numeral 22) of the live room invitation message displayed on the message list page; , when the electronic device detects that the initiating user clicks on the unread message thumbnail (reference numeral 22) of a live room invitation message displayed in a certain live room invitation message displayed on the message list page, the electronic device displays the unread message display area, and displays the unread message in the unread room.
- the live room screen of the live room corresponding to the live room invitation message is displayed in the message display area, so as to facilitate the initiating user to watch the live broadcast.
- the initiating user when the initiating user wants to enter a chat room invited by a certain chat room invitation message, he may click on the chat room unread message thumbnail of the chat room invitation message displayed on the message list page (reference numeral 23).
- the electronic device detects that the initiating user clicks on the chat room unread message thumbnail (reference numeral 23) of a certain chat room invitation message displayed in the message list page, it displays the unread message display area, and in this The unread message display area displays the chat room picture of the chat room corresponding to the chat room invitation message, such as the video picture of the video played in the chat room, so as to facilitate the user to watch.
- the third interactive triggering operation may be understood as an interactive triggering operation that triggers any interactive control in the room screen that can interact with other users in the room, such as an operation of clicking the user avatars of other users in the target room.
- the target other users may be other users corresponding to the third interactive operation, such as other users to which the avatars acted on by the third interactive operation belong.
- the electronic device displays the room picture of the target room in the unread message display area; when you want to interact with a certain other user in the target room, you can click on the image displayed in the unread message display area.
- the avatar of the user correspondingly, when the electronic device detects that the initiating user clicks on the avatar of a certain other user in the target room, it can display the interactive window of the other user, such as displaying the chat window of the other user, so as to facilitate the initiating user to communicate with the user. interact with the other user.
- the interactive controls may also include host interactive controls for interacting with the host in the target room, such as a gift control for sending gifts to the host and/or a chat area for sending chat content, etc., so that the initiating user can click the corresponding
- the anchor interaction control interacts with the anchor, such as sending gifts to the anchor or sending chat messages in the target room.
- the electronic device can also display the text unread message thumbnails of the unread text messages, the video unread message thumbnails of the unread video messages, and the unread text messages on the message list page.
- the electronic device can display the unread message display area when monitoring that the initiating user clicks on the text unread message thumbnail of a text message displayed on the message list page, and displays the text message in the unread message display area.
- the unread message display area When monitoring the initiating user clicking on the video unread message thumbnail of a video message displayed on the message list page, the unread message display area is displayed, and the video message is played in the unread message display area.
- the included video when it is detected that the initiating user clicks on the voice unread message thumbnail of a voice message displayed on the message list page, the unread message display area is displayed, and the voice message is displayed in the unread message display area and Play the voice content contained in the voice message; when it is detected that the initiating user clicks on a game invitation message thumbnail displayed on the message list page, the unread message display area is displayed, and the unread message display area is displayed.
- the unread message thumbnail is directly displayed in the unread message display area.
- FIG. 7 is a structural block diagram of an apparatus for displaying unread messages according to an embodiment of the present disclosure.
- the apparatus may be implemented by software and/or hardware, and may be configured in an electronic device, typically, a mobile phone or a tablet computer, and may display unread messages by executing a method for displaying unread messages.
- the apparatus for displaying unread messages provided in this embodiment may include: a page display module 701, a first trigger module 702, a message display module 703, a second trigger module 704, and a message switch module 705, wherein,
- the page display module 701 is configured to display a message list page, and the unread message thumbnails are displayed on the message list page;
- the first trigger module 702 is configured to receive a first trigger operation acting on the thumbnail of the target unread message
- the message display module 703 is configured to display the unread message display area in response to the first trigger operation, and display the target unread message corresponding to the target unread message thumbnail in the unread message display area;
- the second trigger module 704 is configured to receive a second trigger operation of switching the current unread message displayed in the unread message display area, where the current unread message includes the target unread message;
- the message switching module 705 is configured to, in response to the second trigger operation, switch the current unread message displayed in the unread message display area to the unread message other than the current unread message sent by the target sending user message, and the target sending user is the user who sent the target unread message.
- the display device for unread messages displays a message list page through the page display module, and displays the unread message thumbnails on the message list page, and receives through the first trigger module a message acting on the target unread message thumbnails
- the first trigger operation is to display the unread message display area through the message display module in response to the first trigger operation, and display the target unread message corresponding to the thumbnail of the target unread message in the unread message display area.
- the trigger module receives a second trigger operation of switching the current unread messages displayed in the unread message display area, and the message switching module responds to the second trigger operation to switch the current unread messages displayed in the unread message display area.
- unread messages of the user other than the current unread message are sent, where the current unread message includes the target unread message.
- the user can view different unread messages received by the user through corresponding trigger operations acting on the unread message display area, without the need for the user to manually search for unread messages for viewing, which can avoid the occurrence of unread messages. Read messages are missed and simplify the operations required to view unread messages.
- the unread messages other than the current unread messages include unread messages of different message types from the current unread messages.
- the apparatus for displaying unread messages further includes: a user switching module configured to, when the target sending user does not have unread messages other than the current unread message, Displaying a user switching control in the unread message display area; when receiving a third trigger operation acting on the user switching control, displaying the messages sent by sending users other than the target sending user in the unread message display area an unread message sent by a user; and/or, the first conversation module is configured to display a conversation control on the message list page when the target sending user does not have an unread message other than the current unread message ;
- the state switching module is set to be described in the unread message display area in the After displaying the target unread message corresponding to the target unread message thumbnail, the target unread message is switched from an unread state to a read state.
- the apparatus for displaying unread messages further includes: a second conversation module configured to receive a fifth trigger operation acting on a return control in the unread message display area; The fifth triggering operation is to switch the currently displayed page to the session page of the target sending user.
- the target unread message is an interactive unread message
- the display device for unread messages provided in this embodiment further includes: an interactive control display module configured to display interactive controls in the unread message display area;
- the interaction module is configured to execute an interaction operation corresponding to the interaction control when receiving an interaction trigger operation acting on the interaction control.
- the target unread message is a red envelope to be claimed
- the interactive control is an open control for the red envelope to be claimed
- the interactive module may be set to: after receiving the open control acting on the red envelope to be claimed.
- the target unread message is a special effect sharing message
- the interactive control is a shooting control
- the message display module 703 may be configured to: in response to the first trigger operation, display an unread message display area, and The preview effect of the target special effect shared by the special effect sharing message is displayed in the unread message display area; the interaction module may be set to: when receiving the second interaction trigger operation acting on the shooting control, use The target special effects are photographed.
- the target unread message is a room invitation message
- the interactive control is user avatars of other users in the target room
- the message display module 703 may be configured to: in response to the first trigger operation, display The unread message display area, and the room screen of the target room corresponding to the room invitation message is displayed in the unread message display area, and the target room is a live room or a chat room; the interaction module can be set to receive When the third interaction triggers the operation on the user avatar of the target other user in the target room, an interaction window is displayed for the initiating user of the third interaction operation to interact with the target other user:.
- the apparatus for displaying unread messages provided by the embodiments of the present disclosure can execute the method for displaying unread messages provided in any embodiment of the present disclosure, and has functional modules corresponding to executing the method for displaying unread messages.
- the apparatus for displaying unread messages provided by the embodiments of the present disclosure can execute the method for displaying unread messages provided in any embodiment of the present disclosure, and has functional modules corresponding to executing the method for displaying unread messages.
- FIG. 8 it shows a schematic structural diagram of an electronic device (eg, a terminal device) 800 suitable for implementing an embodiment of the present disclosure.
- Terminal devices in the embodiments of the present disclosure may include, but are not limited to, such as mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (Personal Digital Assistant, PDA), PAD (tablet computers), portable multimedia players (Portable Media Players) , PMP), mobile terminals such as in-vehicle terminals (eg, in-vehicle navigation terminals), etc., as well as fixed terminals such as digital televisions (Television, TV), desktop computers, and the like.
- PDA Personal Digital Assistant
- PAD tablet computers
- PMP portable multimedia players
- PMP portable multimedia players
- the electronic device 800 may include a processing device (such as a central processing unit, a graphics processor, etc.) 801, which may be stored in a read-only memory (Read-Only Memory, ROM) 802 according to a program or from a storage device 806 performs various appropriate actions and processes by loading a program into a random access memory (RAM) 803 .
- ROM Read-Only Memory
- RAM random access memory
- various programs and data required for the operation of the electronic device 800 are also stored.
- the processing device 801, the ROM 802, and the RAM 803 are connected to each other through a bus 804.
- An Input/Output (I/O) interface 805 is also connected to the bus 804 .
- the following devices can be connected to the I/O interface 805: input devices 806 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a Liquid Crystal Display (LCD) Output device 807 , speaker, vibrator, etc.; storage device 806 including, for example, magnetic tape, hard disk, etc.; and communication device 809 .
- Communication means 809 may allow electronic device 800 to communicate wirelessly or by wire with other devices to exchange data. While FIG. 8 shows an electronic device 800 having various means, it should be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
- embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated in the flowchart.
- the computer program may be downloaded and installed from the network via the communication device 809, or from the storage device 806, or from the ROM 802.
- the processing device 801 the above-mentioned functions defined in the methods of the embodiments of the present disclosure are executed.
- the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two.
- a computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above.
- Computer readable storage media may include, but are not limited to, electrical connections having at least one wire, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable Read memory ((Erasable Programmable Read-Only Memory, EPROM) or flash memory), optical fiber, portable compact disk read only memory (Compact Disc-Read Only Memory, CD-ROM), optical storage device, magnetic storage device, or any of the above suitable combination.
- a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
- a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
- a computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .
- the program code embodied on the computer-readable medium may be transmitted by any suitable medium, including but not limited to: electric wire, optical fiber cable, radio frequency (RF), etc., or any suitable combination of the above.
- the client and server can use any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol) to communicate, and can communicate with digital data in any form or medium Communication (eg, a communication network) interconnects.
- HTTP HyperText Transfer Protocol
- Examples of communication networks include local area networks ("Local Area Network, LAN”), wide area networks ("Wide Area Network, WAN”), the Internet (eg, the Internet), and peer-to-peer networks (eg, ad hoc peer-to-peer networks), and any currently known or future developed networks.
- the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or may exist alone without being assembled into the electronic device.
- the computer-readable medium carries at least one program, and when the at least one program is executed by the electronic device, causes the electronic device to: display a message list page with thumbnail images of unread messages displayed on the message list page; The first trigger operation of the target unread message thumbnail; in response to the first trigger operation, display the unread message display area, and display the target corresponding to the target unread message thumbnail in the unread message display area unread message; receive a second trigger operation of switching the current unread message displayed in the unread message display area, the current unread message includes the target unread message; in response to the second trigger operation, the The current unread message displayed in the unread message display area is switched to an unread message other than the current unread message sent by the target sending user, and the target sending user is the user who sent the target unread message .
- Computer program code for performing operations of the present disclosure may be written in one or more programming languages, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and This includes conventional procedural programming languages - such as the "C" language or similar programming languages.
- the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server.
- the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider through Internet connection).
- LAN local area network
- WAN wide area network
- each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains at least one configurable function for implementing the specified logical function. Execute the instruction.
- the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
- each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented in dedicated hardware-based systems that perform the specified functions or operations , or can be implemented in a combination of dedicated hardware and computer instructions.
- the units involved in the embodiments of the present disclosure may be implemented in a software manner, and may also be implemented in a hardware manner. Among them, the name of the module does not constitute a limitation of the unit itself under certain circumstances.
- exemplary types of hardware logic components include: Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (Application Specific Standard Products) Standard Parts, ASSP), system on chip (System on Chip, SOC), complex programmable logic device (Complex Programmable Logic Device, CPLD) and so on.
- FPGAs Field Programmable Gate Arrays
- ASICs Application Specific Integrated Circuits
- ASSP Application Specific Standard Products
- SOC System on Chip
- complex programmable logic device Complex Programmable Logic Device, CPLD
- a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with the instruction execution system, apparatus or device.
- the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
- Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing.
- machine-readable storage media would include at least one wire-based electrical connection, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM) or flash memory), fiber optics, compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
- RAM random access memory
- ROM read only memory
- EPROM erasable programmable read only memory
- flash memory flash memory
- fiber optics compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
- CD-ROM compact disk read only memory
- magnetic storage devices or any suitable combination of the foregoing.
- Example 1 provides a method for displaying unread messages, including:
- the current unread messages displayed in the unread message display area are switched to unread messages other than the current unread messages sent by the target sending user, and the target sending user For the user who sent the target unread message.
- Example 2 According to the method of Example 1, the unread messages other than the currently unread messages include unread messages of a different message type from the currently unread message .
- Example 3 is the method of Example 1, further comprising:
- the method After displaying the target unread message corresponding to the thumbnail image of the target unread message in the unread message display area, the method further includes:
- the target unread message is switched from an unread state to a read state.
- Example 4 is the method of Example 1, further comprising:
- the currently displayed page is switched to the session page of the target sending user.
- Example 5 is the method according to any one of Examples 1-4, wherein the target unread message is an interactive unread message, and the method further includes:
- Example 6 is based on the method described in Example 5, the target unread message is a red envelope to be claimed, the interactive control is an open control for the red envelope to be claimed, the When the interactive trigger operation of the interactive control is performed, the interactive operation corresponding to the interactive control is performed, including:
- the red envelope to be claimed is claimed.
- Example 7 is the method according to Example 5, the target unread message is a special effect sharing message, the interactive control is a shooting control, and the display in the unread message display area
- the target unread message corresponding to the target unread message thumbnail includes:
- the performing an interactive operation corresponding to the interactive control when an interactive triggering operation acting on the interactive control is received including:
- the target special effect is used for shooting.
- Example 8 is the method according to Example 5, the target unread message is a room invitation message, the interactive control is user avatars of other users in the target room, and the The target unread message corresponding to the thumbnail image of the target unread message is displayed in the unread message display area, including:
- the performing an interactive operation corresponding to the interactive control when an interactive triggering operation acting on the interactive control is received including:
- an interaction window is displayed for the initiating user of the third interaction operation to interact with the target other user.
- Example 9 provides an apparatus for displaying unread messages, including:
- a page display module configured to display a message list page, where unread message thumbnails are displayed on the message list page;
- a first trigger module configured to receive a first trigger operation acting on the thumbnail of the target unread message
- a message display module configured to display an unread message display area in response to the first trigger operation, and display the target unread message corresponding to the target unread message thumbnail in the unread message display area;
- a second trigger module configured to receive a second trigger operation for switching the current unread message displayed in the unread message display area, where the current unread message includes the target unread message;
- a message switching module configured to, in response to the second trigger operation, switch the current unread message displayed in the unread message display area to an unread message other than the current unread message sent by the target sending user , the target sending user is the user who sends the target unread message.
- Example 10 provides an electronic device comprising:
- memory arranged to store at least one program
- the at least one processor When the at least one program is executed by the at least one processor, the at least one processor implements the method for displaying unread messages as described in any one of Examples 1-8.
- Example 11 provides a computer-readable storage medium having stored thereon a computer program that, when executed by a processor, implements the unread message as described in any of Examples 1-8 display method.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Software Systems (AREA)
- Entrepreneurship & Innovation (AREA)
- Human Resources & Organizations (AREA)
- Strategic Management (AREA)
- Data Mining & Analysis (AREA)
- Economics (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本公开实施例提供了一种未读消息的展示方法、装置、电子设备和存储介质。该方法包括:显示消息列表页面,消息列表页面中显示有未读消息缩略图;接收作用于目标未读消息缩略图的第一触发操作;响应于第一触发操作,显示未读消息展示区域,并在未读消息展示区域中展示目标未读消息缩略图对应的目标未读消息;接收切换未读消息展示区域中展示的当前未读消息的第二触发操作,当前未读消息包括目标未读消息;响应于第二触发操作,将未读消息展示区域中展示的当前未读消息切换为目标发送用户发送的除所述当前未读消息之外的未读消息,目标发送用户为发送目标未读消息的用户。
Description
本申请要求在2020年12月17日提交中国专利局、申请号为202011496564.0的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。
本公开实施例涉及计算机技术领域,例如涉及一种未读消息的展示方法、装置、电子设备和存储介质。
目前,即时通讯(Instant Messaging,IM)产品中用于陈放用户收到的好友发送的消息的消息页面一般采用三层式设计。
三层式设计的核心是收纳,旨在让用户快速明确哪些好友向自己发送了消息。在一些三层式设计中,增加了提示标记,即在消息页面中为存在未读消息的好友统一增加该提示标记,以便于用户能够更快地区分存在未读消息的好友,并进入与该好友的会话页面中查看该好友发送的未读消息。
然而,当好友发送的未读消息在会话页面中未连续排列时,用户需要逐一查找多个未读消息进行阅读,操作繁琐,且极易出现未读消息漏读的情况。
发明内容
本公开实施例提供一种未读消息的展示方法、装置、电子设备和存储介质,以简化查看未读消息所需的操作。
第一方面,本公开实施例提供了一种未读消息的展示方法,包括:
显示消息列表页面,所述消息列表页面中显示有未读消息缩略图;
接收作用于目标未读消息缩略图的第一触发操作;
响应于所述第一触发操作,显示未读消息展示区域,并在所述未读消息展 示区域中展示所述目标未读消息缩略图对应的目标未读消息;
接收切换所述未读消息展示区域中展示的当前未读消息的第二触发操作,所述当前未读消息包括所述目标未读消息;
响应于所述第二触发操作,将所述未读消息展示区域中展示的当前未读消息切换为目标发送用户发送的除所述当前未读消息之外的未读消息,所述目标发送用户为发送所述目标未读消息的用户。
第二方面,本公开实施例还提供了一种未读消息的展示装置,包括:
页面显示模块,设置为显示消息列表页面,所述消息列表页面中显示未读消息缩略图;
第一触发模块,设置为接收作用于目标未读消息缩略图的第一触发操作;
消息展示模块,设置为响应于所述第一触发操作,显示未读消息展示区域,并在所述未读消息展示区域中展示所述目标未读消息缩略图对应的目标未读消息;
第二触发模块,设置为接收切换所述未读消息展示区域中展示的当前未读消息的第二触发操作,所述当前未读消息包括所述目标未读消息;
消息切换模块,设置为响应于所述第二触发操作,将所述未读消息展示区域中展示的当前未读消息切换为目标发送用户发送的除所述当前未读消息之外的未读消息,所述目标发送用户为发送所述目标未读消息的用户。
第三方面,本公开实施例还提供了一种电子设备,包括:
至少一个处理器;
存储器,设置为存储至少一个程序,
当所述至少一个程序被所述至少一个处理器执行,使得所述至少一个处理器实现如本公开实施例所述的未读消息的展示方法。
第四方面,本公开实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本公开实施例所述的未读消息的展示方法。
图1为本公开实施例提供的一种未读消息的展示方法的流程示意图;
图2为本公开实施例提供的一种消息列表页面示意图;
图3为本公开实施例提供的一种未读消息展示区域示意图;
图4为本公开实施例提供的另一种未读消息展示区域示意图;
图5为本公开实施例提供的第三种未读消息展示区域示意图;
图6为本公开实施例提供的另一种未读消息的展示方法的流程示意图;
图7为本公开实施例提供的一种未读消息的展示装置的结构框图;
图8为本公开实施例提供的一种电子设备的结构示意图。
下面将参照附图更详细地描述本公开的实施例。
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“至少一个”。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
图1为本公开实施例提供的一种未读消息的展示方法的流程示意图。该方法可以由未读消息的展示装置执行,其中,该装置可以由软件和/或硬件实现,可配置于电子设备中,例如可以配置在手机或平板电脑中。本公开实施例提供的未读消息的展示方法适用于查看其他用户发送的未读消息的场景,尤其适用于查看其他用户发送的多条未读消息的场景。如图1所示,本实施例提供的未读消息的展示方法可以包括:
S101、显示消息列表页面,所述消息列表页面中显示有未读消息缩略图。
其中,消息列表页面可以理解为任一用于向发起用户推送至少一个其他用户发送的消息的页面,如即时通信应用中的消息列表页面。该发起用户可以理解为指示电子设备显示该消息列表页面的用户,亦为发起后续触发操作的用户。未读消息缩略图可以理解为发起用户接收到的未读消息的缩略图。该未读消息可以理解为发起用户尚未阅读的消息,其可以包括任意类型的未读消息,如消息内容为文字的文字消息、消息内容为视频的视频消息、消息内容为语音的语音消息、消息内容为红包的待领取红包消息、消息内容为特效的特效分享消息、邀请发起用户进入直播间的直播间邀请消息、邀请发起用户进入聊天室的聊天室邀请消息、邀请发起用户进入游戏的游戏邀请消息和/或消息内容为链接的链接类消息等。
示例性的,发起用户在欲查看消息列表页面时,可以执行相应的触发操作,如点击当前显示页面底部的消息按钮的操作等;相应的,电子设备在监测到发起用户执行了显示消息列表页面的触发操作时,可以显示消息列表页面,并在该消息列表页面中显示存在未读消息的至少一个发送用户(即向发起用户发送了未读消息的用户)的用户信息以及至少一个发送用户的未读消息缩略图。
在本实施例中,如图2所示,显示页面中可以显示有与发起用户存在消息 互动(即向发起用户发送过消息和/或发起用户向其发送过消息)的至少一个其他用户(包括发送用户和非发送用户)的用户信息,如用户头像、用户名和/或其与发起用户发送的最后一条消息的部分或全部内容;当存在发送用户时,消息列表页面中还显示有至少一个发送用户所发送的未读消息的未读消息缩略图,如文字未读消息缩略图(图2中未给出)、语音未读消息缩略图(图2中未给出)、红包未读消息缩略图(附图标记20)、特效未读消息缩略图(附图标记21)、直播间未读消息缩略图(附图标记22)、聊天室未读消息缩略图(附图标记23)、链接未读消息缩略图(附图标记24)、游戏未读消息缩略图(附图标记25)和/或视频未读消息缩略图(附图标记26),以便于发起用户通过触发某一未读消息缩略图查看相应发送用户发送的未读消息。此外,为了便于发起用户对不同类型的未读消息进行区分,不同类型的未读消息的未读消息缩略图可以不相同。当某一发送用户存在多种类型未读消息时,可以分别在消息列表页面中展示该发送用户的多个类型未读消息的未读消息缩略图;也可以仅展示一种类型的未读消息的未读消息缩略图,如展示该用户发送的最后一条未读消息的未读消息缩略图或展示多个未读消息中所属消息类型的优先级最高的未读消息的未读消息缩略图。当某一发送用户存在多条相同消息类型的未读消息时,可以分别展示该消息类型中多条未读消息的未读消息缩略图,也可以仅展示该消息类型中的一条未读消息的未读消息缩略图,如展示该消息类型中该发送用户发送的最后一条未读消息的未读消息缩略图。以下以仅在消息列表页面中分别展示每个发送用户发送的某一条未读消息的未读消息缩略图为例进行说明。
S102、接收作用于目标未读消息缩略图的第一触发操作。
其中,目标未读消息缩略图可以理解为第一触发操作所作用于的未读消息缩略图;目标发送用户可以理解为目标未读消息缩略图所对应的发送用户,即发送目标未读消息缩略图所对应的未读消息的用户。
示例性的,电子设备展示消息列表页面,并在消息列表页面中展示每个发送用户的某一条未读消息的未读消息缩略图;发起用户在欲查看某一未读消息 缩略图所对应的未读消息时,触发(如点击或拖动等)消息列表页面中显示的该未读消息缩略图,或者,发起用户在欲查看某一发送用户发送的未读消息时,触发消息列表页面中显示的该发送用户的未读消息缩略图;相应的,电子设备在监测到发起用户触发消息列表页面中的某一未读消息缩略图时,确定接收到第一触发操作,并可以将该未读消息缩略图作为目标未读消息缩略图,将该未读消息缩略图所对应的发送用户作为目标发送用户。
S103、响应于所述第一触发操作,显示未读消息展示区域,并在所述未读消息展示区域中展示所述目标未读消息缩略图对应的目标未读消息。
其中,目标未读消息可以为目标未读消息缩略图所对应的未读消息。未读消息展示区域可以理解为用于展示未读消息的区域,未读消息展示区域可以为一个位于不同于消息列表页面的其他页面内,如图3所示(图3以展示待领取红包为例);也可以为位于消息列表页面的上层,如未读消息展示区域可以在消息列表页面上方以浮层或弹窗的形式进行展示,以在无需进行页面切换的情况下实现未读消息的展示,如图4所示(图4以展示待领取红包为例)。相应的,目标未读消息可以在不同于消息列表页面的其他页面中进行展示,也可以在位于消息列表页面上层的浮层或弹窗中进行展示。当在消息列表页面的上层展示未读消息展示区域时,未读消息展示区域的尺寸可以预先设置,也可以根据当前需要展示的未读消息的消息类型或消息内容确定,即当消息类型和/或消息内容不相同时,未读消息展示区域的尺寸可以相同或不相同。
示例性的,电子设备在监测到第一触发操作时,将当前显示页面由消息列表页面切换为未读消息展示区域的显示页面,并在该页面的未读消息展示区域中展示目标未读消息缩略图所对应的目标未读消息;或者,电子设备在监测到第一触发操作时,在当前显示页面的上层展示未读消息展示区域,并在未读消息展示区域中展示目标未读消息缩略图所对应的目标未读消息。
可以理解的是,本实施例也可以预先设置每个类型未读消息所对应的消息展示页的显示方式(如在消息列表页面上层显示或是在独立于消息列表页面的 其他页面中显示),从而,电子设备在接收到第一触发操作时,首先确定目标未读消息缩略图所对应的目标未读消息的消息类型,然后采用与目标未读消息的消息类型对应的显示方式显示消息展示页,并在消息展示页中展示目标未读消息,如当目标未读消息为待领取红包时,可以直接在消息列表页面的上方显示未读消息展示区域;当目标未读消息为视频消息时,可以在独立于消息列表页面的其他页面中显示未读消息展示区域。
在一个实施方式中,所述目标未读消息为互动未读消息,所述方法还包括:在所述未读消息展示区域内展示互动控件;当接收到作用于所述互动控件的互动触发操作时,执行与所述互动控件对应的互动操作。
其中,互动未读消息可以理解为能够被触发的消息,如待领取红包、特效分享消息或房间邀请消息、游戏邀请消息等。互动触发操作可以理解为作用于互动消息的互动控件的触发操作。互动操作可以为发起用户与电子设备或者其他用户之间进行互动的操作。
示例性的,电子设备在接收到第一触发操作时,可以显示未读消息展示区域,在该未读消息展示区域中展示目标未读消息缩略图对应的目标未读消息以及目标未读消息的互动控件;从而,发起用户在欲进行互动时,可以点击未读消息展示区域内所展示的互动控件;相应的,电子设备在监测到发起用户点击未读消息展示区域内所展示的互动控件时,可以执行该互动控件被触发时的预设互动操作,如领取待领取红包(针对目标未读消息为待领取红包的情况)、采用相应的特效进行拍摄(针对目标未读消息为特效邀请消息的情况)、与房间内的其他用户进行互动(针对目标未读消息为房间邀请消息的情况)或执行相应的游戏操作(针对目标未读消息为游戏邀请消息的情况),等等。
S104、接收切换所述未读消息展示区域中展示的当前未读消息的第二触发操作,所述当前未读消息包括所述目标未读消息。
其中,当前未读消息可以理解为接收到第二触发操作时未读消息展示区域中展示的未读消息,亦即对第二触发操作进行响应前在未读消息展示区域中展 示的最后一条未读消息。第二触发操作可以为任一能够指示电子设备切换未读消息展示区域中所展示的目标发送用户的未读消息的操作,如未读消息展示区域中可以设置有用于切换未读消息展示区域中所展示的目标发送用户的未读消息的消息切换控件,相应的,第二触发操作可以为点击该消息切换控件的操作;或者,第二触发操作可以为在未读消息展示区域中的滑动操作,如上下滑动操作或左右滑动操作等。以下以第二触发操作为作用于未读消息展示区域内的上下滑动操作为例进行说明。
示例性的,电子设备在未读消息展示区域中展示某一发送用户(如目标发送用户)的未读消息(如目标未读消息);发起用户欲在未读消息展示区域中查看其当前所展示的未读消息的下一条未读消息时,可以在未读消息展示区域中向上滑动,用欲在未读消息展示区域中查看其当前所展示的未读的消息的上一条未读消息时,可以在未读消息展示区域中向下滑动;相应的,电子设备在监测到发起用户在未读消息展示区域中的上下滑动操作(如向上滑动操作或向下滑动操作)时,即可以确定接收到第二触发操作。
S105、响应于所述第二触发操作,将所述未读消息展示区域中展示的当前未读消息切换为目标发送用户发送的除所述当前未读消息之外的未读消息,所述目标发送用户为发送所述目标未读消息的用户。
其中,该除所述当前未读消息之外的未读消息可以为消息列表页面中所展示的未读消息中的上一条未读消息或下一条未读消息,也可以为除当前未读消息之外的其他任意一条未读消息,该除所述当前未读消息之外的未读消息可以为消息类型与当前未读消息的消息类型相同或不相同的未读消息,即所述除所述当前未读消息之外的未读消息可以包括与所述当前未读消息具有不同消息类型的未读消息,亦即,本实施例并不对未读消息展示区域中所展示的未读消息的消息类型进行限制,只要是发起用户接收到的未读消息,均可以在未读消息展示区域中进行展示。
以第二触发操作为作用于信息展示页面内的上下滑动操作为例,电子设备 在监测到作用于未读消息展示区域内的向上滑动操作时,可以将未读消息展示区域中所展示的未读消息切换为其当前所展示的未读消息的下一条未读消息;电子设备在监测到作用于未读消息展示区域内的向下滑动操作时,可以将未读消息展示区域中所展示的未读消息切换为其当前所展示的未读消息的上一条未读消息。其中,可以预先设置发送用户的未读消息排序规则,如按照发送时间或接收时间的先后顺序对目标发送用户向发起用户发送的未读消息进行排序,从而,电子设备在接收到展示某一发送用户的未读消息的触发操作时,可以基于该排序规则对该发送用户的多个未读消息进行排序,得到该发送用户的未读消息列表,并在接收到第二触发操作时,基于该未读消息列表确定未读消息展示区域中当前所展示的未读消息的下一条未读消息或上一条未读消息。
在一个实施方式中,本实施例提供的未读消息的展示方法还可以包括:如果所述目标发送用户不存在除所述当前未读消息之外的未读消息,则在所述未读消息展示区域中显示用户切换控件;当接收到作用于所述用户切换控件的第三触发操作时,在所述未读消息展示区域中展示除所述目标发送用户之外的发送用户发送用户发送的未读消息;和/或,如果所述目标发送用户不存在除所述当前未读消息之外的未读消息,则在所述消息列表页面中显示会话控件;当接收到作用于所述会话控件的第四触发操作时,将当前显示页面切换为所述目标发送用户的会话页面;在所述在所述未读消息展示区域中展示所述目标未读消息缩略图对应的目标未读消息之后,还包括:将所述目标未读消息由未读状态切换为已读状态。
在上述实施方式中,当发起用户查看完目标发送用户的所有未读消息之后,可以继续查看其它发送用户的未读消息或者进入与目标发送用户的会话页面与目标发送用户进行聊天。
其中,电子设备判断目标发送用户是否存在除所述当前未读消息之外的未读消息的判断规则可以根据需要设置,如电子设备可以在接收到第二触发操作时,判断除未读消息展示区域中当前正在展示的未读消息之外,目标发送用户 是否还存在其他处于未读状态的未读消息,在除未读消息展示区域中当前正在展示的未读消息之外,目标发送用户还存在其他处于未读状态的未读消息的情况下,则判定目标发送用户存在除所述当前未读消息之外的未读消息,在除未读消息展示区域中当前正在展示的未读消息之外,目标发送用户不存在其他处于未读状态的未读消息的情况下,则判定目标发送用户不存在除所述当前未读消息之外的未读消息;或者,电子设备也可以在接收到第二触发操作时,确定响应于该第二触发操作需要展示的未读消息,并判断除响应于该第二触发操作需要展示的未读消息之外,目标发送用户是否还存在其他处于未读状态的未读消息,在除响应于该第二触发操作需要展示的未读消息之外,目标发送用户还存在其他处于未读状态的未读消息的情况下,则判定目标发送用户存在除响应于该第二触发操作需要展示的未读消息之外的未读消息,在除响应于该第二触发操作需要展示的未读消息之外,目标发送用户不存在其他处于未读状态的未读消息的情况下,则判定目标发送用户不存在除响应于该第二触发操作需要展示的未读消息之外的未读消息。
示例性的,电子设备在未读消息展示区域中展示目标发送用户的任意一条未读消息时,电子设备可以将该条未读消息由未读状态切换为已读状态,在当前条件符合判断目标发送用户是否存在除所述当前未读消息之外的未读消息的触发条件时,如当接收到第二触发操作时,判断目标发送用户是否存在除所述当前未读消息之外的未读消息,并在判定目标发送用户不存在除所述当前未读消息之外的未读消息时,在未读消息展示区域中显示用户切换控件50和/或会话控件51,如图5所示(图5以同时显示用户切换控件50和会话控件51为例)。从而,当发起用户欲继续查看其它发送用户的未读消息时,可以触发(如点击或拖动等)该用户切换控件50;相应的,电子设备在监测到发起用户触发未读消息展示区域中的用户切换控件50时,可以按照预先设置的用户切换规则,如按照与发起用户的交互次数由多到少的顺序或者按照最后一条未读消息的发送时间由晚到早的顺序等,确定下一发送用户,将该下一发送用户作为新的目标 发送用户,在未读消息展示区域中展示该新的目标发送用户的未读消息,并返回执行S104。当发起用户欲与目标发送用户进行会话时,如当发起用户欲对目标发送用户发送的某一未读消息进行回复时,可以触发(如点击或拖动等)该会话控件51;相应的,电子设备在监测到发起用户触发未读消息展示区域中的会话控件51时,可以将当前显示页面切换为发起用户与目标发送用户的会话页面,以便于发起用户在该会话页面中与目标发送用户进行会话。
可以理解的是,电子设备可以基于目标发送用户的未读消息列表切换未读消息展示区域中所展示的目标发送用户的未读消息,当将目标发送用户的某一条未读消息由未读状态切换为已读状态时,可以执行或不执行将该条未读消息自目标发送用户的未读消息列表中删除的操作,本实施例不对此进行限制。此外,用户切换控件和/或会话控件也可以在未读消息展示区域中一直处于显示状态,以便于发起用户随时进行目标发送用户的切换或与目标发送用户进行会话。电子设备在监测到发起用户触发未读消息展示区域中的会话控件时,也可以在消息会话页面中弹出会话窗口,从而,发起用户可以直接在该会话区域内与目标发送用户进行会话。
在一个实施方式中,本实施例提供的未读消息的展示方法还包括:接收作用于所述未读消息展示区域中的返回控件的第五触发操作;响应于所述第五触发操作,将当前显示页面切换为所述目标发送用户的会话页面。
其中,第五触发操作可以理解为作用于未读消息展示区域中的返回控件的触发操作。
在上述实施方式中,电子设备可以基于发起用户的第五触发操作返回发起用户与目标发送用户的会话页面,以便于发起用户与目标发送用户进行会话。示例性的,电子设备在未读消息展示区域中展示目标发送用户的未读消息;发起用户在欲停止查看目标发送用户的未读消息时或者在欲与目标发送用户进行会话时,可以点击未读消息展示区域中的返回控件30,如图3-5所示;相应的,电子设备在监测到发起用户点击未读消息展示区域中的返回控件30时,可以将 当前显示页面切换为发起用户与目标发送用户的会话页面,从而发起用户可以在该会话页面中与目标发送用户进行会话。此外,当发起用户欲继续查看消息列表页面时,可以点击会话页面中的列表返回控件;从而,电子设备在监测到发起用户点击会话页面中的列表返回控件时,可以将当前显示页面由发起用户与目标发送用户的会话页面切换为消息列表页面。
本实施例提供的未读消息的展示方法、装置、电子设备和存储介质,显示消息列表页面,并在消息列表页面中显示未读消息缩略图,当接收到作用于目标未读消息缩略图的第一触发操作时,显示未读消息展示区域,并在该未读消息展示区域中展示目标未读消息缩略图对应的目标未读消息,当接收到切换未读消息展示区域中所展示的当前未读消息的第二触发操作时,将未读消息展示区域中展示的当前未读消息切换为发送目标未读消息的目标发送用户的除所述当前未读消息之外的未读消息,该当前未读消息包括目标未读消息。本实施例通过采用上述技术方案,使得用户通过作用于未读消息展示区域中的相应触发操作即可以查看自己接收到的不同未读消息,无需用户人为查找未读消息进行查看,能够避免出现未读消息漏读的情况,并简化查看未读消息所需的操作。
图6为本公开实施例提供的另一种未读消息的展示方法的流程示意图、本实施例中的方案可以与上述实施例中的至少一个可选方案组合。可选的,所述目标未读消息为待领取红包,所述互动控件为所述待领取红包的开启控件,所述当接收到作用于所述互动控件的互动触发操作时,执行与所述互动控件对应的互动操作,包括:当接收到作用于所述待领取红包的开启控件的第一互动触发操作时,领取所述待领取红包。
可选的,所述目标未读消息为特效分享消息,所述互动控件为拍摄控件,所述在所述未读消息展示区域中展示所述目标未读消息缩略图对应的目标未读消息,包括:在所述未读消息展示区域中展示所述特效分享消息所分享的目标特效的预览效果;所述当接收到作用于所述互动控件的互动触发操作时,执行 与所述互动控件对应的互动操作,包括:当接收到作用于所述拍摄控件的第二互动触发操作时,采用所述目标特效进行拍摄。
可选的,所述目标未读消息为房间邀请消息,所述互动控件包括目标房间内的其他用户的用户头像,所述在所述未读消息展示区域中展示所述目标未读消息缩略图对应的目标未读消息,包括:在所述未读消息展示区域中显示所述房间邀请消息所对应的目标房间的房间画面,所述目标房间为直播间或聊天室;所述当接收到作用于所述互动控件的互动触发操作时,执行与所述互动控件对应的互动操作,包括:当接收到作用于所述目标房间内的目标其他用户的用户头像的第三互动触发操作时,显示互动窗口,以供所述第三互动操作的发起用户与所述目标其他用户进行互动。
如图6所示,本实施例提供的未读消息的展示方法包括:
S201、显示消息列表页面,所述消息列表页面中显示有未读消息缩略图。
S202、接收作用于目标未读消息缩略图的第一触发操作,执行S203、S205或S207。
S203、如果所述目标未读消息缩略图对应的目标未读消息为待领取红包,则响应于所述第一触发操作,显示未读消息展示区域,并在所述未读消息展示区域中展示所述待领取红包以及所述待领取红包的开启控件。
示例性的,如图2所示,电子设备在消息列表页面中展示待领取红包的红包未读消息缩略图(附图标记20)(即待领取红包的未读消息缩略图);发起用户在欲查看该待领取红包时,可以点击消息列表页面中所展示的该待领取红包的红包未读消息缩略图(附图标记20);相应的,电子设备在监测到发起用户点击该待领取红包的红包未读消息缩略图(附图标记20)的操作时,显示未读消息展示区域,并在未读消息展示区域中展示该待领取红包以及该待领取红包的开启控件31,如图3和4所示。
S204、当接收到作用于所述待领取红包的开启控件的第一互动触发操作时,领取所述待领取红包,执行S209。
其中,第一互动触发操作可以理解为用于领取未读消息展示区域中所展示的待领取红包的互动触发操作,如点击待领取红包的显示区域或点击待领取红包的开启控件的操作,以下以第一互动触发操作为点击待领取红包的开启控件的操作为例进行说明。
示例性的,如图3和4所示,电子设备在未读消息展示区域中展示待领取红包;发起用户在欲领取该待领取红包时,点击该待领取红包的开启控件31;相应的,电子设备在监测到作用于待领取红包的开启控件31的点击操作时,显示待领取红包领取完成时的已领取画面,并可以基于该待领取红包中的金额对应修改发起用户所登陆账号的账户余额。
S205、如果所述目标未读消息缩略图对应的目标未读消息为特效分享消息,则响应于所述第一触发操作,显示未读消息展示区域,并在所述未读消息展示区域中展示所述特效分享消息所分享的目标特效的预览效果和拍摄控件。
其中,目标特效为发起用户触发其未读消息缩略图的特效分享消息所分享的特效。
在本实施例中,当监测到发起用户点击消息列表页面中展示的某一特效分享消息的未读消息缩略图时,可以直接在该未读消息展示区域中展示该特效分享消息所分享的目标特效的预览效果,以便于发起用户直观地查看特效分享消息所分享的目标特效,并避免发起用户在欲查看某一特效分享消息所分享的目标特效时需要首先通过相应用于展示特效分享消息的触发操作控制电子设备完整显示该特效分享消息,并需要再次执行相应用于查看目标特效的预览效果的触发操作将当前显示页面切换为拍摄预览页面才能实现该特效分享消息所分享的目标特效的预览效果的展示的情况,简化发起用户查看目标特效所需的操作。
示例性的,如图2所示,电子设备在消息列表页面中展示特效分享消息的特效未读消息缩略图(附图标记21)(即特效分享消息的未读消息缩略图);发起用户在欲查看该特效分享消息所分享的目标特效时,可以点击消息列表页面中所展示的该特效分享消息的特效未读消息缩略图(附图标记21);相应的, 电子设备在监测到发起用户点击某一特效分享消息的未读消息缩略图(附图标记21)时,可以控制摄像头采集画面,并在未读消息展示区域内展示添加该特效分享消息所分享的目标特效后的摄像头采集画面以及拍摄控件,以使发起用户能够直观的查看添加目标特效后的拍摄效果。
S206、当接收到作用于所述拍摄控件的第二互动触发操作时,采用所述目标特效进行拍摄,执行S209。
其中,第二触发操作为能够触发未读消息展示区域中的拍摄控件的任一互动触发操作,如点击未读消息展示区域中的拍摄控件的操作或通过相应的声音指令等触发未读消息展示区域中的拍摄控件以指示电子设备进行拍摄的操作等,本实施例不对此进行限制。
示例性的,电子设备在未读消息展示区域中展示添加目标特效后的拍摄画面和拍摄控件;发起用户在欲采用该目标特效进行拍摄时,触发未读消息展示区域中所显示的拍摄控件;相应的,电子设备在监测到发起用户触发未读消息展示区域中的拍摄控件时,可以拍摄添加有该目标特效的画面。
S207、如果所述目标未读消息缩略图对应的目标未读消息为房间邀请消息,则响应于所述第一触发操作,显示未读消息展示区域,在所述未读消息展示区域中显示所述房间邀请消息所对应的目标房间的房间画面,所述目标房间为直播间或聊天室,所述房间画面中包含有所述目标房间内的至少一个其他用户的用户头像。
其中,房间邀请消息可以包括直播室邀请消息和/或聊天室邀请消息,相应的,目标房间可以包括该直播室邀请消息所邀请进入的直播室或该聊天室邀请消息所邀请进入的聊天室,如双人聊天室或多人聊天室等。房间画面中所显示的其他用户的头像可以包括主播的头像、给主播送礼物的用户的头像和/或在目标房间内发送聊天消息的用户的头像(如在展示聊天消息时同时对应展示发送聊天消息的用户的头像)等。
参考图2,电子设备在消息列表页面中展示直播间邀请消息的直播间未读 消息缩略图(附图标记22)(即直播间邀请消息的未读消息缩略图)和/或聊天室邀请消息的聊天室未读消息缩略图(附图标记23)(即聊天室邀请消息的未读消息缩略图)。从而,发起用户在欲进入某一直播间邀请消息所邀请进入的直播间时,可以点击消息列表页面中显示的该直播间邀请消息的直播间未读消息缩略图(附图标记22);相应的,电子设备在监测到发起用户点击消息列表页面中展示的某一直播间邀请消息的直播间未读消息缩略图(附图标记22)时,显示未读消息展示区域,并在该未读消息展示区域中展示该直播间邀请消息所对应直播间的直播间画面,以便于发起用户观看直播。和/或,发起用户在欲进入某一聊天室邀请消息所邀请进入的聊天室时,可以点击消息列表页面中显示的该聊天室邀请消息的聊天室未读消息缩略图(附图标记23);相应的,电子设备在监测到发起用户点击消息列表页面中展示的某一聊天室邀请消息的聊天室未读消息缩略图(附图标记23)时,显示未读消息展示区域,并在该未读消息展示区域中展示该聊天室邀请消息所对应聊天室的聊天室画面,如聊天室内所播放视频的视频画面,以便于用户进行观看。
S208、当接收到作用于所述目标房间内的目标其他用户的用户头像的第三互动触发操作时,显示互动窗口,以供所述第三互动操作的发起用户与所述目标其他用户进行互动。
其中,第三互动触发操作可以理解为触发房间画面内任一能够与房间内的其他用户进行互动的互动控件的互动触发操作,如点击目标房间内其他用户的用户头像的操作等。目标其他用户可以为第三互动操作所对应的其他用户,如第三互动操作作用于的头像所属的其他用户。
示例性的,电子设备在未读消息展示区域中显示目标房间的房间画面;发起用于在欲与目标房间内的某一其他用户进行互动时,可以点击未读消息展示区域中所显示的该用户的头像;相应的,电子设备在监测到发起用户点击目标房间内某一其他用户的头像时,可以显示该其他用户的互动窗口,如显示该其他用户的聊天窗口等,以便于发起用户与该其他用户进行互动。
此外,互动控件还可以包括与目标房间的主播进行互动的主播互动控件,如用于给主播送礼物的礼物控件和/或用于发送聊天内容的聊天区域等,从而,发起用户可以点击相应的主播互动控件与主播进行互动,如给主播送礼物或在目标房间内发送聊天消息等。
可以理解的是,电子设备还可以在消息列表页面中显示处于未读状态的文字消息的文字未读消息缩略图、处于未读状态的视频消息的视频未读消息缩略图、处于未读状态的语音消息的语音未读消息缩略图、处于未读状态的游戏邀请消息的游戏未读消息缩略图和/或处于未读状态的链接类消息的链接未读消息缩略图。相应的,电子设备可以在监测到发起用户点击消息列表页面中显示的某一文字消息的文字未读消息缩略图时,显示未读消息展示区域,并在该未读消息展示区域中展示该文字消息的消息内容;在监测到发起用户点击消息列表页面中显示的某一视频消息的视频未读消息缩略图时,显示未读消息展示区域,并在该未读消息展示区域中播放该视频消息中所包含的视频;在监测到发起用户点击消息列表页面中显示的某一语音消息的语音未读消息缩略图时,显示未读消息展示区域,在该未读消息展示区域中展示该语音消息并播放该语音消息中所包含的语音内容;在监测到发起用户点击消息列表页面中展示的某一游戏邀请消息游戏邀请消息缩略图时,显示未读消息展示区域,并在该未读消息展示区域中显示该游戏邀请消息所对应游戏的游戏画面;和/或,在监测到发起用户点击消息列表页面中展示的某一链接类消息的链接未读消息缩略图时,显示未读消息展示区域,并在未读消息展示区域中展示该链接类未读消息中的链接所对应的内容。
S209、接收切换所述未读消息展示区域中展示的未读消息的第二触发操作。
S210、响应于所述第二触发操作,将所述未读消息展示区域中展示的当前未读消息切换为所述目标发送用户发送的除所述当前未读消息之外的未读消息,所述当前未读消息包括所述目标未读消息。
本实施例提供的未读消息的展示方法,当监测到用户在未读消息展示区域 中触发待领取红包、特效分享消息或房间邀请消息等互动类消息的未读消息缩略图时,直接在未读消息展示区域中展示该互动类消息被触发后的画面和相应的互动控件,并在用户触发互动控件时执行相应的互动操作,能够简化用户查看互动类消息时及进行互动时所需的操作,提高用户的使用体验。
图7为本公开实施例提供的一种未读消息的展示装置的结构框图。该装置可以由软件和/或硬件实现,可配置于电子设备中,典型的,可以配置在手机或平板电脑中,可通过执行未读消息的展示方法展示未读消息。如图7所示,本实施例提供的未读消息的展示装置可以包括:页面显示模块701、第一触发模块702、消息展示模块703、第二触发模块704和消息切换模块705,其中,
页面显示模块701,设置为显示消息列表页面,所述消息列表页面中显示未读消息缩略图;
第一触发模块702,设置为接收作用于目标未读消息缩略图的第一触发操作;
消息展示模块703,设置为响应于所述第一触发操作,显示未读消息展示区域,并在所述未读消息展示区域中展示所述目标未读消息缩略图对应的目标未读消息;
第二触发模块704,设置为接收切换所述未读消息展示区域中展示的当前未读消息的第二触发操作,所述当前未读消息包括所述目标未读消息;
消息切换模块705,设置为响应于所述第二触发操作,将所述未读消息展示区域中展示的当前未读消息切换为目标发送用户发送的除所述当前未读消息之外的未读消息,所述目标发送用户为发送所述目标未读消息的用户。
本实施例提供的未读消息的展示装置,通过页面显示模块显示消息列表页面,并在消息列表页面中显示未读消息缩略图,通过第一触发模块接收到作用于目标未读消息缩略图的第一触发操作,通过消息展示模块响应于该第一触发操作,显示未读消息展示区域,并在该未读消息展示区域中展示目标未读消息 缩略图对应的目标未读消息,通过第二触发模块接收到切换未读消息展示区域中所展示的当前未读消息的第二触发操作,通过消息切换模块响应于该第二触发操作,将未读消息展示区域中展示的当前未读消息切换为发送目标未读消息的目标发送用户的除所述当前未读消息之外的未读消息,该当前未读消息包括目标未读消息。本实施例通过采用上述技术方案,使得用户通过作用于未读消息展示区域中的相应触发操作即可以查看自己接收到的不同未读消息,无需用户人为查找未读消息进行查看,能够避免出现未读消息漏读的情况,并简化查看未读消息所需的操作。
可选的,所述除所述当前未读消息之外的未读消息包括与所述当前未读消息具有不同消息类型的未读消息。
可选的,本实施例提供的未读消息的展示装置还包括:用户切换模块,设置为在所述目标发送用户不存在除所述当前未读消息之外的未读消息时,在所述未读消息展示区域中显示用户切换控件;当接收到作用于所述用户切换控件的第三触发操作时,在所述未读消息展示区域中展示除所述目标发送用户之外的发送用户发送用户发送的未读消息;和/或,第一会话模块,设置为所述目标发送用户不存在除所述当前未读消息之外的未读消息时,在所述消息列表页面中显示会话控件;当接收到作用于所述会话控件的第四触发操作时,将当前显示页面切换为所述目标发送用户的会话页面;状态切换模块,设置为在所述在所述未读消息展示区域中展示所述目标未读消息缩略图对应的目标未读消息之后,将所述目标未读消息由未读状态切换为已读状态。
可选的,本实施例提供的未读消息的展示装置还包括:第二会话模块,设置为接收作用于所述未读消息展示区域中的返回控件的第五触发操作;响应于所述第五触发操作,将当前显示页面切换为所述目标发送用户的会话页面。
可选的,所述目标未读消息为互动未读消息,本实施例提供的未读消息的展示装置还包括:互动控件显示模块,设置为在所述未读消息展示区域内展示互动控件;互动模块,设置为当接收到作用于所述互动控件的互动触发操作时, 执行与所述互动控件对应的互动操作。
可选的,所述目标未读消息为待领取红包,所述互动控件为所述待领取红包的开启控件,所述互动模块可设置为:在接收到作用于所述待领取红包的开启控件的第一互动触发操作时,领取所述待领取红包。
可选的,所述目标未读消息为特效分享消息,所述互动控件为拍摄控件,所述消息展示模块703可设置为:响应于所述第一触发操作,显示未读消息展示区域,并在所述未读消息展示区域中展示所述特效分享消息所分享的目标特效的预览效果;所述互动模块可设置为:在接收到作用于所述拍摄控件的第二互动触发操作时,采用所述目标特效进行拍摄。
可选的,所述目标未读消息为房间邀请消息,所述互动控件为目标房间内的其他用户的用户头像,所述消息展示模块703可设置为:响应于所述第一触发操作,显示未读消息展示区域,并在所述未读消息展示区域中显示所述房间邀请消息所对应的目标房间的房间画面,所述目标房间为直播间或聊天室;所述互动模块可设置为在接收到作用于所述目标房间内的目标其他用户的用户头像的第三互动触发操作时,显示互动窗口,以供所述第三互动操作的发起用户与所述目标其他用户进行互动:。
本公开实施例提供的未读消息的展示装置可执行本公开任意实施例提供的未读消息的展示方法,具备执行未读消息的展示方法相应的功能模块。未在本实施例中详尽描述的技术细节,可参见本公开任意实施例所提供的未读消息的展示方法。
下面参考图8,其示出了适于用来实现本公开实施例的电子设备(例如终端设备)800的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、个人数字助理(Personal Digital Assistant,PDA)、PAD(平板电脑)、便携式多媒体播放器(Portable Media Player,PMP)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字电视 (Television,TV)、台式计算机等等的固定终端。图8示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图8所示,电子设备800可以包括处理装置(例如中央处理器、图形处理器等)801,其可以根据存储在只读存储器(Read-Only Memory,ROM)802中的程序或者从存储装置806加载到随机访问存储器(Random Access Memory,RAM)803中的程序而执行各种适当的动作和处理。在RAM 803中,还存储有电子设备800操作所需的各种程序和数据。处理装置801、ROM 802以及RAM 803通过总线804彼此相连。输入/输出(Input/Output,I/O)接口805也连接至总线804。
通常,以下装置可以连接至I/O接口805:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置806;包括例如液晶显示器(Liquid Crystal Display,LCD)、扬声器、振动器等的输出装置807;包括例如磁带、硬盘等的存储装置806;以及通信装置809。通信装置809可以允许电子设备800与其他设备进行无线或有线通信以交换数据。虽然图8示出了具有各种装置的电子设备800,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置809从网络上被下载和安装,或者从存储装置806被安装,或者从ROM 802被安装。在该计算机程序被处理装置801执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装 置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有至少一个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器((Erasable Programmable Read-Only Memory,EPROM)或闪存)、光纤、便携式紧凑磁盘只读存储器(Compact Disc-Read Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、射频(Radio Frequency,RF)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“Local Area Network,LAN”),广域网(“Wide Area Network,WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有至少一个程序,当上述至少一个程序被该电子设备执行时,使得该电子设备:显示消息列表页面,所述消息列表页面中显示有未读消息缩略图;接收作用于目标未读消息缩略图的第一触发操作;响应于 所述第一触发操作,显示未读消息展示区域,并在所述未读消息展示区域中展示所述目标未读消息缩略图对应的目标未读消息;接收切换所述未读消息展示区域中展示的当前未读消息的第二触发操作,所述当前未读消息包括所述目标未读消息;响应于所述第二触发操作,将所述未读消息展示区域中展示的当前未读消息切换为目标发送用户发送的除所述当前未读消息之外的未读消息,所述目标发送用户为发送所述目标未读消息的用户。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含至少一个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以 通过硬件的方式来实现。其中,模块的名称在某种情况下并不构成对该单元本身的限定。
本文中以上描述的功能可以至少部分地由至少一个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(Field Programmable Gate Array,FPGA)、专用集成电路(Application Specific Integrated Circuit,ASIC)、专用标准产品(Application Specific Standard Parts,ASSP)、片上系统(System on Chip,SOC)、复杂可编程逻辑设备(Complex Programmable Logic Device,CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于至少一个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
根据本公开的至少一个实施例,示例1提供了一种未读消息的展示方法,包括:
显示消息列表页面,所述消息列表页面中显示有未读消息缩略图;
接收作用于目标未读消息缩略图的第一触发操作;
响应于所述第一触发操作,显示未读消息展示区域,并在所述未读消息展示区域中展示所述目标未读消息缩略图对应的目标未读消息;
接收切换所述未读消息展示区域中展示的当前未读消息的第二触发操作,所述当前未读消息包括所述目标未读消息;
响应于所述第二触发操作,将所述未读消息展示区域中展示的当前未读消 息切换为目标发送用户发送的除所述当前未读消息之外的未读消息,所述目标发送用户为发送所述目标未读消息的用户。
根据本公开的至少一个实施例,示例2根据示例1所述的方法,所述除所述当前未读消息之外的未读消息包括与所述当前未读消息具有不同消息类型的未读消息。
根据本公开的至少一个实施例,示例3根据示例1所述的方法,还包括:
如果所述目标发送用户不存在除所述当前未读消息之外的未读消息,则在所述未读消息展示区域中显示用户切换控件;
当接收到作用于所述用户切换控件的第三触发操作时,在所述未读消息展示区域中展示除所述目标发送用户之外的发送用户发送用户发送的未读消息;和/或,
如果所述目标发送用户不存在除所述当前未读消息之外的未读消息,则在所述消息列表页面中显示会话控件;
当接收到作用于所述会话控件的第四触发操作时,将当前显示页面切换为所述目标发送用户的会话页面;
在所述在所述未读消息展示区域中展示所述目标未读消息缩略图对应的目标未读消息之后,还包括:
将所述目标未读消息由未读状态切换为已读状态。
根据本公开的至少一个实施例,示例4根据示例1所述的方法,还包括:
接收作用于所述未读消息展示区域中的返回控件的第五触发操作;
响应于所述第五触发操作,将当前显示页面切换为所述目标发送用户的会话页面。
根据本公开的至少一个实施例,示例5根据示例1-4任一所述的方法,所述目标未读消息为互动未读消息,所述方法还包括:
在所述未读消息展示区域内展示互动控件;
当接收到作用于所述互动控件的互动触发操作时,执行与所述互动控件对 应的互动操作。
根据本公开的至少一个实施例,示例6根据示例5所述的方法,所述目标未读消息为待领取红包,所述互动控件为所述待领取红包的开启控件,所述当接收到作用于所述互动控件的互动触发操作时,执行与所述互动控件对应的互动操作,包括:
当接收到作用于所述待领取红包的开启控件的第一互动触发操作时,领取所述待领取红包。
根据本公开的至少一个实施例,示例7根据示例5所述的方法,所述目标未读消息为特效分享消息,所述互动控件为拍摄控件,所述在所述未读消息展示区域中展示所述目标未读消息缩略图对应的目标未读消息,包括:
在所述未读消息展示区域中展示所述特效分享消息所分享的目标特效的预览效果;
所述当接收到作用于所述互动控件的互动触发操作时,执行与所述互动控件对应的互动操作,包括:
当接收到作用于所述拍摄控件的第二互动触发操作时,采用所述目标特效进行拍摄。
根据本公开的至少一个实施例,示例8根据示例5所述的方法,所述目标未读消息为房间邀请消息,所述互动控件为目标房间内的其他用户的用户头像,所述在所述未读消息展示区域中展示所述目标未读消息缩略图对应的目标未读消息,包括:
在所述未读消息展示区域中显示所述房间邀请消息所对应的目标房间的房间画面,所述目标房间为直播间或聊天室;
所述当接收到作用于所述互动控件的互动触发操作时,执行与所述互动控件对应的互动操作,包括:
当接收到作用于所述目标房间内的目标其他用户的用户头像的第三互动触发操作时,显示互动窗口,以供所述第三互动操作的发起用户与所述目标其他 用户进行互动。
根据本公开的至少一个实施例,示例9提供了一种未读消息的展示装置,包括:
页面显示模块,设置为显示消息列表页面,所述消息列表页面中显示未读消息缩略图;
第一触发模块,设置为接收作用于目标未读消息缩略图的第一触发操作;
消息展示模块,设置为响应于所述第一触发操作,显示未读消息展示区域,并在所述未读消息展示区域中展示所述目标未读消息缩略图对应的目标未读消息;
第二触发模块,设置为接收切换所述未读消息展示区域中展示的当前未读消息的第二触发操作,所述当前未读消息包括所述目标未读消息;
消息切换模块,设置为响应于所述第二触发操作,将所述未读消息展示区域中展示的当前未读消息切换为目标发送用户发送的除所述当前未读消息之外的未读消息,所述目标发送用户为发送所述目标未读消息的用户。
根据本公开的至少一个实施例,示例10提供了一种电子设备,包括:
至少一个处理器;
存储器,设置为存储至少一个程序,
当所述至少一个程序被所述至少一个处理器执行,使得所述至少一个处理器实现如示例1-8中任一所述的未读消息的展示方法。
根据本公开的至少一个实施例,示例11提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如示例1-8中任一所述的未读消息的展示方法。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中 描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。
Claims (12)
- 一种未读消息的展示方法,包括:显示消息列表页面,所述消息列表页面中显示有未读消息缩略图;接收作用于目标未读消息缩略图的第一触发操作;响应于所述第一触发操作,显示未读消息展示区域,并在所述未读消息展示区域中展示所述目标未读消息缩略图对应的目标未读消息;接收切换所述未读消息展示区域中展示的当前未读消息的第二触发操作,所述当前未读消息包括所述目标未读消息;响应于所述第二触发操作,将所述未读消息展示区域中展示的当前未读消息切换为目标发送用户发送的除所述当前未读消息之外的未读消息,所述目标发送用户为发送所述目标未读消息的用户。
- 根据权利要求1所述的方法,其中,所述除所述当前未读消息之外的未读消息包括与所述当前未读消息具有不同消息类型的未读消息。
- 根据权利要求1所述的方法,还包括以下至少之一:在所述目标发送用户不存在除所述当前未读消息之外的未读消息的情况下,在所述未读消息展示区域中显示用户切换控件,响应于接收到作用于所述用户切换控件的第三触发操作时,在所述未读消息展示区域中展示除所述目标发送用户之外的发送用户发送的未读消息;在所述目标发送用户不存在除所述当前未读消息之外的未读消息的情况下,在所述消息列表页面中显示会话控件,响应于接收到作用于所述会话控件的第四触发操作,将当前显示页面切换为所述目标发送用户的会话页面。
- 根据权利要求1所述的方法,其中,在所述在所述未读消息展示区域中展示所述目标未读消息缩略图对应的目标未读消息之后,还包括:将所述目标未读消息由未读状态切换为已读状态。
- 根据权利要求1所述的方法,还包括:接收作用于所述未读消息展示区域中的返回控件的第五触发操作;响应于所述第五触发操作,将当前显示页面切换为所述目标发送用户的会 话页面。
- 根据权利要求1-5任一所述的方法,其中,所述目标未读消息为互动未读消息,所述方法还包括:在所述未读消息展示区域内展示互动控件;响应于接收到作用于所述互动控件的互动触发操作,执行与所述互动控件对应的互动操作。
- 根据权利要求6所述的方法,其中,所述目标未读消息为待领取红包,所述互动控件为所述待领取红包的开启控件,所述响应于接收到作用于所述互动控件的互动触发操作,执行与所述互动控件对应的互动操作,包括:响应于接收到作用于所述待领取红包的开启控件的第一互动触发操作,领取所述待领取红包。
- 根据权利要求6所述的方法,其中,所述目标未读消息为特效分享消息,所述互动控件为拍摄控件,所述在所述未读消息展示区域中展示所述目标未读消息缩略图对应的目标未读消息,包括:在所述未读消息展示区域中展示所述特效分享消息所分享的目标特效的预览效果;所述响应于接收到作用于所述互动控件的互动触发操作,执行与所述互动控件对应的互动操作,包括:响应于接收到作用于所述拍摄控件的第二互动触发操作,采用所述目标特效进行拍摄。
- 根据权利要求6所述的方法,其中,所述目标未读消息为房间邀请消息,所述互动控件包括目标房间内的其他用户的用户头像,所述在所述未读消息展示区域中展示所述目标未读消息缩略图对应的目标未读消息,包括:在所述未读消息展示区域中显示所述房间邀请消息所对应的目标房间的房间画面,所述目标房间为直播间或聊天室;所述响应于接收到作用于所述互动控件的互动触发操作,执行与所述互动 控件对应的互动操作,包括:响应于接收到作用于所述目标房间内的目标其他用户的用户头像的第三互动触发操作,显示互动窗口,以供所述第三互动操作的发起用户与所述目标其他用户进行互动。
- 一种未读消息的展示装置,包括:页面显示模块,设置为显示消息列表页面,所述消息列表页面中显示未读消息缩略图;第一触发模块,设置为接收作用于目标未读消息缩略图的第一触发操作;消息展示模块,设置为响应于所述第一触发操作,显示未读消息展示区域,并在所述未读消息展示区域中展示所述目标未读消息缩略图对应的目标未读消息;第二触发模块,设置为接收切换所述未读消息展示区域中展示的当前未读消息的第二触发操作,所述当前未读消息包括所述目标未读消息;消息切换模块,设置为响应于所述第二触发操作,将所述未读消息展示区域中展示的当前未读消息切换为目标发送用户发送的除所述当前未读消息之外的未读消息,所述目标发送用户为发送所述目标未读消息的用户。
- 一种电子设备,包括:至少一个处理器;存储器,设置为存储至少一个程序,当所述至少一个程序被所述至少一个处理器执行,使得所述至少一个处理器实现如权利要求1-9中任一所述的未读消息的展示方法。
- 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1-9中任一所述的未读消息的展示方法。
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2023536470A JP2024502728A (ja) | 2020-12-17 | 2021-12-02 | 未読メッセージの展示方法、装置、電子機器、および記憶媒体 |
EP21905533.2A EP4246920A4 (en) | 2020-12-17 | 2021-12-02 | METHOD AND DEVICE FOR DISPLAYING UNREAD MESSAGES, AS WELL AS ELECTRONIC DEVICE AND STORAGE MEDIUM |
US18/210,780 US12074832B2 (en) | 2020-12-17 | 2023-06-16 | Unread message display method, electronic device, and storage medium |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011496564.0 | 2020-12-17 | ||
CN202011496564.0A CN114650264B (zh) | 2020-12-17 | 2020-12-17 | 未读消息的展示方法、装置、电子设备和存储介质 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US18/210,780 Continuation US12074832B2 (en) | 2020-12-17 | 2023-06-16 | Unread message display method, electronic device, and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022127604A1 true WO2022127604A1 (zh) | 2022-06-23 |
Family
ID=81991490
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/134948 WO2022127604A1 (zh) | 2020-12-17 | 2021-12-02 | 未读消息的展示方法、装置、电子设备和存储介质 |
Country Status (5)
Country | Link |
---|---|
US (1) | US12074832B2 (zh) |
EP (1) | EP4246920A4 (zh) |
JP (1) | JP2024502728A (zh) |
CN (1) | CN114650264B (zh) |
WO (1) | WO2022127604A1 (zh) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112351142B (zh) * | 2020-10-29 | 2022-03-25 | 维沃移动通信有限公司 | 消息处理方法、装置及电子设备 |
CN115567471B (zh) * | 2022-08-23 | 2024-08-20 | 北京字跳网络技术有限公司 | 用于会话消息呈现的方法、装置、设备和存储介质 |
CN117732059A (zh) * | 2022-09-14 | 2024-03-22 | 腾讯科技(成都)有限公司 | 虚拟社交场景中的消息预览方法、装置、设备及存储介质 |
CN116155847A (zh) * | 2022-12-28 | 2023-05-23 | 北京五八信息技术有限公司 | 消息处理方法、装置、电子设备及存储介质 |
CN118535052A (zh) * | 2023-02-21 | 2024-08-23 | 腾讯科技(深圳)有限公司 | 一种数据处理方法、装置、计算机设备以及可读存储介质 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108021316A (zh) * | 2017-11-30 | 2018-05-11 | 腾讯科技(深圳)有限公司 | 一种消息展示的方法及装置 |
CN108920059A (zh) * | 2018-07-27 | 2018-11-30 | 维沃移动通信有限公司 | 消息处理方法及移动终端 |
CN110837327A (zh) * | 2019-10-28 | 2020-02-25 | 维沃移动通信有限公司 | 一种消息查看方法及终端 |
CN112286416A (zh) * | 2020-10-29 | 2021-01-29 | 维沃移动通信(杭州)有限公司 | 信息显示方法、装置和电子设备 |
Family Cites Families (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6643360B1 (en) * | 2000-01-31 | 2003-11-04 | Cisco Technology, Inc. | Check for pending e-mail using caller ID and selective answer ring |
US7120455B1 (en) * | 2004-05-20 | 2006-10-10 | Cellco Partnership | Method and system for mobile instant messaging using multiple interfaces |
CN103428073B (zh) * | 2012-05-24 | 2015-06-17 | 腾讯科技(深圳)有限公司 | 一种基于用户界面的即时通信方法及装置 |
CN104967721B (zh) * | 2014-05-08 | 2018-10-02 | 腾讯科技(深圳)有限公司 | 未读消息的处理方法和装置 |
CN104301204A (zh) * | 2014-09-25 | 2015-01-21 | 小米科技有限责任公司 | 未读通信消息聚合方法及装置 |
KR20160126354A (ko) * | 2015-04-23 | 2016-11-02 | 삼성전자주식회사 | 전자 장치 및 전자 장치에서 메시지 표시 방법 |
CN106708372A (zh) * | 2015-07-15 | 2017-05-24 | 三亚中兴软件有限责任公司 | 一种未读消息显示的方法及装置 |
US9913114B1 (en) * | 2015-12-15 | 2018-03-06 | Snap Inc. | Simplified message grouping and display |
CN105653132A (zh) * | 2015-12-31 | 2016-06-08 | 北京金山安全软件有限公司 | 一种消息通知方法、装置及电子设备 |
CN106056369B (zh) * | 2016-06-02 | 2020-04-24 | 财付通支付科技有限公司 | 一种信息处理方法及装置 |
CN106325671B (zh) * | 2016-08-16 | 2019-05-28 | 浙江翼信科技有限公司 | 一种回复消息的方法和设备 |
CN107872377A (zh) * | 2016-09-23 | 2018-04-03 | 阿里巴巴集团控股有限公司 | 消息提示方法及装置 |
CN110209799A (zh) * | 2018-02-07 | 2019-09-06 | 阿里巴巴集团控股有限公司 | 消息处理方法、未读消息的显示方法、计算机终端 |
CN110134484B (zh) * | 2019-05-21 | 2024-02-13 | 腾讯科技(深圳)有限公司 | 消息图标的显示方法、装置、终端及存储介质 |
CN111857500B (zh) * | 2020-06-30 | 2022-02-08 | 维沃移动通信有限公司 | 消息显示方法、装置、电子设备及存储介质 |
-
2020
- 2020-12-17 CN CN202011496564.0A patent/CN114650264B/zh active Active
-
2021
- 2021-12-02 JP JP2023536470A patent/JP2024502728A/ja active Pending
- 2021-12-02 EP EP21905533.2A patent/EP4246920A4/en active Pending
- 2021-12-02 WO PCT/CN2021/134948 patent/WO2022127604A1/zh active Application Filing
-
2023
- 2023-06-16 US US18/210,780 patent/US12074832B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108021316A (zh) * | 2017-11-30 | 2018-05-11 | 腾讯科技(深圳)有限公司 | 一种消息展示的方法及装置 |
CN108920059A (zh) * | 2018-07-27 | 2018-11-30 | 维沃移动通信有限公司 | 消息处理方法及移动终端 |
CN110837327A (zh) * | 2019-10-28 | 2020-02-25 | 维沃移动通信有限公司 | 一种消息查看方法及终端 |
CN112286416A (zh) * | 2020-10-29 | 2021-01-29 | 维沃移动通信(杭州)有限公司 | 信息显示方法、装置和电子设备 |
Non-Patent Citations (1)
Title |
---|
See also references of EP4246920A4 |
Also Published As
Publication number | Publication date |
---|---|
US20230325053A1 (en) | 2023-10-12 |
EP4246920A1 (en) | 2023-09-20 |
EP4246920A4 (en) | 2024-05-01 |
CN114650264A (zh) | 2022-06-21 |
US12074832B2 (en) | 2024-08-27 |
JP2024502728A (ja) | 2024-01-23 |
CN114650264B (zh) | 2023-08-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022127604A1 (zh) | 未读消息的展示方法、装置、电子设备和存储介质 | |
WO2023274354A1 (zh) | 视频共享方法、装置、设备及介质 | |
US11960709B2 (en) | Method and apparatus for displaying active friend information, electronic device, and storage medium | |
WO2017050169A1 (zh) | 网络通话方法、装置、终端和服务器 | |
US20240288996A1 (en) | Method for interaction, apparatus, electronic device and storage medium | |
EP4084488A1 (en) | Video interaction method and device, electronic device and storage medium | |
US10178346B2 (en) | Highlighting unread messages | |
EP3103251B1 (en) | Automatic camera selection | |
WO2022199426A1 (zh) | 视频的展示方法、装置、电子设备和存储介质 | |
WO2021228234A1 (zh) | 应用程序的互动消息展示方法、装置及可读存储介质 | |
CN112751744B (zh) | 一种控制视频播放的方法、装置、计算设备及存储介质 | |
WO2023185388A1 (zh) | 页面显示方法、装置、设备及存储介质 | |
WO2023143299A1 (zh) | 消息展示方法、装置、设备及存储介质 | |
WO2022237571A1 (zh) | 图像融合方法、装置、电子设备和存储介质 | |
WO2022111375A1 (zh) | 一种视频分享方法、装置、电子设备及存储介质 | |
WO2023109665A1 (zh) | 内容展示方法、装置、设备及存储介质 | |
US20150264309A1 (en) | Playback of Interconnected Videos | |
WO2023071606A1 (zh) | 交互方法、装置、电子设备和存储介质 | |
TW201541993A (zh) | 互連視訊的播放 | |
CN112015506B (zh) | 内容展示方法及装置 | |
US20230370686A1 (en) | Information display method and apparatus, and device and medium | |
WO2022143857A1 (zh) | 视频通话方法、装置、电子设备和存储介质 | |
CN112968826B (zh) | 语音交互方法、装置和电子设备 | |
RU2809351C1 (ru) | Способ и устройство для представления на дисплее информации об активности друзей, электронное устройство и носитель хранения информации | |
JP2016195389A (ja) | 通信管理システム、通信システム、通信管理方法、及びプログラム |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21905533 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2023536470 Country of ref document: JP |
|
ENP | Entry into the national phase |
Ref document number: 2021905533 Country of ref document: EP Effective date: 20230616 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |