CN112769679A - Message display method and device - Google Patents

Message display method and device Download PDF

Info

Publication number
CN112769679A
CN112769679A CN202110049822.9A CN202110049822A CN112769679A CN 112769679 A CN112769679 A CN 112769679A CN 202110049822 A CN202110049822 A CN 202110049822A CN 112769679 A CN112769679 A CN 112769679A
Authority
CN
China
Prior art keywords
message
communication messages
messages
target communication
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110049822.9A
Other languages
Chinese (zh)
Inventor
张译丹
王帅军
陈康
王超丕
孙骁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nail Holding Cayman Co ltd
Dingtalk Holding Cayman Ltd
Original Assignee
Nail Holding Cayman Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nail Holding Cayman Co ltd filed Critical Nail Holding Cayman Co ltd
Priority to CN202110049822.9A priority Critical patent/CN112769679A/en
Publication of CN112769679A publication Critical patent/CN112769679A/en
Priority to PCT/CN2022/071717 priority patent/WO2022152191A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/06Message adaptation to terminal or network requirements
    • H04L51/063Content adaptation, e.g. replacement of unsuitable content

Abstract

One or more embodiments of the present specification provide a message display method and apparatus; the method can comprise the following steps: determining a plurality of target communication messages from communication messages generated by communication session, wherein the plurality of target communication messages conform to a preset incidence relation; merging the target communication messages to obtain merged messages; and displaying the merged message in a message display page corresponding to the communication session to replace the display of the plurality of target communication messages.

Description

Message display method and device
Technical Field
The present disclosure relates to the field of mobile terminal technologies, and in particular, to a message display method and apparatus.
Background
With the popularization and development of instant messaging technology, more and more users can communicate and exchange through instant messaging sessions. The user can perform online interaction with other users through the instant messaging session, and can send communication messages to other users and receive communication messages sent by other users. In the related art, more and more users can communicate and exchange through a group in the instant messaging session, and the situation that the same user or different users send the same communication message for many times may occur, so that the message screen refreshing causes interference to the users in the group, and influences the users to acquire the desired communication message.
Disclosure of Invention
In view of this, one or more embodiments of the present disclosure provide a message display method and apparatus.
Specifically, one or more embodiments of the present disclosure provide the following technical solutions:
according to a first aspect of one or more embodiments of the present specification, there is provided a message presentation method, including:
determining a plurality of target communication messages from communication messages generated by communication session, wherein the plurality of target communication messages conform to a preset incidence relation;
merging the target communication messages to obtain merged messages;
and displaying the merged message in a message display page corresponding to the communication session to replace the display of the plurality of target communication messages.
According to a second aspect of one or more embodiments of the present specification, there is provided a message presentation apparatus including:
the device comprises a determining unit, a judging unit and a processing unit, wherein the determining unit is used for determining a plurality of target communication messages from communication messages generated by communication sessions, and the target communication messages accord with a preset incidence relation;
the merging unit is used for merging the target communication messages to obtain merged messages;
and the display unit is used for displaying the combined message in a message display page corresponding to the communication session so as to replace the display of the target communication messages.
According to a third aspect of one or more embodiments of the present specification, there is provided an electronic device. The electronic device includes:
a processor;
a memory for storing processor-executable instructions;
wherein the processor implements the method of the first aspect by executing the executable instructions.
According to a fourth aspect of one or more embodiments of the present description, a computer-readable storage medium is presented, having stored thereon computer instructions which, when executed by a processor, implement the steps of the method according to the first aspect.
Drawings
Fig. 1 is a schematic diagram of a communication system according to an exemplary embodiment of the present disclosure.
Fig. 2 is a flowchart of a message presentation method according to an exemplary embodiment of the present disclosure.
Fig. 3-8 are schematic diagrams of a message presentation page provided by an exemplary embodiment of the present specification.
Fig. 9 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present disclosure.
Fig. 10 is a block diagram of a message presentation apparatus according to an exemplary embodiment of the present specification.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with one or more embodiments of the present specification. Rather, they are merely examples of apparatus and methods consistent with certain aspects of one or more embodiments of the specification, as detailed in the claims which follow.
It should be noted that: in other embodiments, the steps of the corresponding methods are not necessarily performed in the order shown and described herein. In some other embodiments, the method may include more or fewer steps than those described herein. Moreover, a single step described in this specification may be broken down into multiple steps for description in other embodiments; multiple steps described in this specification may be combined into a single step in other embodiments.
With the popularization and development of instant messaging technology, more and more users can communicate and exchange through instant messaging sessions. The user can perform online interaction with other users through the instant messaging session, and can send communication messages to other users and receive communication messages sent by other users. In the related art, more and more users can communicate and exchange through a group in the instant messaging session, and the situation that the same user or different users send the same communication message for many times may occur, so that the message screen refreshing causes interference to the users in the group, and influences the users to acquire the desired communication message.
Accordingly, the present specification solves the above-mentioned technical problems in the related art by improving a message presentation method. The following examples are given for illustrative purposes.
Fig. 1 is a schematic diagram of a communication system according to an exemplary embodiment. As shown in fig. 1, the system may include a server 11, a network 12, a number of electronic devices such as a cell phone 13, a cell phone 14, a cell phone 15, and the like.
The server 11 may be a physical server comprising a separate host, or the server 11 may be a virtual server carried by a cluster of hosts. During the operation, the server 11 may operate a server-side program of an application to implement a related service function of the application, for example, when the server 11 operates a program of an instant messaging application, the server may be implemented as a server of the instant messaging application.
In this embodiment, the instant messaging application may include a general instant messaging application or an enterprise instant messaging application, which is not limited in this specification. The instant messaging application can be used as an integrated functional platform with many other functions besides the communication function, for example, to process a group event such as an approval event (e.g., an approval event such as leave request, office article application, and finance), an attendance event, a task event, and a log event, which is not limited in one or more embodiments of the present specification.
The handsets 13-15 are just one type of electronic device that a user may use. In fact, it is obvious that the user can also use electronic devices of the type such as: tablet devices, notebook computers, Personal Digital Assistants (PDAs), wearable devices (e.g., smart glasses, smart watches, etc.), etc., which are not limited by one or more embodiments of the present disclosure. During the operation process, the electronic device may operate a client-side program of an application to implement a related service function of the application, for example, when the electronic device operates a program of an instant messaging application, the electronic device may be implemented as a client of the instant messaging application.
It should be noted that: an application program of a client of an instant messaging application can be pre-installed on an electronic device, so that the client can be started and run on the electronic device; of course, when an online "client" such as HTML5 technology is employed, the client can be obtained and run without installing a corresponding application on the electronic device.
And the network 12 for interaction between the handsets 13-15 and the server 11 may include various types of wired or wireless networks. In one embodiment, the Network 12 may include the Public Switched Telephone Network (PSTN) and the Internet.
Fig. 2 is a flowchart of a message presentation method according to an exemplary embodiment. As shown in FIG. 2, the method may be applied to an electronic device (e.g., cell phones 13-15 shown in FIG. 1, etc.); the method may comprise the steps of:
step 202, determining a plurality of target communication messages from the communication messages generated by the communication session, wherein the plurality of target communication messages conform to a preset incidence relation.
In an embodiment, the communication session in which the user participates may be a session in any Instant Messaging application, such as an Enterprise Instant Messaging application (EIM), and the like, which is not limited in this specification.
In an embodiment, the electronic device may obtain communication messages in any communication session, and the electronic device may determine a plurality of target communication messages from the communication messages, where the plurality of target communication messages conform to a preset association relationship. The preset association relationship among the plurality of target communication messages may include at least one of the following: the plurality of target communication messages all contain the same message content, and the plurality of target communication messages can be generated by performing the same trigger operation on the same preset object. When the preset object is a historical communication message in the communication session, the corresponding trigger operation may be a quick sending operation, an approving operation, or a withdrawing operation for the historical communication message, for example, the quick sending operation may be to quickly generate another communication message containing the same message content as the historical communication message. When the preset object is a historical event in the communication session, the corresponding trigger operation may be an engagement behavior for the historical event. The historical event may be an auxiliary function that can be supported by the communication session, for example, a group sign-in function, a log uploading function, a red envelope function, a form filling function, a idiom connecting function, and the like, which is not limited in this specification.
And 204, merging the target communication messages to obtain merged messages.
In an embodiment, the electronic device may directly merge the determined multiple pieces of target communication messages, so as to obtain corresponding merged messages.
In an embodiment, the electronic device may merge the determined multiple pieces of target communication messages to obtain corresponding merged messages when a preset merging condition is met, where the preset merging condition includes at least one of: the number of the plurality of target communication messages is not less than the preset number, the plurality of target communication messages are sent continuously, the plurality of target communication messages are sent within the preset time period, and the like. And the plurality of target communication messages are continuously transmitted means that no other communication message is transmitted during the transmission period of the plurality of target communication messages.
In an embodiment, the electronic device may obtain sender identification information of a plurality of target communication messages and display contents corresponding to the plurality of target communication messages, respectively. And the sender identification information may include a head portrait and/or a nickname of the sender, etc., which is not limited in this specification. The electronic device may generate a corresponding consolidated message according to the sender identification information and the presentation content. The sender identification information contained in the combined message can be arranged and displayed according to the sending time sequence of the item label communication messages.
In an embodiment, the electronic device may further obtain attribute information of a sender of the multiple pieces of target communication messages, where the attribute information may include an organization to which the sender belongs, a geographic location where the sender is located, or a role of the sender in the communication session, and when the electronic device displays the sender identification information included in the combined message, the electronic device may further perform aggregation display on the sender identification information according to the attribute information of the sender, so that a user may quickly obtain the sender identification information that the user wants to view, for example, the sender identification information corresponding to the sender belonging to the same department may be displayed in the same area, and the like.
In an embodiment, when a plurality of target communication messages contain part of the same message content, the display content obtained by the electronic device may contain the part of the same message content; in the case that the plurality of targeted communication messages contain completely consistent message contents, the display content obtained by the electronic equipment may contain the message contents contained in at least one targeted communication message.
In an embodiment, when a plurality of target communication messages include partially identical message contents, the electronic device may still merge the target communication messages, and at this time, display contents obtained by the electronic device and corresponding to the plurality of target communication messages may include partially identical message contents in the plurality of communication messages, where different message contents included in each item tag communication message may be address information, class information, or identification information and the like additionally added to a sender of each item tag communication message, which is not limited in this specification. For example, if the target communication message a contained in a communication session is "address location reported to shanghai", the target communication message b is "address location reported to beijing", and the target communication message c is "address location reported to hang state", the electronic device may still merge the target communication message a, the target communication message b, and the target communication message c to obtain a corresponding merged message.
In an embodiment, in a case that a plurality of target communication messages correspond to the same preset object and the plurality of target communication messages include different message contents, the display content obtained by the electronic device may include message contents included in a selected target communication message, where the selected target communication message may include a closest target communication message of the plurality of target communication messages, that is, a target communication message closest to the current time point. Of course, the selected target communication message may further include one or more target communication messages randomly selected from the plurality of target communication messages, and the display content may include message content included in the selected one or more target communication messages.
In an embodiment, the electronic device may determine a plurality of target communication messages containing the same message content by performing hash calculation on the message content of the communication message generated in the communication session. For example, the electronic device may use MD5(MD5 Message-Digest Algorithm) to calculate the Message content of the communication Message, so as to obtain the digital Digest of the Message content contained in each different communication Message. By matching the digital abstracts, wherein the message contents corresponding to the same digital abstract are also the same, a plurality of target communication messages containing the same message contents can be determined. Of course, the electronic device may also use other algorithms to calculate and match the message content, and this description does not limit this.
The process of the electronic device traversing each communication message in the communication session may be: the electronic equipment can acquire communication messages generated in communication sessions within a preset time period, and performs digital summary calculation on message contents of the communication messages according to a generated time sequence, and after acquiring a digital summary of the message contents contained in any communication message, the electronic equipment can determine whether the digital summary has a corresponding message node to be merged. If the message node to be merged corresponding to the digital abstract exists, the electronic equipment can add the communication message to the corresponding message node to be merged; if there is no message node to be merged corresponding to the digital summary, the electronic device may first create a message node to be merged corresponding to the digital summary, and then add the communication message to the corresponding message node to be merged. Until the communication messages in the preset time period all acquire the corresponding digital abstracts, and determining the corresponding message nodes to be merged. The electronic device can combine the communication messages in the message nodes to be combined respectively, so as to obtain combined messages. Or, the electronic device may merge the communication messages in the message nodes to be merged meeting the preset merging condition, so as to obtain the merged message, which is not limited in this specification.
And step 206, displaying the merged message in a message display page corresponding to the communication session to replace the display of the target communication messages.
In an embodiment, the electronic device may display the obtained merged message in a message display page of the communication session, so as to replace displaying multiple pieces of target communication messages, merge and display multiple pieces of target communication messages having a preset association relationship, and avoid that the user views the communication session due to excessive target communication messages containing the same message content or generated by performing the same trigger operation on the same preset object without affecting viewing of the instant communication messages, so that the user can quickly find the communication message to be viewed, the simplicity of the message display page of the communication session can be improved, the user can quickly obtain the communication message to be obtained, the obtaining efficiency of the communication message is improved, and the use experience of the user is improved.
In an embodiment, the electronic device may determine an associated display area corresponding to the merged message in the message display page, the electronic device may display a first quick sending option for the target communication message in the associated display area, and the user may trigger a corresponding operation quickly by triggering the first quick sending option, where the operation may include sending a communication message consistent with the message content of the target communication message, quickly signing in, checking all merged messages, or expanding the merged messages, and the first quick sending option may be configured according to an actual requirement, which is not limited in this specification. Of course, the associated display area may be located at the right, left, above, or below the display area for displaying the merged message, and of course, the associated display area may also be a floating window, and the like, which is not limited in this specification.
In an embodiment, under the condition that the preset merging condition is not met, the electronic device may respectively display a plurality of target communication messages in a message display interface of the communication session, and display a second shortcut option for the target communication message in an associated display area of at least one target communication message, as described above, the user may quickly trigger a corresponding operation by triggering the second shortcut sending option. For example, assume that the preset merge condition is: the number of the target communication messages is not less than 4, currently, 2 communication messages of 'happy everyday' sent by users exist, the electronic device can display a second quick sending option of '+ 1' in a related display area of the received 'happy everyday' communication messages, and then other users can quickly send out a communication message of which the message content is 'happy everyday' by triggering the second quick sending option of '+ 1', and other users do not need to manually input or select the communication message in other modes, so that the operation of the users is simplified.
In an embodiment, the electronic device may further determine a display area for displaying the merged message, and if the merged message cannot be completely displayed in the determined display area, the merged message may be scrolled and displayed in the display area; if the combined message can be completely displayed in the determined display area, the combined message can be directly displayed in the display area. Of course, the type of the target communication message may include at least one of: text messages, audio messages, video messages, picture messages, etc., and the communication messages in the communication session may be unread communication messages and/or historical communication messages, which is not limited in this specification.
In an embodiment, a user may search a certain historical communication message in a communication session, and select any one of the searched historical communication messages, and then the electronic device may display the selected historical communication message and a context historical communication message of the selected communication message in a message display page, and the electronic device may determine a plurality of corresponding target communication messages from the historical communication messages, and combine the plurality of determined target communication messages to obtain a combined message, so that the combined message may be displayed in the message display page, thereby implementing combined display of a plurality of historical communication messages in the communication session that meet a preset association relationship, implementing combined processing of the historical communication messages, and facilitating improvement of simplicity of display of the historical communication messages. Of course, the electronic device may merge the determined multiple pieces of target communication messages only when it is determined that the preset merging condition is satisfied, which is not limited in this specification.
In an embodiment, in a case that the combined message is displayed in the message display page, the electronic device may determine, according to a page turning operation for the message display page, a historical communication message that enters a screen display area of the electronic device in response to the page turning operation within the communication session, where the page turning operation may be a sliding operation or a clicking operation for the message display page. The electronic equipment can determine whether the acquired historical communication messages and the target communication messages accord with the preset association relationship, select the historical communication messages which accord with the preset association relationship with the target communication messages and combine the selected historical communication messages into the combined message, so that the display of the historical communication messages can be replaced, and the simplicity of the message display page can be improved.
For the convenience of understanding, the following description will be made on the presentation scheme of the present specification by taking a message presentation page of a communication session "work group" as an example.
Fig. 3 is a schematic diagram of a message presentation page of a communication session according to an exemplary embodiment. As shown in fig. 3, the message presentation page 301 is a message presentation page of a "work group" of the communication session. The message presentation page 301 includes a communication message 3011, a communication message 3012, and a quick send option 3013. At this time, it is assumed that the preset merging condition is that the number of the target communication messages is not less than 4, and multiple target communication messages need to contain the same message content, the communication message 3011 and the communication message 3012 in the message display page contain the same message content, both the communication message 3011 and the communication message 3012 belong to the target communication messages, but at this time, the number of the target communication messages is 2, and the preset merging condition is not satisfied, and the electronic device does not merge and display the communication message 3011 and the communication message 3012.
In this embodiment, as shown in fig. 3, the electronic device may display a shortcut sending option 3013 on the right side of the communication message 3012, and the user may trigger the shortcut sending option 3013 to quickly generate another communication message containing the same message content as the communication message 3012 in the message display page 301, so that the user may be prevented from manually inputting a corresponding message content, the simplicity and interest of the user operation are improved, and the user experience is significantly improved.
In this embodiment, it is assumed that 46 people who follow the communication session "work group" publish the same message content as the communication message 3011 and the communication message 3012, that is, 48 people in total send target communication messages containing the same message content, at this time, the message display page of the communication session "work group" may be switched to the message display page 401 shown in fig. 4, where the message display page 401 includes a display area 402, and the display area 402 is used to display combined messages obtained by combining the 48-item labeled communication messages.
The combined message comprises display content 4021 corresponding to the 48 items of the standard communication message, the display content 4021 comprises the same message content "@ white congratulatory pleasure-" in the 48 items of the standard communication message, the combined message also comprises the number 4022 of the target communication messages which are combined and displayed at the moment, i.e., "48" as shown in fig. 4, and the 48 entries also include sender identification information 4023 identifying the communication message, the sender identification information may include a sender's avatar and nickname, the message presentation page 401 includes a quick send option 4024, the user may select the quick send option 4024 by triggering the user, another communication message containing the same message content as the target communication message is quickly generated in the message presentation page 401, the method and the device can avoid the user from manually inputting the corresponding message content, and improve the simplicity of user operation.
In this embodiment, as shown in fig. 4, the sender identification information 4023 included in the merged message cannot be completely displayed in the display area 402, so the merged message may be scrolled and displayed in the display area 402, and of course, in this case, the scrolling display may scroll and display all the message contents included in the merged message, or may scroll and display only the sender identification information 4023 that cannot be completely displayed, which is not limited in this specification.
Fig. 5 is a schematic diagram of a message presentation page of a communication session according to an exemplary embodiment. Assume that any group member in the "work group" of a communication session uses the red-envelope feature supported by the communication session, thereby generating a corresponding red-envelope event 502 in the communication session. Other users may retrieve the red envelope by triggering the red envelope event 502, respectively, and may also generate corresponding targeted communication messages upon triggering the red envelope event 502. When the destination communication messages generated for the red packet event 502 satisfy the predetermined merging condition, the electronic device may display a merged message obtained by merging the destination communication messages, as shown in fig. 5, the merged message may include a first display content 5021, a second display content 5022, and a third display content 5023, and the merged message further includes sender identification information 5024 corresponding to the second display content 5022 and the third display content 5023, respectively. The first display content 5021 is part of the same message content contained in each target communication message generated aiming at the red packet event 502, and the electronic device can respectively perform merged display on the sender identification information of the target communication message containing the second display content 5022 and the sender identification information of the target communication message containing the third display content 5023, so that the communication messages generated by group members in the communication session aiming at the red packet event 502 can be merged and displayed, a user can quickly find the communication message which is wanted to be checked, and the communication efficiency of instant messaging is improved.
Fig. 6 is a schematic diagram of a message presentation page of a communication session according to an exemplary embodiment. As shown in fig. 6, the message presentation page 601 displays a merged message 602, a merged message 603, and a merged message 604. The group members of the communication session generate corresponding target communication messages by participating in a historical event "group check-in", the electronic device may merge the target communication messages to obtain a merged message 602, the merged message 602 may include the same message content "group check-in" included in the target communication messages, and display the number of the merged target communication messages, "22 people today have checked-in", and may also include sender identification information, that is, a head portrait and a nickname of the sender, to send the target communication messages. In addition, the merge message may further include a shortcut option 6021 and a shortcut option 6022, so that the user may check all the sender identification information checked in by triggering the shortcut option 6021, and the user may quickly participate in the historical event "group check-in" by triggering the shortcut option 6022, which may simplify the user's operation, improve the operation efficiency, and avoid the user finding a corresponding option on another page. Similarly, the group members of the communication session generate corresponding target communication messages by participating in the "log upload" of the historical event, and the electronic device may combine the target communication messages to obtain the combined message 603, or the group members of the communication session generate corresponding target communication messages by participating in the "watering" of the historical event, and the electronic device may combine the target communication messages to obtain the combined message 604, which is not described herein again.
Fig. 7 is a schematic diagram of a message presentation page of a communication session according to an exemplary embodiment. As shown in fig. 7, the group members of the communication session may generate corresponding target communication messages by participating in a historical event "becoming a sentence and connect to a dragon", at this time, the message contents included in the target communication messages are all different, the electronic device obtains a merged message 7011 by merging the target communication messages, at this time, the merged message 7011 may include identification information of the sender, that is, a nickname of the sender, and the like, and may also include the number of the target communication messages, and the like. In addition, the merged message 7011 may also display the message content included in one target communication message that is generated recently among the plurality of target communication messages, for example, "mountain and mountain sea" included in the merged message 7011, which may avoid interference to the user due to merging and displaying of each target communication message that includes different message contents, and may ensure that the corresponding historical event may still be participated in by other users.
Fig. 8 is a schematic diagram of a message presentation page of a communication session according to an exemplary embodiment. As shown in fig. 8, the electronic device may merge messages in the display area 8011 and scroll the messages, so that more message content may be displayed in the display area 8011 with a certain size, which meets the message viewing requirements of the user. As shown in fig. 8, the merged message may also exhibit a popup-type display effect, and in addition, the message content displayed at the peripheral edges of the display area 8011 may be faded, so that the user may be more interested in the message content at the center of the display area 8011, and the user may be given a stronger flowing effect.
The manner of scrolling the message content included in the merged message may be: the merged message is circularly and rollably displayed by using a scrollview component, and the merged message may be divided into a plurality of message cards to be displayed, where the popup screen type display effect may be implemented by adjusting an offset parameter of the scrollview component, and in addition, a timer may be set in the scrollview component to implement an automatic scrolling effect on the merged message in a display area corresponding to the merged message, and of course, a user may also manually scroll the merged message, or may also use any other manner to implement scrolling display of message content included in the merged message, which is not limited in this specification.
Fig. 9 is a schematic structural diagram of an electronic device according to an exemplary embodiment. Referring to fig. 9, at the hardware level, the apparatus includes a processor 902, an internal bus 904, a network interface 906, a memory 908, and a non-volatile memory 910, but may also include hardware required for other services. The processor 902 reads a corresponding computer program from the non-volatile memory 910 into the memory 908 and then runs the computer program, thereby forming a message presentation apparatus on a logical level. Of course, besides software implementation, the one or more embodiments in this specification do not exclude other implementations, such as logic devices or combinations of software and hardware, and so on, that is, the execution subject of the following processing flow is not limited to each logic unit, and may also be hardware or logic devices.
Referring to fig. 10, in a software implementation, the message presentation apparatus may include a determination unit 1002, a merging unit 1004, and a presentation unit 1006. Wherein:
a determining unit 1002, configured to determine multiple target communication messages from communication messages generated by a communication session, where the multiple target communication messages meet a preset association relationship;
a merging unit 1004, configured to merge the multiple target communication messages to obtain merged messages;
a display unit 1006, configured to display the merged message in a message display page corresponding to the communication session, so as to replace the display of the target communication messages.
Optionally, the preset association relationship that the plurality of target communication messages conform to includes at least one of the following: the target communication messages contain the same message content and are generated by carrying out the same triggering operation on the same preset object.
Optionally, the preset object includes a historical communication message in the communication session, and the trigger operation includes a shortcut sending operation, an approval operation, or a withdrawal operation for the historical communication message; alternatively, the first and second electrodes may be,
the preset object comprises historical events in the communication session, and the trigger operation comprises participation behaviors aiming at the historical events.
Optionally, the merging unit 1004 is specifically configured to:
merging the plurality of target communication messages under the condition that the preset merging condition is determined to be met;
wherein the preset merging condition comprises: the number of the target communication messages is not less than the preset number and/or the target communication messages are continuously sent.
Optionally, the method further includes:
a first display unit 1008, configured to display a first quick sending option for the target communication message in an associated display area corresponding to the merged message;
a second display unit 1010, configured to respectively display the multiple pieces of target communication messages in the message display interface and display a second quick sending option for the target communication message in an associated display area of at least one target communication message when the preset merging condition is not met.
Optionally, the merging unit 1004 is specifically configured to:
respectively acquiring sender identification information of the plurality of target communication messages and display contents corresponding to the plurality of target communication messages;
and generating the combined message according to the sender identification information and the display content.
Optionally, in a case that the plurality of target communication messages include at least partially identical message contents, the presentation content includes the at least partially identical message contents;
and under the condition that the target communication messages correspond to the same preset object and the target communication messages contain different message contents, the display content contains the message contents contained in the selected target communication message.
Optionally, the selected target communication message includes: the latest target communication message in the plurality of target communication messages.
Optionally, the display unit 1006 is specifically configured to:
determining a display area for displaying the merged message;
and if the combined message cannot be completely displayed in the determined display area, performing rolling display on the combined message in the display area.
Optionally, the type of the target communication message includes at least one of: text messages, audio messages, video messages, picture messages; the communication messages comprise unread communication messages and/or historical communication messages in the communication session.
Optionally, the method further includes:
an obtaining unit 1012, configured to determine, according to a page turning operation for the message display page, a historical communication message that enters a screen display area in the communication session in response to the page turning operation when the combined message is displayed in the message display page;
the matching unit 1014 selects the historical communication messages that conform to the preset association relationship with the plurality of target communication messages, and merges the selected historical communication messages into the merged message.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
In a typical configuration, a computer includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic disk storage, quantum memory, graphene-based storage media or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The terminology used in the description of the one or more embodiments is for the purpose of describing the particular embodiments only and is not intended to be limiting of the description of the one or more embodiments. As used in one or more embodiments of the present specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in one or more embodiments of the present description to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of one or more embodiments herein. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
The above description is only for the purpose of illustrating the preferred embodiments of the one or more embodiments of the present disclosure, and is not intended to limit the scope of the one or more embodiments of the present disclosure, and any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the one or more embodiments of the present disclosure should be included in the scope of the one or more embodiments of the present disclosure.

Claims (14)

1. A method for message presentation, comprising:
determining a plurality of target communication messages from communication messages generated by communication session, wherein the plurality of target communication messages conform to a preset incidence relation;
merging the target communication messages to obtain merged messages;
and displaying the merged message in a message display page corresponding to the communication session to replace the display of the plurality of target communication messages.
2. The method of claim 1, wherein the predetermined association relationship that the plurality of target communication messages conform to includes at least one of: the target communication messages contain the same message content and are generated by carrying out the same triggering operation on the same preset object.
3. The method of claim 2,
the preset object comprises historical communication messages in the communication session, and the trigger operation comprises quick sending operation, approval operation or withdrawal operation aiming at the historical communication messages; alternatively, the first and second electrodes may be,
the preset object comprises historical events in the communication session, and the trigger operation comprises participation behaviors aiming at the historical events.
4. The method of claim 1, wherein merging the plurality of targeted communication messages comprises:
merging the plurality of target communication messages under the condition that the preset merging condition is determined to be met;
wherein the preset merging condition comprises: the number of the target communication messages is not less than the preset number and/or the target communication messages are continuously sent.
5. The method of claim 4, further comprising:
displaying a first quick sending option aiming at the target communication message in an associated display area corresponding to the combined message; alternatively, the first and second electrodes may be,
and under the condition that the preset merging condition is not met, respectively displaying the target communication messages in the message display interface, and displaying a second quick sending option aiming at the target communication message in an associated display area of at least one target communication message.
6. The method of claim 1, wherein merging the plurality of targeted communication messages to obtain a merged message comprises:
respectively acquiring sender identification information of the plurality of target communication messages and display contents corresponding to the plurality of target communication messages;
and generating the combined message according to the sender identification information and the display content.
7. The method of claim 6,
in the case that the plurality of targeted communication messages contain at least partially identical message contents, the presentation content contains the at least partially identical message contents;
and under the condition that the target communication messages correspond to the same preset object and the target communication messages contain different message contents, the display content contains the message contents contained in the selected target communication message.
8. The method of claim 7, wherein the selected targeted messaging comprises: the latest target communication message in the plurality of target communication messages.
9. The method of claim 1, wherein displaying the consolidated message in a message display page corresponding to the communication session comprises:
determining a display area for displaying the merged message;
and if the combined message cannot be completely displayed in the determined display area, performing rolling display on the combined message in the display area.
10. The method of claim 1, wherein the type of the targeted messaging message comprises at least one of: text messages, audio messages, video messages, picture messages;
the communication messages comprise unread communication messages and/or historical communication messages in the communication session.
11. The method of claim 1, further comprising:
under the condition that the combined message is displayed in the message display page, determining historical communication messages entering a screen display area in response to page turning operation in the communication session according to the page turning operation aiming at the message display page;
selecting historical communication messages which accord with the preset incidence relation with the target communication messages, and combining the selected historical communication messages into the combined message.
12. A message presentation device, comprising:
the device comprises a determining unit, a judging unit and a processing unit, wherein the determining unit is used for determining a plurality of target communication messages from communication messages generated by communication sessions, and the target communication messages accord with a preset incidence relation;
the merging unit is used for merging the target communication messages to obtain merged messages;
and the display unit is used for displaying the combined message in a message display page corresponding to the communication session so as to replace the display of the target communication messages.
13. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor implements the method of any one of claims 1-11 by executing the executable instructions.
14. A computer-readable storage medium having stored thereon computer instructions, which, when executed by a processor, carry out the steps of the method according to any one of claims 1-11.
CN202110049822.9A 2021-01-14 2021-01-14 Message display method and device Pending CN112769679A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110049822.9A CN112769679A (en) 2021-01-14 2021-01-14 Message display method and device
PCT/CN2022/071717 WO2022152191A1 (en) 2021-01-14 2022-01-13 Message display method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110049822.9A CN112769679A (en) 2021-01-14 2021-01-14 Message display method and device

Publications (1)

Publication Number Publication Date
CN112769679A true CN112769679A (en) 2021-05-07

Family

ID=75700592

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110049822.9A Pending CN112769679A (en) 2021-01-14 2021-01-14 Message display method and device

Country Status (2)

Country Link
CN (1) CN112769679A (en)
WO (1) WO2022152191A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113284598A (en) * 2021-07-26 2021-08-20 深圳理邦智慧健康发展有限公司 Method and device for reminding diagnosis request message and readable storage medium
CN113364915A (en) * 2021-06-02 2021-09-07 维沃移动通信(杭州)有限公司 Information display method and device and electronic equipment
CN113626504A (en) * 2021-07-30 2021-11-09 北京达佳互联信息技术有限公司 Message aggregation method and device
CN114500434A (en) * 2021-12-31 2022-05-13 钉钉(中国)信息技术有限公司 Method and device for aggregating communication messages
WO2022152191A1 (en) * 2021-01-14 2022-07-21 钉钉控股(开曼)有限公司 Message display method and apparatus
WO2023241609A1 (en) * 2022-06-15 2023-12-21 北京字跳网络技术有限公司 Information processing method and apparatus, electronic device, and storage medium

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006011770A1 (en) * 2004-07-30 2006-02-02 Samsung Electronics Co., Ltd Method and system for merging multiple push-to-talk over cellular phone
US20110281594A1 (en) * 2010-05-17 2011-11-17 International Business Machines Corporation Consolidating international short message service messages destined to multiple recipients
WO2015180621A1 (en) * 2014-05-29 2015-12-03 Tencent Technology (Shenzhen) Company Limited Method and apparatus for playing im message
WO2016029661A1 (en) * 2014-08-25 2016-03-03 华为技术有限公司 Session merging method and mobile terminal
CN106533899A (en) * 2016-09-30 2017-03-22 宇龙计算机通信科技(深圳)有限公司 Information display processing method, device and system
CN107577512A (en) * 2017-08-25 2018-01-12 维沃移动通信有限公司 A kind of message display method, mobile terminal and computer-readable recording medium
CN108124185A (en) * 2016-11-28 2018-06-05 广州华多网络科技有限公司 A kind of barrage display methods, device and terminal
CN109688044A (en) * 2017-10-19 2019-04-26 腾讯科技(深圳)有限公司 A kind of information processing method and device, equipment, storage medium
CN110505141A (en) * 2018-05-17 2019-11-26 腾讯科技(深圳)有限公司 Processing method, device, readable medium and the electronic equipment of instant communication information
CN111193599A (en) * 2019-12-06 2020-05-22 腾讯科技(深圳)有限公司 Message processing method and device
CN111224794A (en) * 2018-11-27 2020-06-02 钉钉控股(开曼)有限公司 Group communication method, device and equipment
CN111262777A (en) * 2020-01-14 2020-06-09 维沃移动通信有限公司 Group message display method and electronic equipment
CN111865758A (en) * 2020-06-19 2020-10-30 维沃移动通信(杭州)有限公司 Message display method and device and electronic equipment
CN111934975A (en) * 2019-05-13 2020-11-13 阿里巴巴集团控股有限公司 Dialog information display method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111817947A (en) * 2020-06-30 2020-10-23 广州市百果园信息技术有限公司 Message display system, method, device and storage medium for communication application
CN112769679A (en) * 2021-01-14 2021-05-07 钉钉控股(开曼)有限公司 Message display method and device

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006011770A1 (en) * 2004-07-30 2006-02-02 Samsung Electronics Co., Ltd Method and system for merging multiple push-to-talk over cellular phone
US20110281594A1 (en) * 2010-05-17 2011-11-17 International Business Machines Corporation Consolidating international short message service messages destined to multiple recipients
WO2015180621A1 (en) * 2014-05-29 2015-12-03 Tencent Technology (Shenzhen) Company Limited Method and apparatus for playing im message
WO2016029661A1 (en) * 2014-08-25 2016-03-03 华为技术有限公司 Session merging method and mobile terminal
CN106533899A (en) * 2016-09-30 2017-03-22 宇龙计算机通信科技(深圳)有限公司 Information display processing method, device and system
CN108124185A (en) * 2016-11-28 2018-06-05 广州华多网络科技有限公司 A kind of barrage display methods, device and terminal
CN107577512A (en) * 2017-08-25 2018-01-12 维沃移动通信有限公司 A kind of message display method, mobile terminal and computer-readable recording medium
CN109688044A (en) * 2017-10-19 2019-04-26 腾讯科技(深圳)有限公司 A kind of information processing method and device, equipment, storage medium
CN110505141A (en) * 2018-05-17 2019-11-26 腾讯科技(深圳)有限公司 Processing method, device, readable medium and the electronic equipment of instant communication information
CN111224794A (en) * 2018-11-27 2020-06-02 钉钉控股(开曼)有限公司 Group communication method, device and equipment
CN111934975A (en) * 2019-05-13 2020-11-13 阿里巴巴集团控股有限公司 Dialog information display method and device
CN111193599A (en) * 2019-12-06 2020-05-22 腾讯科技(深圳)有限公司 Message processing method and device
CN111262777A (en) * 2020-01-14 2020-06-09 维沃移动通信有限公司 Group message display method and electronic equipment
CN111865758A (en) * 2020-06-19 2020-10-30 维沃移动通信(杭州)有限公司 Message display method and device and electronic equipment

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022152191A1 (en) * 2021-01-14 2022-07-21 钉钉控股(开曼)有限公司 Message display method and apparatus
CN113364915A (en) * 2021-06-02 2021-09-07 维沃移动通信(杭州)有限公司 Information display method and device and electronic equipment
CN113284598A (en) * 2021-07-26 2021-08-20 深圳理邦智慧健康发展有限公司 Method and device for reminding diagnosis request message and readable storage medium
CN113626504A (en) * 2021-07-30 2021-11-09 北京达佳互联信息技术有限公司 Message aggregation method and device
CN113626504B (en) * 2021-07-30 2024-02-09 北京达佳互联信息技术有限公司 Message aggregation method and device
CN114500434A (en) * 2021-12-31 2022-05-13 钉钉(中国)信息技术有限公司 Method and device for aggregating communication messages
WO2023241609A1 (en) * 2022-06-15 2023-12-21 北京字跳网络技术有限公司 Information processing method and apparatus, electronic device, and storage medium

Also Published As

Publication number Publication date
WO2022152191A1 (en) 2022-07-21

Similar Documents

Publication Publication Date Title
CN112769679A (en) Message display method and device
US10861107B2 (en) Interaction system and method, client, and background server
US11889014B2 (en) Method and apparatus for processing contact information using a wireless terminal
CN109905314B (en) Communication method and device
US9253134B2 (en) Creating real-time conversations
US20180350009A1 (en) Using Metadata to Summarize Social Media Content
CN106302085B (en) Recommendation method and system for instant messaging group
WO2018166361A1 (en) Session filtering method and device
US9258264B1 (en) Processing socially networked entities
US11356498B2 (en) Method and a device for sharing a hosted application
US10237361B2 (en) Activity graphs
WO2017005097A1 (en) Methods and devices for carrying out service operation on the basis of a chat group and acquiring group member information
CN109379639B (en) Method and device for pushing video content object and electronic equipment
WO2019085590A1 (en) Method and device for providing released information of target friend
CN105553831B (en) Message delivery method and system
CN113923175B (en) Communication session management method and device
CN110740088B (en) Method, device, terminal and medium for recommending and adding social resources
CN112269917A (en) Media resource display method, device, equipment, system and storage medium
CN112636936A (en) Content sharing method and device
CN111596995A (en) Display method and device and electronic equipment
CN109756348B (en) Batch calling method and device
WO2018223858A1 (en) Team configuration method, and method and apparatus for sharing team configuration solution
WO2019015507A1 (en) Communication method and device
US20130318074A1 (en) Method, system, client and server for acquiring and pushing content in internet community
CN108306812B (en) Data processing method and server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40051250

Country of ref document: HK