CN115987928A - Message processing method and device - Google Patents

Message processing method and device Download PDF

Info

Publication number
CN115987928A
CN115987928A CN202211607659.4A CN202211607659A CN115987928A CN 115987928 A CN115987928 A CN 115987928A CN 202211607659 A CN202211607659 A CN 202211607659A CN 115987928 A CN115987928 A CN 115987928A
Authority
CN
China
Prior art keywords
interface
group
message
groups
topic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211607659.4A
Other languages
Chinese (zh)
Inventor
刘晓龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202211607659.4A priority Critical patent/CN115987928A/en
Publication of CN115987928A publication Critical patent/CN115987928A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a message processing method and a device, which belong to the technical field of communication, and the method comprises the following steps: under the condition that N groups respectively comprise first conversation messages belonging to a first topic, displaying a first interface, wherein the first interface comprises N identifications respectively corresponding to the N groups; receiving first input of a user to M first identifications in the first interface, wherein the N identifications comprise the M first identifications, one first identification corresponds to one first group, M and N are integers more than 1, and M is less than or equal to N; displaying a second interface in response to the first input, wherein the second interface includes the first session message in each of the first groups.

Description

Message processing method and device
Technical Field
The present application belongs to the field of communications technologies, and in particular, to a method and an apparatus for processing a message.
Background
In recent years, with the rapid development of computer technology, the types and functions of application programs (also called applications) are more and more abundant, which brings great convenience to the life and work of people.
At present, users often need to establish a communication group according to discussion topics, and in the communication process, due to the communication objects, communication details, confidentiality and the like, a plurality of chat groups are established based on one discussion topic. In the related art, when a user searches for related messages of the topic from a plurality of chat groups, problems of omission, confusion and difficulty in searching easily occur, and the efficiency of searching for the messages is low.
Disclosure of Invention
An object of the embodiments of the present application is to provide a message processing method and apparatus, an electronic device, and a storage medium, which can solve the problem of low efficiency in searching for a message.
In a first aspect, an embodiment of the present application provides a message processing method, where the method includes:
under the condition that N groups respectively comprise first conversation messages belonging to a first topic, displaying a first interface, wherein the first interface comprises N identifications respectively corresponding to the N groups;
receiving first input of a user to M first identifications in the first interface, wherein the N identifications comprise the M first identifications, one first identification corresponds to one first group, M and N are integers more than 1, and M is less than or equal to N;
displaying a second interface in response to the first input, wherein the second interface includes the first session message in each of the first groups.
In a second aspect, an embodiment of the present application provides a message processing apparatus, where the apparatus includes:
the first display module is used for displaying a first interface under the condition that N groups respectively comprise first session messages belonging to a first topic, wherein the first interface comprises N identifications respectively corresponding to the N groups;
a first receiving module, configured to receive a first input of a user to M first identifiers in the first interface, where the N identifiers include the M first identifiers, one first identifier corresponds to one first group, M and N are integers greater than 1, and M is not greater than N;
a second display module to display a second interface in response to the first input, wherein the second interface includes the first session message in each of the first groups.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor, implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product, stored on a storage medium, for execution by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, a first interface is displayed under the condition that each of N groups comprises a first session message belonging to a first topic, wherein the first interface comprises N identifications corresponding to the N groups respectively; receiving first input of a user to M first identifications in a first interface, wherein the N identifications comprise M first identifications, one first identification corresponds to one first group, M and N are integers more than 1, and M is less than or equal to N; in response to the first input, a second interface is displayed, wherein the second interface includes the first session messages in each of the first groups.
Therefore, in the embodiment of the application, when a plurality of groups discuss the same topic, a user can select part or all of the groups, and the conversation messages related to the topic in the selected groups are displayed in a centralized manner in one interface, so that the user can directly search in one interface when searching the conversation messages related to the topic, the problems of message dispersion and difficult search caused by too many groups are avoided, and the search efficiency of messages is improved.
Drawings
Fig. 1 is a flowchart of a message processing method according to an embodiment of the present application;
fig. 2 is an exemplary diagram of a message processing method provided in an embodiment of the present application;
fig. 3 is a second flowchart of a message processing method according to an embodiment of the present application;
fig. 4 is a second exemplary diagram of a message processing method according to an embodiment of the present application;
fig. 5 is a third flowchart of a message processing method according to an embodiment of the present application;
fig. 6 is a fourth flowchart of a message processing method according to an embodiment of the present application;
fig. 7 is a third exemplary diagram of a message processing method according to an embodiment of the present application;
fig. 8 is a fifth flowchart of a message processing method according to an embodiment of the present application;
fig. 9 is a block diagram illustrating a structure of a message processing apparatus according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 11 is a schematic hardware structure diagram of an electronic device implementing various embodiments of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
At present, a user often needs to establish a communication group according to a discussion topic in work, and in the communication process, a plurality of communication groups are often established based on one discussion topic because of communication objects, communication details, confidentiality and the like. It can be understood that, establishing a plurality of communication groups for the same discussion topic may have some problems, for example, too many communication groups may easily cause that a user cannot find a part of communication groups, thereby causing message omission; for another example, messages are scattered in different communication groups, which easily causes message confusion and difficulty in searching.
In order to solve the above technical problem, embodiments of the present application provide a message processing method and apparatus, which are convenient for a user to search for a message related to a topic, avoid the problems of message omission, confusion and difficulty in searching, and improve the efficiency of searching for a message.
The message processing method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
It should be noted that the message processing method provided in the embodiment of the present application is applicable to an electronic device, and in practical application, the electronic device may include: the mobile terminal includes a smart phone, a tablet computer, a personal digital assistant, and the like, which is not limited in the embodiment of the present application.
Fig. 1 is a flowchart of a message processing method provided in an embodiment of the present application, and as shown in fig. 1, the method may include the following steps: step 101, step 102 and step 103;
in step 101, a first interface is displayed when N groups each include a first session message belonging to a first topic, where the first interface includes N identifiers corresponding to the N groups, and N is an integer greater than 1.
In the embodiment of the present application, the first topic may be any topic, for example, a shopping topic, a dinner topic, a travel topic, a work topic, a learning topic, or the like.
It will be appreciated that the content of the first session message belonging to the first topic may be the same or different for different ones of the N groups. For example, for the topic of selecting the company building site, a plurality of groups are created, wherein the content of the first session message in one group is "i feel that it is better to build up to the seaside this year", the content of the first session message in the other group is "i feel that it is better to build up to climb mountain this year", the contents of the first session messages in the two groups are different, but the first session messages in the two groups are both related to the topic of selecting the company building site.
In some embodiments, the detection of related conversation messages for the first topic may be automatically triggered by the electronic device, the first interface being displayed upon detecting that the first conversation messages belonging to the first topic are included in each of the N groups; alternatively, the detection of related conversational messages for the first topic is manually triggered by the user, and the first interface is displayed in case it is detected that the first conversational messages belonging to the first topic are included in each of the N groups.
It can be understood that the N identifiers displayed in the first interface may be displayed in a random order, or may be ordered according to the sending time of the first session message, or according to the creation time of the group, or according to the number of the first session messages, for example, the identifier with the largest number of first session messages in the group is ranked first.
In step 102, a first input of a user to M first identifiers in a first interface is received, where N identifiers include M first identifiers, one first identifier corresponds to one first group, M is an integer greater than 1, and M is not greater than N.
In this application embodiment, the first input is used to select M first identifiers from N identifiers, where the first input may be a drag input, a click input, a voice input, or a specific gesture for the M first identifiers in the first interface, which may be specifically determined according to an actual use requirement, and this application embodiment does not limit this.
In this embodiment of the application, the specific gesture may be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure recognition gesture, a long-press gesture, an area change gesture, a double-press gesture, and a double-click gesture.
In step 103, in response to the first input, a second interface is displayed, wherein the second interface includes the first session messages in each of the first groups.
In the embodiment of the application, the first session messages in the M first groups are displayed in the second interface, so that the user can conveniently view the session messages related to the first topic in each first group. That is, only the conversation messages related to the first topic are displayed in the second interface, so that the irrelevant conversation messages are prevented from causing interference to the user.
In some embodiments, in order to facilitate the user to comb the messages, when the first session messages of the M first groups are displayed in the second interface, the first session messages may be displayed in the order of sending time of the session messages.
In some embodiments, to facilitate the user to intuitively understand the source of each first session message in the second interface, when the first session messages of the M first groups are displayed in the second interface, the session messages of different groups in the second interface correspond to different display modes.
Illustratively, the session messages of different first groups may be displayed in different display colors, different display textures, or different display fonts.
In addition, the user clicks any first session message in the second interface, and can trigger to jump to the group to which the first session message belongs to display the session message.
For convenience of understanding, the technical solution of the embodiment of the present application is illustrated below with reference to the exemplary diagram shown in fig. 2.
As shown in fig. 2, the electronic device 20 displays a first interface 21 when detecting that there are 4 groups, namely, group 1, group 2, group 3, and group 4, on the first topic, where the first interface 21 includes an identifier "group 1" of group 1, an identifier "group 2" of group 2, an identifier "group 3" of group 3, and an identifier "group 4" of group 4.
The user clicks the identifier "group 1" of group 1, the identifier "group 2" of group 2 and the identifier "group 3" of group 3 in the first interface 21, selects these 3 groups, and thus the first session message in the 3 groups is collectively displayed in the second interface 22. At this time, the second interface 22 includes the first session messages of the 3 groups displayed according to the message sending time sequence, and the first session messages of different groups correspond to different display textures.
Therefore, in the embodiment of the application, when a plurality of groups discuss the same topic, a user can select part or all of the groups, and the conversation messages related to the topic in the selected groups are displayed in a centralized manner in one interface, so that the user can directly search in one interface when searching the conversation messages related to the topic, the problems of message dispersion and difficult search caused by too many groups are avoided, and the search efficiency of messages is improved.
Fig. 3 is a second flowchart of a message processing method provided in this embodiment of the present application, for M first groups selected by a user, the first groups may be merged into one merged group to facilitate management of messages, as shown in fig. 3, the method may include the following steps: step 301, step 302, step 303 and step 304;
in step 301, a first interface is displayed when each of the N groups includes a first session message belonging to a first topic, where the first interface includes N identifiers corresponding to the N groups, and N is an integer greater than 1.
In step 302, a first input of the user to M first identifiers in the first interface is received, where N identifiers include M first identifiers, one first identifier corresponds to one first group, M is an integer greater than 1, and M is not greater than N.
The explanation and implementation of step 301 and step 302 in the embodiment of the present application may refer to the explanation and implementation of step 201 and step 202, and are not described herein again to avoid repetition.
In step 303, in response to the first input, the M first groups corresponding to the M first identifiers, respectively, are merged to obtain a merged group.
In the embodiment of the application, the M first groups may be combined to obtain one combined group, so that new session messages generated in the M subsequent first groups may be displayed in a session interface of the combined group, and a user may know the session messages related to the first topic in time.
In the embodiment of the present application, the name of the merged group may be automatically generated by the electronic device when merging, for example, "the merged group of the first topic", or may also be named by the user in a customized manner.
In the embodiment of the present application, the members of the merge group are a set of M members of the first group.
In some embodiments, the merge mode of the M first groups is a local mode, that is, the display effect of the merge group is only visible to the currently operating user and is invisible to other users in the M first groups, that is, the merge group is not displayed on the electronic device by the other members.
Specifically, when the currently operating user is a member user in the M first groups, the group is merged in the local mode.
In some embodiments, the merge mode of the M first groups is an online mode, that is, the display effect of the merge group is visible not only to the currently operating user, but also to other users in the M first groups, that is, the merge group is displayed on the electronic devices of other members. Accordingly, after the step 302, the following steps can be added: step 305;
in step 305, the merge information of the merged group is sent to the server, and the server is instructed to synchronize the merged group to the electronic devices corresponding to the members of the M first groups.
In an example, if the user currently operated by the electronic device is the administrator user of the M first groups, the merge operation for the M first groups is valid for all member users of the M first groups, and the electronic device corresponding to all member users in the merge group displays the merge group.
Therefore, in the embodiment of the application, the merged group obtained by merging can be synchronously shared with the electronic devices corresponding to the member users in the M first groups, so that information sharing is facilitated.
In step 304, a second interface is displayed, wherein the second interface is a conversation interface of the merged groups, and the second interface comprises the first conversation messages in each first group.
For ease of understanding, the technical solution of the embodiment of the present application is illustrated below with reference to the exemplary diagram shown in fig. 4.
As shown in fig. 4, in a case that it is detected that there are 4 groups, i.e., group 1, group 2, group 3, and group 4, respectively, with respect to the first topic, the electronic device 40 displays a first interface 41, where the first interface 41 includes an identifier "group 1" of group 1, an identifier "group 2" of group 2, an identifier "group 3" of group 3, and an identifier "group 4" of group 4.
The user clicks the identifier "group 1" of group 1, the identifier "group 2" of group 2, and the identifier "group 3" of group 3 in the first interface 41, and selects and merges the 3 groups into one merged group 42. The session interface of the merge group 42 is the second interface 43, the second interface 43 includes the first session messages of the 3 groups displayed according to the time sequence, and the first session messages of different groups correspond to different display textures.
Therefore, in the embodiment of the application, the selected groups can be combined to obtain a combined group, so that new session messages related to the first topic generated in the group can be continuously displayed in the session interface of the combined group, and a user can conveniently know the session messages related to the first topic in time.
Fig. 5 is a third flowchart of a message processing method provided in an embodiment of the present application, in the embodiment of the present application, some groups that do not contribute to topic discussion in the merged group may be removed at any time, as shown in fig. 5, the method may include the following steps: step 501, step 502, step 503, step 504 and step 505;
in step 501, a first interface is displayed when each of N groups includes a first session message belonging to a first topic, where the first interface includes N identifiers corresponding to the N groups, and N is an integer greater than 1.
In step 502, a first input of a user to M first identifiers in a first interface is received, where N identifiers include M first identifiers, one first identifier corresponds to one first group, M is an integer greater than 1, and M is not greater than N.
The explanation and implementation of step 501 and step 502 in the embodiment of the present application may refer to the explanation and implementation of step 201 and step 202, and are not described herein again to avoid repetition.
In step 503, in response to the first input, the M first groups corresponding to the M first identifiers are merged to obtain a merged group.
In step 504, a second interface is displayed, wherein the second interface is a conversation interface of the merged groups, and the second interface comprises the first conversation messages in each first group.
The explanation and implementation of step 503 and step 504 in the embodiment of the present application may refer to the explanation and implementation of step 303 and step 304, and are not described herein again to avoid repetition.
In step 505, in the case that it is detected that the occurrence frequency of the session messages of the target group in the second interface is lower than the first threshold, the target group is removed from the merged group, wherein the M first groups include the target group.
In the embodiment of the present application, the frequency of occurrence may be understood as: the number of times a conversation message occurs over a period of time. The first threshold is a set value.
In the embodiment of the present application, when the user no longer uses the merged group, the merged group may be disassembled into the originally dispersed M first groups.
It can be understood that the target group is one or more of the M first groups, and the frequency of occurrence of the conversation messages of the target group in the second interface is lower than the first threshold, that is, it is considered that the first topic has not been discussed for a long time in the target group, and the first conversation message related to the first topic has not occurred, so that the target group can be removed from the merged group.
Therefore, in the embodiment of the application, when a group does not discuss topics corresponding to the merged group for a long time, the group is identified as an invalid group under the topic, so that the group is timely moved out of the merged group, interference to a user is avoided, further, semantic recognition of session messages in the group is not needed, and the computational burden of the electronic device is reduced.
Fig. 6 is a fourth flowchart of a message processing method provided in an embodiment of the present application, where in the embodiment of the present application, when a message is sent in a session interface of a merged group, the user may select a receiving group of the message, and as shown in fig. 6, the method may include the following steps: step 601, step 602, step 603, step 604 and step 605;
in step 601, a first interface is displayed when each of the N groups includes a first session message belonging to a first topic, where the first interface includes N identifiers corresponding to the N groups, and N is an integer greater than 1.
In step 602, a first input of a user to M first identifiers in a first interface is received, where N identifiers include M first identifiers, one first identifier corresponds to one first group, M is an integer greater than 1, and M is not greater than N.
The explanation and implementation of step 601 and step 602 in the embodiment of the present application may refer to the explanation and implementation of step 201 and step 202, and are not described herein again to avoid repetition.
In step 603, in response to the first input, M first groups corresponding to the M first identifiers, respectively, are merged to obtain a merged group.
In step 604, a second interface is displayed, wherein the second interface is a conversation interface of the merged groups, and the second interface comprises the first conversation messages in each first group.
The explanation and implementation of step 603 and step 604 in the embodiment of the present application may refer to the explanation and implementation of step 303 and step 304, and are not described herein again to avoid repetition.
In step 605, in a case that it is detected that there is a first message to be sent in the second interface, a first control is displayed, where the first control is used to select a first receiving group of the first message, and the first receiving group includes all or part of the M first groups.
It is to be understood that the first message may be a message input by the user at an input area of the second interface, and the first message may be discussion content of the user for the first topic.
Since the merge group includes the users in the M first groups, directly sending the first message is seen by all the users in the M first groups. Thus, if the first message is the user's reply to a certain session message, or the user wishes the first message to be seen only by a portion of the first group members, a selection of the receiving group for the first message may be made.
It is to be appreciated that the first control is for the user to select the first receiving group to which the first message corresponds.
Specifically, the first control may be multiple, and one first control corresponds to one receiving group; or, after the user operates the first control, a floating window is displayed, and a plurality of selectable groups are displayed in the floating window.
In step 606, a second input to the first control from the user is received, and in response to the second input, the first message is sent to the first receiving group.
It will be appreciated that the first control is used to select a portion of the group, and thus the second input to the first control by the user is a determination of the first group of recipients. So that only members of the first receiving group will receive the first message after sending the first message.
In one example, as shown in fig. 7, the session interface of the merged group displayed on the electronic device 70 is the second interface 71, and when it is detected that the user inputs the first message in the input area of the second interface 71, the first control 72 is displayed. The user clicks the first control 72, a window 73 is displayed, the window 73 includes identifiers of a plurality of selectable groups, which are identifiers corresponding to the group 1, the group 2, and the group 3, respectively, the user clicks the identifier of one or more groups in the window 73 to select a first receiving group, and the electronic device 70 sends the first message to the first receiving group selected by the user.
In addition, in the embodiment of the application, when searching the group chat records, the user can set the search in the M groups, and also can set the search in the merged group.
Therefore, in the embodiment of the application, when the user sends the message in the merged group, the first control for selecting the receiving object of the message can be provided for the user, so that the user can conveniently select the receiving object of the message, the user can select the receiving object of the message according to the own preference or actual requirement, the diversified requirements of the user are met, and the privacy and the safety of the information are ensured.
Fig. 8 is a fifth flowchart of a message processing method provided in an embodiment of the present application, and as shown in fig. 8, in the embodiment of the present application, when a message is sent in a conversation interface of a merged group, a receiving group of the message may be selected according to a relationship between the message and a first topic, where the method may include the following steps: step 801, step 802, step 803, step 804, step 805, step 806, and step 807;
in step 801, a first interface is displayed when N groups each include a first session message belonging to a first topic, where the first interface includes N identifiers corresponding to the N groups, and N is an integer greater than 1.
In step 802, a first input of a user to M first identifiers in a first interface is received, where N identifiers include M first identifiers, one first identifier corresponds to one first group, M is an integer greater than 1, and M is not greater than N.
The explanation and implementation of step 801 and step 802 in the embodiment of the present application may refer to the explanation and implementation of step 201 and step 202, and are not described herein again to avoid repetition.
In step 803, in response to the first input, the M first groups corresponding to the M first identifiers, respectively, are merged to obtain a merged group.
In step 804, a second interface is displayed, wherein the second interface is a conversation interface of the merged groups, and the second interface comprises the first conversation messages in each first group.
The explanation and implementation of step 803 and step 804 in the embodiment of the present application may refer to the explanation and implementation of step 303 and step 304, and are not described herein again to avoid repetition.
In step 805, in the case that it is detected that the second message to be sent exists in the second interface, the content of the second message is acquired.
It is to be understood that the second message may be a message input by the user at an input area of the second interface, wherein the second message may be discussion content of the user with respect to the first topic, or the second message may be content of the user unrelated to the first topic.
In the embodiment of the present application, the second receiving group of the second message may be determined according to the relationship between the content of the second message and the first topic.
In step 806, in case the content of the second message is not related to the first topic, the second message is sent to a second receiving group and the second message is not displayed in the second interface, wherein the second receiving group is a group selected by the user from the M first groups.
It can be understood that the content of the second message is not related to the first topic, that is, the second message is considered not to be seen by all users in the merged group, at this time, the second message is not displayed on the conversation interface of the merged group, the user selects the second receiving group of the second message, after the second receiving group is determined, the second message is sent to the second receiving group, and at this time, the second message is displayed on the conversation interface of the second receiving group.
In some embodiments, in the case that the content of the second message is unrelated to the first topic, a second control may be displayed for the user to select a second receiving group to which the second message corresponds.
In particular, the second control may be plural, one second control corresponding to one receiving group.
In step 807, in the case where the content of the second message is related to the first topic, the second message is sent to the M first groups and displayed in the second interface.
It can be understood that the content of the second message is related to the first topic, that is, the second message is deemed to need to be seen by all users in the merged group, at this time, the second message is sent to each first group in the merged group, and the second message is displayed on the conversation interface of the merged group.
It will be appreciated that for a second message related to the first topic, the second message is visible to all member users in the merged group, whereas for a second message unrelated to the first topic, the user may choose to send the second message only to a portion of the group, i.e., the second message is visible only to member users in the group selected by the user.
Therefore, in the embodiment of the application, when a user sends a message in a merged group, a receiving object of the message can be selected according to the relation between the content of the message and a first topic, if the content of the message is related to the first topic, all member users in the merged group can be seen, and if the content of the message is not related to the first topic, the member users of a part of groups selected by the user can be seen, so that the privacy of the message can be ensured to a certain degree under the condition that the content of the same topic is conveniently searched and shared.
It should be noted that the technical solution of the present application can be applied to merge display of session messages of multiple groups, and can also be applied to merge display of different discussion posts of different topics such as forums and posts, and the implementation manner is similar, and details are not repeated here.
In the message processing method provided by the embodiment of the present application, the execution subject may be a message processing apparatus. The message processing apparatus provided in the embodiment of the present application is described with an example in which a message processing apparatus executes a message processing method.
Fig. 9 is a block diagram of a message processing apparatus according to an embodiment of the present application, and as shown in fig. 9, the message processing apparatus 900 may include: a first display module 901, a first receiving module 902 and a second display module 903;
a first display module 901, configured to display a first interface when each of N groups includes a first session message belonging to a first topic, where the first interface includes N identifiers corresponding to the N groups, respectively;
a first receiving module 902, configured to receive a first input of a user to M first identifiers in the first interface, where the N identifiers include the M first identifiers, one first identifier corresponds to one first group, M and N are integers greater than 1, and M is not greater than N;
a second display module 903, configured to display a second interface in response to the first input, where the second interface includes the first session message in each of the first groups.
Therefore, in the embodiment of the application, when a plurality of groups discuss the same topic, a user can select part or all of the groups, and the conversation messages related to the topic in the selected groups are displayed in a centralized manner in one interface, so that the user can directly search in one interface when searching the conversation messages related to the topic, the problems of message dispersion and difficult search caused by too many groups are avoided, and the search efficiency of messages is improved.
Optionally, as an embodiment, the message processing apparatus 900 may further include:
and a merging module, configured to, in response to the first input, merge M first groups corresponding to the M first identifiers, respectively, to obtain a merged group, where the second interface is a session interface of the merged group.
Optionally, as an embodiment, the message processing apparatus 900 may further include:
a removing module, configured to remove a target group from the merged group if it is detected that a frequency of occurrence of session messages of the target group in the second interface is lower than a first threshold, where the M first groups include the target group.
Optionally, as an embodiment, the message processing apparatus 900 may further include:
a third display module, configured to display a first control when it is detected that a first message to be sent exists in the second interface, where the first control is used to select a first receiving group of the first message, and the first receiving group includes all or part of the M first groups;
the second receiving module is used for receiving a second input of the first control by the user;
a first sending module to send the first message to the first receiving group in response to the second input.
Optionally, as an embodiment, the message processing apparatus 900 may further include:
the acquisition module is used for acquiring the content of a second message to be sent when the second message to be sent is detected to exist in the second interface;
a second sending module, configured to send the second message to a second receiving group without displaying the second message in the second interface if the content of the second message is irrelevant to the first topic, where the second receiving group is a group selected by a user from the M first groups; alternatively, the first and second liquid crystal display panels may be,
a third sending module, configured to send the second message to the M first groups and display the second message in the second interface if the content of the second message is related to the first topic.
Optionally, as an embodiment, the message processing apparatus 900 may further include:
and the fourth sending module is used for sending the merging information of the merging group to a server and instructing the server to synchronize the merging group to the electronic equipment corresponding to the members of the M first groups.
Optionally, as an embodiment, different groups of session messages in the second interface correspond to different display manners.
The message processing apparatus in the embodiment of the present application may be an electronic device, or may be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (Network Attached Storage, NAS), a personal computer (NAS), a Television (TV), an assistant, a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The message processing apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The message processing apparatus provided in the embodiment of the present application can implement each process implemented by the method embodiments in fig. 1 to fig. 8, and is not described here again to avoid repetition.
Optionally, as shown in fig. 10, an electronic device 1000 is further provided in this embodiment of the present application, and includes a processor 1001 and a memory 1002, where the memory 1002 stores a program or an instruction that can be executed on the processor 1001, and when the program or the instruction is executed by the processor 1001, the steps of the foregoing message processing method embodiment are implemented, and the same technical effects can be achieved, and are not described again here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 11 is a schematic hardware structure diagram of an electronic device implementing various embodiments of the present application.
The electronic device 1100 includes, but is not limited to: radio frequency unit 1101, network module 1102, audio output unit 1103, input unit 1104, sensor 1105, display unit 1106, user input unit 1107, interface unit 1108, memory 1109, and processor 1110.
Those skilled in the art will appreciate that the electronic device 1100 may further comprise a power supply (e.g., a battery) for supplying power to the various components, and the power supply may be logically connected to the processor 1110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 11 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
In one embodiment, the display unit 1106 is configured to display a first interface if each of N groups includes a first session message belonging to a first topic, where the first interface includes N identifiers corresponding to the N groups, respectively;
a user input unit 1107, configured to receive a first input of M first identifiers in the first interface from a user, where the N identifiers include the M first identifiers, one first identifier corresponds to one first group, M and N are both integers greater than 1, and M is not greater than N;
a display unit 1106, further configured to display a second interface in response to the first input, wherein the second interface includes the first session message in each of the first groups.
Therefore, in the embodiment of the application, when a plurality of groups discuss the same topic, the user can select part or all of the groups, and the conversation messages related to the topic in the selected groups are displayed in a centralized manner in one interface, so that the user can directly search in one interface when searching the conversation messages related to the topic, the problems of message dispersion and difficulty in searching due to excessive groups are avoided, and the efficiency of searching for messages is improved.
Optionally, as an embodiment, the processor 1110 is configured to, in response to the first input, merge M first groups corresponding to the M first identifiers, respectively, to obtain a merged group, where the second interface is a session interface of the merged group.
Optionally, as an embodiment, the processor 1110 is further configured to, in a case that it is detected that the frequency of occurrence of session messages of a target group in the second interface is lower than a first threshold, remove the target group from the merged group, where the M first groups include the target group.
Optionally, as an embodiment, the display unit 1106 is further configured to display a first control when it is detected that a first message to be sent exists in the second interface, where the first control is used to select a first receiving group of the first message, and the first receiving group includes all or part of the M first groups;
the user input unit 1107 is further configured to receive a second input of the first control from the user;
processor 1110 is further configured to send the first message to the first receive group in response to the second input.
Optionally, as an embodiment, the processor 1110 is further configured to, when it is detected that a second message to be sent exists in the second interface, obtain content of the second message;
if the content of the second message is irrelevant to the first topic, sending the second message to a second receiving group, and not displaying the second message in the second interface, wherein the second receiving group is a group selected by a user from the M first groups;
or, in the event that the content of the second message is related to the first topic, sending the second message to the M first groups and displaying the second message in the second interface.
Optionally, as an embodiment, the processor 1110 is further configured to send merging information of the merged group to a server, and instruct the server to synchronize the merged group to electronic devices corresponding to the members of the M first groups.
Optionally, as an embodiment, different groups of session messages in the second interface correspond to different display manners.
It should be understood that in the embodiment of the present application, the input Unit 1104 may include a Graphics Processing Unit (GPU) 11041 and a microphone 11042, and the Graphics processor 11041 processes image data of still pictures or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1106 may include a display panel 11061, and the display panel 11061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1107 includes at least one of a touch panel 11071 and other input devices 11072. The touch panel 11071 is also referred to as a touch screen. The touch panel 11071 may include two portions of a touch detection device and a touch controller. Other input devices 11072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
The memory 1109 may be used to store software programs as well as various data. The memory 1109 may mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area may store an operating system, an application program or instruction (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 1109 may include volatile memory or nonvolatile memory, or the memory 1109 may include both volatile and nonvolatile memory. The non-volatile memory may be a Read-only memory (ROM), a programmable Read-only memory (PROM), an erasable programmable Read-only memory (erasabprom, EPROM), an electrically erasable programmable Read-only memory (EEPROM), or a flash memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). The memory 1109 in the embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
Processor 1110 may include one or more processing units; optionally, the processor 1110 integrates an application processor, which primarily handles operations involving the operating system, user interface, and applications, etc., and a modem processor, which primarily handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into processor 1110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned message processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read only memory ROM, a random access memory RAM, a magnetic or optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the foregoing message processing method embodiment, and can achieve the same technical effect, and is not described here again to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the foregoing message processing method embodiments, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a component of' ...does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (13)

1. A method of message processing, the method comprising:
under the condition that N groups respectively comprise first conversation messages belonging to a first topic, displaying a first interface, wherein the first interface comprises N identifications respectively corresponding to the N groups;
receiving first input of a user to M first identifications in the first interface, wherein the N identifications comprise the M first identifications, one first identification corresponds to one first group, M and N are integers more than 1, and M is less than or equal to N;
displaying a second interface in response to the first input, wherein the second interface includes the first session message in each of the first groups.
2. The method of claim 1, wherein prior to displaying the second interface, the method further comprises:
and responding to the first input, and combining the M first groups corresponding to the M first identifiers respectively to obtain a combined group, wherein the second interface is a session interface of the combined group.
3. The method of claim 2, wherein after displaying the second interface, the method further comprises:
removing a target group from the merged group in the case that the occurrence frequency of conversation messages of the target group in the second interface is detected to be lower than a first threshold, wherein the M first groups comprise the target group.
4. The method of claim 2, wherein after displaying the second interface, the method further comprises:
displaying a first control under the condition that a first message to be sent is detected to exist in the second interface, wherein the first control is used for selecting a first receiving group of the first message, and the first receiving group comprises all or part of the M first groups;
receiving a second input of the first control by a user;
in response to the second input, sending the first message to the first receiving group.
5. The method of claim 2, wherein after displaying the second interface, the method further comprises:
under the condition that a second message to be sent is detected to exist in the second interface, obtaining the content of the second message;
sending the second message to a second receiving group without displaying the second message in the second interface if the content of the second message is irrelevant to the first topic, wherein the second receiving group is a group selected by a user from the M first groups;
or, in the event that the content of the second message is related to the first topic, sending the second message to the M first groups and displaying the second message in the second interface.
6. The method according to claim 2, wherein after the combining the M first groups corresponding to the M first identifiers, respectively, to obtain a combined group, the method further comprises:
and sending the merging information of the merging group to a server, and instructing the server to synchronize the merging group to the electronic equipment corresponding to the members of the M first groups.
7. The method of claim 1, wherein different groups of session messages in the second interface correspond to different display modes.
8. A message processing apparatus, characterized in that the apparatus comprises:
the first display module is used for displaying a first interface under the condition that N groups respectively comprise first session messages belonging to a first topic, wherein the first interface comprises N identifications respectively corresponding to the N groups;
a first receiving module, configured to receive a first input of a user to M first identifiers in the first interface, where the N identifiers include the M first identifiers, one first identifier corresponds to one first group, M and N are integers greater than 1, and M is not greater than N;
a second display module to display a second interface in response to the first input, wherein the second interface includes the first session message in each of the first groups.
9. The apparatus of claim 8, further comprising:
and a merging module, configured to, in response to the first input, merge M first groups corresponding to the M first identifiers, respectively, to obtain a merged group, where the second interface is a session interface of the merged group.
10. The apparatus of claim 9, further comprising:
a removing module, configured to remove a target group from the merged group if it is detected that a frequency of occurrence of session messages of the target group in the second interface is lower than a first threshold, where the M first groups include the target group.
11. The apparatus of claim 9, further comprising:
a third display module, configured to display a first control when it is detected that a first message to be sent exists in the second interface, where the first control is used to select a first receiving group of the first message, and the first receiving group includes all or part of the M first groups;
the second receiving module is used for receiving a second input of the first control by the user;
a first sending module to send the first message to the first receiving group in response to the second input.
12. The apparatus of claim 9, further comprising:
the acquisition module is used for acquiring the content of a second message to be sent when the second message to be sent is detected to exist in the second interface;
a second sending module, configured to send the second message to a second receiving group without displaying the second message in the second interface if the content of the second message is irrelevant to the first topic, where the second receiving group is a group selected by a user from the M first groups; alternatively, the first and second electrodes may be,
a third sending module, configured to send the second message to the M first groups and display the second message in the second interface if the content of the second message is related to the first topic.
13. The apparatus of claim 9, further comprising:
and the fourth sending module is used for sending the merging information of the merging group to a server and instructing the server to synchronize the merging group to the electronic equipment corresponding to the members of the M first groups.
CN202211607659.4A 2022-12-14 2022-12-14 Message processing method and device Pending CN115987928A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211607659.4A CN115987928A (en) 2022-12-14 2022-12-14 Message processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211607659.4A CN115987928A (en) 2022-12-14 2022-12-14 Message processing method and device

Publications (1)

Publication Number Publication Date
CN115987928A true CN115987928A (en) 2023-04-18

Family

ID=85969224

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211607659.4A Pending CN115987928A (en) 2022-12-14 2022-12-14 Message processing method and device

Country Status (1)

Country Link
CN (1) CN115987928A (en)

Similar Documents

Publication Publication Date Title
CN111984115A (en) Message sending method and device and electronic equipment
CN111884908B (en) Contact person identification display method and device and electronic equipment
CN112817676B (en) Information processing method and electronic device
CN113794795B (en) Information sharing method and device, electronic equipment and readable storage medium
CN113504859A (en) Transmission method and device
CN114385049A (en) Message processing method, device, equipment and storage medium
CN112260937A (en) Message processing method and device, electronic equipment and storage medium
CN112162803A (en) Message display method and device and electronic equipment
CN114327088A (en) Message sending method, device, electronic equipment and medium
CN112866092B (en) Group chat creation method and group chat creation device
CN112399010B (en) Page display method and device and electronic equipment
CN114374663B (en) Message processing method and message processing device
CN115695355A (en) Data sharing method and device, electronic equipment and medium
CN115167721A (en) Display method and device of functional interface
CN112230817B (en) Link page display method and device and electronic equipment
CN111796736B (en) Application sharing method and device and electronic equipment
CN112818094A (en) Chat content processing method and device and electronic equipment
CN114564271A (en) Chat window information input method and device and electronic equipment
CN115987928A (en) Message processing method and device
CN113805756A (en) Interface display method and device, electronic equipment and storage medium
CN113010072A (en) Searching method and device, electronic equipment and readable storage medium
CN112596645A (en) Application identifier hiding method and device and electronic equipment
CN112437196B (en) Page display method and device and electronic equipment
CN117111811A (en) Screenshot method and device, electronic equipment and readable storage medium
CN117376299A (en) Group management method and device and electronic equipment

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