Conversation message display method, device, equipment, and storage medium
The method enhances message display in group conversations by differentiating presentation styles based on media content distributors and senders, improving user efficiency in distinguishing and selecting information.
Patent Information
- Application Number
- JP2024576949
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2022-06-29
- Filing Date
- 2023-06-27
- Publication Date
- 2025-09-02
- Estimated Expiration
- 2043-06-27
AI Technical Summary
As group conversations increase in size and complexity, efficiently distinguishing and presenting media content messages such as images and videos becomes challenging, leading to reduced user information selection efficiency.
A method and device for displaying conversational messages that determine a target presentation manner based on the distributor and sender of media content, employing different presentation styles for media types and user relationships, enhancing message differentiation and user interaction efficiency.
The method improves the flexibility and efficiency of message display by allowing users to quickly distinguish message sources, reducing interference, and optimizing information acquisition.
Smart Images

Figure 0007733256000001 
Figure 0007733256000002 
Figure 0007733256000003
Abstract
Description
[Technical Field]
[0001] [CROSS-REFERENCE TO RELATED APPLICATIONS] This application claims priority to a Chinese patent application bearing application number 202210761132.0, filed with the China Patent Office on June 29, 2022, the entire contents of which are incorporated herein by reference.
[0002] TECHNICAL FIELD The embodiments of the present disclosure relate to the field of Internet technology, for example, to a method, device, apparatus, and storage medium for displaying conversational messages. [Background technology]
[0003] With the rapid development of Internet technology, communication among users becomes more and more convenient, and multiple users can converse within the same group.
[0004] Currently, watching or reading online resource works such as live broadcasts, videos, novels, and comics has become one of people's main leisure activities. Users can also communicate with resource providers through groups established on the corresponding platforms. However, as the number of group members and the number of conversation messages within a group increase, it is necessary to improve the efficiency of message interaction between group members. Summary of the Invention [Problem to be solved by the invention]
[0005] The embodiments of the present disclosure provide a method, apparatus, storage medium and device for displaying conversational messages, which can optimize the conversational message display schemes of the related art. [Means for solving the problem]
[0006] According to a first aspect, an embodiment of the present disclosure provides a method for displaying conversational messages, the method comprising: determining a target conversation message of a target message type in the group conversation page, the target message type including a message type of media content included in the message content, the media content including at least one of an image and a video; determining a media type corresponding to the media content, and determining a target presentation manner of the target conversation message based on the media type, wherein the media type is determined based on at least one of a distributor of the media content and a sender of the target conversation message; presenting the target conversation message in the target presentation manner; Includes:
[0007] According to a second aspect, an embodiment of the present disclosure further provides a display device for a conversation message, the device comprising: a conversation message determination module configured to determine a target conversation message of a target message type in a group conversation page, the target message type including a message type of media content included in a message content, the media content including at least one of an image and a video; a target presentation style determination module configured to determine a media type corresponding to the media content and determine a target presentation style of the target conversation message based on the media type, wherein the media type is determined based on at least one of a distributor of the media content and a sender of the target conversation message; a conversation message presentation module configured to present the target conversation message in the target presentation manner; Equipped with.
[0008] According to a third aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising: at least one processor; a storage device configured to store at least one program; The at least one program is executed by the at least one processor to cause the at least one processor to implement a method for displaying a conversation message according to an embodiment of the present disclosure.
[0009] According to a fourth aspect, an embodiment of the present disclosure further provides a readable storage medium including a computer program, which, when executed by a computer processor, performs the method for displaying a conversation message according to an embodiment of the present disclosure. [Brief explanation of the drawings]
[0010] [Figure 1] 1 is a flowchart of a method for displaying conversation messages according to an embodiment of the present disclosure. [Figure 2] FIG. 1 is a schematic diagram of a presentation scheme according to an embodiment of the present disclosure. [Figure 3] FIG. 10 is a schematic diagram of another presentation scheme according to an embodiment of the present disclosure. [Figure 4] FIG. 10 is a schematic diagram of yet another presentation scheme according to an embodiment of the present disclosure. [Figure 5] 1 is a flowchart of a method for displaying conversation messages according to an embodiment of the present disclosure. [Figure 6] FIG. 1 is a schematic diagram of interface interactions according to an embodiment of the present disclosure. [Figure 7] 1 is a structural schematic diagram of a display device for conversation messages according to an embodiment of the present disclosure; [Figure 8] 1 is a structural schematic diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE INVENTION
[0011] As used herein, the term "comprises" and variations thereof are open inclusive, i.e., "including, but not limited to." The term "based on" means "based at least in part on." The term "in one embodiment" means "at least one embodiment," the term "in another embodiment" means "at least one other embodiment," and the term "in some embodiments" means "at least some embodiments." Relevant definitions of other terms are provided below.
[0012] It should be noted that the concepts of "first", "second", etc. mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not intended to limit the order or interdependence of functions performed by these devices, modules or units.
[0013] It should be noted that the modifications "one" and "many" referred to in this disclosure are general rather than limiting and should be understood as "one or more" unless the context clearly indicates otherwise, as would be understood by a person skilled in the art.
[0014] The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of these messages or information.
[0015] As can be understood, before using the technical solutions disclosed in the embodiments of the present disclosure, the type, scope of use, use scenario, etc. of personal information related to the present disclosure should be disclosed to users in an appropriate manner in accordance with relevant laws and regulations, and their permission should be obtained.
[0016] For example, in response to receiving a user's voluntary request, presentation information may be sent to the user to clearly indicate to the user that the requested operation requires the acquisition and use of the user's personal information, allowing the user to autonomously choose whether to provide personal information to software or hardware, such as an electronic device, application program, server, or storage medium, that performs the operation of the technical solution of the present disclosure based on the presentation information.
[0017] As an optional, but non-limiting, implementation method, the method of transmitting the presented information to the user in response to receiving the user's voluntary request may be, for example, a pop-up window method. The pop-up window may present the presented information in text form. The pop-up window may include a selection control for the user to select "agree" or "disagree" to providing personal information to the electronic device.
[0018] It can be understood that the above disclosure and the process of obtaining user permission are merely schematic and do not limit the implementation manner of the present disclosure, and other methods that comply with relevant laws and regulations may also be used to implement the present disclosure.
[0019] It is to be understood that the data related to the technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of applicable laws, regulations and related provisions.
[0020] FIG. 1 is a flowchart of a method for displaying conversation messages according to an embodiment of the present disclosure. The embodiment of the present disclosure is applied to displaying conversation messages. This method may be performed by a conversation message display device. This device may be realized in the form of at least one of software and hardware. It may also be realized by an electronic device. This electronic device may be a mobile terminal such as a mobile phone, a smart watch, a tablet PC, or a personal digital assistant, or may be a device such as a personal computer (PC) terminal or a server.
[0021] As shown in FIG. 1, the method includes step 101, step 102 and step 103.
[0022] In step 101, a target conversation message of a target message type in a group conversation page is determined, where the target message type includes a message type of media content included in the message content, and the media content includes at least one of an image and a video.
[0023] In an embodiment of the present disclosure, a group conversation may include at least two group members. That is, at least two users may engage in message interactions within the group conversation as group members. A group conversation is generally created by a group member. This group member may be referred to as the creator. A group conversation may have a group administrator with operational privileges, such as configuration or management, for the group conversation, or may be referred to as the administrator. The creator and administrator may be the same or different. The number of administrators may be at least one. For ease of explanation, the creator and administrator will be collectively referred to as the group master hereinafter.
[0024] For example, the group conversation page may be a page in a pre-configured application program. The pre-configured application program may be configured to provide a group conversation function. The pre-configured application program is not limited to a specific type, and may be, for example, a social application program, a video application program, a live streaming application program, a shopping application program, or an information application program, or may be another type of application program. The group conversation page may display conversation messages and related information of the conversation messages (e.g., user identifiers of group members who send conversation messages). Users may perform message interactions or other types of interactions based on the group conversation page.
[0025] For example, in a group conversation, the format of the conversation message is not limited and may include, for example, text, facial expressions, images, audio, video, or controls (e.g., conversation cards). For the current user, in a group conversation page, messages sent by the current user are generally presented on a first side (e.g., the right side) of the page, and messages sent by group members other than the current user (collectively referred to as other group members) are presented on a second side (e.g., the left side) of the page. Messages from multiple other group members are mixed and arranged in order of the time of sending, making it difficult for the current user to quickly distinguish between messages sent by different types of other group members. For conversation messages that include at least one media content, such as an image and a video, when viewed, the user generally needs to trigger a detailed display of the media content by a click or other method, resulting in a relatively high viewing cost. The presence of many such conversation messages on a group conversation page significantly impacts the user's information selection efficiency. Therefore, in an embodiment of the present disclosure, a conversation message that includes media content in its message content is set as a conversation message of a target message type and presented in a determined presentation manner.
[0026] Illustratively, the target conversation message may be a conversation message of any one or more target message types to be presented or being presented in the group conversation page.
[0027] In step 102, a media type corresponding to the media content is determined, and a target presentation manner of the target conversation message is determined based on the media type, where the media type is determined based on at least one of a distributor of the media content and a sender of the target conversation message.
[0028] In embodiments of the present disclosure, different presentation methods may be set for different media types. After determining the media type corresponding to the media content included in the target conversation message, a corresponding target presentation method may be determined for presenting the target conversation message. The media type corresponding to the media content may be determined based on the distributor of the media content. For example, different distributors may correspond to different media types. Furthermore, different distributors may correspond to different presentation methods. The media type corresponding to the media content may be determined based on the sender of the target conversation message. For example, different senders may correspond to different media types. Furthermore, different senders may correspond to different presentation methods. The media type corresponding to the media content may be determined by combining the distributor of the media content and the sender of the target conversation message. For example, conversation messages including media content distributed by the same distributor may correspond to different media types depending on the sender. For example, conversation messages sent by the same sender may correspond to different media types depending on the distributor of the included media content.
[0029] Here, the different presentation methods are not limited, and may be reflected in at least one of the display size, display format, display copy, and amount of information to be presented, for example.
[0030] In step 103, the target conversation message is presented in the target presentation manner.
[0031] For example, after determining the target presentation manner, the target conversation message can be presented in the target presentation manner, thereby improving the flexibility of conversation message display.
[0032] A method for displaying conversation messages according to an embodiment of the present disclosure determines a target conversation message of media content included in message content on a group conversation page, determines a media type corresponding to the media content, and determines a target presentation manner of the target conversation message based on the media type. The media type is determined based on at least one of the distributor of the media content and the sender of the target conversation message. The target conversation message is presented in a target presentation manner. By adopting the above technical solution, when a conversation message of media content including at least one of an image and a video is presented on a group conversation page, the corresponding presentation manner is determined based on at least one of the distributor of the media content and the sender of the conversation message, thereby increasing the flexibility of conversation message display and making it easier for group members to quickly distinguish the source of the media content in the message, thereby improving the efficiency of information selection.
[0033] In some embodiments, determining a media type corresponding to the media content includes determining a target type corresponding to at least one of a distributor of the media content and a sender of the target conversation message, and determining a media type corresponding to the media content based on the target type. Here, the target type is determined based on whether a pre-defined relationship exists between a user and a target user. The target user includes at least one of the creator of the group conversation, the administrator of the group conversation, and at least one user designated by the current user. An advantage of this setting is that it is possible to distinguish at least one user type between a distributor and a sender based on at least one of the relationship between the group master and the user designated by the current user, thereby more rationally determining a target presentation method.
[0034] Here, the preset relationship may be set according to practical use. For example, the preset relationship may include at least one of the following: the broadcaster or sender is at least one of the creator and administrator of the group conversation; the broadcaster or sender is at least one user designated by the current user; and the broadcaster or sender is a target group member designated by at least one of the creator and administrator of the group conversation. This allows media content sent or distributed by a user with the preset relationship to be displayed separately from other media content in a group chat (i.e., group conversation), thereby improving the user's information acquisition efficiency. The existence of a preset relationship may also be determined based on interaction operations between users. For example, if a user's number of interactions reaches a preset threshold and the user is displayed as an enthusiastic fan, it may be determined that a preset relationship exists between the user and the group master.
[0035] In an embodiment of the present disclosure, the types corresponding to users may be divided into at least two types. For example, the two types may be a first preset type and a second preset type. Optionally, determining a media type corresponding to the media content and determining a target presentation manner of the target conversation message based on the media type may include at least one of: determining the corresponding target type as a first preset type and determining the target presentation manner as a first preset presentation manner based on a media type corresponding to the first preset type when there is no preset relationship between the media content distributor and the target conversation message sender and the target user of the group conversation; or determining the corresponding target type as a second preset type and determining the target presentation manner as a second preset presentation manner based on a media type corresponding to the second preset type when there is a preset relationship between the media content distributor or the target conversation message sender and the target user of the group conversation. Here, the first preset presentation manner is different from the second preset presentation manner.
[0036] For convenience of explanation, the target types corresponding to group members are divided into a first preset type and a second preset type as an example. For the second preset type, conversation messages generally have a relatively high relevance to chat content or themes of user interest, etc. However, for the first preset type, if there is a possibility that conversation messages unrelated to chat content or themes of user interest exist, there are likely to be many unrelated messages in the group conversation, which will interfere with the message acquisition efficiency of ordinary group members. Therefore, the first preset type is made to correspond to media content of a first media type, and the corresponding target presentation manner is determined as the first preset presentation manner, and the second preset type is made to correspond to media content of a second media type, and the corresponding target presentation manner is determined as the second preset presentation manner.
[0037] Taking one application scenario as an example, in some embodiments, a pre-configured application program may have a resource distribution function. A resource distributor may distribute works (e.g., media works such as image works or video works) in the pre-configured application program for other users to view. A group may be created in the pre-configured application program to facilitate communication between the resource distributor and users who follow the resource distributor (who may be understood as fans of the resource distributor). Group members may converse within the group. The group creator may be the resource distributor himself or a fan of the resource distributor. In the latter case, the group may be understood as a fan group. If the second pre-configured type is supported, a user may send or forward the resource distributor's works in the form of a conversation message in a group conversation. In this case, the media content included in the message content of the conversation message of the target message type may include the content of the work. However, if the first pre-configured type is supported, a user may send a conversation message such as a video unrelated to the group master, which may interfere with other fans' message viewing. In the first preset type, a user may also send a conversation message related to the group master, for example, the media content included in the conversation message is sent by the group master. For example, if a fan wants to discuss a work previously sent by the group master with other fans or the group master in a group conversation, the fan may forward the work to the group conversation, and the work of the group master may still be presented in the second presentation manner. In the embodiments of the present disclosure, different presentation manners may be determined according to different situations.
[0038] In an embodiment of the present disclosure, a conversation message of a target message type sent by a group member of a first preset type and a conversation message of a target message type sent by a group member of a second preset type may be presented using different presentation methods. When the media content included in the conversation message of the target message type is delivered by a group member of the first preset type, and when the media content included in the conversation message of the target message type is delivered by a group member of a second preset type, they may be presented using different presentation methods. The first preset type corresponds to the first preset presentation method, and the second preset type corresponds to the second preset presentation method.
[0039] In some embodiments, the difference between the first and second preset presentation modes is reflected in at least one of the following: display size, display format, character display, and amount of information displayed. The advantage of such a setting is that it can help a user visually distinguish conversation messages from different sources quickly. When the difference is reflected in at least two of the above items, the user can distinguish conversation messages more quickly and improve message viewing efficiency.
[0040] Here, the display size may be understood as the size of the area on the group conversation page occupied when the target conversation message is presented. Optionally, the display size corresponding to the first preset presentation mode is smaller than the display size corresponding to the second preset presentation mode. The advantage of this setting is that it effectively reduces the page space occupied by conversation messages of the target message type corresponding to the first preset type of group member, reduces interference with the current user, improves the user's message viewing efficiency, and improves the efficiency of acquiring text information. FIG. 2 is a schematic diagram of a presentation mode according to an embodiment of the present disclosure, which may correspond to a second preset presentation mode. As shown in FIG. 2, on the group conversation page 201, group master A (a group member of a second preset type) sends a conversation message of one target message type, with the message content being a landscape video. This conversation message 202 may be presented in a second preset presentation mode (which may be referred to as a "conversation card mode"). FIG. 3 is a schematic diagram of another presentation mode according to an embodiment of the present disclosure. As shown in Figure 3, group member B (a group member of the first preset type) may send a conversation message of one target message type, the message content of which is a Joker video, and present this conversation message 301 in a first preset presentation manner. Comparing Figures 2 and 3, it can be seen that the display size corresponding to the first preset presentation manner is smaller than the display size corresponding to the second preset presentation manner.
[0041] Here, the display form may include a display format and a display state. Optionally, the display form corresponding to the first preset presentation manner includes displaying at least one of a thumbnail and text related to the media content, and the display form corresponding to the second preset presentation manner includes displaying an original image related to the media content. Here, the size of the thumbnail is smaller than the size of the original image. The original image may include an image in the message content and may further include a video frame or video cover of a video in the message content. The thumbnail may include a reduced image obtained by reducing the original image by a percentage, or may include a local image obtained by cropping based on the original image.
[0042] For example, as can be seen by comparing Figures 2 and 3, in the second preset presentation mode, the conversation message 202 displays a video cover of a landscape video, and in the first preset presentation mode, the conversation message 301 displays a thumbnail image of a video frame of a Joker video.
[0043] Illustratively, Fig. 4 is a schematic diagram of another presentation method according to an embodiment of the present disclosure. Comparing Fig. 2 and Fig. 4, the conversation message 202 in Fig. 2 displays a video cover of a landscape video in a conversation card format, while the conversation message 401 in Fig. 4 displays a thumbnail and the text "Video Share" in a conversation bubble format. Here, the conversation message 401 in Fig. 4 may display playback controls and text, but not a thumbnail. That is, the display of the joker thumbnail may be removed while retaining the triangular playback control at the position of the thumbnail.
[0044] Here, the amount of information presented may be set to measure the amount of message content presented or the amount of information related to the message content. Optionally, the amount of information presented in the first preset presentation method is less than the amount of information presented in the second preset presentation method. As shown in FIG. 2, in the second preset presentation method, the card control of the conversation message 202 displays the user identifier (avatar and name) of group master A and the video theme "Sunrise over Mt. XX." Meanwhile, neither conversation message 301 in FIG. 3 nor conversation message 401 in FIG. 4 displays information such as the user identifier and video theme.
[0045] The difference between the first and second preset presentation methods may be reflected in other aspects, such as, for example, the first preset presentation method overlays a semi-transparent layer on the presented conversational messages, compared to the second preset presentation method, allowing the user to quickly distinguish the source of the messages based on the presence or absence of the semi-transparent layer.
[0046] For example, if the currently determined target conversation message is a target conversation message to be presented, it may be determined whether a preset relationship exists between the sender of this target conversation message and the target user. If a preset relationship does not exist between the sender of this target conversation message and the target user, when the target conversation message needs to be presented, it is presented in a first preset presentation manner. If a preset relationship exists between the sender of this target conversation message and the target user, when the target conversation message needs to be presented, it is presented in a second preset presentation manner, for example, a target conversation message sent by a group master is presented in the second preset presentation manner, and a target conversation message sent by a non-group master is presented in the first preset presentation manner. If the currently determined target conversation message is a target conversation message that has already been presented, it may be determined whether a preset relationship exists between the sender of this target conversation message and the target user. If there is no preset association relationship between the sender of this target conversation message and the target user, and it is determined that the current presentation method is not the first preset presentation method, the method switches to presenting in the first preset presentation method; if there is a preset association relationship between the sender of this target conversation message and the target user, the method maintains presenting in the second preset presentation method; for example, if it is sent by a group master, it does not switch; if it is sent by a non-group master, it switches.
[0047] For example, if the currently determined target conversation message is the target conversation message to be presented, it may be determined whether a preset relationship exists between the media content provider in this target conversation message and the target user. If a preset relationship exists between the media content provider in this target conversation message and the target user, when this target conversation message needs to be presented, it is presented in a second preset presentation manner. If a preset relationship does not exist between the media content provider in this target conversation message and the target user, when this target conversation message needs to be presented, it is presented in a first preset presentation manner, for example, a conversation message including media content distributed by the group master is presented in the second preset presentation manner, and a conversation message including media content distributed by a non-group master is presented in the first preset presentation manner. If the currently determined target conversation message is a target conversation message that has already been presented, it may be determined whether a preset relationship exists between the media content provider in this target conversation message and the target user. If there is no preset relationship between the media content distributor and the target user in this target conversation message, and it is determined that the current presentation method is not the first preset presentation method, the method switches to presenting in the first preset presentation method; if there is a preset relationship between the media content distributor and the target user in this target conversation message, the method maintains presenting in the second preset presentation method; for example, if the media content is distributed by a group master, the method does not switch; if the media content is distributed by a non-group master, the method switches.
[0048] For example, when determining the target presentation method, the media content distributor and the target conversation message sender may be associated with each other. For example, if there is a pre-defined relationship between the media content distributor or the target conversation message sender and the target user, the determined target presentation method is the second pre-defined presentation method. If there is no pre-defined relationship between the media content distributor or the target conversation message sender and the target user, the determined target presentation method is the first pre-defined presentation method.
[0049] In some embodiments, the method further includes determining that a preset presentation function is on before determining a target conversation message of the target message type on the group conversation page. Here, the preset presentation function is configured to adopt different presentation methods for the conversation message of the target message type for the current user based on differences in media types to which the included media content belongs. An advantage of such setting is that by setting the preset presentation function, the display mode of the conversation message of the target message type (e.g., a mode in which the conversation message is presented using a unified preset presentation method (which may be a second preset presentation method) and a mode in which the conversation message is presented using a different preset presentation method) can be flexibly controlled.
[0050] In some embodiments, before determining that the preset presentation function is in an on state, the method further includes turning on the preset presentation function in response to an on operation of the preset presentation function by a current user, where the current user may be a group master or another user other than the group master.
[0051] For example, the operation state of a preset presentation function may be divided into an on state and an off state. This operation state may be autonomously set by the current user or by at least one of the creator and administrator of the group conversation. After the current user autonomously sets the operation state, the setting result can be enabled for the current user without affecting the operation state of the preset presentation function of group members other than the current user in the group conversation. Note that the current user may also include a group master. For example, if user C sets the operation state of his / her own preset presentation function to on, and the operation state of user D's preset presentation function was previously off, the setting result of user C does not affect user D, and the operation state of user D's preset presentation function remains off. When the group master sets the operation state of the preset presentation function, the setting result can be enabled for all group members in the group conversation. That is, the operation states of the preset presentation functions of all group members in the group are changed collectively based on the setting result of the group master.
[0052] In some embodiments, the method further includes displaying a preset ON control in a related area of at least one conversation message of the target message type on the group conversation page before determining that the preset presentation function is ON, and turning on the preset presentation function in response to a trigger operation of the preset ON control by the current user. An advantage of this setting is that it allows the current user to freely and quickly set the operation state of the preset presentation function by triggering the preset ON control while viewing the group conversation page, thereby improving setting efficiency.
[0053] Illustratively, the conversation message may be the conversation message of the target message type that is first presented after the current user enters the group conversation page, the conversation message of the first target message type that is currently presented on the group conversation page, or all conversation messages of the target message type that are currently presented on the group conversation page, etc. The related area may be a display area near the display area in which this conversation message is located, such as the lower left area of the conversation message.
[0054] Optionally, a preset setting control that resides on the group conversation setting page may be displayed. This preset setting control is used to modify and set the operating state of the preset presentation function. After the current user triggers the preset on control, a preset viewing control may be displayed. After the current user triggers the preset viewing control, the group conversation setting page may be jumped to and displayed in the preset setting control to facilitate the current user adjusting the operating state of the preset presentation function.
[0055] In some embodiments, after presenting the target conversation message in a first preset presentation manner, the method further includes, in response to a target interaction request for the target conversation message triggered by the current user in a first preset trigger manner, performing a process according to the target interaction request. Here, the first preset trigger manner is different from a second preset trigger manner. The second preset trigger manner is a manner for triggering a target interaction request for a conversation message presented in the second preset presentation manner. An advantage of such a setting is that for conversation messages of a target message type presented in different presentation manners, different preset trigger manners can be used to trigger interaction requests of the same type, thereby facilitating user operation.
[0056] Illustratively, the target interaction request may be, for example, a view details request, a like request, a comment request, a forward request, and the like.
[0057] In some embodiments, the difference between the second preset triggering manner and the first preset triggering manner is reflected in different types of gesture operations for triggering the target interaction request. For example, taking a like request as an example, the first preset triggering manner may be a long press operation, and the second preset triggering manner may be a double click operation, etc.
[0058] In some embodiments, the method further includes, after presenting the target conversation message in a first preset presentation manner, obtaining a reply content input by the current user in response to the current user's quote operation on the target conversation message, sending a quote message based on the reply content, and presenting the quote message based on a third preset presentation manner. The third preset presentation manner is different from a fourth preset presentation manner, and the fourth preset presentation manner is a presentation manner of a quote message for the target conversation message presented in the second preset presentation manner. An advantage of such a setting is that when the current user needs to quote a conversation message of the target message type, the quote message can be presented using different presentation manners, thereby improving message selection efficiency.
[0059] Here, the third preset presentation manner corresponds to the first preset presentation manner, and the fourth preset presentation manner corresponds to the second preset presentation manner. For the fourth preset presentation manner, the quoted conversation message may display an original image and playback controls related to the media content, and for the third preset presentation manner, the quoted conversation message may display a thumbnail related to the media content and may also display text, such as "video share."
[0060] In some embodiments, the method may further include presenting a first search result and a second search result in response to a first search request for conversation messages of the target message type of the current user. The first search result includes conversation messages of the target message type sent by group members of the first predetermined type that match the first search request. The second search result includes conversation messages of the target message type sent by group members of the second predetermined type that match the first search request. An advantage of such a configuration is that categorizing search results for conversation messages of the target message type sent by group members of different types can help the current user quickly find the conversation messages they want to view from the corresponding search results, thereby improving search efficiency.
[0061] Illustratively, the search request may include a search keyword. Matching the search request may be understood as message content in a conversation message matching the search keyword. Optionally, the first search result and the second search result may be presented on the same page. For example, the second search result may be located in the upper half of the page, and the first search result may be located in the lower half of the page. Alternatively, the first search result and the second search result may be presented on different pages. For example, the first search result may be presented on a first result page, and the second search result may be presented on a second result page, and the current user can switch between the first result page and the second result page by triggering a page tag.
[0062] In some embodiments, the method may further include presenting targeted search results in response to a second search request for conversation messages of the target message type sent by group members of the preset target type of the current user, where the targeted search results include conversation messages of the target message type sent by group members of the preset target type that match the second search request. The advantage of such setting is that when performing a search, the current user can specify a search scope, improve search matching efficiency, quickly present search results, and further help the user quickly find the messages they need.
[0063] For example, in response to a search operation for conversation messages of a target message type of the current user, search options are displayed. Here, the search options include options corresponding to a first preset type and a second preset type, respectively. In response to a trigger operation on the target search options of the current user, a second search request is determined based on the target search options. For example, when a user inputs a search operation to search for video-like messages, two search options, "Search for non-group masters" and "Search for group masters," are displayed. After the user clicks the "Search for group masters" option, video-like messages sent by matching group masters are searched for based on the search keywords of the second search request and presented as target search results.
[0064] In some embodiments, the method includes determining that a media type corresponding to the media content corresponds to a first preset presentation manner when the target conversation message does not satisfy a preset filtering condition, and presenting the target conversation message in the first preset presentation manner, which has the advantage of providing more flexible control over the display of conversation messages of the target message type.
[0065] Optionally, this method may further include presenting the target conversation message in a second preset presentation manner when the target conversation message satisfies a preset filtering condition. The advantage of this setting is that conversation messages of a target message type that are sent by a first preset type of group member and that satisfy the preset filtering condition, or conversation messages of a target message type whose included media content is distributed by a second preset type of group member and that satisfy the preset filtering condition, are presented using the second preset presentation manner, making it easier for users to view the corresponding message content in a timely manner and avoid missing important information.
[0066] In some embodiments, the preset filtering conditions include at least one of: at least one of the creator and administrator of the group conversation has performed a first preset interaction operation on the target conversation message; the cumulative number of group members who have viewed the details of the target conversation message meets a first preset number requirement; and the cumulative number of group members who have performed a second preset interaction operation on the target conversation message meets a second preset number requirement. An advantage of such settings is that the preset filtering conditions can be set rationally, making the presentation of conversation messages of the target message type more rational.
[0067] Illustratively, the first preset interaction operation may include, for example, a like operation, a comment operation, a quote operation (which may also be understood as a reply operation), a forward operation, etc. The second preset interaction operation may include, for example, a like operation, a comment operation, a quote operation, a forward operation, etc. When the group master has performed the above interaction operation on the target conversation message, or when many group members in the group have performed the above interaction operation on the target conversation message, this may indicate that the current target conversation message has attracted the attention of the group master or many group members and has become a topic of conversation to some extent, and therefore may not need to be presented in the first preset presentation manner.
[0068] For example, if many group members all view the details of the target conversation message, it may indicate that the target conversation message is attracting a relatively high level of attention and may not need to be presented in the first preset presentation manner. Here, the details of the target conversation message may include details of media content, such as an image displayed at a preset size (e.g., full screen) or a video played at a preset size, where the preset size is larger than the display size of the target conversation message. The details of the target conversation message may be displayed in response to a user's viewing operation input for the target conversation message. For example, the user may click on a target conversation message that includes a video and then play the video in full screen.
[0069] Here, the predetermined number requirement may be that a corresponding number threshold is reached, or that the percentage of the cumulative number to the total number of group members reaches a corresponding percentage threshold. Optionally, the first predetermined number requirement is higher than the second predetermined number requirement.
[0070] Alternatively, the cumulative number of group members who have viewed the details of the target conversation message meeting a first preset number requirement may be the cumulative number of group members who have completely viewed the details of the target conversation message meeting a first preset number requirement.
[0071] 5 is a flowchart of a method for displaying conversation messages according to an embodiment of the present disclosure. The embodiment of the present disclosure is obtained by optimizing the selected solutions in the above embodiment. Illustratively, the method includes the following steps 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, and 512.
[0072] In step 501, when the preset presentation function is in an OFF state, a preset ON control is displayed in the related area of the conversation message of the target message type on the group conversation page.
[0073] For convenience of explanation, for example, group members in a group conversation are divided into two preset types, where a group member of a first preset type is a non-group master member and a group member of a second preset type is a group master. A first preset presentation method corresponding to the first preset type is a weakened presentation method, and a second preset presentation method corresponding to the second preset type is a normal presentation method. The message content of a conversation message of a target message type includes video, and is abbreviated as a video-like message. When the preset presentation function is turned off, all video-like messages are presented in the normal presentation method. When the preset presentation function is turned on, if a video-like message sent by a non-group master member does not satisfy a preset filtering condition, it is presented using the weakened presentation method, and if it satisfies the preset filtering condition, it is presented using the normal presentation method. Furthermore, video-like messages sent by the group master and video-like messages sent by group members, including a video distributed by the group master, are presented using the normal presentation method.
[0074] 6 is a schematic diagram of an interface interaction according to an embodiment of the present disclosure. As shown in FIG. 6, the preset presentation function is currently in an off state, and two video-like messages are presented on a group conversation page 601: a first conversation message 602 sent by user B and a second conversation message 603 (not fully shown in the figure) sent by user C, both of whom are non-group master members. A preset on control 604 is displayed in the lower area of the first conversation message 602. Here, the media content in the first conversation message 602 is sent by a non-group master member, and the media content in the second conversation message 603 is sent by the group master member.
[0075] In step 502, a preset presentation function is turned on in response to a trigger operation on a preset on control by the current user.
[0076] Selectively, in response to a trigger operation of the current user on a preset on control, presentation information for confirming whether the current user should turn on the preset presentation function is displayed, and in response to a confirmation operation of the current user, the preset presentation function is turned on.
[0077] As shown in FIG. 6, if the current user wants to turn on the preset presentation function, he or she can click the preset on control 604, and then presentation information 605 will be displayed. After the current user clicks the on button, the current user receives a user confirmation operation and turns on the preset presentation function.
[0078] In step 503, it is determined that the preset presentation function is in an on state, and a target conversation message of the target message type in the group conversation page is determined.
[0079] Illustratively, after determining that the preset presentation function is in an on state, it determines that the target conversation messages to be processed are the first conversation message 602 and the second conversation message 603, respectively.
[0080] In step 504, it is determined whether a pre-established relationship exists between the sender of the target conversation message and the target user. If a pre-established relationship exists between the sender of the target conversation message and the target user, step 505 is executed; if a pre-established relationship exists between the sender of the target conversation message and the target user, step 510 is executed.
[0081] Illustratively, for the first conversation message 602, User B is a non-group master member, so step 505 is performed. For the second conversation message 603, User C is a non-group master member, so step 505 is performed. If the target conversation message to be processed includes a message sent by the group master, step 510 can be performed.
[0082] In step 505, it is determined whether a pre-established relationship exists between the distributor of the media content included in the target conversation message and the target user. If a pre-established relationship exists between the distributor of the media content included in the target conversation message and the target user, step 510 is executed; if a pre-established relationship does not exist between the distributor of the media content included in the target conversation message and the target user, step 506 is executed.
[0083] Illustratively, for the first conversation message 602, step 506 is performed because the media content therein is distributed by a non-group master member. For the second conversation message 603, step 510 is performed because the media content therein is distributed by a group master member.
[0084] In step 506, it is determined whether the target conversation message satisfies the preset filtering conditions. If the target conversation message satisfies the preset filtering conditions, step 510 is executed; if the target conversation message does not satisfy the preset filtering conditions, step 507 is executed.
[0085] For example, if the preset filtering condition is that at least one of the creator and administrator of the group conversation has performed a first preset interaction operation on the target conversation message, the group master has not performed the first preset interaction operation on the first conversation message 602, so step 507 is executed.
[0086] In step 507, switch to presenting the target conversation message in a first preset presentation manner.
[0087] For example, the presentation mode of the first conversation message 602 needs to be changed. The first conversation message 606 presented in the first preset presentation mode is represented as a conversation bubble, and the bubble includes a playback control and a text description such as "Video Share." To facilitate the user's convenient adjustment of the operation status of the preset presentation function, a preset viewing control (e.g., "Edit" in FIG. 6) may be displayed on the conversation message presented in the first preset presentation mode. After triggering the preset viewing control, the user can jump to the group conversation settings page and use the preset setting control displayed there to adjust the operation status of the preset presentation function.
[0088] In step 508, in response to a target interaction request for the target conversation message triggered by the current user in the first preset trigger manner, processing is performed in response to the target interaction request.
[0089] For example, the target interaction request may include a like request. For a normally presented video-type message, the second preset triggering manner may be double-clicking the video-type message, and the first preset triggering manner may be different, for example, long-pressing the video-type message.
[0090] In step 509, in response to the current user's quote operation on the target conversation message, obtain a reply content entered by the current user, send a quote message based on the reply content, and present the quote message based on a third preset presentation manner.
[0091] As shown in Figure 6, if the current user wants to quote the first conversation message 606 after viewing the first conversation message 606, the reply content entered by the current user to the quote may be obtained, a quote message may be generated and sent, and the quote message 607 may be presented in a third preset presentation manner on the group conversation page. The third preset presentation manner may be, for example, to display the quote description "Quote... [Video Share]" and the name of the sender of the quoted message, for example, "B" for User B in Figure 6, in a conversation bubble format.
[0092] In step 510, the target conversation message is maintained to be presented in a second preset presentation manner.
[0093] For example, the second conversation message 603 may be maintained to be presented in the normal presentation manner since the content is a video distributed by the group master.
[0094] In step 511, in response to a target interaction request for a target conversation message triggered by the current user in a second preset trigger manner, a process according to the target interaction request is performed.
[0095] Illustratively, if the current user wants to initiate a like request for the second conversation message 603, they may double-click on the second conversation message 603.
[0096] In step 512, in response to a quote operation of the current user on the target conversation message, obtain a reply content entered by the current user, send a quote message based on the reply content, and present the quote message based on a fourth preset presentation manner.
[0097] For example, if the current user wants to quote the second conversation message 603 after viewing the second conversation message 603, the reply content entered by the current user to the quote may be obtained, a quote message may be generated and sent, and the quote message may be presented in a fourth preset presentation manner on the group conversation page. The fourth preset presentation manner may be, for example, a conversation card format that displays the quote description "Quote," a video cover of the video included in the second conversation message, and playback controls.
[0098] According to the chat message display method of the embodiment of the present disclosure, a preset on control is displayed in the relevant area of the chat message of the target message type on the group chat page, and the user can conveniently set the operating state of the preset presentation function through the preset on control. After setting it to the on state, different presentation modes can be provided depending on whether the sender of the chat message is the group master and whether the chat message content is distributed by the group master. By weakening the non-group master video sent by the non-group master, the video card can be compressed into images or text, which can greatly save page space and improve message presentation efficiency, and can also facilitate group members to quickly distinguish the source of the message and improve information selection efficiency. In addition, different interaction initiation modes and quote message presentation modes are provided for different presentation modes to enhance the user experience.
[0099] 7 is a structural schematic diagram of a conversation message display device according to an embodiment of the present disclosure. As shown in FIG. 7, the device includes: A conversation message determination module 701 configured to determine a target conversation message of a target message type in a group conversation page, wherein the target message type includes a message type of a media content included in a message content, and the media content includes at least one of an image and a video; a target presentation style determination module 702 configured to determine a media type corresponding to the media content and determine a target presentation style of the target conversation message based on the media type, wherein the media type is determined based on at least one of a distributor of the media content and a sender of the target conversation message; a conversation message presentation module 703 configured to present the target conversation message in the target presentation manner; Equipped with.
[0100] A conversation message display device according to an embodiment of the present disclosure determines a target conversation message of media content included in message content on a group conversation page, determines a media type corresponding to the media content, and determines a target presentation manner of the target conversation message based on the media type, where the media type is determined based on at least one of the distributor of the media content and the sender of the target conversation message, and the target conversation message is presented in the target presentation manner. By adopting the above technical solution, when a conversation message of media content including at least one of an image and a video is presented on a group conversation page, the corresponding presentation manner can be determined based on at least one of the distributor of the media content and the sender of the conversation message, thereby increasing the flexibility of conversation message display and facilitating group members to quickly distinguish the source of the media content in the message, thereby improving information selection efficiency.
[0101] Optionally, determining a media type corresponding to the media content comprises: determining a target type corresponding to at least one of the media content distributor and the target conversation message sender; determining a media type corresponding to the media content based on the target type; Including, Here, the target type is determined based on whether a pre-defined relationship exists between the user and the target user, and the target user includes at least one of the creator of the group conversation, the administrator of the group conversation, and at least one user designated by the current user.
[0102] Optionally, the target presentation manner determination module: When neither the distributor of the media content nor the sender of the target conversation message has a pre-defined relationship with the target user of the group conversation, the corresponding target type is a first pre-defined type, and the target presentation manner is determined as a first pre-defined presentation manner based on the media type corresponding to the first pre-defined type; When there is a predetermined association relationship between the distributor of the media content or the sender of the target conversation message and the target user of the group conversation, the corresponding target type is a second predetermined type, and the target presentation manner is determined as the second predetermined presentation manner based on the media type corresponding to the second predetermined type; is set to at least one of Here, the first preset presentation manner is different from the second preset presentation manner.
[0103] Optionally, the difference between the first preset presentation method and the second preset presentation method is reflected in at least one of the display size, the display format, the character display, and the amount of information presented.
[0104] Optionally, at least one of the following is satisfied: the display size corresponding to the first preset presentation method is smaller than the display size corresponding to the second preset presentation method; and the amount of information presented in the first preset presentation method is less than the amount of information presented in the second preset presentation method.
[0105] Optionally, the display format corresponding to the first preset presentation manner includes displaying at least one of a thumbnail and text related to the media content, and the display format corresponding to the second preset presentation manner includes displaying an original image related to the media content, where the thumbnail size is smaller than the original image size.
[0106] Optionally, the apparatus comprises: The group conversation page may further include an operating state determination module configured to determine whether a preset presentation function is on before determining a target conversation message of a target message type in the group conversation page, wherein the preset presentation function is configured to adopt different presentation methods for the conversation message of the target message type for a current user based on different media types to which included media content belongs.
[0107] Optionally, the apparatus comprises: The device may further include an on-module configured to turn on the preset presentation function in response to a current user's on operation for the preset presentation function before determining that the preset presentation function is in an on state.
[0108] Optionally, the on-module a control display unit configured to display a preset on control in a related area of at least one conversation message of the target message type on the group conversation page; an on unit configured to turn on the preset presentation function in response to a trigger operation of the current user on the preset on control; may also be provided.
[0109] Optionally, at least one of the on and off states of the preset presentation feature is set by at least one of a creator and an administrator of the group conversation.
[0110] Optionally, the apparatus comprises: The communication device may further include an interaction processing module configured to, after presenting the target conversation message in a first preset presentation manner, perform processing according to a target interaction request for the target conversation message, triggered by a current user in a first preset trigger manner, where the first preset trigger manner is different from a second preset trigger manner, and the second preset trigger manner is a manner for triggering a target interaction request for a conversation message presented in the second preset presentation manner.
[0111] Optionally, the difference between the second preset triggering manner and the first preset triggering manner is reflected in different types of gesture operations for triggering the target interaction request.
[0112] Optionally, the apparatus comprises: a reply content acquisition module configured to acquire a reply content input by a current user in response to a quoting operation of the current user on the target conversation message after the target conversation message is presented in a first preset presentation manner; a quote message presentation module configured to send a quote message based on the reply content and present the quote message based on a third preset presentation manner, wherein the third preset presentation manner is different from a fourth preset presentation manner, and the fourth preset presentation manner is a presentation manner of a quote message for a target conversation message presented in the second preset presentation manner; may further comprise:
[0113] Optionally, the device comprises: The present invention further includes a presentation module configured to determine a first preset presentation manner corresponding to a media type corresponding to the media content when the target conversation message does not satisfy a preset filtering condition, and present the target conversation message in the first preset presentation manner.
[0114] Optionally, the preset filtering condition is: At least one of the creator and the administrator of the group conversation has performed a first preset interaction operation on the target conversation message; The cumulative number of group members who have viewed the details of the target conversation message meets a first predetermined number requirement; The cumulative number of group members who have performed a second predetermined interaction operation on the target conversation message satisfies a second predetermined number requirement; and It includes at least one of the following.
[0115] Optionally, the apparatus may further comprise a search module.
[0116] The search module is configured to present a first search result and a second search result in response to a first search request for conversation messages of the target message type of the current user, the first search result including conversation messages of the target message type sent by group members of the first predetermined type that match the first search request, and the second search result including conversation messages of the target message type sent by group members of the second predetermined type that match the first search request.
[0117] Alternatively, the search module is configured to present targeted search results in response to a second search request for conversation messages of the target message type sent by group members of a preset target type of the current user, the targeted search results including conversation messages sent by group members of the preset target type that match the second search request.
[0118] Optionally, the pre-set association relationships include the user being at least one of the creator and administrator of the group conversation, at least one user themselves designated by the current user, and at least one target group member designated by at least one of the creator and administrator of the group conversation.
[0119] The conversation message display device according to the embodiments of the present disclosure can execute the conversation message display method according to any embodiment of the present disclosure, and has functional modules and effects according to the execution method.
[0120] It should be noted that the units and modules included in the above device are divided according to functional logic, but are not limited to the above divisions as long as they can achieve the corresponding functions. Furthermore, the names of the functional units are simply for ease of distinction from each other and are not used to limit the scope of protection of the embodiments of the present disclosure.
[0121] FIG. 8 is a structural schematic diagram of an electronic device according to an embodiment of the present disclosure. The following refers to FIG. 8. FIG. 8 shows a structural schematic diagram of an electronic device (e.g., a terminal device or server in FIG. 8) 800 suitable for implementing an embodiment of the present disclosure. The terminal device in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (PDAs), tablet personal computers (PADs), portable media players (PMPs), and in-vehicle terminals (e.g., in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. The electronic device shown in FIG. 8 is merely an example and should not impose any limitations on the functionality and scope of use of the embodiment of the present disclosure.
[0122] 8, the electronic device 800 may include a processor (e.g., a central processor, a graphics processor, etc.) 801. The processor 801 can perform various appropriate operations and processes based on programs stored in a read-only memory (ROM) 802 or programs loaded from a storage device 808 into a random access memory (RAM) 803. The RAM 803 further stores various programs and data necessary for the operation of the electronic device 800. The processor 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0123] Generally, input devices 806, including, for example, a touch screen, touch board, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 807, including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 808, including, for example, a magnetic tape, hard disk, etc.; and communication devices 809, can be connected to the I / O interface 805. The communication devices 809 can allow the electronic device 800 to exchange data with other devices through wireless or wired communication. While FIG. 8 illustrates the electronic device 800 having various devices, it should be understood that it is not required to implement or include all of the devices shown. Alternatively, more or fewer devices can be implemented or included.
[0124] In particular, according to an embodiment of the present disclosure, the processes described with reference to the flowcharts above can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product. The computer program product includes a computer program stored on a non-transitory computer-readable medium, the computer program including program code for performing the method illustrated in the flowchart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 809, or may be installed from the storage device 808, or may be installed from the ROM 802. When the computer program is executed by the processor 801, the functions defined by the methods of the embodiments of the present disclosure are performed.
[0125] The electronic device according to the embodiment of the present disclosure belongs to the same idea as the method for displaying conversation messages according to the above embodiment, and the technical details not described in detail in this embodiment can be referred to the above embodiment, and this embodiment has the same effects as the above embodiment.
[0126] An embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, the computer program implementing the method for displaying a conversation message according to the embodiment when executed by a processor.
[0127] It should be noted that the computer-readable storage medium of the present disclosure may be a computer-readable signal medium, a computer-readable storage medium, or any combination of the above. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. Examples of computer-readable storage media may include, but are not limited to, an electrical connection having at least one conductor, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, the computer-readable storage medium may be any tangible medium that contains or stores a program. The program may be used by or in combination with an instruction execution system, apparatus, or device. However, in this disclosure, a computer-readable signal medium may include a propagated data signal, either in baseband or as part of a carrier, carrying computer-readable program code. Such a propagated data signal may take various forms, including, but not limited to, an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer-readable signal medium may also be any computer-readable storage medium other than a computer-readable storage medium. The computer-readable signal medium may transmit, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable storage medium may be transmitted over any suitable medium, including, but not limited to, electrical wire, optical cable, radio frequency (RF), or the like, or any suitable combination of the above.
[0128] In some embodiments, clients and servers may communicate using any network protocol now known or hereafter developed, such as HyperText Transfer Protocol (HTTP), and may interconnect via any form or medium of digital data communication (e.g., a communications network). Examples of communications networks include local area networks (LANs), wide area networks (WANs), the World Wide Web (e.g., the Internet), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any network now known or hereafter developed.
[0129] The computer-readable storage medium may be included in the electronic device, or may exist independently of the electronic device.
[0130] The computer-readable storage medium carries at least one program, which, when executed by the electronic device, causes the electronic device to: determine a target conversation message of a target message type in a group conversation page, the target message type including media content in message content, the media content including at least one of an image and a video; determine a media type corresponding to the media content; determine a target presentation manner of the target conversation message based on the media type, the media type being determined based on at least one of a distributor of the media content and a sender of the target conversation message; and present the target conversation message in the target presentation manner.
[0131] Computer program code for carrying out the operations of the present disclosure can be written in at least one programming language or combination thereof. Such programming languages include, but are not limited to, object-oriented programming languages (e.g., Java, Smalltalk, C++), as well as general procedural programming languages (e.g., "C" or similar programming languages). The program code may be executed entirely on the user computer, partially on the user computer, as a separate software package, partially on the user computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet Service Provider).
[0132] The flowcharts and block diagrams in the figures illustrate possible system architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowcharts or block diagrams may represent a module, program segment, or portion of code, which includes at least one executable instruction for implementing the specified logical function. It should also be noted that in some implementations, the functions illustrated in the blocks may occur in a different order than illustrated in the figures. For example, two consecutive blocks may actually be executed essentially in parallel, or may be executed in the reverse order, depending on the functionality involved. It should also be noted that each block in the block diagrams and flowcharts, and combinations of blocks in the block diagrams and flowcharts, may be implemented by a dedicated hardware-based system that performs the specified function or operation, or by a combination of dedicated hardware and computer instructions.
[0133] The units described in relation to the embodiments of the present disclosure may be implemented in a software or hardware manner. Here, the names of modules are not intended to limit the modules themselves. For example, a conversation message presentation module may be described as a "module for presenting the target conversation message in the target presentation manner."
[0134] The functionality described herein above may be performed, at least in part, by at least one hardware logic component. For example, without limitation, typical types of hardware logic components that may be used include Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Parts (ASSPs), Systems on Chips (SOCs), Complex Programmable Logic Devices (CPLDs), etc.
[0135] In the context of this disclosure, a machine-readable storage medium may be a tangible medium that may contain or store a program for use by or in combination with an instruction execution system, device, or apparatus. A machine-readable storage medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or any suitable combination of the above. Examples of machine-readable storage media include at least one line-based electrical connection, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0136] According to one or more embodiments of the present disclosure, Example 1 provides a method for displaying conversation messages, the method comprising: determining a target conversation message of a target message type in a group conversation page, the target message type including media content included in message content, the media content including at least one of an image and a video; determining a media type corresponding to the media content, and determining a target presentation manner of the target conversation message based on the media type, wherein the media type is determined based on at least one of a distributor of the media content and a sender of the target conversation message; presenting the target conversation message in the target presentation manner; Includes:
[0137] According to one or more embodiments of the present disclosure, Example 2 is based on the method of Example 1, wherein determining a media type corresponding to the media content includes: determining a target type corresponding to at least one of the media content distributor and the target conversation message sender; determining a media type corresponding to the media content based on the target type; Including, Here, the target type is determined based on whether a pre-defined relationship exists between the user and the target user, and the target user includes at least one of the creator of the group conversation, the administrator of the group conversation, and at least one user designated by the current user.
[0138] According to one or more embodiments of the present disclosure, Example 3 is based on the method of Example 2, wherein determining a media type corresponding to the media content and determining a target presentation manner of the target conversation message based on the media type includes: When neither the distributor of the media content nor the sender of the target conversation message has a pre-defined relationship with the target user of the group conversation, the corresponding target type is a first pre-defined type, and a predetermined target presentation manner is determined as a first pre-defined presentation manner based on the media type corresponding to the first pre-defined type; When there is a predetermined association relationship between the distributor of the media content or the sender of the target conversation message and the target user of the group conversation, the corresponding target type is a second predetermined type, and the target presentation manner is determined as the second predetermined presentation manner based on the media type corresponding to the second predetermined type; and Here, the first preset presentation manner is different from the second preset presentation manner.
[0139] According to one or more embodiments of the present disclosure, Example 4 is based on the method described in Example 3, and the difference between the first preset presentation method and the second preset presentation method is reflected in at least one of the display size, the display format, the character display, and the amount of information presented.
[0140] According to one or more embodiments of the present disclosure, Example 5 is based on the method described in Example 4, and satisfies at least one of the following: a display size corresponding to the first preset presentation method is smaller than a display size corresponding to the second preset presentation method; and an amount of information presented in the first preset presentation method is less than the amount of information presented in the second preset presentation method.
[0141] According to one or more embodiments of the present disclosure, Example 6 is based on the method described in Example 4, wherein the display form corresponding to the first preset presentation manner includes displaying at least one of a thumbnail and text related to the media content, and the display form corresponding to the second preset presentation manner includes displaying an original image related to the media content, wherein a size of the thumbnail is smaller than a size of the original image.
[0142] According to one or more embodiments of the present disclosure, Example 7 is based on the method described in Example 1, and further includes determining that a preset presentation function is on before determining a target conversation message of a target message type in the group conversation page, wherein the preset presentation function is configured to adopt different presentation methods for the conversation message of the target message type for the current user based on differences in media types to which the included media content belongs.
[0143] According to one or more embodiments of the present disclosure, Example 8 is based on the method of Example 7, further comprising: before determining that the preset presentation function is in an on state, The method further includes turning on the preset presentation function in response to an on operation for the preset presentation function by a current user.
[0144] According to one or more embodiments of the present disclosure, Example 9 is based on the method of Example 8, wherein turning on the preset presentation function in response to a current user's on operation for the preset presentation function includes: displaying a preset on control in a related area of at least one conversation message of the target message type on the group conversation page; turning on the preset presentation function in response to a trigger operation of the current user on the preset on control; Includes:
[0145] According to one or more embodiments of the present disclosure, Example 10 is based on the method described in Example 7, wherein at least one of the on and off states of the pre-set presentation function is set by at least one of the creator and administrator of the group conversation.
[0146] According to one or more embodiments of the present disclosure, Example 11 is based on the method of Example 3, further comprising: after presenting the target conversational message in a first preset presentation manner, The method further includes performing processing according to a target interaction request for the target conversation message triggered by the current user in a first preset triggering manner, wherein the first preset triggering manner is different from the second preset triggering manner, and the second preset triggering manner is a manner of triggering a target interaction request for a conversation message presented in the second preset presentation manner.
[0147] According to one or more embodiments of the present disclosure, Example 12 is based on the method described in Example 11, and the difference between the second trigger initiation manner and the first preset trigger manner is reflected in different types of gesture operations for triggering the target interaction request.
[0148] According to one or more embodiments of the present disclosure, Example 13 is based on the method of Example 3, further comprising: after presenting the target conversation message in a first preset presentation manner, Obtaining a reply content input by the current user in response to a quote operation of the current user on the target conversation message; Sending a quote message based on the reply content, and presenting the quote message based on a third preset presentation manner, wherein the third preset presentation manner is different from a fourth preset presentation manner, and the fourth preset presentation manner is a presentation manner of a quote message for the target conversation message presented in the second preset presentation manner; Further includes:
[0149] According to one or more embodiments of the present disclosure, Example 14 is based on the method described in Example 3, the method comprising: When the target conversation message does not satisfy a preset filtering condition, a first preset presentation manner corresponding to a media type corresponding to the media content is determined, and the target conversation message is presented in the first preset presentation manner.
[0150] According to one or more embodiments of the present disclosure, Example 15 is based on the method of Example 14, wherein the preset filtering condition is: At least one of the creator and the administrator of the group conversation has performed a first preset interaction operation on the target conversation message; The cumulative number of group members who have viewed the details of the target conversation message meets a first predetermined number requirement; The cumulative number of group members who have performed a second predetermined interaction operation on the target conversation message satisfies a second predetermined number requirement; and It includes at least one of the following.
[0151] According to one or more embodiments of the present disclosure, Example 16 is based on the method described in Example 3, the method comprising: In response to a first search request for conversation messages of the target message type of the current user, respectively presenting a first search result and a second search result, wherein the first search result includes conversation messages of the target message type sent by group members of the first predetermined type that match the first search request, and the second search result includes conversation messages of the target message type sent by group members of the second predetermined type that match the first search request; or presenting targeted search results in response to a second search request for conversation messages of the target message type sent by group members of the preset target type of the current user, the targeted search results including conversation messages sent by group members of the preset target type that match the second search request; Further includes:
[0152] According to one or more embodiments of the present disclosure, Example 17 is based on the method described in any one of Examples 2 to 16, and the pre-set association relationship includes at least one of at least one of the creator of the group conversation and the administrator itself, at least one user itself designated by the current user, and being designated as a target group member by at least one of the creator and the administrator of the group conversation.
[0153] According to one or more embodiments of the present disclosure, Example 18 provides a display device for displaying conversational messages, the display device comprising: a conversation message determination module configured to determine a target conversation message of a target message type in a group conversation page, the target message type including media content in a message content, the media content including at least one of an image and a video; a target presentation style determination module configured to determine a media type corresponding to the media content and determine a target presentation style of the target conversation message based on the media type, wherein the media type is determined based on at least one of a distributor of the media content and a sender of the target conversation message; a conversation message presentation module configured to present the target conversation message in the target presentation manner; Equipped with.
[0154] According to one or more embodiments of the present disclosure, Example 19 is based on the device described in Example 18 and includes a module for performing the method described in any one of Examples 2 to 17.
[0155] According to one or more embodiments of the present disclosure, Example 20 provides an electronic device, the electronic device comprising: at least one processor; a storage device configured to store at least one program; When the at least one program is executed by the at least one processor, it causes the at least one processor to implement a method for displaying a conversation message according to an embodiment of the present disclosure.
[0156] According to one or more embodiments of the present disclosure, Example 21 provides a storage medium including computer-executable instructions that, when executed by a computer processor, perform a method for displaying a conversation message according to an embodiment of the present disclosure.
Claims
1. determining a target conversation message of a target message type in a group conversation page, the target message type including media content included in message content, the media content including images and / or videos; Determine a media type corresponding to the media content, and determine a target presentation manner of the target conversation message based on the media type, wherein the media type is determined based on a distributor of the media content, or the media type is determined based on a distributor of the media content and a sender of the target conversation message, and for a current user, the presentation manner of the conversation message of the target message type is different according to the different media types to which the media content included in the message content belongs; presenting the target conversation message in the target presentation manner; How conversation messages are displayed, including:
2. Determining a media type corresponding to the media content includes: determining a target type corresponding to a distributor of the media content, or determining a target type corresponding to the distributor of the media content and a sender of the target conversation message; determining a media type corresponding to the media content based on the target type; Including, Wherein, the target type is determined based on whether a pre-defined association relationship exists between the user and the target user, and the target user includes at least one of the creator of the group conversation, the administrator of the group conversation, and at least one user designated by the current user; The method of claim 1.
3. determining a media type corresponding to the media content, and determining a target presentation manner of the target conversation message based on the media type; When neither the media content distributor nor the sender of the target conversation message has a predetermined association relationship with the target user of the group conversation, the corresponding target type is a first predetermined type, and the target presentation manner is determined as a first predetermined presentation manner based on the media type corresponding to the first predetermined type; and / or When a predetermined association relationship exists between the distributor of the media content or the sender of the target conversation message and the target user of the group conversation, the corresponding target type is a second predetermined type, and the target presentation manner is determined as the second predetermined presentation manner based on the media type corresponding to the second predetermined type. Including, The method of claim 2 , wherein the first preset presentation style is different from the second preset presentation style.
4. The difference between the first preset presentation method and the second preset presentation method is reflected in at least one of a display size, a display form, a character display, and an amount of information to be presented. The method of claim 3.
5. a display size corresponding to the first preset presentation method is smaller than a display size corresponding to the second preset presentation method; the amount of information presented in the first preset presentation method is less than the amount of information presented in the second preset presentation method; The method according to claim 4 , wherein at least one of the following is satisfied:
6. The display format corresponding to the first preset presentation manner includes displaying at least one of a thumbnail and a character related to the media content, and the display format corresponding to the second preset presentation manner includes displaying an original image related to the media content, wherein a size of the thumbnail is smaller than a size of the original image; The method of claim 4.
7. The method further includes determining whether a preset presentation function is in an on state before determining a target conversation message of a target message type in the group conversation page, wherein the preset presentation function is configured to, for a current user, adopt different presentation methods for the conversation message of the target message type according to different media types to which included media content belongs; The method of claim 1.
8. before determining that the preset presentation feature is in an on state, and further including turning on the preset presentation function in response to an on operation of the current user for the preset presentation function. The method of claim 7.
9. Turning on the preset presentation function in response to an on operation of the current user for the preset presentation function includes: displaying a preset on control in a related area of at least one conversation message of the target message type on the group conversation page; turning on the preset presentation function in response to a trigger operation of the current user on the preset on control; The method of claim 8, comprising:
10. At least one of the on state and the off state of the preset presentation function is set by at least one of the creator and the administrator of the group conversation. The method of claim 7.
11. After presenting the target conversation message in a first preset presentation manner, and further comprising: in response to a target interaction request for the target conversational message triggered by the current user in a first preset triggering manner, performing a process according to the target interaction request, wherein the first preset triggering manner is different from a second preset triggering manner, and the second preset triggering manner is a manner for triggering a target interaction request for a conversational message presented in the second preset presentation manner; The method of claim 3.
12. The difference between the second preset triggering manner and the first preset triggering manner is reflected in different types of gesture operations for triggering the target interaction request. The method of claim 11.
13. After presenting the target conversation message in a first preset presentation manner, Obtaining a reply content input by the current user in response to a quote operation of the current user on the target conversation message; Sending a quote message based on the reply content, and presenting the quote message based on a third preset presentation manner, wherein the third preset presentation manner is different from a fourth preset presentation manner, and the fourth preset presentation manner is a presentation manner of a quote message for the target conversation message presented in the second preset presentation manner; The method of claim 3 further comprising:
14. If the target conversation message does not satisfy a preset filtering condition, determining a first preset presentation manner corresponding to a media type corresponding to the media content, and presenting the target conversation message in the first preset presentation manner. The method of claim 3.
15. The preset filtering conditions are: At least one of the creator and the administrator of the group conversation has performed a first preset interaction operation on the target conversation message; The cumulative number of group members who have viewed the details of the target conversation message meets a first predetermined number requirement; The cumulative number of group members who have performed a second predetermined interaction operation on the target conversation message satisfies a second predetermined number requirement; and 15. The method of claim 14, comprising at least one of:
16. In response to a first search request for conversation messages of the target message type of the current user, respectively presenting a first search result and a second search result, wherein the first search result includes conversation messages of the target message type sent by group members of the first predetermined type that match the first search request, and the second search result includes conversation messages of the target message type sent by group members of the second predetermined type that match the first search request; or presenting targeted search results in response to a second search request for conversation messages of the target message type sent by group members of the preset target type of the current user, the targeted search results including conversation messages of the target message type sent by group members of the preset target type that match the second search request; The method of claim 3 further comprising:
17. A method according to any one of claims 2 to 6, 11 to 16, wherein the pre-set association relationships include at least one of the user being at least one of the creator of the group conversation and the administrator itself, at least one user itself designated by the current user, and a target group member designated by at least one of the creator and the administrator of the group conversation.
18. a conversation message determination module configured to determine a target conversation message of a target message type in a group conversation page, the target message type including media content included in a message content, the media content including an image and / or a video; a target presentation mode determination module configured to determine a media type corresponding to the media content and determine a target presentation mode of the target conversation message based on the media type, wherein the media type is determined based on a distributor of the media content, or the media type is determined based on the distributor of the media content and the sender of the target conversation message, and for a current user, the presentation mode of the conversation message of the target message type is different depending on the media type to which the media content included in the message content belongs; a conversation message presentation module configured to present the target conversation message in the target presentation manner; A conversation message display device comprising:
19. at least one processor; and a storage device configured to store at least one program, wherein when the at least one program is executed by the at least one processor, the at least one processor implements the conversation message display method according to any one of claims 1 to 16.
20. A storage medium containing computer executable instructions which, when executed by a computer processor, perform the method for displaying conversational messages according to any one of claims 1 to 16.
Citation Information
Patent Citations
Message display method, message processing method and device
CN110011907A
Social conversation management
US20160301651A1