WO2024041549A1 - 用于会话消息呈现的方法、装置、设备和存储介质 - Google Patents

用于会话消息呈现的方法、装置、设备和存储介质 Download PDF

Info

Publication number
WO2024041549A1
WO2024041549A1 PCT/CN2023/114334 CN2023114334W WO2024041549A1 WO 2024041549 A1 WO2024041549 A1 WO 2024041549A1 CN 2023114334 W CN2023114334 W CN 2023114334W WO 2024041549 A1 WO2024041549 A1 WO 2024041549A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
widget
visual representation
session
reply
Prior art date
Application number
PCT/CN2023/114334
Other languages
English (en)
French (fr)
Inventor
何思齐
Original Assignee
北京字跳网络技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京字跳网络技术有限公司 filed Critical 北京字跳网络技术有限公司
Publication of WO2024041549A1 publication Critical patent/WO2024041549A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/043Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information

Definitions

  • Example embodiments of the present disclosure relate generally to the computer field, and in particular to methods, apparatus, devices, and computer-readable storage media for conversation message presentation.
  • Instant messaging has become one of the main Internet services used daily by people.
  • Some specialized instant messaging applications can provide users with specialized instant messaging services, and some other platforms (such as video platforms, music platforms, etc.) usually integrate corresponding instant messaging functions.
  • a method of conversation message presentation includes: providing a widget associated with the target session, the widget presenting at least descriptive information about the target session; and in response to receiving at least one message in the target session, utilizing the widget to present a visual representation of the at least one message, visualizing The representation type of the representation is determined based on the message type of at least one message.
  • an apparatus for conversation message presentation includes: a providing module configured to provide a widget associated with the target session, the widget presenting at least descriptive information about the target session; and a presenting module configured to respond to At least one message in the target session is received, and the widget is used to present a visual representation of the at least one message, and the representation type of the visual representation is determined based on the message type of the at least one message.
  • an electronic device in a third aspect of the present disclosure, includes at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit.
  • the instructions when executed by at least one processing unit, cause the device to perform the method of the first aspect.
  • a computer-readable storage medium is provided.
  • the computer program is stored on the medium, and when the program is executed by the processor, the method of the first aspect is implemented.
  • FIG. 1 illustrates a schematic diagram of an example environment in which embodiments of the present disclosure can be implemented
  • FIGS. 2A-2C illustrate schematic diagrams of example widgets according to some embodiments of the present disclosure
  • Figure 3 shows a schematic diagram of an example conversational interface in accordance with some embodiments of the present disclosure
  • FIGS. 4A-4C illustrate schematic diagrams of example widgets according to some embodiments of the present disclosure
  • Figure 5 shows a schematic diagram of an example conversational interface in accordance with some embodiments of the present disclosure
  • FIGS. 6A and 6B illustrate schematic diagrams of example widgets according to some embodiments of the present disclosure
  • FIGS. 7A and 7B illustrate schematic diagrams of example conversational interfaces in accordance with some embodiments of the present disclosure
  • FIG. 8 shows a schematic diagram of an example framing state of a widget according to some embodiments of the present disclosure
  • Figure 9 shows a schematic diagram of an example conversational interface according to some embodiments of the present disclosure.
  • FIGS. 10A and 10B illustrate schematic diagrams of example widgets according to some embodiments of the present disclosure
  • Figure 11 shows a schematic diagram of an example conversational interface in accordance with some embodiments of the present disclosure
  • FIGS. 12A and 12B illustrate schematic diagrams of example widgets in accordance with some embodiments of the present disclosure
  • FIGS. 13A to 13C illustrate schematic diagrams of switching different messages according to some embodiments of the present disclosure
  • Figure 15 shows a schematic diagram of presenting a session aggregation interface according to some embodiments of the present disclosure
  • FIG. 16 illustrates a flowchart of an example process for conversation message presentation in accordance with some embodiments of the present disclosure
  • FIG. 17 illustrates a block diagram of an apparatus for conversation message presentation in accordance with some embodiments of the present disclosure.
  • Figure 18 illustrates a block diagram of a device capable of implementing various embodiments of the present disclosure.
  • pop-up reminder methods are usually inefficient.
  • such a pop-up reminder may not effectively provide a preview of newly received messages.
  • a pop-up reminder can usually only remind the user that a picture message has been received.
  • the organization of such unread message reminders is inefficient, and it is difficult for people to accurately obtain new messages from conversations they focus on (for example, specific friends).
  • Embodiments of the present disclosure propose a solution for conversation message presentation.
  • a widget associated with the target session may be provided, and the widget may present at least descriptive information about the target session.
  • the widget may be used to present a visual representation of at least one message, wherein the representation type of the visual representation is determined based on the message type of the at least one message.
  • embodiments of the present disclosure can effectively present to the user messages in a specific conversation that the user is interested in in the form of widgets, and can provide a richer type of visual presentation as a preview of the message.
  • example environment 100 may include electronic device 110 .
  • the electronic device 110 may be, for example, a smart terminal (eg, a smart phone). machine), which can provide a graphical interface 120 as shown in Figure 1.
  • the interface 120 may be, for example, a desktop interface of a smart terminal.
  • the electronic device 110 may be loaded with an instant messaging application or other applications capable of providing instant messaging services, which are collectively referred to as target applications below.
  • target applications can provide users with instant messaging services with other users or groups.
  • the user may, for example, create one or more conversations, and each conversation may, for example, correspond to a chat with a different user and/or group.
  • a session may correspond to an individual chat with a specific friend, or a session may correspond to a group chat with multiple friends.
  • the electronic device 110 may also provide widgets 130-1 and 130-2 (individually or collectively referred to as widgets 130) corresponding to the session in the target application.
  • Widgets also called widgets, are various types of plug-ins or components provided on a specific page (for example, the system desktop).
  • the user may create the widget 130 through an operating system portal of the electronic device 110 .
  • the user can enter the widget configuration interface for adding widgets by long pressing the system desktop.
  • the user can view widgets supported by various system applications and/or user applications of the electronic device 110 .
  • the electronic device 110 may receive a user's request to create a widget via the widget configuration interface, and may, for example, add the widget corresponding to the target application to the system desktop.
  • the widget configuration interface may, for example, provide a session selection portal for the user to configure the session associated with the current widget.
  • the user may also create the widget 130 through the target application's conversational interface.
  • the conversation interface of the target application is, for example, the conversation interface 140 with “Friend B”.
  • the user may, for example, request creation of a widget corresponding to the session through the session interface 140, and the target application may automatically add the widget 130-2 corresponding to the session to the system desktop, for example.
  • the widget 130 may have a substantially square shape, for example. Alternatively, it may have any other suitable layout, such as rectangular, circular, oval, etc. In some embodiments, one or more of the layout position, size, and shape of the widget 130 may be configured by the user.
  • the target application can provide widget styles corresponding to different sizes and/or shapes, which can be selected by the user and moved to any appropriate location on the system desktop.
  • the shape and size of the widget 130 may be, for example, unchangeable by the user, for example, it may be a specific area that is always fixed in the negative screen of the system.
  • such widgets 130 can be used to present messages received in a conversation.
  • the electronic device 110 is shown as a smartphone in FIG. 1 , it can also be any other suitable device, including but not limited to: tablet computer, laptop computer, desktop computer, personal digital assistant, smart wearable device, Vehicle equipment, etc.
  • Example styles of widgets according to embodiments of the present disclosure will first be described with reference to FIGS. 2A to 2C .
  • FIG. 2A illustrates an example widget 200A according to embodiments of the present disclosure.
  • the widget 200A may include description information of a session associated with the widget 200A (for example, a single chat session with “Friend A”).
  • Such description information may include, for example, the identities of the participants in the session, for example, the avatar 210 of “Friend A” and the identity 230 of “Friend A” (its nickname and/or remarks).
  • the widget 200A is associated with a single chat session with “Friend A”. Therefore, the identity identifier 230 can also be understood as the identifier of the single chat session.
  • the widget 200A may also present a status indicator 220 of the participant, which may, for example, use different colors to indicate whether the participant is currently online. For example, green may indicate that the party is currently online, while gray may indicate that the party is currently offline.
  • widget 200A may also include text that directs the user to enter the chat.
  • Figure 2B illustrates an example widget 200B in accordance with embodiments of the present disclosure.
  • the widget 200B may include, for example, description information of a session associated with the widget 200B (for example, a single chat session with “Friend A”).
  • the widget 200B may also present a persistence status 240 of the conversation, for example, "chatting continuously for 21 days" to indicate that the conversation is in a long-term active state. .
  • Figure 2C illustrates an example widget 200C according to embodiments of the present disclosure.
  • the widget 200C may include, for example, description information of a session associated with the widget 200C (eg, a group chat session with “Group C”).
  • the widget 200C may present identifications of multiple participants in the group chat session “Group C”, such as avatars 250 .
  • the widget 200C can also provide an identification 260 of the group chat session.
  • widgets 200A, 200B, and 200C may receive selection operations. For example, after the user clicks on the widget 200A, the widget 200B, and the widget 200C, the electronic device 110 may present the corresponding conversation interface.
  • the electronic device 110 may present a conversational interface of the target application, such as the interface 300 as shown in FIG. 3.
  • the user can communicate with "Friend A" via the instant messaging service provided by the target application.
  • the widget may provide a visual representation of the message accordingly.
  • the refreshing of widgets can be actively performed by a running target application.
  • the target application is in an inactive state, for example, the widget can be refreshed through an independent interface.
  • a widget for presenting a text symbol message will first be described with reference to FIGS. 4A to 4C .
  • a text symbol message refers to a message composed of one or more words and/or symbols. Such symbols may include, for example, kaomoji, emoji expressions, etc.
  • FIG. 4A illustrates an example widget 400A according to embodiments of the present disclosure. As shown in Figure 4A, widget 400A may present a visual representation 405 of the new text symbol message received.
  • the widget 400A can present the entire content of the text symbol message as its corresponding visual representation.
  • widget 400A may also present an identification 410 of the sender of the message and a time 415 when the message was sent and/or received.
  • the widget may render only a portion of the text symbol message as a visual representation thereof.
  • Figure 4B illustrates yet another widget 400B according to an embodiment of the present disclosure.
  • the widget 400B may present only a portion of the text symbol content 420 as its visual representation.
  • the content that is not represented can be replaced by an ellipsis, for example.
  • the widget 400B may also similarly present the identification 425 of the sender of the message and the sending and/or receiving time 430 of the message.
  • Figure 4C further illustrates yet another widget 400C according to an embodiment of the present disclosure.
  • the widget 400B may render the emoticon accordingly as its visual representation 435, although the emoticon may be encoded in an emoticon in the actual message. method is transmitted.
  • widget 400B may similarly present an identification 440 of the sender of the message and the time 445 when the message was sent and/or received.
  • the electronic device 110 may accordingly present a conversational interface of the target conversation, wherein the conversational interface is used to present the at least one received message.
  • the electronic device 110 may present the conversational interface 500 as shown in FIG. 5 , for example. As shown in Figure 5, in interface 500B, electronic device 110 may present the complete content 510 of the message.
  • embodiments of the present disclosure can conveniently and efficiently provide previews of text symbol messages in a specific conversation through widgets, thereby improving the efficiency of users in obtaining text symbol messages.
  • the electronic device 110 may also provide a visual representation of the image message through a widget.
  • Image messages are messages that include visual content, such as pictures and/or video messages in a conversation.
  • Figure 6A illustrates an example widget 600A according to embodiments of the present disclosure.
  • widget 600A can present a visual representation 605 of the new picture message received.
  • the electronic device 110 may directly fill the picture in the picture message as the background of the widget 600A as the visual representation 605 of the picture message.
  • Pictures in such picture messages may include, for example, still pictures and/or dynamic pictures.
  • widget 600A may also similarly present the identification 610 of the sender of the voice message and the sending and/or receiving time 615 of the voice message.
  • the widget 1000A may also include, for example, a quick reply entry for replying to the voice message, such as a picture or video reply entry 620.
  • a quick reply entry for replying to the voice message such as a picture or video reply entry 620.
  • the user can select the picture or video reply entry 620 to activate the image capture device of the electronic device 110 to obtain the reply picture or reply video.
  • the reply picture or reply video may be automatically sent to the target conversation, for example as a reply to the received picture message.
  • Figure 6B shows an example widget 600B according to embodiments of the present disclosure.
  • widget 600A may present a visual representation 625 of the new video message received.
  • the electronic device 110 may directly populate a specific frame in the video message as the background of the widget 600B as the visual representation 625 of the video message.
  • the specific frame may be, for example, the starting frame of the video message, cover frame or any other specified frame.
  • widget 600B can also provide length information about the video.
  • the widget 600B may play part or all of the video message within the widget window in a mute state, for example.
  • the user can, for example, click the play button 630 in the widget to trigger the muted or unmuted playback of the message in the widget.
  • widget 600B may also similarly present the identification 635 of the sender of the voice message and the sending and/or receiving time 640 of the voice message.
  • the widget 1000A may also include, for example, a quick reply entry for replying to the voice message, such as a picture or video reply entry 645.
  • a quick reply entry for replying to the voice message such as a picture or video reply entry 645.
  • the user can select the picture or video reply entry 645 to activate the image capture device of the electronic device 110 to obtain the reply picture or reply video.
  • the reply picture or reply video may be automatically sent to the target conversation, for example as a reply to the received video message.
  • the triggering logic of the widget 600A and the widget 600B will be introduced with reference to FIGS. 7A and 7B.
  • the electronic device 110 may present the conversational interface 700A to present the picture message 710.
  • the picture message 710 may be displayed in the interface 700A in full-screen mode, for example. Present.
  • electronic device 110 may present conversational interface 700B to present The video message is 720.
  • the video message 720 may be presented in the session interface of the target session, for example, in full-screen mode, and played automatically.
  • the video message may be presented in a non-full-screen mode in the conversation interface of the target session, and played automatically with mute or in response to user selection.
  • the electronic device 110 can convert the widget 600A or the widget 600B to the viewfinding state as shown in FIG. 8 .
  • the widget 800 can utilize the image capture device (eg, front camera or rear camera) of the electronic device 110 to acquire images or videos. Additionally, the reply entry 620 or the reply entry 645 in the widget can be automatically converted into a viewfinder 810 style for controlling the shooting, pausing or stopping of images or videos.
  • the image capture device eg, front camera or rear camera
  • the reply entry 620 or the reply entry 645 in the widget can be automatically converted into a viewfinder 810 style for controlling the shooting, pausing or stopping of images or videos.
  • the electronic device 110 can cause the reply picture or reply video to be automatically sent to the target conversation.
  • the electronic device 110 may send a reply picture 910 to the conversation as a reply to the received picture.
  • the reply picture 910 can also be automatically marked as a reply to the specific picture message received by using the text "Reply to Friend A", for example.
  • embodiments of the present disclosure can use widgets to quickly provide previews of picture/video messages, and can also support quick replies to picture/video messages, thereby improving the efficiency of message acquisition and interaction.
  • electronic device 110 may also provide visual representations of specific types of messages in a conversation, such as audio messages, through widgets.
  • specific types of messages may include, for example, voice messages, red envelope messages, location messages, meeting messages, invitation messages or hyperlink messages, etc.
  • FIG. 10A illustrates an example widget 1000A according to embodiments of the present disclosure.
  • widget 1000A may utilize text mode to present a visual representation 1005 of the new voice message received. Additionally, the widget 1000A may also similarly present the identification 1010 of the sender of the voice message and the sending and/or receiving time 1015 of the voice message.
  • the widget 1000A may also include a quick reply portal for replying to the voice message, such as the voice reply portal 1020 .
  • the user can select the voice reply entry 1020.
  • the voice collection device of the electronic device 110 to obtain the reply audio.
  • the reply audio may be automatically sent to the target conversation, for example as a reply to a received voice message.
  • FIG 10B illustrates an example widget 1000B in accordance with further embodiments of the present disclosure.
  • widget 1000B may also graphically present a visual representation 1025 of the new voice message received.
  • widget 1000B may indicate that a voice message has been received in the session through a graphical representation of an audio waveform.
  • widget 1000B may also present an identification 1030 of the sender of the voice message and a time 1035 when the voice message was sent and/or received. Additionally, the widget 1000B can also provide a voice reply portal 1040 for quickly replying to audio.
  • the electronic device 110 may present, for example, conversational interface 1100 as shown in FIG. 11 . As shown in FIG. 11 , in interface 1100B, electronic device 110 may present voice message 1110 .
  • electronic device 110 may present conversational interface 1100 and cause the voice message 1110 to be automatically played.
  • the electronic device 110 may present a pattern of the red envelope in the widget or provide a text representation, such as "a red envelope was sent.”
  • the electronic device 110 may present a graphical location representation in the form of a map or provide a textual representation in the widget, such as "a location was sent.”
  • the electronic device 110 may present a graphical symbol of the meeting in the widget or provide a textual representation, such as "meeting information sent.”
  • the electronic device 110 may present a graphical symbol of the file (eg, based on the format of the file) or provide a textual representation in the widget, such as "a file was sent.”
  • the electronic device 110 may present a graphic symbol corresponding to the invitation message (for example, an avatar of the group to be invited) or provide a text representation in the widget, For example, "A group invitation was sent.”
  • the electronic device 110 may present a quick preview of the link in a widget or provide a text representation, such as "a hyperlink was sent.”
  • the electronic device 110 supports the user to trigger an association corresponding to the type of the specific type of message by, for example, interacting with the corresponding visual representation.
  • Interactive operations For example, the user can directly trigger the operation of opening the red envelope by clicking on the visual representation of the red envelope message.
  • the user can directly trigger the operation of joining the group by clicking on the visual representation of the group invitation message.
  • the user can directly trigger the operation of joining the group by clicking on the visual representation of the file message. Directly trigger the operation of downloading files, etc.
  • embodiments of the present disclosure can conveniently and efficiently provide previews of various specific types of messages in specific conversations through widgets, thereby improving the efficiency of users in obtaining messages.
  • the electronic device 110 may also use widgets to provide an expression reply portal, which may, for example, provide a set of candidate expressions for selection.
  • an expression reply portal may, for example, provide a set of candidate expressions for selection.
  • users can click on any candidate emoticon to complete a quick emoticon response to the message. complex.
  • the emoticon can be sent to the conversation as a standalone message, or the emoticon can be presented as a quick reply to a specific message in association with the message in the conversation interface, for example, represented as a point for a certain message. Thumbs up.
  • embodiments of the present disclosure can determine whether the message is in the widget based on the message type of the message received in the session (for example, a text symbol message, a picture video message, a specific type of message such as voice, etc.)
  • the representation type of the visual representation for example, text representation, graphical representation, or video representation, etc.
  • the fill style of the background in the widget may be determined based on attributes associated with the target session. For example, when there are no messages or text symbol messages in the conversation, the fill color of the background of the widget can be based on the avatar of the participant associated with the target conversation (for example, the avatar of a friend), or the image of the target conversation. Identity (for example, group chat avatar).
  • the fill style of the background in the widget may be determined based on properties associated with the visual representation. For example, in the case where the visual representation includes graphical information, the fill color of the background in the widget may be determined based on the color of the graphical information. For example, if the visual representation includes an emoticon, the background of the widget can be filled with a color that is close to the emoticon color system but has different saturation, thereby forming a more overall color display style.
  • the display style and/or display position of the description information of the target session can be based on the to-be- The representation type of the presented visual representation is determined. For example, when image content is presented as a visual representation, the specific content and/or presentation style of the description information presented may be different from the case where text symbol content is presented as a visual representation.
  • embodiments of the present disclosure can provide richer types of message previews, thereby improving the efficiency of users in obtaining messages.
  • Embodiments of the present disclosure can also use widgets to provide prompts for multiple unread messages.
  • FIG. 12A illustrates an example widget 1200 in accordance with some embodiments of the present disclosure.
  • the widget 1200 may, for example, present a visual representation of multiple messages of a conversation with “Friend A”.
  • the widget 1200 can aggregate and present multiple messages as prompt information 1240 to indicate that there are currently three unread messages. Additionally, the widget 1200 may also indicate the number of dimension messages through a numerical identifier 1220 . Similarly, the widget 1200 can also present the avatar 1210 and identity mark 1230 of “Friend A”.
  • the numerical identification 1220 may be represented by a predetermined pattern, such as "99+".
  • the widget in addition to presenting prompt information indicating the number of unread messages, the widget may also present a visual representation of one of the unread messages.
  • Figure 13A illustrates an example widget 1300 in accordance with some embodiments of the present disclosure.
  • the widget 1300 in addition to prompt information about the number of unread messages, the widget 1300 also provides a visual representation 1310 of one of the unread messages (eg, the most recent unread message).
  • the widget 1300 may be switched to display a visual representation 1330 of another unread message as shown in FIG. 13C .
  • switching of different messages may also be performed accordingly in response to a user's triggering operation on a preset switching control associated with the widget.
  • the electronic device 1100 may present a conversation interface of the target conversation, and may cause the message corresponding to the selected visual representation 1330 to be highlighted or adjusted to the conversation interface. Appropriate display location.
  • embodiments of the present disclosure can use widgets to implement aggregated presentation of multiple messages, and can quickly preview multiple unread messages through appropriate sliding interactions. information, thereby improving the efficiency of message interaction.
  • a single widget may also be configured to be associated with multiple sessions, for example.
  • a user in a widget's configuration state, a user may, for example, configure a single widget to be associated with multiple different sessions and be able to configure presentation priorities for multiple sessions.
  • the configured widget always displays messages of a first conversation with a first priority in the initial state of the system desktop, and can be switched to display messages of a second conversation with a second priority by sliding.
  • FIG. 14A illustrates an example widget 1400 in accordance with implementations of the present disclosure.
  • the widget 1400 can be used, for example, to present messages related to the first conversation with “Friend A”.
  • the widget 1400 may present description information about the first session, such as a session representation or participant identification of the first session.
  • the widget 1400 may switch to displaying related messages of the second session with “Friend B” as shown in FIG. 14C .
  • the widget 1400 may present description information about the second session, such as a session representation or participant identification of the second session.
  • switching of different sessions may also be performed in response to a user's triggering operation on a preset switching control associated with the widget.
  • the display priority of different sessions in the widget can also be dynamically changed. For example, when a conversation receives new unread messages, its display priority can be increased and can always be switched to being presented directly in the widget without switching. Alternatively, the display priority of different conversations in the widget can also be based on the number of unread messages.
  • embodiments of the present disclosure can also support using a single widget to aggregately provide related messages of multiple sessions, thereby improving the efficiency of message presentation and acquisition.
  • the electronic device 110 may also present visual components corresponding to the session in the session aggregation interface.
  • Figure 15 shows a schematic diagram 1500 of presenting a session aggregation interface in accordance with some embodiments of the present disclosure.
  • the electronic device 110 may also present, in the session aggregation interface 1510, visual components 1520-1 and 1520-2 (individually or collectively referred to as visual components 1320) corresponding to the session in the target application.
  • visual components 1520-1 and 1520-2 may include card components, tile components, etc.
  • such visual components may be independently editable, eg, created, moved, deleted, etc.
  • content presented in visualization component 1520 may correspond to content presented in widget 130 .
  • visualization component 1520 may have a similar shape to widget 130 and may be sized accordingly, for example, to fit display in session aggregation interface 1510 .
  • content presented in visualization component 1520 may be updated together with widget 130, for example.
  • visualization component 1520 may be updated independently of widget 130 but always maintains corresponding display content.
  • updates to content in visualization component 1520 and widget 130 may always depend on the other.
  • updates to visualization component 1520 may be used to trigger corresponding widgets 130 to be updated accordingly.
  • the visualization component 1520 may have the same interaction logic as the corresponding widget 130, for example.
  • selection of visualization component 1520 may also trigger electronic device 110 to present a session interface corresponding to the target session.
  • interaction mechanisms please refer to the content described above about the widget 130, which will not be described again here.
  • embodiments of the present disclosure can also utilize one or more visual components in the conversation aggregation interface to conveniently provide a visual representation of messages received in the conversation, thereby facilitating users to more quickly and intuitively obtain information in the conversation.
  • Message content can also be utilized.
  • FIG. 16 illustrates a flow diagram of an example process 1600 for conversation message presentation in accordance with some embodiments of the present disclosure.
  • Process 1600 may be implemented by electronic device 110 of FIG. 1 independently, or by a combination of electronic device 110 and other computing devices. For convenience Discussion, process 1600 will be described in connection with FIG. 1 .
  • the electronic device 110 provides a widget associated with the target session, the widget presenting at least descriptive information about the target session.
  • the electronic device 110 utilizes the widget to present a visual representation of the at least one message, the representation type of the visual representation being determined based on the message type of the at least one message.
  • the method further includes: in response to receiving the first preset operation for the widget, presenting a conversation interface of the target session, the conversation interface being used to present the received at least one message.
  • the first preset operation includes selection for the visual representation.
  • the method further includes: in response to the conversation interface of the target conversation being presented, stopping presenting the visual representation of the at least one message in the widget.
  • the description information of the target session includes at least one of the following: a session identifier of the target session; a participant identifier of at least one participant of the target session; and a status identifier of at least one participant of the target session, used to indicate Whether at least one participant is in an online state; wherein the session representation, participant identification or status identification includes a text identification and/or a graphical identification.
  • the at least one message includes an image content message
  • presenting a visual representation of the at least one message with the widget includes filling at least a portion of a background of the widget with a picture associated with the image content message as a representation of the image content message.
  • the image content message includes a picture message
  • presenting a visual representation of the at least one message using the widget includes filling at least part of a background of the widget with a picture in the picture message as the visual representation of the picture message.
  • the image content message includes a video message
  • presenting a visual representation of the at least one message with the widget includes filling at least a portion of a background of the widget with a target frame of a video in the video message as the visual representation of the video message.
  • the method further includes: in response to the selection of the visual representation, causing the video in the video message to be played in the conversation interface of the target conversation.
  • At least one message includes a specific type of message
  • the specific type of message includes at least one of the following: a voice message, a red envelope message, a location message, a meeting message, a file message, an invitation message, a call request message, and a hyperlink message, wherein ,Visual representations support associated interactive ,operations that correspond to types of specific types of ,messages.
  • using the widget to present the visual representation of at least one message includes using the widget to present a graphical representation corresponding to the specific type of message as the visual representation of the specific type of message.
  • the widget further includes a quick reply entry configured to generate a reply message to at least one message based on the widget.
  • the quick reply portal includes a voice reply portal
  • the method further includes: in response to the selection of the voice reply portal, using an audio collection device to obtain the reply audio; and sending the reply audio as a reply message to the target conversation.
  • the quick reply portal includes an expression reply portal
  • the expression reply portal includes a set of candidate expressions
  • the method further includes: in response to the selection of a target expression in the set of candidate expressions, sending the target expression as a reply message to the target session.
  • the quick reply entry includes a picture or video reply entry
  • the method further includes: in response to a selection of the picture or video reply entry, converting the widget into a framing state for acquiring an image or video using an image capture device; And send the picture or video obtained based on the widget to the target conversation as a reply message.
  • the reply message is marked as a reply to at least one message in the conversation interface of the target conversation.
  • the method further includes: in response to a second preset operation for the widget, switching the widget to present description information related to another session different from the target session.
  • the second preset operation includes a first sliding operation or a triggering operation for a first preset switching control associated with the widget.
  • the at least one message includes a plurality of messages, wherein utilizing the widget to present a visual representation of the at least one message includes: utilizing the widget to present a first visual representation of a first message in the plurality of messages; and in response to a request for the widget A third preset operation of the widget is to switch the widget to present a second visual representation of a second message among the plurality of messages.
  • the third preset operation includes a second sliding operation or a triggering operation for a second preset switching control associated with the widget.
  • the representation type of the visual representation includes at least one of text representation, graphical representation, and video representation.
  • the widget is constructed in response to a widget creation request received in the session interface of the target session or in the system desktop of the operating system.
  • the method further includes: presenting a card component corresponding to the target session in the session aggregation interface, wherein the card component presents content corresponding to the widget.
  • the presentation location and/or presentation style of the descriptive information is determined based on the representation type of the visual representation.
  • the widget's background fill style is determined based on a first attribute associated with the target session and/or a second attribute associated with the visual representation.
  • FIG. 17 shows a schematic structural block diagram of an apparatus 1700 for conversation message presentation according to some embodiments of the present disclosure.
  • the apparatus 1700 includes a providing module 1710 configured to provide a widget associated with the target session, the widget presenting at least descriptive information about the target session.
  • the apparatus 1700 further includes a presentation module 1720 configured to, in response to receiving at least one message in the target conversation, utilize the widget to present a visual representation of the at least one message, the representation type of the visual representation being based on the message type of the at least one message. It is determined.
  • a presentation module 1720 configured to, in response to receiving at least one message in the target conversation, utilize the widget to present a visual representation of the at least one message, the representation type of the visual representation being based on the message type of the at least one message. It is determined.
  • the presentation module 1720 is further configured to: in response to receiving the first preset operation for the widget, present a conversation interface of the target session, the conversation interface being used to present the received at least one message.
  • the first preset operation includes selection for the visual representation.
  • the presentation module 1720 is further configured to stop presenting the visual representation of the at least one message in the widget in response to the conversation interface of the target conversation being presented.
  • the description information of the target session includes at least one of the following: a session identifier of the target session; a participant identifier of at least one participant of the target session; and a status identifier of at least one participant of the target session, used to indicate Whether at least one participant is in an online state; wherein the session representation, participant identification or status identification includes a text identification and/or a graphical identification.
  • At least one of the messages includes an image content message
  • the presentation module 1720 is further configured to fill at least a portion of the background of the widget with a picture associated with the image content message as a visual representation of the image content message.
  • the image content message includes a picture message
  • the rendering module 1720 is further configured to fill at least part of the background of the widget with the picture in the picture message as a visual representation of the picture message.
  • the image content message includes a video message
  • the rendering module 1720 is further configured to fill at least part of the background of the widget with the target frame of the video in the video message as a visual representation of the video message.
  • the presentation module 1720 is further configured to cause the video in the video message to be played in the conversation interface of the target conversation in response to the selection of the visual representation.
  • At least one message includes a specific type of message
  • the specific type of message includes at least one of the following: a voice message, a red envelope message, a location message, a meeting message, a file message, an invitation message, a call request message, and a hyperlink message, wherein ,Visual representations support associated interactive ,operations that correspond to types of specific types of ,messages.
  • the presentation module 1720 is further configured to utilize the widget to present a graphical representation corresponding to the specific type of message as a visual representation of the specific type of message.
  • the widget further includes a quick reply entry configured to generate a reply message to at least one message based on the widget.
  • the quick reply portal includes a voice reply portal
  • the presentation module 1720 is further configured to: in response to the selection of the voice reply portal, obtain the reply audio using an audio collection device; and send the reply audio as a reply message to the target conversation. .
  • the quick reply entry includes an expression reply entry
  • the expression reply entry includes a set of candidate expressions
  • the presentation module 1720 is further configured to: respond to a set of candidate expressions Select the target expression among the candidate expressions, and send the target expression as a reply message to the target conversation.
  • the quick reply entry includes a picture or video reply entry
  • the presentation module 1720 is further configured to: in response to a selection of the picture or video reply entry, convert the widget into a widget for obtaining an image or video using an image capture device. the framing status; and send the picture or video obtained based on the widget to the target conversation as a reply message.
  • the reply message is marked as a reply to at least one message in the conversation interface of the target conversation.
  • the presentation module 1720 is further configured to: in response to a second preset operation for the widget, switch the widget to present description information of another session different from the target session.
  • the second preset operation includes a first sliding operation or a triggering operation for a first preset switching control associated with the widget.
  • the at least one message includes a plurality of messages
  • the presentation module 1720 is further configured to: present a first visual representation of a first message among the plurality of messages using the widget; and in response to a third preset for the widget. Assume an operation to switch the widget to present a second visual representation of a second message among the plurality of messages.
  • the third preset operation includes a second sliding operation or a triggering operation for a second preset switching control associated with the widget.
  • the representation type of the visual representation includes at least one of text representation, graphical representation, and video representation.
  • the widget is constructed in response to a widget creation request received in the session interface of the target session or in the system desktop of the operating system.
  • the presentation module 1720 is further configured to present a card component corresponding to the target session in the session aggregation interface, where the card component presents content corresponding to the widget.
  • the presentation location and/or presentation style of the descriptive information is determined based on the representation type of the visual representation.
  • the widget's background fill style is based on the The first attribute and/or the second attribute associated with the visual representation are determined.
  • the units included in the device 1700 may be implemented in various ways, including software, hardware, firmware, or any combination thereof.
  • one or more units may be implemented using software and/or firmware, such as machine-executable instructions stored on a storage medium.
  • some or all of the units in apparatus 1700 may be implemented, at least in part, by one or more hardware logic components.
  • exemplary types of hardware logic components include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLD), etc.
  • Figure 18 illustrates a block diagram of a computing device/server 1800 in which one or more embodiments of the present disclosure may be implemented. It should be understood that the computing device/server 1800 shown in Figure 18 is exemplary only and should not constitute any limitation on the functionality and scope of the embodiments described herein.
  • computing device/server 1800 is in the form of a general purpose computing device.
  • Components of computing device/server 1800 may include, but are not limited to, one or more processors or processing units 1810, memory 1820, storage devices 1830, one or more communication units 1840, one or more input devices 1860, and one or more Output device 1860.
  • the processing unit 1810 may be a real or virtual processor and can perform various processes according to a program stored in the memory 1820 . In a multi-processor system, multiple processing units execute computer-executable instructions in parallel to increase the parallel processing capabilities of the computing device/server 1800.
  • Computing device/server 1800 typically includes a plurality of computer storage media. Such media may be any available media that is accessible to computing device/server 1800, including, but not limited to, volatile and nonvolatile media, removable and non-removable media.
  • Memory 1820 may be volatile memory (e.g., registers, cache, random access memory (RAM)), nonvolatile memory (e.g., read only memory (ROM), electrically erasable programmable read only memory (EEPROM) , flash memory) or some combination thereof.
  • Storage device 1830 may be a removable or non-removable medium and may include machine-readable media such as a flash drive, a magnetic disk, or any other medium that may be capable of storing information and/or data (such as training data for training ) and can be found on computing devices/ Server 1800 was accessed.
  • machine-readable media such as a flash drive, a magnetic disk, or any other medium that may be capable of storing information and/or data (such as training data for training ) and can be found on computing devices/ Server 1800 was accessed.
  • Computing device/server 1800 may further include additional removable/non-removable, volatile/non-volatile storage media.
  • a disk drive may be provided for reading from or writing to a removable, non-volatile disk (eg, a "floppy disk") and for reading from or writing to a removable, non-volatile optical disk. Read or write to optical disc drives.
  • each drive may be connected to the bus (not shown) by one or more data media interfaces.
  • Memory 1820 may include a computer program product 1825 having one or more program modules configured to perform various methods or actions of various embodiments of the present disclosure.
  • the communication unit 1840 implements communication with other computing devices through communication media. Additionally, the functionality of the components of computing device/server 1800 may be implemented as a single computing cluster or as multiple computing machines capable of communicating through communications connections. Accordingly, computing device/server 1800 may operate in a networked environment using logical connections to one or more other servers, a network personal computer (PC), or another network node.
  • PC network personal computer
  • Input device 1850 may be one or more input devices, such as a mouse, keyboard, trackball, etc.
  • Output device 1860 may be one or more output devices, such as a display, speakers, printer, etc.
  • Computing device/server 1800 may also communicate via communication unit 1840 with one or more external devices (not shown), such as storage devices, display devices, etc., as needed, and with one or more external devices that enable users to communicate with computing device/server 1800 . 1800 interacts with devices, or with any device (e.g., network card, modem, etc.) that enables computing device/server 1800 to communicate with one or more other computing devices. Such communication may be performed via an input/output (I/O) interface (not shown).
  • I/O input/output
  • a computer-readable storage medium is provided with one or more computer instructions stored thereon, wherein the one or more computer instructions are executed by a processor to implement the method described above.
  • These computer-readable program instructions may be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus, thereby producing a machine such that, when executed by the processing unit of the computer or other programmable data processing apparatus, the computer-readable program instructions , resulting in an apparatus that implements the functions/actions specified in one or more blocks in the flowchart and/or block diagram.
  • These computer-readable program instructions can also be stored in a computer-readable storage medium. These instructions cause the computer, programmable data processing device and/or other equipment to work in a specific manner. Therefore, the computer-readable medium storing the instructions includes An article of manufacture that includes instructions that implement aspects of the functions/acts specified in one or more blocks of the flowcharts and/or block diagrams.
  • Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other equipment, causing a series of operating steps to be performed on the computer, other programmable data processing apparatus, or other equipment to produce a computer-implemented process , thereby causing instructions executed on a computer, other programmable data processing apparatus, or other equipment to implement the functions/actions specified in one or more blocks in the flowcharts and/or block diagrams.
  • each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions that contains one or more executable functions for implementing the specified logical functions instruction.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two consecutive blocks may actually execute substantially in parallel, or they may sometimes execute in the reverse order, depending on the functionality involved.
  • each block of the block diagram and/or flowchart illustration, and combinations of blocks in the block diagram and/or flowchart illustration can be implemented by special purpose hardware-based systems that perform the specified functions or acts. , or can be implemented using a combination of specialized hardware and computer instructions.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

根据本公开的实施例,提供了用于会话消息呈现的方法、装置、设备和存储介质。该方法包括提供与目标会话相关联的微件,微件至少呈现关于目标会话的描述信息;以及响应于接收到目标会话中的至少一条消息,利用微件呈现至少一条消息的可视化表示,可视化表示的表示类型是基于至少一条消息的消息类型而被确定。

Description

用于会话消息呈现的方法、装置、设备和存储介质
本申请要求2022年08月23日递交的、标题为“用于会话消息呈现的方法、装置、设备和存储介质”、申请号为202211017172.0的中国发明专利申请的优先权,该申请的全部内容通过引用结合在本申请中。
技术领域
本公开的示例实施例总体涉及计算机领域,特别地涉及用于会话消息呈现的方法、装置、设备和计算机可读存储介质。
背景技术
随着计算机技术的发展,越来越多的人们依赖于互联网进行日常的沟通。即时通讯已经成为人们日常使用的主要的互联网服务之一。一些专门的即时通讯应用能够为用户提供专门的即时通讯服务,一些其它平台(诸如,视频平台、音乐平台等)也通常会集成有相应的即时通讯功能。
发明内容
在本公开的第一方面,提供了一种会话消息呈现的方法。该方法包括:提供与目标会话相关联的微件,微件至少呈现关于目标会话的描述信息;以及响应于接收到目标会话中的至少一条消息,利用微件呈现至少一条消息的可视化表示,可视化表示的表示类型是基于至少一条消息的消息类型而被确定。
在本公开的第二方面,提供了一种用于会话消息呈现的装置。该装置包括:提供模块,被配置为提供与目标会话相关联的微件,微件至少呈现关于目标会话的描述信息;以及呈现模块,被配置为响应于 接收到目标会话中的至少一条消息,利用微件呈现至少一条消息的可视化表示,可视化表示的表示类型是基于至少一条消息的消息类型而被确定。
在本公开的第三方面,提供了一种电子设备。该设备包括至少一个处理单元;以及至少一个存储器,至少一个存储器被耦合到至少一个处理单元并且存储用于由至少一个处理单元执行的指令。指令在由至少一个处理单元执行时使设备执行第一方面的方法。
在本公开的第四方面,提供了一种计算机可读存储介质。介质上存储有计算机程序,程序被处理器执行时实现第一方面的方法。
应当理解,本发明内容部分中所描述的内容并非旨在限定本公开的实施例的关键特征或重要特征,也不用于限制本公开的范围。本公开的其它特征将通过以下的描述而变得容易理解。
附图说明
结合附图并参考以下详细说明,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。在附图中,相同或相似的附图标记表示相同或相似的元素,其中:
图1示出了本公开的实施例能够在其中实现的示例环境的示意图;
图2A至图2C示出了根据本公开的一些实施例的示例微件的示意图;
图3示出了根据本公开的一些实施例的示例会话界面的示意图;
图4A至图4C示出了根据本公开的一些实施例的示例微件的示意图;
图5示出了根据本公开的一些实施例的示例会话界面的示意图;
图6A和图6B示出了根据本公开的一些实施例的示例微件的示意图;
图7A和图7B示出了根据本公开的一些实施例的示例会话界面的示意图;
图8示出了根据本公开的一些实施例的微件的示例取景状态的示意图;
图9示出了根据本公开的一些实施例的示例会话界面的示意图;
图10A和图10B示出了根据本公开的一些实施例的示例微件的示意图;
图11示出了根据本公开的一些实施例的示例会话界面的示意图;
图12A和图12B示出了根据本公开的一些实施例的示例微件的示意图;
图13A至图13C示出了根据本公开的一些实施例的切换不同消息的示意图;
图14A至图14C示出了根据本公开的一些实施例的切换不同会话的示意图;
图15示出了根据本公开的一些实施例的呈现会话聚合界面的示意图;
图16示出了根据本公开的一些实施例的会话消息呈现的示例过程的流程图;
图17示出了根据本公开的一些实施例的用于会话消息呈现的装置的框图;以及
图18示出了能够实施本公开的多个实施例的设备的框图。
具体实施方式
下面将参照附图更详细地描述本公开的实施例。虽然附图中示出了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反,提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。
在本公开的实施例的描述中,术语“包括”及其类似用语应当理解为开放性包含,即“包括但不限于”。术语“基于”应当理解为“至 少部分地基于”。术语“一个实施例”或“该实施例”应当理解为“至少一个实施例”。术语“一些实施例”应当理解为“至少一些实施例”。下文还可能包括其他明确的和隐含的定义。
如上文所讨论的,人们在使用即时通讯服务时,通常需要进入到即时通讯的会话界面才能够获取新的消息。一些即时通讯也可能通过弹窗的方式来提示用户收到了新的消息。然而,这样的消息呈现方式是有限且低效的,使得人们难以高效地获取即时通讯会话中新接收到的消息。
然而,这样的弹窗提醒的方式通常是低效的。一方面,这样的弹窗提醒可能无法有效地提供关于新收到消息的预览,例如,对于图片类型消息,这样的弹窗提醒通常只能够提示用户收到了一条图片消息。另一方面,这样的未读消息的提醒的组织是低效的,人们难以准确地从中获取其重点关注的会话(例如,特定好友)的新消息。
本公开的实施例提出了一种用于会话消息呈现的方案。根据该方案,可以提供与目标会话相关联的微件(widget),该微件可以至少呈现关于目标会话的描述信息。
进一步地,当接收到目标会话中的新消息时,可以利用微件呈现至少一条消息的可视化表示,其中可视化表示的表示类型是基于至少一条消息的消息类型而被确定。
由此,本公开的实施例能够通过微件这一形式来为用户有效地呈现用户感兴趣的特定会话中的消息,并且能够提供更加丰富类型的可视化呈现,以作为消息的预览。
以下进一步结合附图来详细描述该方案的各种示例实现。
示例环境
首先参见图1,其示意性示出了其中可以实施根据本公开的示例性实现方式的示例环境100的示意图。如图1所示,示例环境100可以包括电子设备110。
如图1所示,电子设备110例如可以为智能终端(例如,智能手 机),其能够提供如图1所示的图形界面120。界面120例如可以是智能终端的桌面界面。
在一些实施例中,电子设备110可以装载有即时通讯应用或者能够提供即时通讯服务的其它应用,下文统称为目标应用。这样的目标应用能够为用户提供与其它用户或者群组的即时通讯服务。
在目标应用中,用户例如可以创建一个或多个会话,每个会话例如可以对应于和不同的用户和/或群组的聊天。例如,一个会话可以对应于与特定好友的单聊,或者,一个会话也可以对应于同多个好友的群聊。
在一些实施例中,如图1所示,电子设备110还可以提供与目标应用中的会话所对应的微件130-1和130-2(单独或统一称为微件130)。微件,也称为widget,其是在特定页面(例如,系统桌面)上提供的各类型插件或组件。
在一些实施例中,用户可以通过电子设备110的操作系统入口来创建微件130。例如,用户可以通过长按系统桌面来进入到添加微件的微件配置界面。
示例性地,在微件配置界面,用户可以查看到电子设备110的各种系统应用和/或用户应用所支持的微件。进一步地,电子设备110可以经由微件配置界面接收用户创建微件的请求,并可以例如将与目标应用所对应的微件添加到系统桌面。
在一些实施例中,微件配置界面例如可以为用户提供会话选择入口,以供用户配置当前微件所关联的会话。
在一些实施例中,用户也可以通过目标应用的会话界面来创建微件130。例如,如图1所示,目标应用的会话界面例如为与“B好友”的会话界面140。用户例如可以通过会话界面140来请求创建与该会话所对应的微件,并例如由目标应用自动地将与该会话对应的微件130-2添加到系统桌面。
如图1所示,微件130例如可以具有基本方形的形状。备选地,其也可以具有其它任何适当的布局,例如,矩形、圆形、椭圆形等。 在一些实施例中,微件130的布局位置、尺寸、形状中的一项或多项例如可以是由用户所配置的。
例如,目标应用可以提供与不同尺寸和/或形状对应的微件样式,并由用户来进行选择,并移动到系统桌面中的任何适当位置。
在一些实施例中,微件130的形状和尺寸例如可以是用户所无法改变的,其例如可以是总是被固定在系统的负一屏中的特定区域。
如下文将详细介绍的,这样的微件130能够用于呈现会话中所接收到的消息。
应当理解,虽然图1中电子设备110被示出为智能手机,但是其还可以是其它任何适当的设备,包括但不限于:平板电脑、笔记本电脑、台式机、个人数字助理、智能穿戴设备、车载设备等。
下文将详细介绍利用微件来实现消息呈现的各种示例实现。
微件的示例样式
首先将参考图2A至图2C来描述根据本公开实施例的微件的示例样式。
图2A示出了根据本公开的实施例的示例微件200A。如图2A所示,微件200A例如可以包括与该微件200A所关联的会话(例如,与“A好友”的单聊会话)的描述信息。
这样的描述信息例如可以包括会话的参与方的标识,例如,“A好友”的头像210以及“A好友”的身份标识230(其昵称和/或备注)。在图2A的示例中,该微件200A是关联于同“A好友”的单聊会话。因此,身份标识230也可以理解为是该单聊会话的标识。
附加地,微件200A还可以呈现参与方的状态标识220,其例如可以通过不同的颜色来表示该参与方当前是否处于在线状态。例如,绿色可以表示该参与方当前处于在线状态,灰色则可以表示该参与方当前处于离线状态。
此外,如图2A所示,微件200A还可以包括引导用户进入聊天的文本。
在另一示例中,图2B示出了根据本公开的实施例的示例微件200B。如图2B所示,微件200B例如可以包括与该微件200B所关联的会话(例如,与“A好友”的单聊会话)的描述信息。
除参考图2A所讨论的头像210、状态标识220和身份标识230外,微件200B还可以呈现该会话的持续状态240,例如,“连续聊天21天”,以指示该会话处于长期活跃的状态。
在又一示例中,图2C示出了根据本公开的实施例的示例微件200C。如图2C所示,微件200C例如可以包括与该微件200C所关联的会话(例如,与“C群组”的群聊会话)的描述信息。
如图2C所示,微件200C可以呈现“C群组”这一群聊会话中的多个参与方的标识,例如头像250。此外,微件200C还可以提供群聊会话的标识260。
在一些实施例中,微件200A、200B和200C可以接收选择操作。例如,用户在点击微件200A、微件200B和微件200C后,电子设备110可以呈现相应的会话界面。
例如,如果用户点击了如图2A所示的微件200A,则电子设备110可以呈现目标应用的会话界面,例如如图3所示的界面300。
在界面300中,用户可以经由目标应用提供的即时通讯服务来与“A好友”进行消息通讯。
基于微件的消息呈现
以下将描述利用微件来呈现即时通讯会话中的不同类型的消息。在一些实施例中,当与微件对应的会话中接收到了新的消息时,微件可以相应地提供关于该消息的可视化表示。
应当理解,微件的刷新可以由运行中的目标应用主动地进行。或者,在目标应用例如处于未启用状态时,微件的刷新也可以是经由独立的接口来进行。
文本符号消息的呈现
首先将参考图4A至图4C来描述根据本公开实施例的用于呈现文本符号消息的微件。文本符号消息是指由一个或多个文字和/或符号所构成的消息。这样的符号例如可以包括颜文字、emoji表情等。
图4A示出了根据本公开的实施例的示例微件400A。如图4A所示,微件400A可以呈现所接收到的新的文本符号消息的可视化表示405。
具体地,如果该文本符号消息的长度小于阈值长度,以使得该微件400A可以完整呈现时,微件400A可以呈现该文本符号消息的全部内容,以作为其对应的可视化表示。
附加地,微件400A还可以呈现该消息的发送方的标识410以及该消息的发送和/或接收时间415。
在一些实施例中,如果文本符号消息的长度达到阈值长度,则微件可以仅呈现该文本符号消息的部分内容,以作为其可视化表示。
例如,图4B示出了根据本公开实施例的又一微件400B。在其所接收的文本符号消息的长度达到阈值长度的情况下,微件400B可以仅呈现该文本符号内容的部分内容420,以作为其可视化表示。其未被呈现的内容例如可以通过省略号所替代。
此外,微件400B也可以类似地呈现该消息的发送方的标识425以及该消息的发送和/或接收时间430。
图4C进一步示出了根据本公开实施例的又一微件400C。如图4C所示,在接收到由表情符号所组成的文本符号消息时,微件400B可以相应地渲染该表情以作为其可视化表示435,尽管该表情在实际的消息中可能是以表情编码的方式被传输。
类似地,微件400B也可以类似地呈现该消息的发送方的标识440以及该消息的发送和/或接收时间445。
在一些实施例中,当用户选择微件中的可视化表示时,电子设备110可以相应地呈现所述目标会话的会话界面,其中该会话界面用于呈现所接收的所述至少一条消息。
例如,对于图4B所示的微件400B,其呈现的消息的非完整内容 以作为其可视化表示。在用户点击了该可视化表示或者微件中的其它位置的情况下,电子设备110例如可以呈现如图5所示的会话界面500。如图5所示,在界面500B中,电子设备110可以呈现该消息的完整内容510。
基于这样的方式,本公开的实施例能够通过微件便捷、且高效地提供关于特定会话中的文本符号消息的预览,从而提高用户获取文本符号消息的效率。
图像消息的呈现
在一些实施例中,电子设备110还可以通过微件来提供图像消息的可视化表示。图像消息即包括视觉画面内容的消息,例如包括会话中图片和/或视频消息。
图6A示出了根据本公开的实施例的示例微件600A。如图6A所示,微件600A可以呈现所接收到的新的图片消息的可视化表示605。例如,电子设备110可以直接将图片消息中的图片填充以作为微件600A的背景,以作为该图片消息的可视化表示605。这样的图片消息中的图片例如可以包括静态图片和/或动态图片。
附加地,微件600A也可以类似地呈现该语音消息的发送方的标识610以及该语音消息的发送和/或接收时间615。
此外,微件1000A例如还可以包括用于回复该语音消息的快捷回复入口,例如图片或视频回复入口620。用户例如可以选择该图片或视频回复入口620,以激活电子设备110的图像采集设备来获取回复图片或回复视频。进一步地,该回复图片或回复视频可以被自动地发送至目标会话中,以例如作为所接收到的图片消息的回复。
作为另一示例,图6B示出了根据本公开的实施例的示例微件600B。如图6B所示,微件600A可以呈现所接收到的新的视频消息的可视化表示625。例如,电子设备110可以直接将视频消息中的特定帧填充以作为微件600B的背景,以作为该视频消息的可视化表示625。在一些实施例中,该特定帧例如可以是该视频消息的起始帧、 封面帧或者其它任何指定的帧。
附加地,微件600B还可以提供关于该视频的长度信息。在一些实施例中,当用户首次查看到该微件600B时,微件600B例如可以在静音状态下在微件窗口内播放该视频消息的部分或全部内容。备选地,用户例如可以通过点击微件中的播放按钮630,以触发消息在微件中的静音或非静音播放。
附加地,微件600B也可以类似地呈现该语音消息的发送方的标识635以及该语音消息的发送和/或接收时间640。此外,微件1000A例如还可以包括用于回复该语音消息的快捷回复入口,例如图片或视频回复入口645。用户例如可以选择该图片或视频回复入口645,以激活电子设备110的图像采集设备来获取回复图片或回复视频。进一步地,该回复图片或回复视频可以被自动地发送至目标会话中,以例如作为所接收到的视频消息的回复。
首先将参考图7A和图7B来介绍微件600A和微件600B的触发逻辑。示例性地,当用户例如选择了微件600A中的可视化表示605,或者点击了微件600A中除回复入口620的其它位置时,电子设备110可以呈现会话界面700A,以呈现该图片消息710。
在一些实施例中,当用户例如选择了微件600A中的可视化表示605,或者点击了微件600A中除回复入口620的其它位置时,该图片消息710例如可以以全屏模式在界面700A中被呈现。
作为另一示例,当用户例如选择了微件600B中的可视化表示625,或者点击了微件600B中除播放按钮630和回复入口645的其它位置时,电子设备110可以呈现会话界面700B,以呈现该视频消息720。
在一些实施例中,该视频消息720例如可以以全屏模式在目标会话的会话界面中被呈现,并且被自动播放。备选地,该视频消息可以以非全屏模式在目标会话的会话界面中被呈现,并且被自动静音播放或者响应于用户选择才开始播放。
此外,当用户例如选择了微件600A中的回复入口620或微件 600B中的回复入口645时,电子设备110可以将微件600A或微件600B转换至如图8所示的取景状态。
如图8所示,在取景状态下,微件800能够利用电子设备110的图像捕获设备(例如,前置摄像头或后置摄像头)来获取图像或视频。附加地,微件中的回复入口620或回复入口645可以自动地转换为取景器810的样式,以用于控制图像或视频的拍摄、暂停或停止。
进一步地,在用户利用取景状态下的微件800完成回复图片或回复视频的录制后,电子设备110可以使该回复图片或回复视频被自动地发送至目标会话中。
例如,如图9所示,在会话界面900中,电子设备110可以将回复图片910发送到该会话中,以作为所接收到的图片的回复。附加地,在会话界面900中,该回复图片910例如还可以利用文本“回复A好友”来被自动地标记为是针对所接收到的特定图片消息的回复。
基于这样的方式,本公开的实施例能够利用微件来快捷地提供关于图片/视频消息的预览,并且还能够支持对于图片/视频消息的快速回复,从而提高了消息获取和交互的效率。
语音等特定类型消息的呈现
在一些实施例中,电子设备110还可以通过微件来提供会话中诸如音频消息等特定类型消息的可视化表示。这样的特定类型消息例如可以包括语音消息、红包消息、位置消息、会议消息、邀请消息或超链接消息等。
图10A示出了根据本公开的实施例的示例微件1000A。如图10A所示,微件1000A可以利用文本方式来呈现所接收到的新的语音消息的可视化表示1005。附加地,微件1000A也可以类似地呈现该语音消息的发送方的标识1010以及该语音消息的发送和/或接收时间1015。
此外,微件1000A例如还可以包括用于回复该语音消息的快捷回复入口,例如语音回复入口1020。用户例如可以选择该语音回复入口 1020,以激活电子设备110的语音采集设备来获取回复音频。进一步地,该回复音频可以被自动地发送至目标会话中,以例如作为所接收到的语音消息的回复。
图10B示出了根据本公开的又一些实施例的示例微件1000B。如图10B所示,微件1000B还可以利用图形方式来呈现所接收到的新的语音消息的可视化表示1025。例如,微件1000B可以通过音频波形的图形表示来表示该会话中接收到了语音消息。
此外,类似于微件1000A,微件1000B也可以呈现类似地呈现该语音消息的发送方的标识1030以及该语音消息的发送和/或接收时间1035。附加地,微件1000B也可以提供用于快速回复音频的语音回复入口1040。
在一些实施例中,当用户例如点击微件1000A和/或1000B中的可视化表示1005或1025,或者用户点击微件1000A和/或1000B中除语音回复入口1020或1040外的部分时,电子设备110例如可以呈现如图11所示的会话界面1100。如图11所示,在界面1100B中,电子设备110可以呈现语音消息1110。
在一些实施例中,在接收到用户对于可视化表示1005或1025的选择后,电子设备110可以呈现会话界面1100,并使得该语音消息1110被自动地播放。
虽然上文参考语音消息来讨论了特定类型消息的呈现,但是应当理解,其它特定类型的消息,诸如红包消息、位置消息、会议消息、文件消息、邀请消息或超链接消息等,也可以通过类似的机制来呈现。
例如,对于会话中接收到的红包消息,电子设备110可以在微件中呈现红包的图案或者提供文本表示,例如“发送了一个红包”。
例如,对于会话中接收到的位置消息,电子设备110可以在微件中呈现地图形式的图形位置表示或者提供文本表示,例如“发送了一个位置”。
例如,对于会话中接收到的会议消息,电子设备110可以在微件中呈现会议的图形符号或者提供文本表示,例如“发送了会议信息”。
例如,对于会话中接收到的会议消息,电子设备110可以在微件中呈现文件的图形符号(例如,基于文件的格式来呈现)或者提供文本表示,例如“发送了一个文件”。
例如,对于会话中接收到的邀请消息(例如,群组邀请),电子设备110可以在微件中呈现该邀请消息对应的图形符号(例如,待邀请的群组的头像)或者提供文本表示,例如“发送了群组邀请”。
例如,对于会话中接收到的超链接消息,电子设备110可以在微件中呈现该链接的快速预览内容或者提供文本表示,例如“发送了一条超链接”。
在一些实施例中,类似于上文所介绍的语音消息,对于上述的其他特定类型消息,电子设备110例如支持用户通过与对应的可视化表示进行交互,而触发与特定类型消息的类型对应的关联交互操作。例如,用户例如可以通过点击红包消息的可视化表示来直接触发打开红包的操作,例如可以通过点击群组邀请消息的可视化表示来直接触发加入群组的操作,例如可以通过点击文件消息的可视化表示来直接触发下载文件的操作,等等。
基于这样的方式,本公开的实施例能够通过微件便捷、且高效地提供关于特定会话中的各类特定类型消息的预览,从而提高用户获取消息的效率。
其它示例
以上参考文本符号消息、图片视频消息和语音等其它特定类型消息描述了利用微件来快速呈现相关消息的各种示例。此外,上文还结合图片视频消息和语音消息描述了关于图像视频回复入口和语音回复入口的示例。
应当理解,以上快捷回复入口也可以应用于其它任何适当类型的消息。在一些实施例中,电子设备110还可以利用微件提供表情回复入口,该表情回复入口例如可以提供一组可供选择的候选表情。用户例如可以通过点击任意候选表情,以完成针对该消息的快速表情回 复。例如,该表情可以作为一条的独立的消息被发送至会话中,或者该表情可以作为特定消息的快速回复以在会话界面中与该消息相关联地呈现,例如,表示为针对某一条消息的点赞。
基于以上描述的各种示例,本公开的实施例能够基于会话中所接收到消息的消息类型(例如,文本符号消息、图片视频消息或语音等特定类型消息等)来确定该消息在微件中的可视化表示的表示类型(例如,文本表示、图形表示或视频表示等)。
附加地或备选地,微件中背景的填充样式可以是基于与目标会话相关联的属性来确定。例如,对于会话中无消息、有文本符号消息等情况下,微件的背景的填充颜色例如可以基于与目标会话相关联的参与方的头像(例如,好友的头像)、或者是目标会话的图像标识(例如,群聊的头像)而被确定。
在一些实施例中,微件中背景的填充样式可以是基于与可视化表示相关联的属性来确定。例如,对于可视化表示包括图形信息的情况下,微件中的背景的填充颜色可以是基于图形信息的颜色而被确定。例如,可视化表示包括表情符号,则微件的背景可以填充有与该表情符号色系接近,但饱和度不同的颜色,从而形成较为整体的颜色显示风格。
此外,如上文参考各示例所讨论的,能够看到,在微件中,目标会话的描述信息(例如,好友的昵称、头像、状态标识等)的显示样式和/或显示位置可以是基于待呈现的可视化表示的表示类型而被确定。例如,在将图像内容呈现作为可视化表示的情况下,其呈现的描述信息的具体内容和/或呈现样式可以不同于将文本符号内容呈现作为可视化表示的情况。
由此,本公开的实施例能够提供更加丰富类型的消息预览,进而提高用户获取消息的效率。
多消息的呈现
以上示例主要针对单条消息的情况进行了描述,本公开的实施例还能够利用微件来提供多条未读消息的提示。
图12A示出了根据本公开的一些实施例的示例微件1200。如图12A所示,微件1200例如可以呈现与“A好友”的会话的多条消息的可视化表达。
在一些实施例中,微件1200可以将多条消息聚合呈现为提示信息1240,以指示当前有三条未读消息。此外,微件1200还可以通过数字标识1220来指示维度消息的数目。类似地,微件1200还可以呈现“A好友”的头像1210和身份标识1230。
在一些实施例中,如图12B所示,当未读消息的数目大于预定阈值(例如,99)时,数字标识1220可以通过预定样式,例如“99+”来表示。
在一些实施例中,除呈现用于指示未读消息的数目的提示信息外,微件还可以呈现其中一条未读消息的可视化表示。例如,图13A示出了根据本公开的一些实施例的示例微件1300。
如图13A所示,除关于未读消息的数目的提示信息外,微件1300还提供了其中一条未读消息(例如,最近的未读消息)的可视化表示1310。
进一步地,如图13B所示在接收到针对微件1300的向下滑动操作1320时,微件1300可以如图13C所示被切换至显示另一条未读消息的可视化表示1330。
在一些实施例中,不同消息的切换例如也可以是响应于用户针对微件相关联的预设切换控件的触发操作而被相应地执行。
进一步地,如果用户点击了可视化表示1330,则电子设备1100可以呈现该目标会话的会话界面,并且可以使得与被选择的可视化表示1330对应的消息在该会话界面中被高亮显示或者被调整至适当的显示位置。
基于这样的方式,本公开的实施例能够利用微件来实现多条消息的聚合呈现,并能够通过适当的滑动交互来快速地预览多条未读消 息,从而可以提高消息交互的效率。
会话的切换
在一些实施例中,单个微件例如还可以被配置为与多个会话相关联。在一些实施例中,在微件的配置状态,用户例如可以将单个微件配置为与多个不同的会话相关联,并且能够配置多个会话的呈现优先级。
例如,被配置的微件在系统桌面的初始状态下总是呈现第一优先级的第一会话的消息,并且可以通过滑动切换至显示第二优先级的第二会话的消息。
图14A示出了根据本公开的实施的示例微件1400。如图14A所示,在当前状态下,该微件1400例如可以用于呈现与“A好友”的第一会话的相关消息。相应地,微件1400可以呈现关于第一会话的描述信息,例如第一会话的会话表示或参与方标识等。
进一步地,如图14B所示,在接收到针对微件1400的左滑操作1410后,微件1400可以如图14C所示切换至显示与“B好友”的第二会话的相关消息。相应地,微件1400可以呈现关于第二会话的描述信息,例如第二会话的会话表示或参与方标识等。
在一些实施例中,不同会话的切换例如也可以是响应于用户针对微件相关联的预设切换控件的触发操作而被相应地执行。
在一些实施例中,不同会话在该微件中的显示优先级还可以动态地变化。例如,当一个会话接收到新的未读消息时,其显示优先级可以被提高,并且可以总是被切换至在微件中被直接呈现,而无需切换。备选地,不同会话在微件中的显示优先级还可以基于未读消息的数目。
基于这样的方式,本公开的实施例还能够支持利用单个微件来聚合地提供多个会话的相关消息,从而提高消息呈现和获取的效率。
可视化组件的提供
在一些实施例中,电子设备110还可以在会话聚合界面中呈现会话对应的可视化组件。图15示出了根据本公开的一些实施例的呈现会话聚合界面的示意图1500。
如图15所示,电子设备110还可以在会话聚合界面1510中呈现与目标应用中的会话所对应的可视化组件1520-1和1520-2(单独或统一称为可视化组件1320)。例如,这样的可视化组件可以包括卡片式组件、磁贴式组件(tile)等。在一些实施例中,这样的可视化组件例如可以是独立可编辑的,例如,创建、移动、删除等。
在一些实施例中,如图15所示,可视化组件1520中呈现的内容可以与微件130中所呈现的内容相对应。例如,可视化组件1520可以具有与微件130类似的形状,其尺寸例如可以被相应地缩放,以适配在会话聚合界面1510中的显示。
附加地,可视化组件1520中所呈现的内容例如可以与微件130一同更新。在一些实施例中,可视化组件1520可以与微件130彼此独立地被更新,但总是保持对应的显示内容。备选地,可视化组件1520和微件130中内容的更新可以总是依赖于另一方。例如,可视化组件1520的更新可以用于触发对应的微件130被相应地更新。
在一些实施例中,可视化组件1520例如可以具有与对应的微件130相同的交互逻辑。例如,对可视化组件1520的选择也可以触发电子设备110呈现与目标会话对应的会话界面。其它交互机制可以参考上文关于微件130所描述的内容,在此不再赘述。
基于这样的方式,本公开的实施例还能够利用会话聚合界面中的一个或多个可视化组件来便捷地提供会话中接收到的消息的可视化表示,从而方便用户更加快速且直观地获取会话中的消息内容。
示例过程
图16示出了根据本公开的一些实施例的用于会话消息呈现的示例过程1600的流程图。过程1600可以由图1的电子设备110独立实现,或者由电子设备110与其他计算设备的组合来实现。为了方便讨 论,将结合图1来描述过程1600。
如图16所示,在框1610,电子设备110提供与目标会话相关联的微件,微件至少呈现关于目标会话的描述信息。
在框1620,响应于接收到目标会话中的至少一条消息,电子设备110利用微件呈现至少一条消息的可视化表示,可视化表示的表示类型是基于至少一条消息的消息类型而被确定。
在一些实施例中,方法还包括:响应于接收到针对微件第一预设操作,呈现目标会话的会话界面,会话界面用于呈现所接收的至少一条消息。
在一些实施例中,第一预设操作包括针对可视化表示的选择。
在一些实施例中,方法还包括:响应于目标会话的会话界面被呈现,停止在微件中呈现至少一条消息的可视化表示。
在一些实施例中,目标会话的描述信息包括以下至少一项:目标会话的会话标识;目标会话的至少一个参与方的参与方标识;以及目标会话的至少一个参与方的状态标识,用于指示至少一个参与方是否处于在线状态;其中,会话表示、参与方标识或状态标识包括文本标识和/或图形标识。
在一些实施例中,至少一条消息包括图像内容消息,并且利用微件呈现至少一条消息的可视化表示包括:利用与图像内容消息相关联的图片填充微件的至少部分背景,以作为图像内容消息的可视化表示。
在一些实施例中,图像内容消息包括图片消息,并且利用微件呈现至少一条消息的可视化表示包括:利用图片消息中的图片填充微件的至少部分背景,以作为图片消息的可视化表示。
在一些实施例中,图像内容消息包括视频消息,并且利用微件呈现至少一条消息的可视化表示包括:利用视频消息中的视频的目标帧填充微件的至少部分背景,以作为视频消息的可视化表示。
在一些实施例中,方法还包括:响应于针对可视化表示的选择,使视频消息中的视频在目标会话的会话界面被播放。
在一些实施例中,至少一条消息包括特定类型消息,特定类型消息包括以下至少一项:语音消息、红包消息、位置消息、会议消息、文件消息、邀请消息、通话请求消息和超链接消息,其中,可视化表示支持与特定类型消息的类型对应的关联交互操作。
在一些实施例中,利用微件呈现至少一条消息的可视化表示包括:利用微件呈现与特定类型消息对应的图形表示,以作为特定类型消息的可视化表示。
在一些实施例中,微件还包括快捷回复入口,快捷回复入口被配置为基于微件生成针对至少一条消息的回复消息。
在一些实施例中,快捷回复入口包括语音回复入口,方法还包括:响应于针对语音回复入口的选择,利用音频采集设备获取回复音频;以及将回复音频作为回复消息发送至目标会话。
在一些实施例中,快捷回复入口包括表情回复入口,表情回复入口包括一组候选表情,方法还包括:响应于针对一组候选表情中的目标表情的选择,将目标表情作为回复消息发送至目标会话。
在一些实施例中,快捷回复入口包括图片或视频回复入口,方法还包括:响应于针对图片或视频回复入口的选择,将微件转换为用于利用图像捕获设备获取图像或视频的取景状态;以及将基于微件获取的图片或视频作为回复消息发送至目标会话。
在一些实施例中,回复消息在目标会话的会话界面中被标记为针对至少一条消息的回复。
在一些实施例中,方法还包括:响应于针对微件的第二预设操作,将微件切换为呈现与不同于目标会话的另一会话的描述信息。
在一些实施例中,第二预设操作包括第一滑动操作或针对微件相关联的第一预设切换控件的触发操作。
在一些实施例中,至少一条消息包括多条消息,其中利用微件呈现至少一条消息的可视化表示包括:利用微件呈现多条消息中的第一消息的第一可视化表示;以及响应于针对微件的第三预设操作,将微件切换为呈现多条消息中的第二消息的第二可视化表示。
在一些实施例中,第三预设操作包括第二滑动操作或针对微件相关联的第二预设切换控件的触发操作。
在一些实施例中,可视化表示的表示类型包括文本表示、图形表示和视频表示中的至少一项。
在一些实施例中,微件是响应于在目标会话的会话界面中或在操作系统的系统桌面中所接收到的微件创建请求而被构建的。
在一些实施例中,方法还包括:在会话聚合界面中呈现与目标会话对应的卡片式组件,其中卡片式组件呈现与微件对应的内容。
在一些实施例中,描述信息的呈现位置和/或呈现样式是基于可视化表示的表示类型而被确定。
在一些实施例中,微件的背景填充样式是基于与目标会话相关联的第一属性和/或与可视化表示的相关联的第二属性而被确定。
示例装置和设备
本公开的实施例还提供了用于实现上述方法或过程的相应装置。图17示出了根据本公开的一些实施例的用于会话消息呈现的装置1700的示意性结构框图。
如图17所示,装置1700包括提供模块1710,被配置为提供与目标会话相关联的微件,微件至少呈现关于目标会话的描述信息。
此外,装置1700还包括呈现模块1720,被配置为响应于接收到目标会话中的至少一条消息,利用微件呈现至少一条消息的可视化表示,可视化表示的表示类型是基于至少一条消息的消息类型而被确定。
在一些实施例中,呈现模块1720还被配置为:响应于接收到针对微件第一预设操作,呈现目标会话的会话界面,会话界面用于呈现所接收的至少一条消息。
在一些实施例中,第一预设操作包括针对可视化表示的选择。
在一些实施例中,呈现模块1720还被配置为:响应于目标会话的会话界面被呈现,停止在微件中呈现至少一条消息的可视化表示。
在一些实施例中,目标会话的描述信息包括以下至少一项:目标会话的会话标识;目标会话的至少一个参与方的参与方标识;以及目标会话的至少一个参与方的状态标识,用于指示至少一个参与方是否处于在线状态;其中,会话表示、参与方标识或状态标识包括文本标识和/或图形标识。
在一些实施例中,至少一条消息包括图像内容消息,并且呈现模块1720还被配置为:利用与图像内容消息相关联的图片填充微件的至少部分背景,以作为图像内容消息的可视化表示。
在一些实施例中,图像内容消息包括图片消息,并且呈现模块1720还被配置为:利用图片消息中的图片填充微件的至少部分背景,以作为图片消息的可视化表示。
在一些实施例中,图像内容消息包括视频消息,并且呈现模块1720还被配置为:利用视频消息中的视频的目标帧填充微件的至少部分背景,以作为视频消息的可视化表示。
在一些实施例中,呈现模块1720还被配置为:响应于针对可视化表示的选择,使视频消息中的视频在目标会话的会话界面被播放。
在一些实施例中,至少一条消息包括特定类型消息,特定类型消息包括以下至少一项:语音消息、红包消息、位置消息、会议消息、文件消息、邀请消息、通话请求消息和超链接消息,其中,可视化表示支持与特定类型消息的类型对应的关联交互操作。
在一些实施例中,呈现模块1720还被配置为:利用微件呈现与特定类型消息对应的图形表示,以作为特定类型消息的可视化表示。
在一些实施例中,微件还包括快捷回复入口,快捷回复入口被配置为基于微件生成针对至少一条消息的回复消息。
在一些实施例中,快捷回复入口包括语音回复入口,呈现模块1720还被配置为:响应于针对语音回复入口的选择,利用音频采集设备获取回复音频;以及将回复音频作为回复消息发送至目标会话。
在一些实施例中,快捷回复入口包括表情回复入口,表情回复入口包括一组候选表情,呈现模块1720还被配置为:响应于针对一组 候选表情中的目标表情的选择,将目标表情作为回复消息发送至目标会话。
在一些实施例中,快捷回复入口包括图片或视频回复入口,呈现模块1720还被配置为:响应于针对图片或视频回复入口的选择,将微件转换为用于利用图像捕获设备获取图像或视频的取景状态;以及将基于微件获取的图片或视频作为回复消息发送至目标会话。
在一些实施例中,回复消息在目标会话的会话界面中被标记为针对至少一条消息的回复。
在一些实施例中,呈现模块1720还被配置为:响应于针对微件的第二预设操作,将微件切换为呈现与不同于目标会话的另一会话的描述信息。
在一些实施例中,第二预设操作包括第一滑动操作或针对微件相关联的第一预设切换控件的触发操作。
在一些实施例中,至少一条消息包括多条消息,呈现模块1720还被配置为:利用微件呈现多条消息中的第一消息的第一可视化表示;以及响应于针对微件的第三预设操作,将微件切换为呈现多条消息中的第二消息的第二可视化表示。
在一些实施例中,第三预设操作包括第二滑动操作或针对微件相关联的第二预设切换控件的触发操作。
在一些实施例中,可视化表示的表示类型包括文本表示、图形表示和视频表示中的至少一项。
在一些实施例中,微件是响应于在目标会话的会话界面中或在操作系统的系统桌面中所接收到的微件创建请求而被构建的。
在一些实施例中,呈现模块1720还被配置为:在会话聚合界面中呈现与目标会话对应的卡片式组件,其中卡片式组件呈现与微件对应的内容。
在一些实施例中,描述信息的呈现位置和/或呈现样式是基于可视化表示的表示类型而被确定。
在一些实施例中,微件的背景填充样式是基于与目标会话相关联 的第一属性和/或与可视化表示的相关联的第二属性而被确定。
装置1700中所包括的单元可以利用各种方式来实现,包括软件、硬件、固件或其任意组合。在一些实施例中,一个或多个单元可以使用软件和/或固件来实现,例如存储在存储介质上的机器可执行指令。除了机器可执行指令之外或者作为替代,装置1700中的部分或者全部单元可以至少部分地由一个或多个硬件逻辑组件来实现。作为示例而非限制,可以使用的示范类型的硬件逻辑组件包括现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准品(ASSP)、片上系统(SOC)、复杂可编程逻辑器件(CPLD),等等。
图18示出了其中可以实施本公开的一个或多个实施例的计算设备/服务器1800的框图。应当理解,图18所示出的计算设备/服务器1800仅仅是示例性的,而不应当构成对本文所描述的实施例的功能和范围的任何限制。
如图18所示,计算设备/服务器1800是通用计算设备的形式。计算设备/服务器1800的组件可以包括但不限于一个或多个处理器或处理单元1810、存储器1820、存储设备1830、一个或多个通信单元1840、一个或多个输入设备1860以及一个或多个输出设备1860。处理单元1810可以是实际或虚拟处理器并且能够根据存储器1820中存储的程序来执行各种处理。在多处理器系统中,多个处理单元并行执行计算机可执行指令,以提高计算设备/服务器1800的并行处理能力。
计算设备/服务器1800通常包括多个计算机存储介质。这样的介质可以是计算设备/服务器1800可访问的任何可以获得的介质,包括但不限于易失性和非易失性介质、可拆卸和不可拆卸介质。存储器1820可以是易失性存储器(例如寄存器、高速缓存、随机访问存储器(RAM))、非易失性存储器(例如,只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、闪存)或它们的某种组合。存储设备1830可以是可拆卸或不可拆卸的介质,并且可以包括机器可读介质,诸如闪存驱动、磁盘或者任何其他介质,其可以能够用于存储信息和/或数据(例如用于训练的训练数据)并且可以在计算设备/ 服务器1800内被访问。
计算设备/服务器1800可以进一步包括另外的可拆卸/不可拆卸、易失性/非易失性存储介质。尽管未在图18中示出,可以提供用于从可拆卸、非易失性磁盘(例如“软盘”)进行读取或写入的磁盘驱动和用于从可拆卸、非易失性光盘进行读取或写入的光盘驱动。在这些情况中,每个驱动可以由一个或多个数据介质接口被连接至总线(未示出)。存储器1820可以包括计算机程序产品1825,其具有一个或多个程序模块,这些程序模块被配置为执行本公开的各种实施例的各种方法或动作。
通信单元1840实现通过通信介质与其他计算设备进行通信。附加地,计算设备/服务器1800的组件的功能可以以单个计算集群或多个计算机器来实现,这些计算机器能够通过通信连接进行通信。因此,计算设备/服务器1800可以使用与一个或多个其他服务器、网络个人计算机(PC)或者另一个网络节点的逻辑连接来在联网环境中进行操作。
输入设备1850可以是一个或多个输入设备,例如鼠标、键盘、追踪球等。输出设备1860可以是一个或多个输出设备,例如显示器、扬声器、打印机等。计算设备/服务器1800还可以根据需要通过通信单元1840与一个或多个外部设备(未示出)进行通信,外部设备诸如存储设备、显示设备等,与一个或多个使得用户与计算设备/服务器1800交互的设备进行通信,或者与使得计算设备/服务器1800与一个或多个其他计算设备通信的任何设备(例如,网卡、调制解调器等)进行通信。这样的通信可以经由输入/输出(I/O)接口(未示出)来执行。
根据本公开的示例性实现方式,提供了一种计算机可读存储介质,其上存储有一条或多条计算机指令,其中一条或多条计算机指令被处理器执行以实现上文描述的方法。
这里参照根据本公开实现的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本公开的各个方面。应当理解,流程图和 /或框图的每个方框以及流程图和/或框图中各方框的组合,都可以由计算机可读程序指令实现。
这些计算机可读程序指令可以提供给通用计算机、专用计算机或其他可编程数据处理装置的处理单元,从而生产出一种机器,使得这些指令在通过计算机或其他可编程数据处理装置的处理单元执行时,产生了实现流程图和/或框图中的一个或多个方框中规定的功能/动作的装置。也可以把这些计算机可读程序指令存储在计算机可读存储介质中,这些指令使得计算机、可编程数据处理装置和/或其他设备以特定方式工作,从而,存储有指令的计算机可读介质则包括一个制造品,其包括实现流程图和/或框图中的一个或多个方框中规定的功能/动作的各个方面的指令。
也可以把计算机可读程序指令加载到计算机、其他可编程数据处理装置、或其他设备上,使得在计算机、其他可编程数据处理装置或其他设备上执行一系列操作步骤,以产生计算机实现的过程,从而使得在计算机、其他可编程数据处理装置、或其他设备上执行的指令实现流程图和/或框图中的一个或多个方框中规定的功能/动作。
附图中的流程图和框图显示了根据本公开的多个实现的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或指令的一部分,模块、程序段或指令的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
以上已经描述了本公开的各实现,上述说明是示例性的,并非穷尽性的,并且也不限于所公开的各实现。在不偏离所说明的各实现的 范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实现的原理、实际应用或对市场中的技术的改进,或者使本技术领域的其他普通技术人员能理解本文公开的各实现。

Claims (28)

  1. 一种用于会话消息呈现的方法,包括:
    提供与目标会话相关联的微件,所述微件至少呈现关于所述目标会话的描述信息;以及
    响应于接收到所述目标会话中的至少一条消息,利用所述微件呈现所述至少一条消息的可视化表示,所述可视化表示的表示类型是基于所述至少一条消息的消息类型而被确定。
  2. 根据权利要求1所述的方法,还包括:
    响应于接收到针对所述微件第一预设操作,呈现所述目标会话的会话界面,所述会话界面用于呈现所接收的所述至少一条消息。
  3. 根据权利要求2所述的方法,其中,所述第一预设操作包括针对所述可视化表示的选择。
  4. 根据权利要求2或3所述的方法,还包括:
    响应于所述目标会话的所述会话界面被呈现,停止在所述微件中呈现所述至少一条消息的所述可视化表示。
  5. 根据权利要求1所述的方法,其中所述目标会话的描述信息包括以下至少一项:
    所述目标会话的会话标识;
    所述目标会话的至少一个参与方的参与方标识;以及
    所述目标会话的至少一个参与方的状态标识,用于指示所述至少一个参与方是否处于在线状态;
    其中,所述会话表示、所述参与方标识或所述状态标识包括文本标识和/或图形标识。
  6. 根据权利要求1所述的方法,其中所述至少一条消息包括图像内容消息,并且所述利用所述微件呈现所述至少一条消息的可视化表示包括:
    利用与所述图像内容消息相关联的图片填充所述微件的至少部分背景,以作为所述图像内容消息的所述可视化表示。
  7. 根据权利要求6所述的方法,其中所述图像内容消息包括图片消息,并且利用所述微件呈现所述至少一条消息的可视化表示包括:
    利用所述图片消息中的图片填充所述微件的至少部分背景,以作为所述图片消息的所述可视化表示。
  8. 根据权利要求6所述的方法,其中所述图像内容消息包括视频消息,并且利用所述微件呈现所述至少一条消息的可视化表示包括:
    利用所述视频消息中的视频的目标帧填充所述微件的至少部分背景,以作为所述视频消息的所述可视化表示。
  9. 根据权利要求8所述的方法,还包括:
    响应于针对所述可视化表示的选择,使所述视频消息中的所述视频在所述目标会话的会话界面被播放。
  10. 根据权利要求1所述的方法,其中所述至少一条消息包括特定类型消息,所述特定类型消息包括以下至少一项:语音消息、红包消息、位置消息、会议消息、文件消息、邀请消息、通话请求消息和超链接消息,其中,所述可视化表示支持与所述特定类型消息的类型对应的关联交互操作。
  11. 根据权利要求10所述的方法,其中所述利用所述微件呈现所述至少一条消息的可视化表示包括:利用所述微件呈现与所述特定类型消息对应的图形表示,以作为所述特定类型消息的可视化表示。
  12. 根据权利要求1所述的方法,其中所述微件还包括快捷回复入口,所述快捷回复入口被配置为基于所述微件生成针对所述至少一条消息的回复消息。
  13. 根据权利要求12所述的方法,其中所述快捷回复入口包括语音回复入口,所述方法还包括:
    响应于针对所述语音回复入口的选择,利用音频采集设备获取回复音频;以及
    将所述回复音频作为所述回复消息发送至所述目标会话。
  14. 根据权利要求12所述的方法,其中所述快捷回复入口包括表 情回复入口,所述表情回复入口包括一组候选表情,所述方法还包括:
    响应于针对所述一组候选表情中的目标表情的选择,将所述目标表情作为所述回复消息发送至所述目标会话。
  15. 根据权利要求12所述的方法,其中所述快捷回复入口包括图片或视频回复入口,所述方法还包括:
    响应于针对所述图片或视频回复入口的选择,将所述微件转换为用于利用图像捕获设备获取图像或视频的取景状态;以及
    将基于所述微件获取的图片或视频作为所述回复消息发送至所述目标会话。
  16. 根据权利要求12所述的方法,其中所述回复消息在所述目标会话的会话界面中被标记为针对所述至少一条消息的回复。
  17. 根据权利要求1所述的方法,还包括:
    响应于针对所述微件的第二预设操作,将所述微件切换为呈现与不同于所述目标会话的另一会话的描述信息。
  18. 根据权利要求17所述的方法,其中所述第二预设操作包括第一滑动操作或针对所述微件相关联的第一预设切换控件的触发操作。
  19. 根据权利要求1所述的方法,其中所述至少一条消息包括多条消息,其中利用所述微件呈现所述至少一条消息的可视化表示包括:
    利用所述微件呈现所述多条消息中的第一消息的第一可视化表示;以及
    响应于针对所述微件的第三预设操作,将所述微件切换为呈现所述多条消息中的第二消息的第二可视化表示。
  20. 根据权利要求19所述的方法,其中所述第三预设操作包括第二滑动操作或针对所述微件相关联的第二预设切换控件的触发操作。
  21. 根据权利要求1所述的方法,其中所述可视化表示的所述表示类型包括文本表示、图形表示和视频表示中的至少一项。
  22. 根据权利要求1所述的方法,其中所述微件是响应于在所述目标会话的会话界面中或在操作系统的系统桌面中所接收到的微件 创建请求而被构建的。
  23. 根据权利要求1所述的方法,还包括:
    在会话聚合界面中呈现与所述目标会话对应的卡片式组件,其中所述卡片式组件呈现与所述微件对应的内容。
  24. 根据权利要求1所述的方法,其中所述描述信息的呈现位置和/或呈现样式是基于所述可视化表示的所述表示类型而被确定。
  25. 根据权利要求1所述的方法,其中所述微件的背景填充样式是基于与所述目标会话相关联的第一属性和/或与所述可视化表示的相关联的第二属性而被确定。
  26. 一种用于会话消息呈现的装置,包括:
    提供模块,被配置为提供与目标会话相关联的微件,所述微件至少呈现关于所述目标会话的描述信息;以及
    呈现模块,被配置为响应于接收到所述目标会话中的至少一条消息,利用所述微件呈现所述至少一条消息的可视化表示,所述可视化表示的表示类型是基于所述至少一条消息的消息类型而被确定。
  27. 一种电子设备,包括:
    至少一个处理单元;以及
    至少一个存储器,所述至少一个存储器被耦合到所述至少一个处理单元并且存储用于由所述至少一个处理单元执行的指令,所述指令在由所述至少一个处理单元执行时使所述设备执行根据权利要求1至25中任一项所述的方法。
  28. 一种计算机可读存储介质,其上存储有计算机程序,所述程序被处理器执行时实现根据权利要求1至25中任一项所述的方法。
PCT/CN2023/114334 2022-08-23 2023-08-22 用于会话消息呈现的方法、装置、设备和存储介质 WO2024041549A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211017172.0A CN115396391B (zh) 2022-08-23 2022-08-23 用于会话消息呈现的方法、装置、设备和存储介质
CN202211017172.0 2022-08-23

Publications (1)

Publication Number Publication Date
WO2024041549A1 true WO2024041549A1 (zh) 2024-02-29

Family

ID=84121140

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/114334 WO2024041549A1 (zh) 2022-08-23 2023-08-22 用于会话消息呈现的方法、装置、设备和存储介质

Country Status (2)

Country Link
CN (1) CN115396391B (zh)
WO (1) WO2024041549A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115567471A (zh) * 2022-08-23 2023-01-03 北京字跳网络技术有限公司 用于会话消息呈现的方法、装置、设备和存储介质
CN115396391B (zh) * 2022-08-23 2024-05-03 北京字跳网络技术有限公司 用于会话消息呈现的方法、装置、设备和存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150082189A1 (en) * 2013-09-19 2015-03-19 Microsoft Corporation Providing visualizations for conversations
CN105389077A (zh) * 2014-09-01 2016-03-09 三星电子株式会社 电子设备的显示方法以及电子设备
CN113852714A (zh) * 2020-06-09 2021-12-28 华为技术有限公司 一种用于电子设备的交互方法和电子设备
CN114489878A (zh) * 2020-11-13 2022-05-13 微软技术许可有限责任公司 动态呈现应用相关视觉内容
CN114860136A (zh) * 2021-01-18 2022-08-05 华为技术有限公司 一种微件的显示方法与电子设备
CN115396391A (zh) * 2022-08-23 2022-11-25 北京字跳网络技术有限公司 用于会话消息呈现的方法、装置、设备和存储介质
CN115567471A (zh) * 2022-08-23 2023-01-03 北京字跳网络技术有限公司 用于会话消息呈现的方法、装置、设备和存储介质

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101888607A (zh) * 2010-07-15 2010-11-17 中兴通讯股份有限公司 基于widget实现手机聊天的方法及手机
KR20150037209A (ko) * 2013-09-30 2015-04-08 삼성전자주식회사 위젯을 표시하는 방법, 전자 장치 저장 매체 및 전자 장치
CN103685731B (zh) * 2013-11-15 2015-12-30 北京奇虎科技有限公司 一种消息通信方法及消息通信客户端
WO2016109944A1 (zh) * 2015-01-06 2016-07-14 华为技术有限公司 一种在锁屏界面呈现信息的方法、信息处理装置、便携式电子设备以及便携式电子设备上的图形用户界面
US9880735B2 (en) * 2015-08-10 2018-01-30 Apple Inc. Devices, methods, and graphical user interfaces for manipulating user interface objects with visual and/or haptic feedback
CN106502486A (zh) * 2015-09-08 2017-03-15 腾讯科技(深圳)有限公司 锁屏状态下信息显示方法和装置
KR101779340B1 (ko) * 2015-10-20 2017-09-19 주식회사 카카오 확장 서비스에 대한 위젯 표시 방법 및 상기 방법을 수행하는 장치
CN106528136A (zh) * 2016-10-27 2017-03-22 北京京东尚科信息技术有限公司 基于微件的显示方法、装置以及终端设备
CN106547439B (zh) * 2016-10-28 2020-01-07 努比亚技术有限公司 一种处理消息的方法和装置
CN106909366A (zh) * 2017-01-04 2017-06-30 乐视控股(北京)有限公司 一种微件显示的方法及装置
CN108334388B (zh) * 2017-07-28 2019-09-17 腾讯科技(深圳)有限公司 会话背景处理方法、装置、计算机设备和存储介质
US11265273B1 (en) * 2017-12-01 2022-03-01 Snap, Inc. Dynamic media overlay with smart widget
CN108038244B (zh) * 2017-12-28 2020-02-21 北京达佳互联信息技术有限公司 利用微件展示作品封面的方法、装置和移动终端
CN109788132A (zh) * 2018-12-29 2019-05-21 努比亚技术有限公司 一种消息处理方法、移动终端以及计算机可读存储介质
CN111857901B (zh) * 2019-04-29 2024-05-17 上海掌门科技有限公司 数据处理方法、生成会话背景的方法、电子设备和介质
CN111126301B (zh) * 2019-12-26 2022-01-11 腾讯科技(深圳)有限公司 一种图像处理方法、装置、计算机设备和存储介质
CN113849250A (zh) * 2020-06-28 2021-12-28 中兴通讯股份有限公司 锁屏显示处理方法、终端及存储介质
CN112817670B (zh) * 2020-08-05 2024-05-28 腾讯科技(深圳)有限公司 基于会话的信息展示方法、装置、设备及存储介质
CN112363648A (zh) * 2020-11-10 2021-02-12 深圳传音控股股份有限公司 快捷显示方法、终端及计算机存储介质

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150082189A1 (en) * 2013-09-19 2015-03-19 Microsoft Corporation Providing visualizations for conversations
CN105389077A (zh) * 2014-09-01 2016-03-09 三星电子株式会社 电子设备的显示方法以及电子设备
CN113852714A (zh) * 2020-06-09 2021-12-28 华为技术有限公司 一种用于电子设备的交互方法和电子设备
CN114489878A (zh) * 2020-11-13 2022-05-13 微软技术许可有限责任公司 动态呈现应用相关视觉内容
CN114860136A (zh) * 2021-01-18 2022-08-05 华为技术有限公司 一种微件的显示方法与电子设备
CN115396391A (zh) * 2022-08-23 2022-11-25 北京字跳网络技术有限公司 用于会话消息呈现的方法、装置、设备和存储介质
CN115567471A (zh) * 2022-08-23 2023-01-03 北京字跳网络技术有限公司 用于会话消息呈现的方法、装置、设备和存储介质

Also Published As

Publication number Publication date
CN115396391A (zh) 2022-11-25
CN115396391B (zh) 2024-05-03

Similar Documents

Publication Publication Date Title
WO2024041549A1 (zh) 用于会话消息呈现的方法、装置、设备和存储介质
US9973829B2 (en) Method for video communications and terminal, server and system for video communications
WO2018010682A1 (zh) 直播方法、直播数据流展示方法和终端
CN108886600B (zh) 用于在视频流中提供可选择的交互元素的方法和系统
US9171291B2 (en) Electronic device and method for updating message body content based on recipient changes
WO2024041550A1 (zh) 用于会话消息呈现的方法、装置、设备和存储介质
US20080034038A1 (en) Sharing Application Output In Chat Environment
US20080034037A1 (en) Sharing Graphical User Interface Output In Chat Environment
WO2020221103A1 (zh) 显示用户情绪的方法及设备
CN117678213A (zh) 用于基于群组的通信系统的协作中心
CN111131850A (zh) 显示虚拟礼物特效的方法、装置及电子设备
CN108616443A (zh) 联系人信息展示方法及装置
WO2024067636A1 (zh) 用于内容呈现的方法、装置、设备和存储介质
WO2024093815A1 (zh) 数据共享方法、装置、电子设备及介质
WO2022001552A1 (zh) 消息发送方法、消息接收方法、装置、设备及介质
WO2024099340A1 (zh) 基于虚拟形象的交互方法、装置、设备及存储介质
CN114785977A (zh) 使用计算机视觉控制视频数据内容
WO2023226853A1 (zh) 用于作品转发的方法、装置、设备和存储介质
WO2023226855A1 (zh) 用于作品转发的方法、装置、设备和存储介质
WO2023284630A1 (zh) 一种表情图像添加方法、装置、设备和存储介质
US11711334B2 (en) Information replying method, apparatus, electronic device, computer storage medium and product
CN114500434A (zh) 通讯消息的聚合方法及装置
WO2021135026A1 (zh) 社交信息处理方法、装置和电子设备
CN112291420A (zh) 一种消息显示方法以及终端设备
WO2024093442A1 (zh) 用于查看视听内容的方法、装置、设备和存储介质

Legal Events

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

Ref document number: 23856638

Country of ref document: EP

Kind code of ref document: A1