CN110011907B - Message display method, message processing method and device - Google Patents
Message display method, message processing method and device Download PDFInfo
- Publication number
- CN110011907B CN110011907B CN201910304761.9A CN201910304761A CN110011907B CN 110011907 B CN110011907 B CN 110011907B CN 201910304761 A CN201910304761 A CN 201910304761A CN 110011907 B CN110011907 B CN 110011907B
- Authority
- CN
- China
- Prior art keywords
- message
- displayed
- subset
- group
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 95
- 238000003672 processing method Methods 0.000 title description 5
- 238000012545 processing Methods 0.000 claims description 34
- 238000004590 computer program Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 47
- 230000008569 process Effects 0.000 description 14
- 238000013461 design Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 13
- 238000007726 management method Methods 0.000 description 9
- 238000004891 communication Methods 0.000 description 8
- 230000001413 cellular effect Effects 0.000 description 5
- 230000003993 interaction Effects 0.000 description 5
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000004913 activation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000007667 floating Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/21—Monitoring or handling of messages
- H04L51/212—Monitoring or handling of messages using filtering or selective blocking
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The application discloses a message display method, which comprises the following steps: acquiring a message viewing instruction, wherein the message viewing instruction carries a group identifier corresponding to a target group; determining a first message subset according to the message viewing instruction, wherein the first message subset comprises N messages to be shown in the target group, and N is an integer greater than or equal to 1; highlighting the first subset of messages in a group session interface corresponding to the group identifier. The method and the device are used for highlighting the first message subset, and the user can only view the highlighted first message subset, so that group messages sent by important users can be avoided being missed, and harassment brought to the user by a large number of group messages can be avoided.
Description
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method for displaying a message, a method for processing a message, and an apparatus for processing a message.
Background
With the continuous development of Instant Messaging (IM), various Instant Messaging tools are widely used in people's lives. A group is a special data sharing method in an instant messaging tool, and is generally composed of a plurality of users. The sharing of messages and resources can be performed among a plurality of users in the group, and when any user in the group sends the group message in the group, all users in the group can receive the group message.
At present, in order to avoid the users in the group from being excessively disturbed by the messages in the group, the group messages may be masked, please refer to fig. 1, in which a button shown as a1 is used to turn on the function of avoiding disturbing the messages in the group, and after a certain user turns on the function of avoiding disturbing the messages in the group, the user does not remind the user when the user receives all message subsets of the group.
However, the above-mentioned method for setting the do-not-disturb function for the group message may result in that all messages in the group are not reminded, thereby easily causing the user to miss an important group message. And once all the messages in the group are displayed, the user is disturbed by a large number of messages.
Disclosure of Invention
The embodiment of the application provides a message display method, a message processing method and a message processing device, which are used for highlighting a first message subset sent by a first user, wherein the user can mainly view the highlighted first message subset, so that group messages sent by important users are avoided being missed; for the messages which are not highlighted in the first message set to be displayed, the user can choose not to see or browse generally, so that the harassment of the group messages sent by the non-important users in the target group to the user is avoided.
In view of the above, a first aspect of the present application provides a method for displaying a message, including:
acquiring a message viewing instruction, wherein the message viewing instruction carries a group identifier corresponding to a target group;
determining a first message subset according to the message viewing instruction, wherein the first message subset comprises N messages to be shown in the target group, and N is an integer greater than or equal to 1;
highlighting the first subset of messages in a group session interface corresponding to the group identifier.
A second aspect of the present application provides a method for message processing, including:
receiving a message viewing instruction sent by a client, wherein the message viewing instruction carries a group identifier corresponding to a target group and a target user identifier corresponding to a target user;
the method comprises the steps of sending a message set to be displayed to a client according to a message viewing instruction so that the client can obtain a first message subset according to the message set to be displayed so that the client can display the first message subset, wherein the first message subset is sent by a first user in a target group, the message set to be displayed comprises M messages to be displayed in the target group, the first message subset comprises N messages to be displayed in the message set to be displayed, the first message subset and a target user identifier have a corresponding relation, N is an integer which is greater than or equal to 1 and less than or equal to M, and M is an integer which is greater than or equal to 1.
In a possible design, in a first implementation manner of the second aspect of the embodiment of the present application, before the receiving a message viewing instruction sent by a client, the method further includes:
receiving a mode starting instruction sent by the client, wherein the mode starting instruction carries the group identifier, the target user identifier and mode starting time information, and the mode starting time information is used for determining a first message to be displayed in the first message subset;
determining the first message subset from the message set to be displayed according to the mode starting instruction;
setting a first identifier for each message to be displayed in the first message subset, wherein the first identifier has a corresponding relationship with the target user identifier, and the first identifier is used for indicating a message which can be highlighted;
setting a second identifier for each message to be displayed in a second message subset, wherein the second identifier has a corresponding relationship with the target user identifier, the second identifier is used for indicating a message whose display can be ignored, the second message subset includes (M-N) messages to be displayed, and the second message subset is included in the message set to be displayed.
In one possible design, in a second implementation manner of the second aspect of the embodiment of the present application, the method further includes:
counting the total number of texts corresponding to the first message subset;
determining the expected browsing duration of the first message subset according to the total number of texts corresponding to the first message subset;
and sending the expected browsing duration of the first message subset and the number of messages to be displayed in the first message subset to the client, so that the client displays the expected browsing duration corresponding to the first message subset and the number of messages to be displayed in the first message subset, wherein the number of the messages to be displayed is the N.
A third aspect of the present application provides a message display apparatus, including:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a message viewing instruction, and the message viewing instruction carries a group identifier corresponding to a target group;
the determining unit is further configured to determine, according to the message viewing instruction, to acquire a first message subset to-be-displayed message set, where the first message subset to-be-displayed message set includes MN messages to be displayed in the target group, and the MN is an integer greater than or equal to 1;
and the display unit is used for highlighting the first message subset acquired by the acquisition unit in the group session interface corresponding to the group identifier.
In one possible design, in a first implementation of the third aspect of an embodiment of the present application,
the determining unit is specifically configured to obtain the first message subset from a first message set to be displayed, where the first message set to be displayed includes M messages to be displayed, the first message subset is sent by a first user in the target group, and M is an integer greater than or equal to 1 and greater than N.
In one possible design, in a second implementation of the third aspect of the embodiments of the present application,
the acquisition unit is further configured to acquire a mode starting instruction, where the mode starting instruction carries a group identifier, a target user identifier, and mode starting time information, and the mode starting time information is used to determine a first message to be displayed in the first message subset;
the message presentation apparatus further comprises: the sending unit is used for sending the mode starting instruction obtained by the obtaining unit to the server so that the server determines a first message subset from the first message set to be displayed according to the mode starting instruction, wherein each message to be displayed in the first message subset has a first identifier, and the first identifier and the target user identifier have a corresponding relationship;
the display unit is specifically configured to:
acquiring an identifier of each message to be displayed in a first message set to be displayed;
determining N messages to be displayed corresponding to the first identifier according to the identifier of each message to be displayed;
and determining a first message subset according to the N messages to be displayed.
In one possible design, in a third implementation of the third aspect of the embodiments of the present application,
the acquisition unit is further configured to: acquiring target key information through a key information input interface;
determining a key message subset from the first message subset according to the target key information;
the display unit is specifically configured to: and highlighting the key message subset in the group session interface corresponding to the group identification.
In one possible design, in a fourth implementation of the third aspect of the embodiments of the present application,
the acquisition unit is further used for acquiring a first user marking instruction, wherein the first user marking instruction carries a first user identifier;
the sending unit is further configured to send the first user marking instruction obtained by the obtaining unit to the server, so that the server determines the first user from the target group according to the first user marking instruction, where the first user identifier corresponds to the first identifier, and the first identifier is used to indicate a message that can be prominently displayed.
In one possible design, in a fifth implementation form of the third aspect of the embodiments of the present application,
the acquiring unit is further used for acquiring a second user marking instruction, wherein the second user marking instruction carries a second user identifier;
and the sending unit is further configured to send the second user marking instruction obtained by the obtaining unit to the server, so that the server determines a second user from the target group according to the first user marking instruction, where the second user identifier corresponds to a second identifier, the second identifier is used to indicate a message that can be ignored for presentation, and the second user is a user different from the first user in the target group.
In one possible design, in a sixth implementation form of the third aspect of the embodiments of the present application,
the acquisition unit is further used for acquiring a mode closing instruction, wherein the mode closing instruction carries a group identifier, a target user identifier and mode closing time information;
the sending unit is further configured to send the mode closing instruction obtained by the obtaining unit to the server, so that the server determines a second message set to be displayed according to the mode closing instruction, where the second message set to be displayed includes at least one message;
the receiving unit is also used for receiving a second message set to be displayed sent by the server;
and the display unit is also used for displaying the second message set to be displayed.
In one possible design, in a seventh implementation form of the third aspect of the embodiments of the present application,
the obtaining unit is further configured to obtain a second message subset from the first message set to be displayed, where the second message subset includes (M-N) messages to be displayed in the first message set to be displayed;
the display unit is specifically configured to:
displaying a first message subset acquired by an acquisition unit through a sub-page independent of group session interface display;
or,
displaying a first message subset through a first preset area, wherein the first preset area belongs to an area determined from a group session interface in advance;
or,
and displaying the first message subset through the first preset area, and displaying the second message subset through the second preset area, wherein the first preset area and the second preset area both belong to areas determined in advance from the group session interface.
In one possible design, in an eighth implementation form of the third aspect of the embodiments of the present application,
the display unit is specifically configured to:
displaying the first message subset in a group session interface corresponding to the group identifier by adopting a first page turning speed;
and displaying the second message subset in a group session interface corresponding to the group identifier by adopting a second page turning speed, wherein the second page turning speed is greater than the first page turning speed.
In one possible design, in a ninth implementation form of the third aspect of the embodiments of the present application,
the acquisition unit is further used for acquiring the expected browsing duration corresponding to the first message subset and the number of messages to be displayed in the first message subset;
and the display unit is further used for displaying the expected browsing duration corresponding to the first message subset and the number of messages to be displayed in the first message subset.
A fourth aspect of the present application provides a message processing apparatus, including:
the receiving unit is used for receiving a message checking instruction sent by the client, wherein the message checking instruction carries a group identifier corresponding to a target group and a target user identifier corresponding to a target user;
the sending unit is used for sending the message set to be displayed to the client according to the message viewing instruction received by the receiving unit, so that the client obtains a first message subset according to the message set to be displayed, and the client displays the first message subset, wherein the first message subset is sent by a first user in the target group, the message set to be displayed comprises M messages to be displayed in the target group, the first message subset comprises N messages to be displayed in the message set to be displayed, the first message subset and the target user identifier have a corresponding relationship, N is an integer which is greater than or equal to 1 and less than or equal to M, and M is an integer which is greater than or equal to 1.
In one possible design, in a first implementation of the fourth aspect of the embodiments of the present application,
the receiving unit is further configured to receive a mode starting instruction sent by the client, where the mode starting instruction carries a group identifier, a target user identifier, and mode starting time information, and the mode starting time information is used to determine a first message to be displayed in the first message subset;
the message processing apparatus further includes:
the determining unit is used for determining a first message subset from the message set to be displayed according to the mode starting instruction received by the receiving unit;
the setting unit is used for setting a first identifier for each message to be displayed in the first message subset determined by the determining unit, wherein the first identifier has a corresponding relation with the target user identifier, and the first identifier is used for indicating the message which can be highlighted;
the setting unit is further configured to set a second identifier for each to-be-displayed message in a second message subset, where the second identifier has a corresponding relationship with the target user identifier, the second identifier is used to indicate a message that can be ignored for display, the second message subset includes (M-N) to-be-displayed messages, and the second message subset is included in the to-be-displayed message set.
In one possible design, in a second implementation of the fourth aspect of the embodiments of the present application,
the message processing apparatus further includes: the statistical unit is used for counting the total number of texts corresponding to the first message subset;
the determining unit is further used for determining the expected browsing duration of the first message subset according to the total number of texts corresponding to the first message subset counted by the counting unit;
and the sending unit is further configured to send the expected browsing duration of the first message subset and the number of messages to be displayed in the first message subset, which are determined by the determining unit, to the client, so that the client displays the expected browsing duration corresponding to the first message subset and the number of messages to be displayed in the first message subset, where the number of messages to be displayed is N.
A fifth aspect of the present application provides a terminal device, including: a memory, a transceiver, a processor, and a bus system;
wherein, the memory is used for storing programs;
the processor is used for executing the program in the memory and comprises the following steps:
acquiring a message viewing instruction, wherein the message viewing instruction carries a group identifier corresponding to a target group;
receiving a first message set to be displayed according to the message viewing instruction, wherein the first message set to be displayed comprises M messages to be displayed in the target group, and M is an integer greater than or equal to 1;
acquiring a first message subset from a first message set to be displayed, wherein the first message subset comprises N messages to be displayed in the first message set to be displayed, the first message subset is combined to be sent by a first user in a target group, and N is an integer which is greater than or equal to 1 and less than or equal to M;
highlighting the first subset of messages;
the bus system is used for connecting the memory and the processor so as to enable the memory and the processor to communicate.
A sixth aspect of the present application provides a server comprising: a memory, a transceiver, a processor, and a bus system;
wherein, the memory is used for storing programs;
the processor is used for executing the program in the memory and comprises the following steps:
receiving a message viewing instruction sent by a client, wherein the message viewing instruction carries a group identifier corresponding to a target group and a target user identifier corresponding to a target user;
sending a message set to be displayed to a client according to a message viewing instruction so that the client acquires a first message subset according to the message set to be displayed so that the client displays the first message subset, wherein the first message subset is sent by a first user in a target group, the message set to be displayed comprises M messages to be displayed in the target group, the first message subset comprises N messages to be displayed in the message set to be displayed, the first message subset and a target user identifier have a corresponding relationship, N is an integer which is greater than or equal to 1 and less than or equal to M, and M is an integer which is greater than or equal to 1;
the bus system is used for connecting the memory and the processor so as to enable the memory and the processor to communicate.
A seventh aspect of the present application provides a computer-readable storage medium having stored therein instructions, which, when run on a computer, cause the computer to perform the method of the first aspect described above or cause the computer to perform the method of the second aspect described above.
An eighth aspect of the present application provides a computer program product comprising instructions which, when run on a computer or processor, cause the computer or processor to perform the method of the first aspect described above or cause the computer to perform the method of the second aspect described above.
A ninth aspect of the present application provides a message processing system comprising the electronic payment apparatus described in the third aspect and the electronic apparatus described in the fourth aspect, or the electronic payment system comprising the terminal device described in the fifth aspect and the server described in the sixth aspect.
According to the technical scheme, the embodiment of the application has the following advantages:
the method comprises the steps of obtaining a message viewing instruction, receiving a first message set to be displayed according to the message viewing instruction, wherein the message viewing instruction carries a group identifier corresponding to a target group, the first message set to be displayed comprises M messages to be displayed in the target group, and after the first message subset is obtained from the first message set to be displayed, the first message subset is prominently displayed, wherein the first message subset comprises N messages to be displayed in the first message set, the first message subset is combined to be sent by a first user in the target group, and through the method, the first message subset sent by the first user can be prominently displayed, and the user can mainly view the prominently displayed first message subset, so that the group messages sent by important users are prevented from missing; for the messages which are not highlighted in the first message set to be displayed, the user can choose not to see or browse generally, so that the harassment of the group messages sent by the non-important users in the target group to the user is avoided.
Drawings
FIG. 1 is a diagram illustrating a group conversation interface for setting message non-disturbing in a prior art scheme;
FIG. 2 is a block diagram of an architecture of a message display system according to an embodiment of the present application;
FIG. 3 is an interaction diagram illustrating a client and a server performing a synchronization message presentation according to an embodiment of the present application;
FIG. 4 is an interaction diagram illustrating asynchronous message display between a client and a server according to an embodiment of the present application;
FIG. 5 is a diagram of an embodiment of a method for message presentation in an embodiment of the present application;
FIG. 6 is a schematic diagram of an interface of an instant messaging application in an embodiment of the present application;
FIG. 7 is a schematic diagram of another interface of an instant messaging application in an embodiment of the present application;
FIG. 8 is a schematic diagram of another interface of an instant messaging application in an embodiment of the present application;
FIG. 9 is a schematic diagram of yet another interface of an instant messaging application in an embodiment of the present application;
FIG. 10 is a schematic diagram of another interface of an instant messaging application in an embodiment of the present application;
FIG. 11 is a schematic diagram of another interface of an instant messaging application in an embodiment of the present application;
FIG. 12 is a schematic diagram of yet another interface of an instant messaging application in an embodiment of the present application;
FIG. 13 is a diagram of an embodiment of a method for message processing in an embodiment of the present application;
FIG. 14 is a schematic diagram of an embodiment of a message presentation apparatus in the embodiment of the present application;
FIG. 15 is a schematic diagram of another embodiment of a message presentation apparatus in the embodiment of the present application;
FIG. 16 is a diagram of an embodiment of a message presentation device in the embodiment of the present application;
FIG. 17 is a schematic diagram of another embodiment of a message presentation apparatus in the embodiment of the present application;
FIG. 18 is a schematic diagram of an embodiment of a terminal device in the embodiment of the present application;
fig. 19 is a schematic diagram of an embodiment of a server in the embodiment of the present application.
Detailed Description
The embodiment of the application provides a message display method, a message processing method and a message processing device, which are used for highlighting a first message subset sent by a first user, wherein the user can mainly view the highlighted first message subset, so that group messages sent by important users are avoided being missed; for the messages which are not highlighted in the first message set to be displayed, the user can choose not to see or browse generally, so that the harassment of the group messages sent by the non-important users in the target group to the user is avoided.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "corresponding" and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that the electronic payment method provided by the present application can be applied to various types of instant messaging applications, and particularly, to a group communication scenario in an instant messaging application, where a group is composed of a plurality of member users, and when any one of the plurality of member users sends a message to the group, each of the other member users in the group can receive the message. When a user frequently joins various groups in the process of using an instant messaging application, a requirement that only a part of messages sent by the user in the group need to be checked appears, for example, students may join a "homework report group" during a period of cold or summer holiday, and when a teacher sends a "please upload a 2-month-3-day chinese homework" in the group, all students need to take pictures of the corresponding homework and upload the pictures, each student in the group receives a large number of pictures of the homework, and each student only needs to know the message sent by the teacher; as another example, for example, parents may need to join a "teacher-parent communication group", each parent may receive a large amount of information sent by other parents in the group, but generally, each parent only needs to know the information sent by the teacher, and so on, which is not illustrated herein.
For facilitating understanding, the present application provides a method for displaying a message, which is applied to a message displaying system shown in fig. 1, please refer to fig. 2, fig. 2 is a schematic structural diagram of the message displaying system in an embodiment of the present application, as shown in fig. 2, a user inputs a message viewing instruction through a client (hereinafter, referred to as "client") of an instant messaging application, and sends the message viewing instruction to a server (hereinafter, referred to as "server") of the instant messaging application, the server sends a first set of messages to be displayed to the client according to a user identifier carried in the message viewing instruction and a group identifier of a target group, the first set of messages to be displayed includes all messages to be displayed in the target group, the client of the instant messaging application acquires a first subset of messages from the first set of messages to be displayed and highlights the first subset of messages, because the first message subset only contains the messages sent by the first user, the user can view the highlighted first message subset in a highlight mode, and therefore group messages sent by important users are avoided being missed; for the messages which are not highlighted in the first message set to be displayed, the user can choose not to see or browse generally, so that the harassment of the group messages sent by the non-important users in the target group to the user is avoided.
It should be noted that the client is deployed on a terminal device, please refer to fig. 2, and the terminal device includes but is not limited to a tablet computer, a notebook computer, a palm computer, a mobile phone, a voice interaction device, and a Personal Computer (PC), and is not limited herein.
In an implementation scenario, a client may obtain a group message of a target group from a server in real time, and synchronously display the group message, for example, when a terminal device where the client is located is in an online state, and the target group on the client is in an open state, the group message may be synchronously displayed, referring to fig. 3, fig. 3 is an interaction diagram of displaying a synchronous message between the client and the server in the embodiment of the present application, and the steps of the message displaying method provided by the present application when applied to the foregoing scenario may include: b1, the client sends a message viewing instruction to the server, wherein the message viewing instruction at least comprises a target group; b2, after receiving the message viewing instruction, the server acquires each message to be displayed in the message set to be displayed of the target group in real time; b3, the server sends each message to be displayed in the message set to be displayed of the target group to the client in real time; b4, after receiving each message to be displayed in the message set to be displayed, the client can judge whether each message to be displayed belongs to the message subset sent by the first user one by one; b5, highlighting the message subset by the client.
In another implementation scenario, a client and a server asynchronously display a group message of a target group, for example, when the target group in the client is not opened, the client does not display the message of the target group sent by the server in real time, please refer to fig. 4, where fig. 4 is an interaction diagram of asynchronous message display performed between the client and the server in the embodiment of the present application, and the steps of the message display method provided by the present application when applied to the foregoing scenario may include: c1, the server acquires a message set to be displayed; c2, the server sends the message set to be displayed to the client, and the client can store the message set to be displayed locally after receiving the message set; c3, the client receives the message viewing instruction input by the user; c4, the client side obtains a message subset from the message set to be displayed stored locally; c5, highlighting the message subset by the client.
As can be seen from the above description, the message display method provided in the present disclosure is applicable to both scenarios of synchronously displaying messages between the client and the server and asynchronously displaying messages between the client and the server, and the message display method in the present application will be described below with reference to fig. 5, where an embodiment of the message display method in the embodiment of the present application includes:
101. acquiring a message viewing instruction, wherein the message viewing instruction carries a group identifier corresponding to a target group;
in this embodiment, the client obtains a message viewing instruction input by the user, and obtains a group identifier corresponding to a target group carried in the message viewing instruction, specifically, the user may input the message viewing instruction in a form of pressing an icon corresponding to the target group; the message viewing instruction may also be input by voice, for example, by inputting "open target group" by voice; the message viewing instruction can be input by clicking the icon corresponding to the target group; and a preset display time of the target group can be set, and when the preset display time is reached, the client automatically generates a message viewing instruction and the like of the target group, specifically, an acquisition mode of the message viewing instruction is not limited here. The group identifier corresponding to the target group is used to uniquely identify a group, and may be embodied as a numeric string, a character string, or other forms, which are not limited herein. The target user refers to a user who is using the client.
102. Determining a first message subset according to the message viewing instruction, wherein the first message subset comprises N messages to be displayed in the target group, and N is an integer greater than or equal to 1;
in this embodiment, after determining the group identifier corresponding to the target group, the client may determine a group message not yet shown in the target group, and may acquire the first message subset from the group message not yet shown. The first message subset is a part of messages in a group message which is not shown yet, and comprises N messages to be shown in a target group, wherein N is an integer which is greater than or equal to 1.
Optionally, step 102 may specifically include: and acquiring a first message subset from the first message set to be displayed, wherein the first message set to be displayed comprises M messages to be displayed, the first message subset is sent by the first user in the target group, and M is an integer which is greater than or equal to 1 and greater than N.
Specifically, when the client obtains the message viewing instruction, the client may determine time for the target user to view the message in the target group, and may also obtain time for the target user to view the message in the target group last time, so that all messages that are not displayed in the target group between the target group and the target group that the target user views this time are determined as a first set of messages to be displayed, where the first set of messages to be displayed includes M messages to be displayed in the target group, M is an integer greater than or equal to 1, and each message to be displayed in the first set of messages to be displayed may include a user identity identification number (ID) of a sending user of the message, a message content of each message, and sending time of each message. The first message set to be displayed also comprises a second message subset besides the first message subset, the second message subset is combined into a message subset which is sent by a second user in the target group and does not need to be displayed prominently, and the second user and the first user are different users in the target group.
As an implementation manner, when the server sends the first message to be displayed to the client, the server may add an identifier to all or a part of the messages included in the first message to be displayed, so that the client may determine the first message subset from the first message to be displayed according to the identifier carried in the message. Specifically, different identifiers may be set in the first message subset and the second message subset at the same time, so that the client may determine the first message subset from the first message set to be displayed according to the different identifiers; or may add a highlighted identifier (that is, a first identifier) only in the first message subset, and the client may determine at least one to-be-displayed message carrying the first identifier in the first to-be-displayed message set as the first message subset, and the like, which is not limited herein.
As another implementation manner, the server does not add the highlighted display identifier and the non-highlighted display identifier in the first message to be displayed, and after receiving the first message set to be displayed, the client acquires the user identifier of the sending user of each message included in the first message set to be displayed, and performs matching according to the identifier of the first user, so as to acquire the first message subset sent by the first user from the first message set to be displayed. It should be understood that the client may also obtain the first message subset from the first message set to be presented in other manners, which is not illustrated here.
The first user is a user in the user list of the target group, the message sent by the first user is a message needing to be viewed in a key point mode, and the first user may include one user or at least two users. Specifically, the client may determine the first user from the user list of the target group according to the selection operation of the target user, or may automatically determine the first user from the user list of the target user for the client, for example, default a group owner in the group to the first user, and default the group owner and an administrator in the group to the first user, for example, which is not limited herein.
103. And highlighting the first message subset in the group session interface corresponding to the group identification.
In this embodiment, after acquiring the first message subset, the client may highlight the first message subset in the group session interface corresponding to the group identifier, where the first message subset may be highlighted only by showing the first message subset; the first message subset and the second message subset can be simultaneously displayed in different modes, so that the effect of highlighting the first message subset is achieved, and the like.
In the embodiment of the application, a message viewing instruction is acquired, a first message set to be displayed is received according to the message viewing instruction, and since the message viewing instruction carries a group identifier corresponding to a target group, the first message set to be displayed includes M messages to be displayed in the target group, and after a first message subset is acquired from the first message set to be displayed, the first message subset is prominently displayed, wherein the first message subset includes N messages to be displayed in the first message set to be displayed, and the first message subset is combined to be sent by a first user in the target group, by the above manner, the first message subset sent by the first user can be prominently displayed, and the user can mainly view the prominently displayed first message subset, thereby avoiding missing group messages sent by important users; for the messages which are not highlighted in the first message set to be displayed, the user can choose not to see or browse generally, so that the harassment of the group messages sent by the non-important users in the target group to the user is avoided.
Optionally, on the basis of the embodiment corresponding to fig. 5, in a first optional embodiment of the message presentation method provided in the embodiment of the present application, before determining the first message subset from the first message set to be presented, the method may further include:
acquiring a mode starting instruction, wherein the mode starting instruction carries a group identifier, a target user identifier and mode starting time information, and the mode starting time information is used for determining a first message to be displayed in a first message subset;
sending a mode starting instruction to a server so that the server determines a first message subset from a first message set to be displayed according to the mode starting instruction, wherein each message to be displayed in the first message subset has a first identifier, and the first identifier and a target user identifier have a corresponding relation;
determining a first message subset from the first set of messages to be presented may include:
acquiring an identifier of each message to be displayed in a first message set to be displayed;
determining N messages to be displayed corresponding to the first identifier according to the identifier of each message to be displayed;
and determining a first message subset according to the N messages to be displayed.
In this embodiment, the client may determine the identifier of the target group and the mode opening time information according to the mode opening operation performed by the user on the target group, generating a mode opening instruction after adding the target user identification, sending the generated mode opening instruction to a server, wherein the mode opening command carries a group identifier, a target user identifier and mode opening time information, so that after the server receives the mode opening instruction, a first message subset is determined from the first message set to be displayed, a first identifier is added to each message in the first message subset, after the client acquires the first set of messages to be displayed, the client may acquire the identifier of each message to be displayed in the first set of messages to be displayed, and determine N messages to be displayed, including the first identifier, in the identifiers of the messages to be displayed as the first subset of messages.
It can be understood that there are various ways to obtain the mode opening instruction, including but not limited to triggering the mode starting instruction in the management page of the application by the user, or triggering the mode starting instruction in the setting page after triggering and popping up the setting page for a specific group identifier in the group list, or directly triggering the mode starting instruction in the setting page after entering the group session, which is not limited herein.
As an implementation manner, the server may add the user identifier of the first user only in each piece of information included in the first message subset, and after determining the first message to be displayed, the client may obtain the user identifier corresponding to the message to be displayed, and use the message to be displayed, which carries the user identifier of the first user, as the first message subset; as an implementation manner, the server may add the first identifier only to each piece of information included in the first message subset, and after determining the first message to be displayed, the client may obtain a message in which the identifier of the message to be displayed carries the first identifier, and determine the message as the first message subset; as another implementation manner, the server may also add a first identifier to each piece of information included in the first message subset, and add a second identifier to each piece of information included in the second message subset, so that after the client determines the first message to be displayed, the client divides the first message to be displayed into the first message subset and the second message subset according to different identifiers, and the details are not limited herein.
The identifier of the target group is used to uniquely identify the target group, and may be generated by the server and allocated to the client when the target group is established, and may only include a group identity identifier (group ID), and may also include representation information such as a group name, for example, the group ID may be "1111", "2222", or other group ID numbers. The target user ID is used to uniquely identify the target user, may be generated by the server and allocated to the client when the target user successfully registers the account, and similarly, may only include the target user ID, and may also include the target user name and the like, for example, the target user ID may be "1233", "1234" or another user ID number and the like. The first set of messages to be shown comprises messages sent to the group by other users except the target user in the target group.
Since the server will add the first identifier to the first message subset after the mode is started, the mode start time information is used to instruct the service to determine the first message to be displayed in the first message subset, where the mode start time information may be the time when the client receives the mode start operation, the time when the client generates the mode start instruction, and the like. The first identifier is used for the client to determine that the message carrying the first identifier is a highlighted message, and may be embodied as a string of numeric characters, such as "00000000", or may be embodied as a character string, such as "eff _ status _ on"; correspondingly, the second identifier is used for the client to determine that the message carrying the second identifier is an ignorable message, and may be embodied as a string of numeric characters opposite to the string of numeric characters of the first identifier, for example, "11111111," or may be embodied as a string of character strings different from the string of character strings of the first identifier, for example, "eff _ status _ off," and the like, and the specific presentation forms of the first identifier and the second identifier are not limited herein.
Specifically, a start icon corresponding to the mode start operation may be displayed on each group display interface of the client, and the user may execute the mode start operation through the start icon on the target group; the user may also perform the mode opening operation by means of voice, for example, the user inputs "please open the XXX mode of the target group" by means of voice, which is not limited herein. Wherein, the "XXX mode" may be a group efficient mode or a group message efficient reading mode, etc.
To further understand the present disclosure, please refer to fig. 6, fig. 6 is a schematic interface diagram of an instant messaging application according to an embodiment of the present disclosure, to illustrate the mode opening operation performed by the user through the open icon, fig. 6 includes two sub-diagrams (a) and (b), wherein, there is a schematic interface of fig. 6 (a) for each group of target users, D1 is used to show the appearance of open icons when the XXX mode is not yet opened, D2 is used to show the appearance of open icons when the XXX mode is opened, when the user presses D1 in the target group, the schematic diagram (b) in fig. 6 is entered, the XXX mode is turned on, the client acquires the group identifier and the mode turn-on time information, and then, generating a mode opening instruction by combining the target user identifier, and sending the mode opening instruction to the server.
Secondly, in the embodiment of the application, the client may obtain a mode opening instruction and send the mode opening instruction to the server, so that the server determines a first message subset from the first message set to be displayed according to the mode opening instruction, wherein each message to be displayed in the first message subset has a first identifier, so that the client obtains the identifier of each message to be displayed in the first message set to be displayed, and determines N messages to be displayed including the first identifier as the first message subset, and in the above manner, the client may determine the first message subset from the first message set to be displayed according to the identifier of each message to be displayed, so that the operation is simple, excessive workload is prevented from being added to the client, and the efficiency in the process of determining the first message subset is improved; in addition, a specific implementation scheme for determining the first message subset by the client is provided, and the operability of the scheme is improved.
Optionally, on the basis of the embodiments corresponding to fig. 5 and fig. 6, in a second optional embodiment of the message display method provided in the embodiment of the present application, after the mode opening instruction is obtained, the method may further include:
acquiring a first user marking instruction, wherein the first user marking instruction carries a first user identifier;
and sending a first user marking instruction to the server so that the server determines a first user from the target group according to the first user marking instruction, wherein the first user identification corresponds to a first identification, and the first identification is used for indicating the message which can be highlighted.
In this embodiment, after obtaining the mode opening instruction, the client may receive a first user marking operation input by the target user, generate a first user marking instruction, and send the first user marking instruction to the server, where the first user marking instruction carries the first user identifier, and the server may determine the first user from the user list of the target group according to the first user marking instruction, and add the first identifier to a message carrying the first user identifier in the group message of the target group.
As an implementation manner, the first user identifier carried in the first user identifier instruction may include a first user ID and a highlighting identifier at the same time, and the server may determine, according to each first user identifier, that the message of the first user is a message that needs to be highlighted, where the highlighting identifier may be in the same specific representation form as the first identifier, for example, "eff _ status _ on", "00000000", or other identifiers. The highlighted mark may also be different from the first mark in specific expression, and is not limited herein. As another implementation manner, the first user identifier may only include a first user ID, and the first user marking instruction carries information that the first user ID is a first user that needs to be checked in a focused manner.
Specifically, a start icon of a first user marking operation may be displayed on the client, the user enters the first user selection interface through the start icon of the first user marking operation, and then performs a selection operation on the first user in the user list of the target group, and the client determines the first user identifier according to the selection operation on the first user, so as to generate the first user marking instruction. The selection operation of the first user can be realized by pressing a selection icon of the first user, and the selection operation of the first user can also be realized by a voice input mode; the selection operation of the first user can be realized by clicking the selection icon of the first user.
To further understand the present disclosure, please refer to fig. 7, fig. 7 is an interface schematic diagram of an instant messaging application provided in the embodiment of the present disclosure, which illustrates a selection operation of a first user by pressing a selection icon of the first user, and fig. 7 includes two sub schematic diagrams (a) and (b), where E1 is used to receive an open instruction of the selection operation of the first user, when the user presses E1, the diagram of fig. 7 (b) is entered, E2 is used to receive the selection operation of a target user on the first user, and after the user completes the selection operation of the first user through the diagram of fig. 7 (b), the user may submit the selection operation to a client, so that the client may obtain a first user identifier to generate a first user marking instruction sent to a server.
Secondly, in the embodiment of the application, the client can obtain the first user marking instruction and send the first user marking instruction to the server, so that the server can determine the first user from the target group according to the first user marking instruction, and further add the first identifier in the message sent by the first user.
Optionally, on the basis of the embodiments corresponding to fig. 5 and fig. 6, in a third optional embodiment of the message presentation method provided in the embodiment of the present application, after the mode activation instruction is obtained, the method may further include:
acquiring a second user marking instruction, wherein the second user marking instruction carries a second user identifier;
and sending a second user marking instruction to the server so that the server determines a second user from the target group according to the first user marking instruction, wherein the second user identification corresponds to a second identification, the second identification is used for indicating the message with negligible display, and the second user is a user different from the first user in the target group.
In this embodiment, similar to the operation process of the embodiment corresponding to fig. 7, after the client acquires the mode opening instruction, the client may also receive a second user tagging operation input by the target user, generate a second user tagging instruction, and send the second user tagging instruction to the server, where the second user tagging instruction carries the second user identifier, the server may determine the second user from the user list of the target group according to the second user tagging instruction, and add the second identifier to the message carrying the second user identifier in the group message of the target group, but different from the embodiment corresponding to fig. 7, the second identifier is used to indicate a message that can be ignored, and the second user is a user different from the first user in the target group.
As an implementation manner, the second user identifier may include a second user ID and an ignored display identifier at the same time, so that the server may determine, according to each second user identifier, that the message of the second user is an ignorable display message, where the ignored display identifier may be the same as a specific representation form of the second identifier, for example, "eff _ status _ off", "11111111111", or another identifier, and the like; the neglected presentation identifier may also be different from the second identifier in specific expression, and is not limited herein. As another implementation manner, the second user identifier may only include a second user ID, and the second user tagging instruction carries a second user that informs the server that the second user ID is ignorable to be viewed, for example, a message body of the second user tagging instruction may carry "please check and receive the second user ID, and a message sent by the second user may be ignored for presentation".
Specifically, an opening icon of the second user marking operation may be displayed on the client, the user enters the second user selection interface through the opening icon of the second user marking operation, and then performs a selection operation on the second user in the user list of the target group, and the client determines the second user identifier according to the selection operation on the second user, so as to generate the second user marking instruction. The selection operation of the second user can be realized by pressing a selection icon of the second user, and the selection operation of the second user can also be realized by a voice input mode; the selection operation of the second user and the like can also be realized by clicking the selection icon of the second user.
To further understand the present disclosure, please refer to fig. 8, fig. 8 is an interface schematic diagram of an instant messaging application provided in the embodiment of the present disclosure, which illustrates a selection operation of a second user by pressing a selection icon of the second user, and fig. 8 includes two sub schematic diagrams (a) and (b), where F1 is used to receive an open instruction of the selection operation of the second user, when the user presses F1, the diagram of fig. 8 (b) is entered, E2 is used to receive the selection operation of the target user on the second user, and after the user finishes the selection operation of the second user through the diagram of fig. 8 (b), the user may submit the selection operation to the client, so that the client may obtain a second user identifier to generate a second user marking instruction sent to the server.
Secondly, in the embodiment of the application, the client acquires a second user marking instruction and sends the second user marking instruction to the server, so that the server determines a second user from the target group, and adds a second identifier in a message sent by the second user, wherein the second identifier is used for indicating that the message is a negligible display message.
Optionally, on the basis of the embodiment corresponding to fig. 5, in a fourth optional embodiment of the method for displaying a message provided in the embodiment of the present application, after displaying the first message subset, the method may further include:
acquiring a mode closing instruction, wherein the mode closing instruction carries a group identifier, a target user identifier and mode closing time information;
sending a mode closing instruction to the server so that the server determines a second message set to be displayed according to the mode closing instruction, wherein the second message set to be displayed comprises at least one message;
receiving a second message set to be displayed sent by the server;
and displaying the second message set to be displayed.
In this embodiment, similar to the operation process of the embodiment corresponding to fig. 6, the client may determine an identifier of the target group and mode closing time information according to a mode closing operation performed by the user on the target group, generate a mode closing instruction after adding the target user identifier, and send the generated mode closing instruction to the server, where the mode closing instruction carries the group identifier, the target user identifier, and the mode closing time information, so that the server determines a second message set to be displayed according to the received mode closing instruction, but does not add the first identifier and the second identifier to all or part of messages in the second message to be displayed any more, the client receives the second message set to be displayed sent by the server and displays the second message set to be displayed, where the second message set to be displayed also includes messages sent to the group by other users except the target user, the difference between the first set of messages to be displayed and the second set of messages to be displayed is that: the first message set to be displayed comprises the group messages of the target group in the high-efficiency mode opening state, and the second message set to be displayed comprises the group messages of the target group in the high-efficiency mode closing state.
Specifically, a close icon corresponding to the mode close operation may be displayed on each group display interface of the client, and the user may execute the mode close operation through the close icon on the target group; the user may also perform the mode closing operation by means of voice, for example, the user inputs "please close the efficient mode of the target group" by means of voice, and the like, which is not limited herein.
To further understand the present disclosure, please refer to fig. 9, fig. 9 is a schematic interface diagram of an instant messaging application according to an embodiment of the present disclosure, to illustrate the mode closing operation performed by the user through the close icon, fig. 9 includes two sub-diagrams (a) and (b), wherein each group of target users has the schematic interface of fig. 9 (a), D2 is used to show the appearance of the close icon when the high-efficiency mode is closed, D1 is used to show the appearance of the close icon when the high-efficiency mode is not closed yet, when the user presses D2 in the target group, the diagram (b) in fig. 9 is entered, the high-efficiency mode is turned off, the client acquires the group identifier and the mode turn-off time information, and then, generating a mode closing instruction by combining the target user identifier, and sending the mode closing instruction to the server.
In the embodiment of the application, the client acquires the mode closing instruction and sends the mode closing instruction to the server so that the server determines the second message set to be displayed according to the mode closing instruction, so that the client can receive the second message set to be displayed sent by the server and display the second message set to be displayed.
Optionally, on the basis of the embodiments corresponding to fig. 5 and fig. 6, in a fifth optional embodiment of the message presentation method provided in the embodiment of the present application, after determining the first message subset according to the message viewing instruction, the method may further include:
acquiring target key information through a key information input interface;
determining a key message subset from the first message subset according to the target key information;
highlighting the first subset of messages in the group session interface corresponding to the group identifier may include:
and highlighting the key message subset in the group session interface corresponding to the group identification.
In this embodiment, when the user has performed the mode-opening operation on the target group, after determining the first message subset according to the message viewing instruction, the client may display the key information input interface, acquire the target key information input by the user through the key information input interface, and determine the key message subset according to the target key information, where each message to be displayed in the key message subset includes the target key information.
As an implementation manner, when a client receives a message viewing instruction input by a user and enters a group session interface of a target group, a key information input interface is displayed to receive target key information input by the user, at least one message carrying a first identifier and containing target key information in content is determined from all messages to be displayed in the target group, and the at least one message is determined as a key message subset; as another implementation manner, when the client receives a message viewing instruction input by the user and enters the group session interface of the target group, all messages sent by the first user in the target group are prominently displayed, the key information input interface is displayed to obtain the target key information input by the user, all messages sent by the first user are further screened, at least one message whose content includes the target key information in all messages sent by the first user is determined as a key message subset, and the like.
The key information input interface may display a text box for receiving the target key information, or may output a voice prompt message for receiving the target key information, and the specific representation form is not limited here. The target key information is used for performing secondary screening on the message sent by the first user, and the user further determines the message that the target user wants to view, for example, "meeting," "project acceptance," or the like, and the specific target key information should be determined according to the actual situation of the target user, which is not limited herein.
To further understand the present solution, please refer to fig. 10, fig. 10 is an interface schematic diagram of an instant messaging application provided in the embodiment of the present application, which is illustrated by taking an example of highlighting all messages sent by a first user in a target group and showing a text box for inputting target key information, where fig. 10 includes two sub-schematic diagrams (a) and (b), which are two interface schematic diagrams before and after inputting target key information, respectively, where I1 is a text box for receiving target key information, and after inputting target key information (e.g., "conference opening") in I1 of the schematic diagram of fig. 10 (a), the diagram of fig. 10 (b) is entered, that is, the messages sent by the first user are further screened by using the target key information, so that the displayed messages are messages whose message contents include conference opening, it should be understood that, the examples are only for convenience of understanding the scheme and are not used for limiting the scheme.
Secondly, in the embodiment of the application, the client may further display a key information input interface according to the message viewing instruction, acquire target key information input by the user through the key information input interface, and further determine to further screen the messages to be displayed sent by the first user according to the target key information to obtain a key message subset in the first message subset, wherein each message to be displayed in the key message subset includes the target key information. By the method, the message which needs to be highlighted is further limited by the target key information input by the user, so that the message displayed by the client can be further improved in accuracy, the highlighted message can meet the requirements of the user, and the user viscosity of the application program is improved.
Optionally, on the basis of the embodiment corresponding to fig. 5, in a sixth optional embodiment of the message presentation method provided in the embodiment of the present application, after receiving the first message set to be presented according to the message viewing instruction, the method may further include:
acquiring a second message subset from the first message set to be displayed, wherein the second message subset comprises (M-N) messages to be displayed in the first message set to be displayed;
highlighting a first subset of messages, comprising:
displaying a first subset of messages through a sub-page displayed independently of the group conversation interface;
or,
displaying a first message subset through a first preset area, wherein the first preset area belongs to an area determined from a group session interface in advance;
or,
and displaying the first message subset through the first preset area, and displaying the second message subset through the second preset area, wherein the first preset area and the second preset area both belong to areas determined in advance from the group session interface.
In this embodiment, after receiving the first set of messages to be displayed, the client may acquire the second subset of messages from the first set of messages to be displayed, and may display the first subset of messages through a sub-page displayed independently on the group session interface, or may display the first subset of messages through a first preset area, where the first preset area belongs to an area determined in advance from the group session interface, or may display the first subset of messages through the first preset area and display the second subset of messages through a second preset area, where the first preset area and the second preset area both belong to an area determined in advance from the group session interface.
Specifically, the second message subset includes (M-N) messages to be displayed in the first message set to be displayed, which are messages in the first message set to be displayed that are different from the first message subset, that is, messages sent by the second user, and similar to step 103 in the embodiment corresponding to fig. 5, the server may add a second identifier to each message in the second message subset, so that the client may determine the second message subset from the first message set to be displayed according to the second identifier; or adding a first identifier into each message in the first message subset and adding a second identifier into each message in the second message subset for the server at the same time, so that the client distinguishes the first message subset and the second message subset from the first message subset to be displayed according to different identifiers; alternatively, the server does not add an identifier to the first message to be presented, but the client determines a second subset of messages sent by the second user according to the user ID of the sending user of each message carried in the first message to be presented, and so on, since the detailed description is already given in step 103, this description is not repeated here.
The client may display all messages in the first message to be displayed on the group session interface, and only display messages in the first message subset on the sub-page, in a manner that the client displays the first message subset through the sub-page which is independent of the display of the group session interface. Optionally, as an implementation manner, when the user enters the group session interface of the target group, the client starts to display the sub-page of the first message subset, and then the sub-page may be manually closed after the user finishes reading the message content of the sub-page, or a preset display duration of the sub-page may be preset for the client, and when the display duration of the sub-page reaches the preset display duration, the client automatically cancels the display of the sub-page, where the preset display duration may be determined by combining the number of messages included in the first message subset, for example, 1 minute, 3 minutes, or 5 minutes, and so on. As another implementation manner, after the user enters the group session interface of the target group, when a pressing operation or a clicking operation of the user is received in a preset region, or a cursor of the user is in the preset region, a sub-page for displaying the first message subset is popped up, and the pressing operation or the clicking operation of the user is received outside the preset region, or the displaying of the sub-page is cancelled when the cursor of the user is outside the preset region, and the like, which is not limited herein. To further understand the present disclosure, please refer to fig. 11, fig. 11 is an interface diagram of an instant messaging application according to an embodiment of the present disclosure, in which G1 represents a sub-page (e.g., a floating window) displayed independently from a group session interface, and only information from a first user is displayed on the sub-page.
The client may display the first message subset through the first preset area, where the client may determine the first preset area in the group session interface of the client in advance, and after determining the first message subset, only display the first message subset in the first preset area, where the first preset area may be all areas on the group session interface of the client, or may be most areas on the group session interface of the client, as an example, for example, the first preset area occupies eighty percent of the area of the group session interface. If the first preset area is not all areas on the group session interface of the client, the client may display all the first messages to be displayed in the remaining area, and may also be used to display functional icons such as a page turning icon, and the like, which is not limited herein.
The client can also display a first message subset through a first preset region and a second message subset through a second preset region, wherein the first preset region and the second preset region both belong to regions determined in advance from the group session interface, and the area of the first preset region is larger than that of the second preset region.
Further, in the three listed display modes, when the number of pages occupied by the messages in the first message subset is greater than one, the user can input a page turning instruction through a sliding operation, wherein the sliding operation can be performed up and down or can be performed left and right; the user can input the page turning instruction in a voice mode, and certainly, the user can input the page turning instruction in other modes; and a page turning instruction and the like can be input by pressing or clicking the page turning icon.
Secondly, in the embodiment of the application, after receiving the first message set to be displayed, the client can obtain the first message subset and the second message subset from the first message set to be displayed.
Optionally, on the basis of the embodiments corresponding to fig. 5 and fig. 11, in a seventh optional embodiment of the method for displaying a message provided in the embodiment of the present application, in a group session interface corresponding to a group identifier, highlighting a first subset of messages may include:
displaying a first message subset in a group session interface corresponding to the group identifier by adopting a first page turning speed;
displaying a second message subset in a group session interface corresponding to the group identifier by adopting a second page turning speed, wherein the second page turning speed is greater than the first page turning speed, and the second message subset comprises (M-N) messages to be displayed in the first message set to be displayed; or,
highlighting the first subset of messages; or,
bolding the display font of the first message subset; or,
blackening the display fonts of the first message subset; or,
and displaying the first message subset in a voice playing mode.
In this embodiment, after receiving the first message to be displayed, the client may also obtain the first message subset and the second message subset from the first message to be displayed, and when the user enters the group session interface of the target group, the client displays the first message subset and the second message subset on the group session interface simultaneously and displays the second message subset prominently, where the manner of displaying the second message subset prominently may be: respectively displaying a first message subset and a second message subset through different page turning speeds, wherein the second page turning speed of the second message subset is greater than the first page turning speed of the first message subset; or, only highlighting the first subset of messages; or, only the display font of the first message subset is bolded; or, only the display fonts of the first message subset are blackened; or, only the first message subset is played by voice playing, and so on, and there is no list of other ways to highlight the first message subset. The first playing speed and the second playing speed may be configured by the client, may also be set by the user, and the like, which is not limited herein.
Secondly, in the embodiment of the application, after receiving the first message set to be displayed, the client can obtain the first message subset and the second message subset from the first message set to be displayed, and through the above manner, under the condition of simultaneously displaying the first message subset and the second message subset, multiple manners of prominently displaying the first message subset are further provided, so that the implementation possibility of the scheme is further enriched, and the comprehensiveness of the scheme is improved; in addition, the first message subset and the second message subset are respectively displayed at different page turning speeds, namely the display time of the messages is adjusted according to whether the messages are important or not, the user does not need to manually input page turning operation, and the client turns pages at a slow point for the messages needing to be mainly checked by the user; and for the messages which do not need to be checked by the user, the page is turned quickly, so that the browsing time of the user is saved, and the user viscosity of the application program is improved.
Optionally, on the basis of the embodiment corresponding to fig. 5, in an eighth optional embodiment of the message display method provided in the embodiment of the present application, after acquiring the first message subset from the first message set to be displayed, the method may further include:
acquiring the expected browsing duration corresponding to the first message subset and the number of messages to be displayed in the first message subset;
when the first message subset is presented, the method may further include:
and displaying the expected browsing duration corresponding to the first message subset and the number of messages to be displayed in the first message subset.
In this embodiment, after acquiring the first message subset, the client may further acquire an expected browsing duration corresponding to the first message subset and a number of messages to be displayed in the first message subset, and when displaying the first message subset, may further display an expected browsing duration corresponding to the first message subset and a number of messages to be displayed in the first message subset. As an implementation manner, the predicted browsing duration corresponding to the first message subset sent by the server and the number of messages to be displayed in the first message subset can be received for the client; as another implementation, after determining the first message subset, the client may also generate a predicted browsing duration corresponding to the first message subset and a number of messages to be displayed in the first message subset, specifically, a predicted browsing duration for one word may be preset on the client, after determining the first message subset, the client may count the number of messages to be displayed in the first message subset and a total number of words in the first message subset, and predict a predicted browsing duration corresponding to the first message subset according to the total number of words in the first message subset, so as to generate a predicted browsing duration and the like of the first message subset, where a determination manner of the specific predicted browsing duration and the number of messages to be displayed is not limited herein.
To further understand the present solution, please refer to fig. 12, where fig. 12 is an interface schematic diagram of the instant messaging application provided in the embodiment of the present application, and is described by taking an example that a client displays a first subset of messages through a sub-page that is displayed independently of a group session interface, where H1 is used to display a predicted browsing duration corresponding to a first subset of messages and a display manner of the number of messages to be displayed in the first subset of messages, where the first subset of messages includes two messages to be displayed, and the predicted browsing duration of the first subset of messages is 2 minutes.
Secondly, in the embodiment of the application, when the client displays the first message subset, the expected browsing time length corresponding to the first message subset and the number of messages to be displayed in the first message subset are also displayed.
On the basis of the embodiments corresponding to fig. 5 to fig. 12, an embodiment of a method for processing a message is further provided in the embodiments of the present application, and referring to fig. 13, the method for processing a message in the embodiments of the present application may include:
201. receiving a message viewing instruction sent by a client, wherein the message viewing instruction carries a group identifier corresponding to a target group and a target user identifier corresponding to a target user;
in this embodiment, when the target user views the target group through the client, the server may receive the message viewing instruction sent by the client, and then the server may obtain the group identifier carried in the message viewing instruction and the target user identifier corresponding to the target user. Specifically, the server may receive a message viewing instruction sent by the client each time the target user enters the message viewing interface of the target group through the client, and optionally, the server may also receive a message viewing exit instruction sent by the client each time the target user resizes the message viewing interface of the target group, where the message viewing exit instruction also carries a group identifier corresponding to the target group and a target user identifier corresponding to the target user; the client used by the target user can be in an off-line state within a period of time, and when the client used by the target user is converted from the off-line state to the on-line state, the server can receive a message viewing instruction sent by the client and store the group identifier and the target user identifier; the server may also receive a message viewing instruction sent by the client only when the target user views the target group through the client for the first time, and store the group identifier, the target user identifier, and the like, and the specific server receives the time when the client sends the message viewing instruction, which is not limited herein. The target user refers to any user who receives the group message from the server and manages the server.
Further, if the server receives a message viewing instruction sent by the client each time the target user views the message in the target group through the client, and the server can also receive a message viewing exit instruction sent by the client each time the target user resigns the message viewing interface of the target group, the server can determine the time for the target user to view the target group each time according to the receiving behavior of the message viewing instruction, and determine the time for the target user to exit from viewing the group message according to the receiving behavior of the message viewing exit instruction, specifically, the server can determine the time for the target user to view the target group as the time for the target user to view the target group, and determine the time for the target user to exit from viewing the group message as the time for the target user to exit from viewing the group message; the message viewing instruction and the message viewing exit instruction may both carry time information, the server may directly determine, according to the time information carried in the message, a time when the target user enters the group to view the message and a time when the target user exits from viewing the message, and after the server obtains the time information, the server may store the time information in various forms such as a table, an array, or an index, where the storage of the time information by the table is taken as an example, and is described with reference to table 1 below.
TABLE 1
Target user ID | Target group ID | Group-entering view message time | Time to exit from viewing group messages |
1238 | 1111 | 18 o 43 points 2 month, 27 day | 18 o' clock and 50 min on 27 days 2 and 27 months |
1239 | 1111 | 19 o' clock and 20 min on 27 days 2 and 27 months | 19 o' clock 26 points on 2 months, 27 days |
Referring to table 1, table 1 shows time information of two target users, where a first piece of record information indicates a target user with a user ID of 1238, enters a target group with a group ID of 1111 at 18 o 'clock 43 in month 2 and 27, and exits from a message viewing interface of the target group at 18 o' clock 50 in month 2 and 27; the second piece of record information indicates a target user with a user ID of 1239, the target group with a group ID of 1111 is entered at 19 o 'clock 20 at 27 o' clock 2 month, and the group message is viewed at the message viewing interface with a group ID of 1111, and the target group is exited at 19 o 'clock 26 at 27 o' clock 2 month, however, fields such as a target user name and a target group name may also be included in table 1.
202. Sending a first message set to be displayed to a client according to a message viewing instruction so that the client acquires a first message subset according to the first message set to be displayed so that the client displays the first message subset, wherein the first message subset is sent by a first user in a target group, the first message set to be displayed comprises M messages to be displayed in the target group, the first message subset comprises N messages to be displayed in the message set to be displayed, the first message subset and a target user identifier have a corresponding relationship, N is an integer which is greater than or equal to 1 and less than or equal to M, and M is an integer which is greater than or equal to 1.
In this embodiment, the server may send the first message set to be displayed to the client according to the received message viewing instruction, so that the client obtains the first message subset sent by the first user from the message set to be displayed, and prominently displays the first message subset on the client, where the first message set to be displayed includes M messages to be displayed in the target group, the first message subset includes N messages to be displayed in the message set to be displayed, N is an integer greater than or equal to 1 and less than or equal to M, and M is an integer greater than or equal to 1.
Specifically, after receiving the message viewing instruction, the server may determine a first set of messages to be presented, where the first set of messages to be presented refers to a set of messages in the target group that have not been viewed by the target user, and the server may send each message to be presented in the first set of messages to be presented to the client in real time; or all messages to be displayed in the first set of messages to be displayed may be sent to the client and the like when the message viewing instruction is received, and a specific sending manner of the first message to be displayed is not limited here. Further, the server may obtain the time for the last target user to check the target group once according to table 1, and further determine that the message sent to the target group between the current check of the target group by the target user and the message check interface where the last target user exits the target group is the first message set to be displayed.
After determining the first message set to be displayed, the server sends the first message to be displayed to the client, so that the client acquires a first message subset sent by the first user according to the first message set to be displayed and highlights the first message subset. As an implementation manner, the server may not set an identifier for the message to be presented in the first message to be presented, and the client determines the first message subset according to the user identifier of the sending user of each message. As another implementation manner, the server may determine, while determining the first to-be-displayed message set, a first message subset sent by the first user according to a sending user identifier of each to-be-displayed message in the first to-be-displayed message set, and further send, after setting a first identifier for each to-be-displayed message in the first message subset, the to-be-displayed message to the client, where the first identifier is used to indicate that a message carrying the first identifier by the client is a prominently-displayed message. Further, when determining the first message subset, the server may allocate a message representation to each message to be displayed included in the first message subset, and record related information of each message to be displayed, specifically, record the information in a form of a table or an index, and the following explains the information by taking the record in the form of a table in combination with table 2.
TABLE 2
Referring to table 2 above, table 2 shows three messages to be shown in the first message subset, where the user IDs of the receiving users (that is, target users) of the three messages to be shown are all 1238, and are target groups with a group ID of 1111 for the target users, the first piece of record information indicates that the publishing user with a user ID of 1234 sends a message with message content of "each group length reports project progress" to the target group at 9 o 10 on day 28 of 2 months, and the message ID of the message is 1223; the second piece of recorded information indicates that the publishing user with a user ID of 1233 sends a message with a message content of "to be tested" to the target group at 14 point 29 on 28 th 2 th month, the message ID of the message is 1224, and a detailed description of the third piece of recorded message is omitted here, it should be understood that only a part of the messages to be shown in the first message subset is taken as an example in table 2, and the number of the messages to be shown included in the first message subset is not limited here. Continuing with table 2, the description is given by taking an example in which the server records each message to be displayed through six fields, namely, a target user ID, a target group ID, a message publishing user ID, a message acquisition time, and a message content, it should be understood that the message publishing user ID field, the message acquisition time field, and/or the message content field may not be included, and a message publishing user name field may be added.
The server can determine a first user from the target group according to a first user marking instruction sent by the client; the first user may also be determined from a master-slave target group, for example, the group owner of the target group is determined as the first user, and the group owner and the administrator of the target group are determined as the first user, which is not limited herein. Further, after determining the first user from the target group, the server may further store the first user information of the target user in a form of a table, an array, an index, and the like, which is described below with reference to table 3 as an example.
TABLE 3
Target user ID | Target group ID | First user ID | First user ID |
1896 | 1112 | 1890 | null |
1238 | 1111 | 1233 | 1234 |
Referring to table 3, table 3 shows two pieces of record information for the first user information, where the first piece of record information is used to indicate that the target user with user ID 1896 only wants to see the group message sent by the first user with user ID 1890 in the target group with user ID 1112; the second piece of recorded information is used to indicate that the target user with the user ID 1238 only wants to see the group messages sent by the first user with the user ID 1233 and the user ID 1234 in the target group with the group ID 1111, it should be understood that, in practical cases, table 3 may also be used to record the second user information of the target user, where the message sent by the second user is a message that the target user can ignore to view, and table 3 may further include the second user ID, etc., which is merely for convenience of understanding of the present solution and is not used to limit the present solution.
Optionally, before sending the first set of messages to be presented to the client, the server may also send, to the client, indication information for highlighting the first subset of messages, so as to inform the client how to highlight the first subset of messages.
In the embodiment of the application, after receiving a message viewing instruction sent by a client, a server can send a first message set to be displayed to the client where a target user is located according to a group identifier and a target user identifier carried in the message viewing instruction, so that the client can obtain a first message subset according to the first message set to be displayed and prominently display the first message subset, wherein the first message subset is combined to be sent by the first user in the target group, through the above manner, the first message subset sent by the first user can be prominently displayed at the client, and the user can focus on viewing the prominently displayed first message subset, thereby avoiding missing a group message sent by an important user; for the messages which are not highlighted in the first message set to be displayed, the user can choose not to see or browse generally, so that the harassment of the group messages sent by the non-important users in the target group to the user is avoided.
Optionally, on the basis of the embodiment corresponding to fig. 13, in a first optional embodiment of the message processing method provided in the embodiment of the present application, before receiving a message viewing instruction sent by a client, the method may further include:
receiving a mode opening instruction sent by a client, wherein the mode opening instruction carries a group identifier, a target user identifier and mode opening time information, and the mode opening time information is used for determining a first message to be displayed in a first message subset;
determining a first message subset from the first message set to be displayed according to the mode starting instruction;
setting a first identifier for each message to be displayed in a first message subset, wherein the first identifier has a corresponding relation with a target user identifier, and the first identifier is used for indicating the message which can be highlighted;
and setting a second identifier for each message to be displayed in a second message subset, wherein the second identifier has a corresponding relationship with the target user identifier, the second identifier is used for indicating the message which can be ignored to be displayed, the second message subset comprises (M-N) messages to be displayed, and the second message subset is contained in the first message subset to be displayed.
In this embodiment, because the server communicates with multiple users at the same time, and each user does not join one group, after receiving a mode opening instruction sent by the client, the server may obtain a group identifier, a target user identifier, and mode opening time information carried in the group identifier, the target user who opens the mode, and a corresponding target group according to the group identifier and the target user identifier, further determine a mode opening time according to the mode opening time information, start to determine a first message subset and a second message subset from a first message set to be displayed in the target group of the target user with the mode opening time as a time starting point, set a first identifier for each message to be displayed in the first message subset, and set a second identifier for each message to be displayed in the second message subset.
The first identifier and the target user identifier have a corresponding relationship, and are used to indicate that a message to be displayed, which carries the first identifier, of a target user is a message that can be prominently displayed, the second identifier and the target user identifier have a corresponding relationship, and are used to indicate that a message to be displayed, which carries the second identifier, of the target user is a message that can be ignored and displayed, the first message subset and the second message subset are combined into different message subsets in the first message set to be displayed, the second message subset includes (M-N) messages to be displayed, that is, the messages included in the second message subset are messages in the first message set to be displayed except for the first message subset. The first message subset is a message sent by a first user, the second message subset is a message sent by a second user, the first user and the second user are different users in the target group, and similar to the determination manner of the first user, the server may determine the second user from the target group according to a second user marking instruction sent by the client, or may determine the second user from the target group autonomously, for example, a user other than a group owner of the target group is regarded as the second user, for example, a user other than the group owner and an administrator in the target group is regarded as the second user, and the specific details are not limited herein.
Specifically, the server may store group management information of a plurality of users, and after receiving a mode opening instruction of a target user, generate and store management information of a target group of the target user, where a specific storage form includes, but is not limited to, a table, an array, or an index, and the like, and the storage form is the table, and the mode is an efficient reading mode, which is described herein with reference to table 4 below.
TABLE 4
Target group ID | Target user ID | Efficient reading mode state | Mode on time |
1112 | 1896 | Is opened | 8 am 49 min 2/12/2019 |
1111 | 1238 | Is opened | 9 am, 20 min at 15 pm of 2 months in 2019 |
1111 | 1239 | Is opened | 28 am 10 am on 21 am of 2/month in 2019 |
Referring to table 4, three pieces of group management information are shown in table 4, where a first piece of group management information indicates that a target user with a user ID of 1896 opens an efficient reading mode for a target group with a group ID of 1112 at 49 am 8 am on 12 th day in 3/month in 2019, and then, starting from 49 am 8 am on 12 th day in 3/month in 2019, the server starts to determine a first message subset and a second message subset from a first to-be-shown message set with a user ID of 1896 and a group ID of 1112, and performs an identifier adding operation on the first message subset and the second message subset, respectively; the second piece of group management information indicates that the target user with the user ID of 1238 starts an efficient reading mode for the target group with the group ID of 1111 at 20 pm 9 pm on 15 th 3/2019, and then from 20 pm 9 pm on 15 th 3/2019, the server starts to determine the first message subset and the second message subset from the first message set to be shown which is sent to the user ID of 1238 and the group ID of 1111, and performs the identification adding operation for the first message subset and the second message subset, respectively, where the third piece of group management information is not explained in detail here. It should be understood that in an actual product, other fields may be included in table 4, and are not described one by one here.
Secondly, in the embodiment of the application, the server receives a mode opening instruction sent by the client, wherein the mode opening instruction carries a group identifier, a target user identifier and mode opening time information, the server determines a first message subset from the first message set to be displayed according to the mode opening time information, and sets a first identifier for each message to be displayed in the first message subset, sets a second identifier for each message to be displayed in the second message subset, wherein the first identifier is used to indicate a message that can be prominently presented, and the second identifier is used to indicate a message that can be ignored, in the above manner, the client can determine the first message subset from the first message set to be displayed according to the first identifier, the operation is simple, excessive workload is prevented from being added to the client, and the efficiency in the process of confirming the first message subset is improved.
Optionally, on the basis of the embodiment corresponding to fig. 13, in a second optional embodiment of the method for processing a message provided in the embodiment of the present application, the method may further include:
counting the total number of texts corresponding to the first message subset;
determining the expected browsing duration of the first message subset according to the total number of texts corresponding to the first message subset;
and sending the expected browsing duration of the first message subset and the number of messages to be displayed in the first message subset to the client, so that the client displays the expected browsing duration corresponding to the first message subset and the number of messages to be displayed in the first message subset, wherein the number of the messages to be displayed is N.
In this embodiment, a predicted browsing duration for one character may be preset on the server, after determining a first message subset sent by the first user from the first message subset to be displayed, the server may count a total number of texts corresponding to the first message subset, further may obtain a total number of characters included in the first message subset, determine a predicted browsing duration for the first message subset according to the total number of characters corresponding to the first message subset and the predicted browsing duration for one character, and send the predicted browsing duration of the first message subset and a number of messages to be displayed in the first message subset to the client, where the total number of texts corresponding to the first message subset may include the number of messages to be displayed in the first message subset and the total number of characters included in the first message subset.
Specifically, the server may store the statistical information of the first message subset in a form of a table, an array, an index, or the like, and the description is given with reference to table 5 by taking table storage as an example.
TABLE 5
Target user ID | Target group ID | Number of messages to be displayed (bar) | Number of characters (number) | Estimated browsing duration (minutes) |
1238 | 1111 | 3 | 20 | 1 |
1239 | 1111 | 3 | 20 | 1 |
1896 | 1112 | 5 | 60 | 2 |
Referring to table 5, table 5 shows record information of three first message subsets, where the first record information is used to indicate that a first message subset of a receiving user with a user ID of 1238 and a group ID of 1112 includes 3 messages to be displayed, the first message subset includes 20 messages in total, and the browsing duration is expected to be 1 minute.
Secondly, in the embodiment of the application, the server counts the total number of texts corresponding to the first message subset, determines the expected browsing duration of the first message subset, and sends the expected browsing duration of the first message subset and the number of messages to be displayed in the first message subset to the client for display through the client, so that the user can know the number of messages to be displayed in the first message subset and the expected browsing duration before browsing the first message subset, the user can conveniently arrange time reasonably, and the user viscosity of the application program is improved; in addition, the server completes the statistics operation of the estimated browsing duration and the number of the messages to be displayed, so that extra burden on the client is avoided, and the operating efficiency of the client is improved.
In order to better implement the above-mentioned aspects of the embodiments of the present application, the following also provides related apparatuses for implementing the above-mentioned aspects. Referring to fig. 14, fig. 14 is a schematic structural diagram of a message display apparatus according to an embodiment of the present application, in which the message display apparatus 30 includes:
an obtaining unit 301, configured to obtain a message viewing instruction, where the message viewing instruction carries a group identifier corresponding to a target group;
a determining unit 302, configured to determine a first message subset according to the message viewing instruction acquired by the acquiring unit 301, where the first message subset includes N messages to be shown in the target group, where N is an integer greater than or equal to 1;
a presentation unit 303, configured to prominently present the first message subset determined by the determining unit 302.
In this embodiment, the obtaining unit 301 obtains a message viewing instruction, where the message viewing instruction carries a group identifier corresponding to a target group, the determining unit 302 determines a first message subset according to the message viewing instruction obtained by the obtaining unit 301, where the first message subset includes N messages to be displayed in the target group, where N is an integer greater than or equal to 1, and the displaying unit 303 prominently displays the first message subset determined by the determining unit 302.
In this embodiment of the application, the obtaining unit 301 obtains a message viewing instruction, and the receiving unit 302 receives a first set of messages to be presented according to the message viewing instruction, since the message viewing instruction carries the group identifier corresponding to the target group, the first message set to be displayed includes M messages to be displayed in the target group, after the obtaining unit 301 obtains the first message subset from the first message set to be displayed, the displaying unit 303 highlights the first message subset, wherein the first message subset includes N messages to be displayed in the first message set to be displayed, and the first message subset is combined to be sent by the first user in the target group, the first message subset sent by the first user can be highlighted, and the user can view the highlighted first message subset in a highlight mode, so that group messages sent by important users are avoided being missed; for the messages which are not highlighted in the first message set to be displayed, the user can choose not to see or browse generally, so that the harassment of the group messages sent by the non-important users in the target group to the user is avoided.
Alternatively, on the basis of the above-mentioned embodiment corresponding to fig. 15, in another embodiment of the message display apparatus provided in the embodiment of the present application,
the obtaining unit 301 is further configured to obtain a mode starting instruction, where the mode starting instruction carries the group identifier, the target user identifier, and mode starting time information, and the mode starting time information is used to determine a first message to be displayed in the first message subset;
the message presentation apparatus further comprises: a sending unit 304, configured to send the mode starting instruction obtained by the obtaining unit 301 to a server, so that the server determines the first message subset from the first message set to be displayed according to the mode starting instruction, where each message to be displayed in the first message subset has a first identifier, and the first identifier and the target user identifier have a corresponding relationship;
the display unit 303 is configured to:
acquiring an identifier of each message to be displayed in the first message set to be displayed;
determining the N messages to be displayed corresponding to the first identifier according to the identifier of each message to be displayed;
and determining the first message subset according to the N messages to be displayed.
Secondly, in this embodiment of the application, the obtaining unit 301 may obtain a mode opening instruction, and the sending unit 304 sends the mode opening instruction to the server, so that the server determines a first message subset from the first message set to be displayed according to the mode opening instruction, where each message to be displayed in the first message subset has a first identifier, so that the displaying unit 303 obtains an identifier of each message to be displayed in the first message set to be displayed, and determines N messages to be displayed including the first identifier as the first message subset, and in this way, the client may determine the first message subset from the first message set to be displayed according to the identifier of each message to be displayed, which is simple to operate, avoids increasing too much workload to the client, and is beneficial to improving the efficiency in the first message subset confirmation process; in addition, a specific implementation scheme for determining the first message subset by the client is provided, and the operability of the scheme is improved.
Optionally, on the basis of the embodiment corresponding to fig. 14, in another embodiment of the message display apparatus provided in the embodiment of the present application, the display unit 303 is specifically configured to:
displaying a key information input interface according to the message viewing instruction;
acquiring target key information through the key information input interface;
and determining the first message subset according to the target key information, wherein each message to be displayed in the first message subset comprises the target key information.
In this embodiment, the display unit 303 may further display a key information input interface according to the message viewing instruction, acquire target key information input by the user through the key information input interface, and further determine to further screen the to-be-displayed message sent by the first user according to the target key information to obtain a first message subset, where each to-be-displayed message in the first message subset includes the target key information. By the method, the message which needs to be highlighted is further limited by the target key information input by the user, so that the message displayed by the client can be further improved in accuracy, the highlighted message can meet the requirements of the user, and the user viscosity of the application program is improved.
Optionally, on the basis of the above-mentioned embodiment corresponding to fig. 14, in another embodiment of the message display apparatus provided in the embodiment of the present application,
the obtaining unit 301 is further configured to obtain a first user tagging instruction, where the first user tagging instruction carries a first user identifier;
the sending unit 304 is further configured to send the first user tagging instruction obtained by the obtaining unit 301 to the server, so that the server determines the first user from the target group according to the first user tagging instruction, where the first user identifier corresponds to the first identifier, and the first identifier is used to indicate a message that can be prominently displayed.
In this embodiment of the application, the obtaining unit 301 may obtain the first user tagging instruction, and the sending unit 304 sends the first user tagging instruction to the server, so that the server may determine the first user from the target group according to the first user tagging instruction, and further add the first identifier in a message sent by the first user.
Optionally, on the basis of the above-mentioned embodiment corresponding to fig. 14, in another embodiment of the message display apparatus provided in the embodiment of the present application,
the obtaining unit 301 is further configured to obtain a second user tagging instruction, where the second user tagging instruction carries a second user identifier;
the sending unit 304 is further configured to send the second user tagging instruction obtained by the obtaining unit 301 to the server, so that the server determines a second user from the target group according to the first user tagging instruction, where the second user identifier corresponds to a second identifier, the second identifier is used to indicate a message that can be ignored for presentation, and the second user is a user different from the first user in the target group.
In this embodiment of the application, the obtaining unit 301 obtains a second user marking instruction, and the second user marking instruction is sent to the server by the sending unit 304, so that the server determines the second user from the target group, and adds a second identifier to a message sent by the second user, where the second identifier is used to indicate that the message is a negligible display message.
Alternatively, referring to fig. 15 on the basis of the embodiment corresponding to fig. 14, in another embodiment of the message display apparatus provided in the embodiment of the present application,
the obtaining unit 301 is further configured to obtain a mode closing instruction, where the mode closing instruction carries the group identifier, the target user identifier, and mode closing time information;
the sending unit 304 is further configured to send the mode closing instruction obtained by the obtaining unit 301 to a server, so that the server determines a second message set to be displayed according to the mode closing instruction, where the second message set to be displayed includes at least one message;
the message presentation apparatus 30 may further include: a receiving unit 305, further configured to receive a second set of messages to be shown sent by the server;
the displaying unit 303 is further configured to display the second set of messages to be displayed received by the receiving unit 302.
In this embodiment, the obtaining unit 301 obtains the mode closing instruction, and the sending unit 304 sends the mode closing instruction by the server, so that the server determines the second message set to be displayed according to the mode closing instruction, and thus the receiving unit 302 may receive the second message set to be displayed sent by the server, and the displaying unit 303 displays the second message set to be displayed.
Optionally, on the basis of the above-mentioned embodiment corresponding to fig. 14, in another embodiment of the message display apparatus provided in the embodiment of the present application,
the obtaining unit 301 is further configured to obtain a second message subset from the first message set to be displayed, where the second message subset includes (M-N) messages to be displayed in the first message set to be displayed;
the display unit 303 is specifically configured to:
displaying the first subset of messages through a sub-page displayed independently of a group conversation interface;
or,
displaying the first message subset through a first preset area, wherein the first preset area belongs to an area determined in advance from the group session interface;
or,
and displaying the first message subset through the first preset area, and displaying the second message subset through the second preset area, wherein the first preset area and the second preset area both belong to areas predetermined from the group session interface.
Secondly, in this embodiment of the application, after receiving the first to-be-displayed message set, the obtaining unit 301 may obtain the first message subset and the second message subset from the first to-be-displayed message set, and in this way, a plurality of ways of displaying the first message subset are provided in a highlighted manner under the condition that the first message subset and the second message subset are simultaneously displayed, so that the implementation possibility of the scheme is further enriched, and the comprehensiveness of the scheme is improved.
Optionally, on the basis of the embodiment corresponding to fig. 14, in another embodiment of the message presentation apparatus provided in the embodiment of the present application,
the display unit 303 is specifically configured to:
displaying the first message subset in a group session interface corresponding to the group identifier by adopting a first page turning speed; and displaying the second message subset in a group session interface corresponding to the group identifier by adopting a second page turning speed, wherein the second page turning speed is greater than the first page turning speed.
Secondly, in the embodiment of the application, after receiving the first message set to be displayed, the client can obtain the first message subset and the second message subset from the first message set to be displayed, and through the above manner, under the condition of simultaneously displaying the first message subset and the second message subset, multiple manners of prominently displaying the first message subset are further provided, so that the implementation possibility of the scheme is further enriched, and the comprehensiveness of the scheme is improved; in addition, the first message subset and the second message subset are respectively displayed at different page turning speeds, namely the display time of the messages is adjusted according to whether the messages are important or not, the user does not need to manually input page turning operation, and the client turns pages at a slow point for the messages needing to be mainly checked by the user; and for the messages which do not need to be checked by the user, the page is turned quickly, so that the browsing time of the user is saved, and the user viscosity of the application program is improved.
Optionally, on the basis of the above-mentioned embodiment corresponding to fig. 14, in another embodiment of the message display apparatus provided in the embodiment of the present application,
the obtaining unit 301 is further configured to obtain a predicted browsing duration corresponding to the first message subset and a number of messages to be displayed in the first message subset;
the displaying unit 303 is further configured to display the expected browsing duration corresponding to the first message subset acquired by the acquiring unit 301 and the number of messages to be displayed in the first message subset.
Secondly, in this embodiment of the application, when the displaying unit 303 displays the first message subset, it may also display the expected browsing duration corresponding to the first message subset and the number of messages to be displayed in the first message subset, so that, by the above manner, a user may know the number of messages to be displayed in the first message subset and the expected browsing duration before browsing the first message subset, which is convenient for the user to schedule time reasonably and improves user viscosity of the application program.
Referring to fig. 16, fig. 16 is a schematic structural diagram of a message processing apparatus according to an embodiment of the present application, where the message processing apparatus 40 includes:
a receiving unit 401, configured to receive a message viewing instruction sent by a client, where the message viewing instruction carries a group identifier corresponding to a target group and a target user identifier corresponding to a target user;
a sending unit 402, configured to send a message set to be displayed to the client according to the message viewing instruction received by the receiving unit 401, so that the client obtains a first message subset according to the message set to be displayed, so that the client displays the first message subset, where the first message subset is sent by a first user in the target group, the message set to be displayed includes M messages to be displayed in the target group, the first message subset includes N messages to be displayed in the message set to be displayed, the first message subset and the target user identifier have a corresponding relationship, where N is an integer greater than or equal to 1 and smaller than M, and M is an integer greater than or equal to 1.
In this embodiment, a receiving unit 401 receives a message viewing instruction sent by a client, where the message viewing instruction carries a group identifier corresponding to a target group and a target user identifier corresponding to a target user, and a sending unit 402 sends a message set to be displayed to the client according to the message viewing instruction received by the receiving unit 401, so that the client obtains a first message subset according to the message set to be displayed, so that the client displays the first message subset, where the first message subset is sent by a first user in the target group, the message set to be displayed includes M messages to be displayed in the target group, the first message subset includes N messages to be displayed in the message set to be displayed, and the first message subset and the target user identifier have a corresponding relationship, n is an integer greater than or equal to 1 and less than M, and M is an integer greater than or equal to 1.
In this embodiment of the application, when receiving a message viewing instruction sent by a client, a receiving unit 401 may send, according to a group identifier and a target user identifier carried therein, a first message set to be displayed to a client where a target user is located, so that the client obtains a first message subset according to the first message set to be displayed and prominently displays the first message subset, where the first message subset is sent by a first user in a target group, and by the above manner, the first message subset sent by the first user can be prominently displayed at the client, and the user can view the prominently displayed first message subset with emphasis, thereby avoiding missing a group message sent by an important user; for the messages which are not highlighted in the first message set to be displayed, the user can choose not to see or browse generally, so that the harassment of the group messages sent by the non-important users in the target group to the user is avoided.
Alternatively, referring to fig. 17 on the basis of the embodiment corresponding to fig. 16, in another embodiment of the message processing apparatus provided in the embodiment of the present application,
the receiving unit 401 is further configured to receive a mode starting instruction sent by the client, where the mode starting instruction carries the group identifier, the target user identifier, and mode starting time information, and the mode starting time information is used to determine a first message to be displayed in the first message subset;
the message processing apparatus further includes:
a determining unit 403, configured to determine the first message subset from the message set to be displayed according to the mode starting instruction received by the receiving unit 401;
a setting unit 404, configured to set a first identifier for each message to be displayed in the first message subset, where the first identifier has a corresponding relationship with the target user identifier, and the first identifier is used to indicate a message that can be prominently displayed;
the setting unit 404 is further configured to set a second identifier for each to-be-displayed message in a second message subset, where the second identifier has a corresponding relationship with the target user identifier, the second identifier is used to indicate a message that can be ignored for display, the second message subset includes (M-N) to-be-displayed messages, and the second message subset is included in the to-be-displayed message set.
Secondly, in the embodiment of the present application, the receiving unit 401 receives a mode opening instruction sent by the client, wherein, the mode opening instruction carries the group identifier, the target user identifier and the mode opening time information, the determining unit 403 determines a first message subset from the first message subset to be displayed according to the mode opening time information, the setting unit 404 sets a first identifier for each message to be displayed in the first message subset, and sets a second identifier for each message to be displayed in the second message subset, wherein the first identifier is used to indicate a message that can be prominently presented, and the second identifier is used to indicate a message that can be ignored, in the above manner, the client can determine the first message subset from the first message set to be displayed according to the first identifier, the operation is simple, excessive workload is prevented from being added to the client, and the efficiency in the process of confirming the first message subset is improved.
Optionally, on the basis of the embodiments corresponding to fig. 16 and fig. 17, in another embodiment of the message processing apparatus provided in the embodiment of the present application,
the message processing apparatus further includes: a counting unit 405, configured to count a total number of texts corresponding to the first message subset;
the determining unit 403 is further configured to determine an expected browsing duration for the first message subset according to the total number of texts corresponding to the first message subset counted by the counting unit 405;
the sending unit 402 is further configured to send the expected browsing duration of the first message subset and the number of messages to be shown in the first message subset, which are determined by the determining unit 403, to the client, so that the client shows the expected browsing duration corresponding to the first message subset and the number of messages to be shown in the first message subset, where the number of messages to be shown is N.
Secondly, in this embodiment of the application, the counting unit 405 counts the total number of texts corresponding to the first message subset, the determining unit 403 determines the expected browsing duration of the first message subset, and the sending unit 402 sends the expected browsing duration of the first message subset and the number of messages to be displayed in the first message subset to the client for display by the client, so that the user can know the number of messages to be displayed in the first message subset and the expected browsing duration before browsing the first message subset, thereby facilitating the user to arrange time reasonably and improving the user viscosity of the application program; in addition, the server completes the statistics operation of the estimated browsing duration and the number of the messages to be displayed, so that extra burden on the client is avoided, and the operating efficiency of the client is improved.
Next, an embodiment of the present application further provides a terminal device, as shown in fig. 18, for convenience of description, only a part related to the embodiment of the present invention is shown, and details of the specific technology are not disclosed, please refer to the method part of the embodiment of the present invention. The attribute information display device may be any terminal device including a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), a Point of Sales (POS), a vehicle-mounted computer, and the like, taking the attribute information display device as the mobile phone as an example:
fig. 18 is a block diagram showing a partial structure of a cellular phone related to the attribute information presentation apparatus provided in the embodiment of the present invention. Referring to fig. 18, the cellular phone includes: radio Frequency (RF) circuit 510, memory 520, input unit 530, display unit 540, sensor 550, audio circuit 560, wireless fidelity (WiFi) module 570, processor 580, and power supply 590. Those skilled in the art will appreciate that the handset configuration shown in fig. 18 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 18:
The memory 520 may be used to store software programs and modules, and the processor 580 executes various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 520. The memory 520 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 520 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 530 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 530 may include a touch panel 531 and other input devices 532. The touch panel 531, also called a touch screen, can collect touch operations of a user on or near the touch panel 531 (for example, operations of the user on or near the touch panel 531 by using any suitable object or accessory such as a finger or a stylus pen), and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 531 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 580, and can receive and execute commands sent by the processor 580. In addition, the touch panel 531 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 530 may include other input devices 532 in addition to the touch panel 531. In particular, other input devices 532 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 540 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The Display unit 540 may include a Display panel 541, and optionally, the Display panel 541 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 531 may cover the display panel 541, and when the touch panel 531 detects a touch operation on or near the touch panel 531, the touch panel is transmitted to the processor 580 to determine the type of the touch event, and then the processor 580 provides a corresponding visual output on the display panel 541 according to the type of the touch event. Although the touch panel 531 and the display panel 541 are shown as two separate components in fig. 18 to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 531 and the display panel 541 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 550, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 541 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 541 and/or the backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
WiFi belongs to short distance wireless transmission technology, and the mobile phone can help the user to send and receive e-mail, browse web pages, access streaming media, etc. through the WiFi module 570, which provides wireless broadband internet access for the user. Although fig. 18 shows the WiFi module 570, it is understood that it does not belong to the essential constitution of the handset, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 580 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 520 and calling data stored in the memory 520, thereby performing overall monitoring of the mobile phone. Alternatively, processor 580 may include one or more processing units; optionally, processor 580 may integrate an application processor, which handles primarily the operating system, user interface, applications, etc., and a modem processor, which handles primarily the wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 580.
The handset also includes a power supply 590 (e.g., a battery) for powering the various components, which may optionally be logically connected to the processor 580 via a power management system, such that the power management system may be used to manage charging, discharging, and power consumption.
Although not shown, the mobile phone may further include a camera module, a bluetooth module, etc., which will not be described herein.
In this embodiment of the present invention, the processor 380 included in the terminal device further has the following functions:
acquiring a message viewing instruction, wherein the message viewing instruction carries a group identifier corresponding to a target group;
determining a first set of messages to be displayed according to the message viewing instruction, wherein the first set of messages to be displayed comprises M messages to be displayed in the target group, and M is an integer greater than or equal to 1;
acquiring a first message subset from the first message set to be displayed, wherein the first message subset comprises N messages to be displayed in the first message set to be displayed, the first message subset is sent by a first user in the target group, and N is an integer greater than or equal to 1 and smaller than M;
highlighting the first subset of messages.
Optionally, the processor 580 is further configured to perform steps performed by the client in the embodiments corresponding to fig. 5 to fig. 12.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the various modules and units included in the terminal device described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Referring to fig. 19, fig. 19 is a schematic structural diagram of a server according to an embodiment of the present invention, where the server 600 may have a relatively large difference due to different configurations or performances, and may include one or more Central Processing Units (CPUs) 622 (e.g., one or more processors) and a memory 632, and one or more storage media 630 (e.g., one or more mass storage devices) for storing applications 642 or data 644. Memory 632 and storage medium 630 may be, among other things, transient or persistent storage. The program stored in the storage medium 630 may include one or more modules (not shown), each of which may include a series of instruction operations for the server. Still further, the central processor 622 may be configured to communicate with the storage medium 630 and execute a series of instruction operations in the storage medium 630 on the server 600.
The server 600 may also include one or more power supplies 626, one or more wired or wireless network interfaces 650, one or more input-output interfaces 658, and/or one or more operating systems 641, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, and so forth.
The steps performed by the server in the embodiment corresponding to fig. 14 described above may be based on the server structure shown in fig. 19.
An embodiment of the present application further provides a computer-readable storage medium, in which message presentation instructions are stored, and when the message presentation instructions are executed on a computer, the computer is enabled to execute the steps performed by the terminal device in the methods described in the foregoing embodiments shown in fig. 5 to 12.
Also provided in the embodiments of the present application is a computer-readable storage medium, which stores message processing instructions and when the computer-readable storage medium is executed on a computer, causes the computer to execute the steps performed by the server in the method described in the foregoing embodiment shown in fig. 13.
Also provided in the embodiments of the present application is a computer program product including message presentation instructions, which when run on a computer, cause the computer to perform the steps performed by the terminal device in the method described in the foregoing embodiments shown in fig. 5 to 12.
Also provided in the embodiments of the present application is a computer program product including message processing instructions, which when run on a computer, causes the computer to perform the steps performed by the terminal device in the method described in the foregoing embodiment shown in fig. 13.
An embodiment of the present application further provides an electronic payment system, where the electronic payment system may include the message display apparatus in the embodiment described in fig. 14 and 15 and the message processing apparatus in the embodiment described in fig. 16 and 17, or the electronic payment system may also include the terminal device in the embodiment described in fig. 18 and the server in the embodiment described in fig. 19.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.
Claims (15)
1. A method of message presentation, comprising:
acquiring a message viewing instruction, wherein the message viewing instruction carries a group identifier corresponding to a target group;
acquiring a mode starting instruction, and sending the mode starting instruction to a server so that the server determines a first message subset from a first message set to be displayed according to the mode starting instruction, wherein the first message set to be displayed comprises M messages to be displayed, the first message subset comprises N messages to be displayed in the target group, N is an integer greater than or equal to 1, M is an integer greater than or equal to 1 and greater than N;
acquiring the number of messages to be displayed in the first message subset and the expected browsing duration;
acquiring a second message subset from the first message set to be displayed, wherein the second message subset comprises (M-N) messages to be displayed in the first message set to be displayed;
in a group session interface corresponding to the group identifier, displaying the expected browsing duration corresponding to the first message subset and the number of messages to be displayed in the first message subset through a sub-page independent of the display of the group session interface so as to prominently display the first message subset;
displaying the first message subset in a group session interface corresponding to the group identifier by adopting a first page turning speed;
and displaying a second message subset in a group session interface corresponding to the group identifier by adopting a second page turning speed, wherein the second page turning speed is greater than the first page turning speed.
2. The method of claim 1,
the first subset of messages is sent for the first user in the target group.
3. The method of claim 1,
the mode starting instruction carries the group identifier, the target user identifier and mode starting time information, and the mode starting time information is used for determining a first message to be displayed in the first message subset; each message to be displayed in the first message subset has a first identifier, the first identifier has a corresponding relation with the target user identifier, and the first identifier is used for indicating a message which can be highlighted;
the determining a first message subset from the first message set to be displayed according to the mode opening instruction includes:
acquiring an identifier of each message to be displayed in the first message set to be displayed;
determining the N messages to be displayed corresponding to the first identifier according to the identifier of each message to be displayed;
and determining the first message subset according to the N messages to be displayed.
4. The method of claim 3, wherein after determining the first subset of messages from the first set of messages to be presented according to the mode on instruction, the method further comprises:
acquiring target key information through a key information input interface;
determining a key message subset from the first message subset according to the target key information;
highlighting the first subset of messages in a group session interface corresponding to the group identifier, including:
and highlighting the key message subset in a group session interface corresponding to the group identification.
5. The method of claim 3, wherein after the obtaining the mode splash command, the method further comprises:
acquiring a first user marking instruction, wherein the first user marking instruction carries a first user identifier;
and sending the first user marking instruction to the server so as to enable the server to determine a first user from the target group according to the first user marking instruction, wherein the first user identification corresponds to the first identification.
6. The method of claim 3, wherein after the obtaining the mode splash command, the method further comprises:
acquiring a second user marking instruction, wherein the second user marking instruction carries a second user identifier;
and sending the second user marking instruction to the server so that the server determines a second user from the target group according to the second user marking instruction, wherein the second user identification corresponds to a second identification, the second identification is used for indicating a message which can be ignored for display, and the second user is a user which is different from the first user in the target group.
7. The method of claim 1, wherein after the highlighting the first subset of messages, the method further comprises:
acquiring a mode closing instruction, wherein the mode closing instruction carries the group identifier, the target user identifier and mode closing time information;
sending the mode closing instruction to a server to enable the server to determine a second message set to be displayed according to the mode closing instruction, wherein the second message set to be displayed comprises at least one message;
receiving a second message set to be displayed sent by the server;
and displaying the second message set to be displayed.
8. The method according to any one of claims 1 to 7,
the highlighting the first subset of messages, comprising:
displaying the first subset of messages through a sub-page displayed independently of a group conversation interface;
or,
displaying the first message subset through a first preset area, wherein the first preset area belongs to an area determined in advance from the group session interface;
or,
and displaying the first message subset through the first preset area, and displaying the second message subset through the second preset area, wherein the first preset area and the second preset area both belong to areas predetermined from the group session interface.
9. The method of claim 8, wherein after determining the first subset of messages from the first set of messages to be presented according to the mode on instruction, the method further comprises:
acquiring the expected browsing duration corresponding to the first message subset and the number of messages to be displayed in the first message subset;
when the highlighting shows the first subset of messages, the method further comprises:
and displaying the expected browsing duration corresponding to the first message subset and the number of messages to be displayed in the first message subset.
10. A method of message processing, comprising:
receiving a message viewing instruction sent by a client, wherein the message viewing instruction carries a group identifier corresponding to a target group and a target user identifier corresponding to a target user;
receiving a mode opening instruction sent by a client, sending a message set to be displayed to the client according to the mode opening instruction, so that the client acquires a first message subset according to the message set to be displayed, acquires a second message subset from the first message set to be displayed, and acquires the number of messages to be displayed and the predicted browsing duration in the first message subset, so that the client displays the predicted browsing duration corresponding to the first message subset and the number of messages to be displayed in the first message subset through a subpage which is independent of the group conversation interface display in order to highlight the first message subset in the group conversation interface corresponding to the group identifier, displays the first message subset in the group conversation interface corresponding to the group identifier by adopting a first page turning speed, and displays the first message subset in the group conversation interface corresponding to the group identifier, displaying a second message subset at a second page turning speed, wherein the second page turning speed is greater than the first page turning speed, the first message subset is sent by a first user in the target group, the message set to be displayed includes M messages to be displayed in the target group, the first message subset includes N messages to be displayed in the message set to be displayed, the first message subset and the target user identifier have a corresponding relationship, N is an integer greater than or equal to 1 and less than M, M is an integer greater than or equal to 1, and the second message subset includes (M-N) messages to be displayed in the first message set to be displayed.
11. A message presentation device, comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a message viewing instruction, and the message viewing instruction carries a group identifier corresponding to a target group; acquiring a mode starting instruction, and sending the mode starting instruction to a server so that the server determines a first message subset from a first message set to be displayed according to the mode starting instruction, wherein the first message set to be displayed comprises M messages to be displayed, the first message subset comprises N messages to be displayed in the target group, N is an integer greater than or equal to 1, M is an integer greater than or equal to 1 and greater than N;
a determining unit, configured to determine a first message subset according to the mode opening instruction acquired by the acquiring unit, acquire the number of messages to be displayed in the first message subset and a predicted browsing duration, and acquire a second message subset from the first message subset to be displayed, where the second message subset includes (M-N) messages to be displayed in the first message subset;
the display unit is configured to display, in a group session interface corresponding to the group identifier, the expected browsing duration corresponding to a first message subset and the number of messages to be displayed in the first message subset through a subpage displayed independently of the group session interface, so as to highlight the first message subset determined by the determination unit, display, in the group session interface corresponding to the group identifier, the first message subset with a first page turning speed, and display, in the group session interface corresponding to the group identifier, a second message subset with a second page turning speed, where the second page turning speed is greater than the first page turning speed.
12. A message processing apparatus, comprising:
the system comprises a receiving unit, a sending unit and a receiving unit, wherein the receiving unit is used for receiving a message checking instruction sent by a client, and the message checking instruction carries a group identifier corresponding to a target group and a target user identifier corresponding to a target user; receiving a mode starting instruction sent by a client;
a sending unit, configured to send a message set to be displayed to the client according to a mode opening instruction received by the receiving unit, so that the client obtains a first message subset according to the message set to be displayed, obtains a second message subset from the first message set to be displayed, so that the client displays the first message subset, displays the first message subset in a group session interface corresponding to the group identifier with a first page turning speed, and displays the second message subset in a group session interface corresponding to the group identifier with a second page turning speed, where the second page turning speed is greater than the first page turning speed, where the first message subset is sent by a first user in the target group, and the message set to be displayed includes M messages to be displayed in the target group, the first message subset comprises N messages to be shown in the message set to be shown, the first message subset and the target user identifier have a corresponding relationship, N is an integer which is greater than or equal to 1 and smaller than M, M is an integer which is greater than or equal to 1, and the second message subset comprises (M-N) messages to be shown in the first message set to be shown.
13. A terminal device, comprising: a memory, a transceiver, a processor, and a bus system;
wherein the memory is used for storing programs;
the processor is used for executing the program in the memory and comprises the following steps:
acquiring a message viewing instruction, wherein the message viewing instruction carries a group identifier corresponding to a target group;
obtaining a mode starting instruction, and sending the mode starting instruction to a server so that the server starts from a first to-be-developed state according to the mode starting instruction
Acquiring the number of messages to be displayed and the expected browsing duration in a first message subset, and acquiring a second message subset from the first message subset to be displayed, wherein the first message subset to be displayed comprises M messages to be displayed, the first message subset comprises N messages to be displayed in the target group, N is an integer greater than or equal to 1, and the second message subset comprises (M-N) messages to be displayed in the first message subset;
displaying the expected browsing duration corresponding to a first message subset and the number of messages to be displayed in the first message subset through a subpage which is independent of a group session interface display in a group session interface corresponding to the group identifier to highlight the first message subset, displaying the first message subset in a first page turning speed in the group session interface corresponding to the group identifier, and displaying a second message subset in a second page turning speed in the group session interface corresponding to the group identifier, wherein the second page turning speed is greater than the first page turning speed;
the bus system is used for connecting the memory and the processor so as to enable the memory and the processor to communicate.
14. A server, comprising: a memory, a transceiver, a processor, and a bus system;
wherein the memory is used for storing programs;
the processor is used for executing the program in the memory and comprises the following steps:
receiving a message viewing instruction sent by a client, wherein the message viewing instruction carries a group identifier corresponding to a target group and a target user identifier corresponding to a target user;
receiving a mode opening instruction sent by a client, sending a message set to be displayed to the client according to the mode opening instruction, so that the client acquires a first message subset according to the message set to be displayed, acquires a second message subset from the first message set to be displayed, and obtains the number of messages to be displayed and the expected browsing duration in the first message subset, so that the client displays the expected browsing duration corresponding to the first message subset and the number of messages to be displayed in the first message subset through a subpage which is independent of the group session interface display in order to display the first message subset in the group session interface corresponding to the group identifier, displays the first message subset in the group session interface corresponding to the group identifier by adopting a first page turning speed, and displays the first message subset in the group session interface corresponding to the group identifier, displaying a second message subset at a second page turning speed, wherein the second page turning speed is higher than the first page turning speed, the first message subset is sent by a first user in the target group, the message set to be displayed comprises M messages to be displayed in the target group, the first message subset comprises N messages to be displayed in the message set to be displayed, the first message subset and the target user identifier have a corresponding relationship, N is an integer which is greater than or equal to 1 and smaller than M, M is an integer which is greater than or equal to 1, and the second message subset comprises (M-N) messages to be displayed in the first message set to be displayed;
the bus system is used for connecting the memory and the processor so as to enable the memory and the processor to communicate.
15. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of any one of claims 1-9 or 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910304761.9A CN110011907B (en) | 2019-04-16 | 2019-04-16 | Message display method, message processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910304761.9A CN110011907B (en) | 2019-04-16 | 2019-04-16 | Message display method, message processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110011907A CN110011907A (en) | 2019-07-12 |
CN110011907B true CN110011907B (en) | 2021-05-07 |
Family
ID=67172250
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910304761.9A Active CN110011907B (en) | 2019-04-16 | 2019-04-16 | Message display method, message processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110011907B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110442825B (en) * | 2019-08-13 | 2022-07-12 | 连尚(新昌)网络科技有限公司 | Method and apparatus for presenting information |
CN112583696B (en) * | 2019-09-30 | 2023-04-07 | 上海掌门科技有限公司 | Method and equipment for processing group session message |
CN110879737A (en) * | 2019-10-31 | 2020-03-13 | 维沃移动通信有限公司 | Notification message processing method and device, electronic equipment and storage medium |
CN111431794A (en) * | 2020-03-18 | 2020-07-17 | 郭庆涛 | Method and equipment for social group chat |
CN112099685B (en) * | 2020-09-04 | 2022-08-16 | 维沃移动通信有限公司 | Notification message display control method and device, electronic equipment and readable storage medium |
CN112714057B (en) * | 2020-12-22 | 2023-04-07 | 北京北信源软件股份有限公司 | Instant message processing method, device, equipment and storage medium |
CN115174507B (en) * | 2021-04-02 | 2023-10-27 | 北京字跳网络技术有限公司 | Instant messaging offline message processing method, client and server |
CN115037716B (en) * | 2021-07-23 | 2023-08-11 | 北京字跳网络技术有限公司 | Information processing method, device, terminal and storage medium |
CN115079884B (en) * | 2022-06-29 | 2024-07-23 | 北京字跳网络技术有限公司 | Session message display method, device, equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103401763A (en) * | 2013-07-30 | 2013-11-20 | 百度在线网络技术(北京)有限公司 | Method and device for receiving group message and method and device for processing group message |
CN104168174A (en) * | 2013-05-16 | 2014-11-26 | 阿里巴巴集团控股有限公司 | Method and apparatus for information transmission |
CN106453053A (en) * | 2016-10-18 | 2017-02-22 | 腾讯科技(深圳)有限公司 | Group message display method and device |
CN108509125A (en) * | 2018-03-28 | 2018-09-07 | 广东欧珀移动通信有限公司 | Method, apparatus, terminal and the computer readable storage medium of page turning |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9304665B2 (en) * | 2013-04-05 | 2016-04-05 | Yahoo! Inc. | Method and apparatus for facilitating message selection and organization |
CN104951546B (en) * | 2015-06-23 | 2020-01-14 | 网易传媒科技(北京)有限公司 | Method and device for subscribing message in instant messaging software |
CN105791097A (en) * | 2016-04-29 | 2016-07-20 | 北京小米移动软件有限公司 | Group message receiving and processing method, device and terminal thereof |
CN106230692A (en) * | 2016-07-28 | 2016-12-14 | 珠海市魅族科技有限公司 | A kind of method for information display and terminal |
CN108768823B (en) * | 2018-05-03 | 2022-03-04 | 上海掌门科技有限公司 | Method and equipment for processing message and displaying message |
CN108833260A (en) * | 2018-06-15 | 2018-11-16 | 奇酷互联网络科技(深圳)有限公司 | Group's message highlighting method, system, readable storage medium storing program for executing and intelligent terminal |
-
2019
- 2019-04-16 CN CN201910304761.9A patent/CN110011907B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104168174A (en) * | 2013-05-16 | 2014-11-26 | 阿里巴巴集团控股有限公司 | Method and apparatus for information transmission |
CN103401763A (en) * | 2013-07-30 | 2013-11-20 | 百度在线网络技术(北京)有限公司 | Method and device for receiving group message and method and device for processing group message |
CN106453053A (en) * | 2016-10-18 | 2017-02-22 | 腾讯科技(深圳)有限公司 | Group message display method and device |
CN108509125A (en) * | 2018-03-28 | 2018-09-07 | 广东欧珀移动通信有限公司 | Method, apparatus, terminal and the computer readable storage medium of page turning |
Also Published As
Publication number | Publication date |
---|---|
CN110011907A (en) | 2019-07-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110011907B (en) | Message display method, message processing method and device | |
US10917515B2 (en) | Method for switching applications in split screen mode, computer device and computer-readable storage medium | |
CN112291134B (en) | Information prompting method, device, equipment and storage medium | |
CN110168566B (en) | Method and terminal for recognizing screenshot characters | |
US10757245B2 (en) | Message display method, user terminal, and graphical user interface | |
US10673790B2 (en) | Method and terminal for displaying instant messaging message | |
CN108156508B (en) | Barrage information processing method and device, mobile terminal, server and system | |
CN106506321B (en) | Group message processing method and terminal device | |
CN106303070B (en) | notification message prompting method and device and mobile terminal | |
CN111602107B (en) | Display method and terminal during application quitting | |
EP3242447A1 (en) | Information recommendation management method, device and system | |
CN104598476A (en) | Message aggregation display method and information display method and relevant device | |
CN104965642B (en) | Drop-down list generation method and device | |
CN108475161A (en) | Display methods and terminal | |
JP2018506792A (en) | Method for displaying chat history records and apparatus for displaying chat history records | |
CN105095161B (en) | Method and device for displaying rich text information | |
CN108540649B (en) | Content display method and mobile terminal | |
WO2015043163A1 (en) | Method and apparatus for inputting account information | |
US20140372930A1 (en) | Method and device for displaying a list view through a sliding operation | |
JP6915074B2 (en) | Message notification method and terminal | |
CN107632985B (en) | Webpage preloading method and device | |
CN106934003B (en) | File processing method and mobile terminal | |
CN113242171B (en) | Method and related device for managing session messages | |
CN107104882A (en) | The method, device and mobile terminal of good friend's speech information are shown in social software | |
CN107332972B (en) | Method and device for automatically associating data and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |