CN112612391A - Message processing method and device and electronic equipment - Google Patents

Message processing method and device and electronic equipment Download PDF

Info

Publication number
CN112612391A
CN112612391A CN202011581912.4A CN202011581912A CN112612391A CN 112612391 A CN112612391 A CN 112612391A CN 202011581912 A CN202011581912 A CN 202011581912A CN 112612391 A CN112612391 A CN 112612391A
Authority
CN
China
Prior art keywords
message
input
target
application
cluster
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.)
Granted
Application number
CN202011581912.4A
Other languages
Chinese (zh)
Other versions
CN112612391B (en
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 CN202011581912.4A priority Critical patent/CN112612391B/en
Publication of CN112612391A publication Critical patent/CN112612391A/en
Application granted granted Critical
Publication of CN112612391B publication Critical patent/CN112612391B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/35Clustering; Classification
    • G06F16/353Clustering; Classification into predefined classes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/35Clustering; Classification
    • G06F16/358Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/216Handling conversation history, e.g. grouping of messages in sessions or threads

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a message processing method, a message processing device and electronic equipment, and belongs to the technical field of communication. The method can solve the problem that the operation process of historical messages related to the same keyword in different conversations is complicated, and comprises the following steps: receiving a first input in a message clustering window of the electronic equipment, wherein the first input is an input for inputting a first keyword; in response to a first input, displaying M cluster identifications, wherein each cluster identification indicates a type of message segment, the type of message segment is one of M types of message segments related to a first keyword in a plurality of target conversations, and M is a positive integer; receiving a second input of a target cluster identifier in the M cluster identifiers; and responding to the second input, and executing the operation corresponding to the second input on the message segments indicated by the target cluster identification. The method and the device are suitable for processing the messages in the multiple conversations.

Description

Message processing method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a message processing method, a message processing device and electronic equipment.
Background
Currently, the electronic device may perform operations such as filtering, searching, and forwarding on the history messages in the session.
Illustratively, when a user needs to view a history message (e.g., a history message including a keyword) related to a keyword in a session (hereinafter referred to as session 1), the user may input the keyword in a search box of the session 1 to trigger the electronic device to screen the history message related to the keyword from a message record of the session 1, so that the user can view the history message related to the keyword in the session 1. At this time, if the user further needs to view the history messages related to the keyword in the conversation 2, the user may input the keyword in the search box of the conversation 2 to trigger the electronic device to screen the history messages related to the keyword from the message records of the conversation 2, so that the user can view the history messages related to the keyword in the conversation 2.
However, according to the above method, when a user requires the electronic device to operate on historical messages related to a certain keyword/keywords in different conversations, since the electronic device can operate on the historical messages related to the keywords in the message records of the conversations respectively after the keywords are input in each conversation, the operation process on the historical messages related to the same keyword in different conversations is complicated.
Disclosure of Invention
The embodiment of the application aims to provide a message processing method, a message processing device and electronic equipment, and can solve the problem that the operation process of historical messages related to the same keyword in different conversations is complex.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a message processing method, where the method includes: receiving a first input in a message clustering window of the electronic equipment, wherein the first input is an input for inputting a first keyword; in response to a first input, displaying M cluster identifications, wherein each cluster identification indicates a type of message segment, the type of message segment is one of M types of message segments related to a first keyword in a plurality of target conversations, and M is a positive integer; receiving a second input of a target cluster identifier in the M cluster identifiers; and responding to the second input, and executing the operation corresponding to the second input on the message segments indicated by the target cluster identification.
In a second aspect, an embodiment of the present application provides a message processing apparatus, which may include a receiving module, a display module, and an execution module; the receiving module is used for receiving a first input in a message clustering window of the electronic equipment, wherein the first input is an input for inputting a first keyword; a display module, configured to display, in response to the first input received by the receiving module, M cluster identifiers, where each cluster identifier indicates a type of message segment, and the type of message segment is one of M types of message segments related to the first keyword in the multiple target sessions, where M is a positive integer; the receiving module is further used for receiving a second input of a target cluster identifier in the M cluster identifiers; and the execution module is used for responding to the second input received by the receiving module and executing the operation corresponding to the second input on the message segment of the type indicated by the target cluster identifier.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where 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, embodiments of the present application provide 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 the embodiment of the application, a first input of inputting a first keyword in a message clustering window of an electronic device can be received; and in response to a first input, displaying M cluster identifications, each cluster identification indicating a type of message segment, the type of message segment being one of M types of message segments related to a first keyword in the plurality of target sessions, M being a positive integer; receiving a second input of a target cluster identifier in the M cluster identifiers; and responding to the second input, and executing the operation corresponding to the second input on the message segment of the type indicated by the target cluster identification. By the scheme, after the user inputs the keyword (for example, the first keyword) in the message clustering window of the electronic device, the M cluster identifications indicating the M types of message segments related to the keyword in the target conversations can be displayed, namely each cluster identification indicates one type of message segment in the M types of message segments, so that the user can trigger to execute the operation corresponding to the second input on the one type of message segment indicated by the target cluster identification by inputting the target cluster identification (for example, the second input) in the M cluster identifications, without inputting the keyword in each conversation by the user and sequentially triggering the operation on the historical messages related to the keyword in each conversation, thereby simplifying the process of operating the historical messages related to the same keyword in different conversations and improving the operation efficiency.
Drawings
Fig. 1 is a schematic diagram of a message processing method according to an embodiment of the present application;
fig. 2 is one of schematic interfaces of an application of a message processing method according to an embodiment of the present application;
fig. 3 is a second schematic interface diagram of an application of the message processing method according to the embodiment of the present application;
fig. 4 is a third schematic interface diagram of an application of the message processing method according to the embodiment of the present application;
fig. 5 is a fourth schematic interface diagram of an application of the message processing method according to the embodiment of the present application;
fig. 6 is a fifth schematic interface diagram of an application of the message processing method according to the embodiment of the present application;
FIG. 7 is a diagram of a message processing apparatus according to an embodiment of the present application;
FIG. 8 is a schematic diagram of an electronic device in an embodiment of the application;
fig. 9 is a hardware schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described 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, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
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 is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. 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.
The embodiment of the application provides a message processing method, a message processing device and electronic equipment, wherein the message processing method can be applied to the electronic equipment and can receive first input of a first keyword input in a message clustering window of the electronic equipment; and in response to a first input, displaying M cluster identifications, each cluster identification indicating a type of message segment, the type of message segment being one of M types of message segments related to a first keyword in the plurality of target sessions, M being a positive integer; receiving a second input of a target cluster identifier in the M cluster identifiers; and responding to the second input, and executing the operation corresponding to the second input on the message segment of the type indicated by the target cluster identification. By the scheme, after the user inputs the keyword (for example, the first keyword) in the message clustering window of the electronic device, the M cluster identifications indicating the M types of message segments related to the keyword in the target conversations can be displayed, namely each cluster identification indicates one type of message segment in the M types of message segments, so that the user can trigger to execute the operation corresponding to the second input on the one type of message segment indicated by the target cluster identification by inputting the target cluster identification (for example, the second input) in the M cluster identifications, without inputting the keyword in each conversation by the user and sequentially triggering the operation on the historical messages related to the keyword in each conversation, thereby simplifying the process of operating the historical messages related to the same keyword in different conversations and improving the operation efficiency.
The following describes in detail a message processing method, a message processing apparatus, and an electronic device provided in the embodiments of the present application with specific embodiments and application scenarios thereof in conjunction with the accompanying drawings.
The message processing method provided by the embodiment of the application can be applied to scenes of performing operations such as viewing, forwarding, deleting and the like on historical messages related to the same keyword in different conversation windows.
For example, assume that the user needs to forward history messages associated with a keyword in session 1 and session 2 to 3. When the session 1, the session 2 and the session 3 are sessions in the same application program, the user needs to find the history messages related to the keyword in the session 1 and the session 2 respectively, then manually select the content of the required messages, and forward the history messages related to the keyword in the session 1 and the session 2 to the session 3 in a mode of "forward one by one" or "merge and forward". When the session 1, the session 2 and the session 3 are sessions in different applications, the user needs to perform operations of searching, selecting and copying the history messages in the session 1 and the session 2, trigger an interface for displaying the session 3, and then paste the copied history messages in the session 3. In this way, since the history messages related to the same keyword in the session 1 and the session 2 can be forwarded to the session 3 only after the above-mentioned series of operations are performed, the operation process of operating the history messages related to the same keyword in different sessions is complicated, and the operation efficiency is low.
As shown in fig. 1, an embodiment of the present application provides a message processing method, which may be applied to an electronic device, and the message processing method may be implemented by steps 101 to 104 described below.
Step 101, a message processing apparatus receives a first input of a user in a message clustering window of an electronic device.
Wherein the first input is an input of a first keyword.
In the embodiment of the application, the message clustering window of the electronic device is system-level, that is, the message clustering window is a global processing window.
Optionally, in this embodiment of the present application, the message clustering window may include an input area.
For example, the input area may include an input box (e.g., the input box 22 shown in fig. 2 (b)).
Optionally, in this embodiment of the application, the first input may specifically be an input of a first keyword in an input box.
In practical implementation, the first input may also be any input capable of inputting the first keyword in the message clustering window, such as voice input, and blank input.
Optionally, in this embodiment of the application, the first keyword may be any possible keyword such as a letter, a number, a chinese character, and the like, and may be determined specifically according to an actual use requirement, and this embodiment of the application is not limited.
Alternatively, in this embodiment of the application, the user may first trigger the message processing apparatus to display the message clustering window through one input (hereinafter referred to as target input), and then input the first keyword in the message clustering window.
Optionally, in this embodiment of the application, the target input may be any input that can trigger the display of the message clustering window of the electronic device, such as a sliding input of a user in a blank area of a desktop of the electronic device, an input of a preset control for triggering the display of the message clustering window by the user, or an input of a preset gesture performed by the user. The method can be determined according to actual use requirements, and the embodiment of the application is not limited.
Illustratively, as shown in fig. 2 (a), the user may slide up a blank area of the electronic device desktop 20 (i.e., target input), and then as shown in fig. 2 (b), the message processing apparatus may display a message clustering window 21 in response to the target input. So that the user can input the first keyword in the message clustering window 20.
Step 102, the message processing apparatus responds to the first input, and displays the M cluster identifications.
Each cluster identifier may indicate a type of message segment, where the type of message segment is one of M types of message segments related to the first keyword in the plurality of target sessions, and M may be a positive integer. It can be seen that the M cluster identifications indicate M classes of message segments related to the first keyword, and different cluster identifications indicate different classes of message segments.
In this embodiment of the present application, the multiple target sessions may be sessions in the same application program or sessions in different application programs, which may be specifically determined according to actual use requirements, and this embodiment of the present application is not limited.
Optionally, in this embodiment of the application, the message processing apparatus may display the M cluster identifiers on a message clustering result interface.
Optionally, in this embodiment of the present application, the M cluster identifiers may form a message cluster map, where the message cluster map may be a distribution map, a heat map, or a cross-circle map. The clustering result can be displayed in a graphical mode, so that the clustering result can be displayed to a user more intuitively, and the man-machine interaction performance is improved.
Exemplarily, assuming that the plurality of target sessions are 3 sessions, i.e. session a, session B and session C, respectively, then: as shown in fig. 3, the message processing apparatus may display on the message clustering result interface 30 a cross-circle graph (i.e., M cluster identifications) including 3 base circles, a base circle 31 indicating the message content related to the first keyword in conversation a, a base circle 32 indicating the message content related to the first keyword in conversation B, and a base circle 33 indicating the message content related to the first keyword in conversation C, respectively. As shown in fig. 3, the cluster identifier a indicates a type of message fragment that exists only in session a; the cluster identifier B indicates a type of message segments existing in the session B; clustering message segments of a type of which the identification C exists in the session C; the cluster identifier ab indicates a type of message fragment existing in session a and session B; the cluster identity ac indicates a type of message fragment present in session a and session C; the cluster identity bc indicates a type of message fragment present in session B and session C; the cluster identity abc indicates a type of message fragment that exists in session a, session B, and session C. It can be seen that, taking the cluster identifier ab as an example, assuming that a type of message segments indicated by the cluster identifier ab includes 2 message contents, the two message contents are respectively the message content in the session a and the message content in the session B, and the 2 message contents belong to the same type.
Optionally, in this embodiment of the present application, the message clustering result interface may include a return control (a return control shown by an arrow in fig. 3), and the user may input to the return control to trigger the return to the message clustering window.
It can be understood that in the embodiment of the present application, M cluster identifiers may be displayed in a differentiated manner. For example, M cluster identities are displayed in different colors, or the names of the message types of the class of message segments that it indicates are displayed on each cluster identity.
Step 103, the message processing device receives a second input of the target cluster identifier in the M cluster identifiers from the user.
Optionally, in this embodiment of the application, the second input may be any possible input such as click input, long-press input, and long-press input to the target cluster identifier, which may be specifically determined according to actual use requirements, and this embodiment of the application is not limited.
And step 104, the message processing device responds to the second input, and executes the operation corresponding to the second input on the message segment of the type indicated by the target cluster identification.
For convenience of description, in the following embodiments, the message segments indicated by the target cluster identifier are target message segments, and the two message segments have the same meaning and may be interchanged.
In the embodiment of the present application, the operation corresponding to the second input may be: and any possible operation of deleting the target message segment from the N conversations, sending the target message segment to the receiving terminal equipment, or displaying the message details of the target message segment. The method can be determined according to actual use requirements, and the embodiment of the application is not limited.
In the message processing method provided by the embodiment of the application, after the user inputs the keyword (for example, the first keyword) in the message clustering window of the electronic device, m cluster identifications indicating M types of message segments in the plurality of target sessions that are related to the keyword may be displayed, i.e. each cluster identifier indicates a type of message segment in the M types of message segments, so that the user can trigger to perform an operation corresponding to a second input on a type of message segment indicated by a target cluster identifier by inputting the target cluster identifier (e.g. the second input) in the M cluster identifiers, without the user having to enter a keyword in each conversation and to trigger the action on the history messages associated with the keyword in each conversation in turn, therefore, the process of operating the historical messages related to the same keyword in different conversations can be simplified, and the operation efficiency is improved.
In this embodiment, the target sessions may be sessions in at least one application.
Optionally, in this embodiment of the application, the at least one application may be any one of the following: the default of the system, the preset by the user, or the determination based on the first input may specifically be determined according to the actual use requirement, and the embodiment of the present application is not limited.
Optionally, in this embodiment of the application, at least one application is taken as determined based on the first input as an example. The message clustering window includes a plurality of application identifiers, for example, as shown in fig. 2 (b), the message clustering window 21 includes 5 application identifiers, which are "1", "2", "3", "4", and "5", respectively; the first input may include a sub-input for triggering selection of at least one of the plurality of application identifications, the plurality of target sessions being sessions in the application (i.e., the at least one application) indicated by the at least one application identification.
In the embodiment of the application, the message content related to the first keyword can be retrieved from a plurality of target conversations in the application program selected by the user trigger, so that the operation flexibility of message clustering can be improved.
Optionally, in this embodiment of the application, after receiving the first input, the message processing apparatus may, in response to the first input, first obtain message contents related to the first keyword from the multiple target sessions, then perform clustering on the obtained message contents to obtain M types of message segments, and display M cluster identifiers, where one cluster identifier indicates one type of message segment in the M types of message segments.
For the description of the message content related to the first keyword, reference may be specifically made to the following description of the message content related to the first keyword in step 105, and details are not repeated here to avoid repetition.
A method of clustering message contents related to a first keyword acquired from a plurality of target sessions by a message processing apparatus is exemplarily described below.
Optionally, in this embodiment of the application, the message processing apparatus may perform clustering processing on message contents related to the first keyword in the plurality of target sessions in a target manner.
Optionally, in this embodiment of the present application, the target mode may be at least one of the following: (a) source of the message content, (b) time information corresponding to the message content, (c) location information corresponding to the message content, (d) event type of the event indicated by the message content.
It is to be understood that, in this embodiment of the application, when the target manner includes multiple items (a), (b), (c), and (d) above, one message content of the message contents related to the first keyword in the multiple conversations may be clustered into at least one message fragment of the M types of message fragments.
In the examples of the present application, the number of items in the above-described (a), (b), (c), and (d) is not limited to the target embodiment unless otherwise specified.
Optionally, in this embodiment of the present application, the source of the message content may be a session to which the message content belongs or an application to which the message content belongs.
Optionally, in this embodiment of the present application, the time information corresponding to the message content may be time information (1) in the message content; it may also be the system time (2) of the electronic device at the time the session including the message content is started. The method can be determined according to actual use requirements, and the embodiment of the application is not limited.
Illustratively, assume that when a session is opened, the system time of the electronic device is "04/19/2020", and the content of the session includes message content 1:
"S manager: when is the junctor for the XX project?
Staff: returning to the S manager, the hand-off for the XX project was scheduled for 10 months and 27 am. ".
Then: in the above (1), the time information corresponding to the message content 1 is "day 27/10/month", and in the above (2), the time information corresponding to the message content 1 is "day 19/04/2020".
It should be noted that, in this embodiment of the present application, the foregoing embodiment is only a schematic illustration of a method for a message processing apparatus to perform clustering processing on message contents related to a first keyword in a plurality of target sessions, and in an actual implementation, the message contents related to the first keyword in the plurality of target sessions may also be clustered in any other possible manner, which may be specifically determined according to actual usage requirements, and this embodiment of the present application is not limited.
In this embodiment, each type of message segment of the M types of message segments may include a message segment in at least one of the plurality of target sessions.
For example, assume that the plurality of target sessions are session a, session B, and session C, and the session a includes message content 1 and message content 2, the session B includes message content 3, and the session C includes message content 4; the message content 1, the message content 2 and the message content 3 are all related to a first keyword; if the event type of the event indicated by the message content 1 and the message content 3 is a first type, the event type of the event indicated by the message content 2 is a second type, and the event type of the event indicated by the message content 4 is a third type, then if clustering is performed according to the event types, the message content 1 and the message content 3 may be clustered into one type, the message content 2 may be clustered into one type, and the message content 4 may be clustered into one type, so that a 3 (i.e., M equals to 3) type message segment may be obtained.
Optionally, in this embodiment of the present application, the one type of message fragment may include at least one sub-type message fragment.
For example, suppose that the plurality of target sessions are session a and session B, where session a includes message content of event type "basketball shooting" and message content of "basketball watching game", and session B also includes message content of event type "basketball shooting" and message content of "basketball watching game"; then, the message processing means may merge the message contents of "basketball shooting" and "basketball watching" in session a and session B, and indicate them by a cluster identifier.
Optionally, in this embodiment, before the step 102, the message processing method provided in this embodiment may further include the following step 105 and step 106, and the step 102 may be specifically implemented by the following step 102 a.
Step 105, the message processing device responds to the first input, and obtains P message contents related to the first keyword in the target conversations.
Where each message content indicates an event, P may be an integer greater than 1.
In this embodiment, the message processing apparatus may sequentially acquire the message content related to the first keyword from each of the plurality of target sessions to obtain the P message contents.
The following description will exemplarily describe a method for a message processing apparatus to acquire P message contents related to a first keyword in a plurality of target sessions, taking an example that the message processing apparatus acquires one message content related to the first keyword from one session.
Optionally, in this embodiment of the application, the message processing apparatus may find the message related to the first keyword in one session. Then, for each of the messages, a semantic recognition algorithm is combined to recognize the context of one message, determine the message content including the one message and indicating a complete event (i.e. one message content includes at least one message), and use the message content as one message content related to the first keyword in the conversation. This enables a message content associated with the first keyword to be retrieved from a conversation.
Optionally, in this embodiment of the present application, the message related to the first keyword includes at least one of the following: a message including a first keyword, a message sent by a user in a name that includes the first keyword, a message sent to a user in a name that includes the first keyword, a message that includes keywords semantically similar to the first keyword (e.g., basketball and NBA).
Illustratively, taking the first keyword as "basketball" as an example, session 1 includes 3 messages related to "basketball", which are: "you play basketball at noon", "you go to king XX family and see NBA? "," accompany me to buy the basketball bar for a while ".
Then for the message "go to basketball at noon", the message processing means may retrieve a first message content indicating a basketball event:
"A: small B, available at noon?
B: what is empty?
A: playing basketball at noon
B: may be used. ".
For the message "saturday go to king XX family to see NBA? ", the message processing device obtains second message content indicating a look NBA event:
"B: wang XX about we go to his family on saturday to see NBA.
A: at several points on the saturday, i want to go to the study-supplementing class in the morning.
B: at 6 o' clock in the evening?
A: therefore, I can take a lesson 4 points after the class. ".
For the message "saturday go to king XX family to see NBA? ", the message processing device obtains third message content indicating a basketball purchase event:
"A: accompany me to buy the basketball bar for a while.
B: i do not have an air today, you let L accompany you.
A: is good. ".
And 106, clustering the content of the P messages by the message processing device according to the event types of the P events to obtain M message segments.
And the M types of message segments are indicated through the M cluster identifiers.
In this embodiment of the present application, when P message contents are clustered according to event types of P events, M may be a positive integer less than or equal to P.
Step 102a, the message processing device displays the M cluster identifications.
Exemplarily, assuming that the message content related to "basketball" in the plurality of target sessions is 3(P ═ 3), and the 3 message contents are respectively message content 1, message content 2, and message content 3, where the message content 1 indicates an event of playing basketball at the stadium (the event type is basketball), the message content 2 indicates an event of playing basketball at XX university (the event type is basketball), and the message content 3 indicates an event of watching NBA at XX family (the event type is basketball watching game), the message processing apparatus may cluster the 3 message contents according to the event types of the 3 events to obtain a message segment including a basketball game class message segment and a basketball game class message segment, where the basketball game class message segment includes: message content 1 and message content 2, and the message segments for watching basketball games comprise: the message content 3.
In the embodiment of the application, as the P message contents related to the first keyword in the multiple target sessions can be clustered according to the event type of the event indicated by the message contents, the user can trigger the operation corresponding to the second input on the message segments of the same type as the event type related to the first keyword in the multiple target sessions by one key. Thus, the convenience of operation can be further improved.
Optionally, in this embodiment, before the step 105, the message processing method provided in this embodiment may further include the following step 107 and step 108, and the step 105 may be specifically implemented by the following step 105 a.
Step 107, the message processing means displays a plurality of conversation items in response to the first input.
Wherein each session entry corresponds to one of the plurality of target sessions. That is, the user may first select the applications requiring clustering, and then further select the sessions requiring clustering among the applications. This further increases the flexibility of operation.
In this embodiment, the message clustering window may include a session entry display area, and the message processing apparatus may display the session entries in the session entry display area.
For example, as shown in fig. 4 (a), the user may input "basketball" (i.e., a first keyword) in the input box 41 of the message clustering window 40, and then as shown in fig. 4 (b), the message processing apparatus may display 6 conversation items in the conversation item display area of the message clustering window 40, wherein the dotted box shown in fig. 4 (b) is one conversation item.
Specifically, as shown in fig. 4 (b), 42 is an avatar of the session corresponding to the session entry; 43 is a session selection control for triggering the selection of a session; 44 is the identification of the application program to which the session corresponding to the session entry belongs; 45 is a summary of the message content (hereinafter referred to as message content L) related to the first keyword in the conversation corresponding to the conversation entry, for example, the summary may be the first message in the message content L; and 46 is a clustering control, which is used for triggering the clustering of the message content related to the first keyword in the selected conversation.
Step 108, the message processing apparatus receives a third input for a target conversation item of the plurality of conversation items.
Wherein, the session corresponding to the target session entry includes P message contents. Namely, the user can select the session needing clustering according to the actual use requirement, so that the clustering flexibility can be improved.
Optionally, in this embodiment of the application, after the user triggers and selects the target session entry, the user may trigger and confirm that the selection of the session entry is completed through input to the clustering control, so that the message processing apparatus may perform clustering processing on P message contents in the session indicated by the target session entry. This can improve the ease of operation.
And 106a, responding to the third input by the message processing device, clustering the content of the P messages according to the event types of the P events, and obtaining M message segments.
For the description of the step 106a, reference may be specifically made to the related description of the step 106, and details are not repeated here to avoid repetition.
Illustratively, as shown in fig. 4 (b), the user may trigger the session corresponding to the selected target session entry by clicking on the selection control 43 corresponding to the target session entry, and after the selection is completed, may click on the clustering control 46, so that the message processing apparatus may confirm that the receiving of the third input is finished; then, the message processing apparatus may respond to the third input, perform clustering processing on P message contents in the session corresponding to the target session entry according to the event types of the P events to obtain M types of message fragments, and indicate the M types of message fragments through the M cluster identifiers.
In the embodiment of the application, after the user selects the session item to trigger the selection of the session requiring clustering, the P message segments related to the first keyword in the selected session are clustered, so that the obtained M message segments are all the message segments in the session meeting the actual clustering requirement of the user. Thus, the user experience can be improved.
Alternatively, in this embodiment of the application, the step 104 may be specifically realized by the following step 104b or the following step 104 c.
And 104b, responding to the second input, and displaying the message details of the message segments indicated by the target cluster identification.
Optionally, in this embodiment of the application, after receiving the second input, the message processing apparatus may display a detail preview window in response to the second input, and display the message details of the message segment of the type indicated by the target cluster identifier in the detail preview window. In this way, the user can view the message details of a type of message segment indicated by the target cluster identifier through the details preview window.
Exemplarily, assuming that the user can click on a cluster identifier ac among M cluster identifiers in the cluster result interface 50 (i.e., a second input) as shown in (a) in fig. 5, then the message processing apparatus can display a detail preview window 51 on the cluster result interface 50 and display message details of a type of message segment indicated by the cluster identifier ac (i.e., a target cluster identifier) in the detail preview window 51 as shown in (b) in fig. 5.
For convenience of description, in the following embodiments, the message details of a type of message segment indicated by the target cluster identifier are referred to as first message details, which are identical in meaning and may be interchanged.
Optionally, in this embodiment of the application, the user may slide up/down on the details preview window to trigger the display of content not shown in the first message details.
Optionally, in this embodiment of the application, the user may slide left/right on the detail preview window to trigger switching of the message details (for example, switching the first message details to the second message details); or, the detail preview window may further include a switching control, where the switching control is used to trigger switching of the message details.
The second message details may be message details of a type of message segment indicated by a cluster identifier different from the target cluster identifier in the M cluster identifiers.
For example, the second message details may be message details of a type of message segment indicated by a cluster identifier whose display position is adjacent to the display position of the target cluster identifier, among the M cluster identifiers.
And step 104c, responding to the second input, and sending the message segments indicated by the target cluster identifications to the receiving terminal equipment.
In the embodiment of the application, the receiving end device may be preset, may also be selected for user triggering, and may specifically be determined according to actual use requirements.
For the description of sending the message segments indicated by the target cluster identifier to the receiving end device, reference may be specifically made to the related description of sending the message segments indicated by the target cluster identifier to the receiving end device in the following embodiments, and details are not repeated here to avoid repetition.
In the embodiment of the application, on one hand, the user can trigger and display the message details of the message segments of one type indicated by the target cluster identifier by one key, so that the user can simultaneously view the message details of the message segments of the same type in a plurality of conversations, and the convenience for viewing the message contents of the same type in the message contents related to the first keyword in different conversations can be improved. On the other hand, the user can trigger one-key sending of the message segments of the same type indicated by the target cluster identifier to the receiving end device, so that convenience in sending the message segments of the same type in the message contents related to the first keyword in different conversations can be improved. Therefore, convenience in operating the message content related to the first keyword in multiple conversations can be improved.
Optionally, in this embodiment, after the step 104b, the message processing method provided in this embodiment may further include the following steps 109 to 112.
Step 109, the message processing apparatus receives a fourth input of message details (i.e. the first message details) of the type of message segment indicated by the target cluster identifier.
Optionally, in this embodiment of the application, the fourth input may be any possible input such as a long-press input, a repeated-press input, or a multi-click input on the first message details by the user.
Step 110, the message processing apparatus responds to the fourth input, and displays K application identifications.
Where different identities indicate different applications, K may be a positive integer.
Optionally, in this embodiment of the application, the application programs indicated by the K application identifiers and the application programs indicated by the multiple application identifiers may be partially the same, or completely different.
Optionally, in this embodiment of the application, after receiving the fourth input, the message processing apparatus displays K application identifiers, and may narrow the display detail preview window.
Step 111, the message processing apparatus receives a fifth input of the target application identifier of the K application identifiers.
Step 112, the message processing apparatus responds to the fifth input, and sends the message segments indicated by the target cluster identifier to the receiving end device through the application program indicated by the target application identifier.
Optionally, in this embodiment of the application, the fifth input may be any possible input, such as a click input by the user on the target application identifier, a long-press input, a re-press input, or an input of dragging the detail preview window onto the target application identifier.
Optionally, in this embodiment of the application, when the receiving end device is selected for user triggering, the fifth input may include a first sub-input to the target application identifier and a second sub-input for triggering selection of at least one contact and/or at least one session in the application indicated by the target application identifier.
The following describes, by way of example, a message processing method provided in the embodiments of the present application with reference to specific examples.
For example, as shown in (a) of fig. 6, the first message detail (message details of a type of message segment indicated for the target cluster identifier) is displayed in the detail preview window 60, the user may press long on the detail preview window 60 (i.e., fourth input), and then the message processing apparatus may respond to the fourth input, as shown in (b) of fig. 6, the message processing apparatus narrows the display detail preview window 60 and displays the identifier 61 and the identifier 62 (i.e., K application identifiers); thus, as shown in fig. 6 (b), the user may drag the detail preview window 60 onto the identifier 62 (i.e., the target application identifier) (i.e., the first sub-input), and then as shown in fig. 6 (c), the message processing apparatus may display the session list interface 63 in the application indicated by the identifier 62 in response to the first sub-input. Then, as shown in (c) of fig. 6, the user may continue to drag the detail preview window 60 to the session identifier (i.e., the second sub-input) of the first session (which is the session between the user and the contact 1) in the session list interface 63, and then the message processing apparatus may send the message fragment of the type indicated by the target cluster identifier to the receiving device through the first session. It can be understood that the receiving end device is an electronic device of the user corresponding to the contact 1.
In the embodiment of the application, the user can send the similar message fragments to the receiving terminal device after checking the message details of the similar message fragments, so that the sent message fragments can be ensured to be the message fragments meeting the actual sending requirements of the user, and the accuracy of sending the message fragments can be improved.
It should be noted that, in the message processing method provided in the embodiment of the present application, the execution main body may be a message processing apparatus or a control module in the message processing apparatus for executing the message processing method. In the embodiment of the present application, a message processing apparatus executes a message processing method as an example, and the message processing method provided in the embodiment of the present application is described.
As shown in fig. 7, the present embodiment provides a message processing apparatus 70, and the message processing apparatus 70 may include a receiving module 71, a display module 72, and an execution module 73. A receiving module 71, configured to receive a first input in a message clustering window of an electronic device, where the first input may be an input for inputting a first keyword; a display module 72, configured to display, in response to the first input received by the receiving module 71, M cluster identifiers, where each cluster identifier indicates a type of message segment, where the type of message segment is one of M types of message segments related to the first keyword in the target conversations, and M is a positive integer; the receiving module 71 may be further configured to receive a second input of a target cluster identifier in the M cluster identifiers; the executing module 73 may be configured to, in response to the second input received by the receiving module 71, execute an operation corresponding to the second input on the type of message segment indicated by the target cluster identifier.
In the embodiment of the application, after a user inputs a keyword (for example, a first keyword) in a message cluster window of an electronic device, M cluster identifiers indicating M types of message segments related to the keyword in a plurality of target sessions can be displayed, that is, each cluster identifier indicates one type of message segment in the M types of message segments, so that the user can trigger to execute an operation corresponding to a second input on one type of message segment indicated by the target cluster identifier by inputting a target cluster identifier (for example, a second input) in the M cluster identifiers, without inputting a keyword in each session and sequentially triggering to operate on historical messages related to the keyword in each session, thereby simplifying a process of operating on the historical messages related to the same keyword in different sessions and improving operation efficiency.
Optionally, in this embodiment of the application, the message clustering window may include a plurality of application identifiers; the first input may be further used to trigger selection of at least one of a plurality of application identities, the plurality of target sessions being sessions in the application indicated by the at least one application identity.
In the embodiment of the application, the message content related to the first keyword can be retrieved from a plurality of target conversations in the application program selected by the user trigger, so that the operation flexibility of message clustering can be improved.
Optionally, in this embodiment of the present application, the message processing apparatus may further include an obtaining module and a processing module; an obtaining module, configured to obtain P message contents related to a first keyword in a plurality of target sessions before the displaying module 72 displays and displays the M cluster identifiers, where each message content indicates an event, and P is an integer greater than 1; the processing module may be configured to perform clustering processing on the P message contents acquired by the acquisition module according to event types of the P events to obtain M types of message segments, where the M types of message segments are indicated by M cluster identifiers.
In the embodiment of the application, as the P message contents related to the first keyword in the multiple target sessions can be clustered according to the event type of the event indicated by the message contents, the user can trigger the operation corresponding to the second input on the message segments of the same type as the event type related to the first keyword in the multiple target sessions by one key. Thus, the convenience of operation can be further improved.
Optionally, in this embodiment of the application, the display module 72 may be further configured to display a plurality of session entries before the processing module performs clustering processing on the P message contents acquired by the acquisition module according to the event types of the P events to obtain M types of message segments, where each session entry corresponds to one session in the plurality of sessions; the receiving module 71 may further be configured to receive a third input of a target session entry in the multiple session entries, where a session corresponding to the target session entry includes P message contents; the processing module may be specifically configured to, in response to the third input, perform clustering processing on the P message contents according to the event types of the P events, so as to obtain M types of message segments.
In the embodiment of the application, after the user selects the session item to trigger the selection of the session requiring clustering, the P message contents related to the first keyword in the selected session are clustered, so that the obtained M message segments are all the message segments in the session meeting the actual clustering requirements of the user. Thus, the user experience can be improved.
Optionally, in this embodiment of the application, the execution module 73 may include a display sub-module or a sending sub-module. The display sub-module can be used for displaying the message details of the message segments of the same type indicated by the target cluster identifier; and the sending submodule can be used for sending the message segments indicated by the target cluster identifier to the receiving terminal equipment.
In the embodiment of the application, on one hand, the user can trigger and display the message details of the message segments of one type indicated by the target cluster identifier by one key, so that the user can simultaneously view the message details of the message segments of the same type in a plurality of conversations, and the convenience for viewing the message segments of the same type in the message segments related to the first keyword in different conversations can be improved. On the other hand, the user can trigger one-key sending of the message segments indicated by the target cluster identifier to the receiving end device, so that convenience in sending the message segments of the same type related to the first keyword in different conversations can be improved. Therefore, convenience in operating similar message segments in the message segments related to the first keyword in multiple conversations can be improved.
Optionally, in this embodiment of the present application, the message processing apparatus may further include a sending module. The receiving module 71 may be further configured to receive a fourth input of the message details after the display sub-module displays the message details of the message segment of the type indicated by the target cluster identifier; the display module 72 is further configured to, in response to a fourth input, display K application identifiers, where K may be a positive integer; the receiving module 71 may be further configured to receive a fifth input of a target application identifier in the K application identifiers displayed by the display module 72; and the sending module may be configured to send, in response to the fifth input, the type of message segment indicated by the target cluster identifier to the receiving end device through the application program indicated by the target application identifier.
In the embodiment of the application, after the user can check the message details of the message fragments, the message fragments can be triggered to be sent to the receiving terminal device through an application program, so that the sent message fragments can be ensured to be the message fragments meeting the actual sending requirements of the user, and the accuracy of sending the message fragments can be improved.
The message processing apparatus in the embodiment of the present application may be an electronic device, or may be a component, an integrated circuit, or a chip in the electronic device. The electronic device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
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 message processing method in the method embodiments of fig. 1 to fig. 6, and is not described here again to avoid repetition.
As shown in fig. 8, an electronic device 200 according to an embodiment of the present application is further provided, which includes a processor 202, a memory 201, and a program or an instruction stored in the memory 201 and executable on the processor 202, where the program or the instruction is executed by the processor 202 to implement the processes of the message processing method embodiment, and can achieve the same technical effects, and no further description is provided herein to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 9 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 9 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.
The user input unit 1007 may be configured to receive a first input of a user in a message clustering window of the electronic device, where the first input may be an input for inputting a first keyword; a display unit 1006, which may be configured to display M cluster identifiers in response to a first input received by the user input unit 1007, where each cluster identifier indicates a type of message segment, and the type of message segment is one of M types of message segments related to a first keyword in a plurality of target sessions, and M is a positive integer; the user input unit 1007 may be further configured to receive a second input of a target cluster identifier in the M cluster identifiers; the processor 1010 may be configured to perform an operation corresponding to a second input on a type of message segment indicated by the target cluster identifier in response to the second input received by the user input unit 1007.
In the embodiment of the application, after a user inputs a keyword (for example, a first keyword) in a message cluster window of an electronic device, M cluster identifiers indicating M types of message segments related to the keyword in a plurality of target sessions can be displayed, that is, one cluster identifier indicates one type of message segment in the plurality of target sessions, so that the user can trigger to execute an operation corresponding to a second input on the type of message segment indicated by the target cluster identifier by inputting the target cluster identifier (for example, a second input) in the M cluster identifiers, without inputting the keyword in each session and sequentially triggering to operate on historical messages related to the keyword in each session, thereby simplifying a process of operating on the historical messages related to the same keyword in different sessions and improving operation efficiency.
Optionally, in this embodiment of the application, the message clustering window may include a plurality of application identifiers; the first input may also be used to trigger selection of at least one of the plurality of application identifications, the plurality of target sessions being sessions in the application indicated by the at least one application identification.
In the embodiment of the application, as the P message contents related to the first keyword in the multiple target sessions can be clustered according to the event type of the event indicated by the message contents, the user can trigger the operation corresponding to the second input on the message segments of the same type as the event type related to the first keyword in the multiple target sessions by one key. Thus, the convenience of operation can be further improved.
Optionally, in this embodiment of the application, the processor 1010 may be further configured to, before the display unit 1006 displays the M cluster identifiers, obtain P message contents related to the first keyword in the multiple target sessions, where each message content indicates an event, and P is an integer greater than 1; the processor 1010 may be further configured to perform clustering processing on the obtained P message contents according to event types of the P events to obtain M types of message segments, where the M types of message segments are indicated by the M cluster identifiers.
In the embodiment of the application, as the P message contents related to the first keyword in the multiple target sessions can be clustered according to the event type of the event indicated by the message contents, the user can trigger the operation corresponding to the second input on the message segments of the same type as the event type related to the first keyword in the multiple target sessions by one key. Thus, the convenience of operation can be further improved.
Optionally, in this embodiment of the application, the display unit 1006 may be further configured to display a plurality of session entries before the processor 1010 performs clustering processing on the P message contents acquired by the processor 1010 according to the event types of the P events to obtain M types of message segments, where each session entry corresponds to one session in the plurality of target sessions; the user input unit 1007 may be further configured to receive a third input to a target session entry in the multiple session entries, where a session corresponding to the target session entry includes P message contents; the processor 1010 may be specifically configured to, in response to the third input, perform clustering processing on the P message contents according to event types of the P events, so as to obtain M types of message segments.
In the embodiment of the application, after the user triggers and selects the session requiring clustering by selecting the session entry, the P message segments related to the first keyword in the selected session are clustered, so that the obtained M message segments are all the message segments in the session meeting the actual clustering requirement of the user. Thus, the user experience can be improved.
Optionally, in this embodiment of the application, the processor 1010 is specifically configured to display, by the display unit 1006, message details of a type of message segment indicated by the target cluster identifier; or, the method is specifically configured to send a type of message segment indicated by the target cluster identifier to the receiving end device through the radio frequency unit 1001.
In the embodiment of the application, on one hand, the user can trigger and display the message details of the message segments of one type indicated by the target cluster identifier by one key, so that the user can simultaneously view the message details of the message segments of the same type in a plurality of conversations, and the convenience for viewing the message segments of the same type in the message segments related to the first keyword in different conversations can be improved. On the other hand, the user can trigger one-key sending of the message segments indicated by the target cluster identifier to the receiving end device, so that convenience in sending the message segments of the same type related to the first keyword in different conversations can be improved. Therefore, convenience in operating similar message segments in the message segments related to the first keyword in multiple conversations can be improved.
Optionally, in this embodiment of the application, the user input unit 1007 may be further configured to receive a fourth input of message details after the display unit 1006 displays the message details of the message segment of the type indicated by the target cluster identifier; the display unit 1006, further configured to display K application identifiers in response to a fourth input, where K is a positive integer; the user input unit 1007 may be further configured to receive a fifth input of a target application identifier in the K application identifiers displayed by the display unit 1006; the radio frequency unit 1001 may further be configured to send, in response to the fifth input, a type of message segment indicated by the target cluster identifier to the receiving end device through the application program indicated by the target application identifier.
In the embodiment of the application, after the user can check the message details of the message fragments, the message fragments can be triggered to be sent to the receiving terminal device through an application program, so that the sent message fragments can be ensured to be the message fragments meeting the actual sending requirements of the user, and the accuracy of sending the message fragments can be improved.
It should be understood that in the embodiment of the present application, the input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, and the Graphics Processing Unit 10041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 may include two parts, a touch detection device and a touch controller. Other input devices 10072 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 1009 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. Processor 1010 may integrate an application processor that handles primarily operating systems, user interfaces, applications, etc. and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
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 a processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
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 above-mentioned message processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
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.
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 phrase "comprising an … …" does not exclude the presence of other like elements 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 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, an air conditioner, 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 (14)

1. A method of message processing, the method comprising:
receiving a first input in a message clustering window of the electronic equipment, wherein the first input is an input for inputting a first keyword;
in response to the first input, displaying M cluster identifications, each cluster identification indicating a type of message segment, the type of message segment being one of M types of message segments related to the first keyword in the plurality of target sessions, M being a positive integer;
receiving a second input to a target cluster identifier of the M cluster identifiers;
and responding to the second input, and executing an operation corresponding to the second input on the message segments indicated by the target cluster identification.
2. The method of claim 1, wherein the message clustering window includes a plurality of application identifications therein;
the first input is further used for triggering selection of at least one application identifier in the plurality of application identifiers, and the plurality of target sessions are sessions in the application program indicated by the at least one application identifier.
3. The method according to claim 1 or 2, wherein before displaying the M cluster identifications, the method further comprises:
acquiring P message contents related to the first keyword in the target conversations, wherein each message content indicates an event, and P is an integer greater than 1;
and clustering the P message contents according to the event types of the P events to obtain M types of message segments, wherein the M types of message segments are indicated through the M cluster identifiers.
4. The method according to claim 3, wherein before clustering the P message contents according to the event types of the P events to obtain M types of message fragments, the method further comprises:
displaying a plurality of session entries, each session entry corresponding to one of the plurality of target sessions;
receiving a third input of a target session entry in the plurality of session entries, wherein a session corresponding to the target session entry includes the P message contents;
the clustering processing is performed on the content of the P messages according to the event types of the P events to obtain M types of message segments, including:
and responding to the third input, and clustering the P message contents according to the event types of the P events to obtain the M message segments.
5. The method of claim 1, wherein the performing the operation corresponding to the second input comprises:
displaying message details of a type of message segments indicated by the target cluster identifier; alternatively, the first and second electrodes may be,
and sending the message segments indicated by the target cluster identification to receiving end equipment.
6. The method of claim 5, wherein after displaying the message details of the message segments of the type indicated by the target cluster identifier, the method further comprises:
receiving a fourth input for the message details;
responding to the fourth input, and displaying K application identifications, wherein K is a positive integer;
receiving a fifth input of a target application identifier of the K application identifiers;
and responding to the fifth input, and sending the message segments indicated by the target clustering identification to receiving end equipment through the application program indicated by the target application identification.
7. A message processing apparatus, characterized in that the apparatus comprises: the device comprises a receiving module, a display module and an execution module;
the receiving module is used for receiving a first input in a message clustering window of the electronic equipment, wherein the first input is an input for inputting a first keyword;
the display module is configured to display, in response to the first input received by the receiving module, M cluster identifiers, where each cluster identifier indicates a type of message segment, where the type of message segment is one of M types of message segments related to the first keyword in the multiple target sessions, and M is a positive integer;
the receiving module is further configured to receive a second input of a target cluster identifier in the M cluster identifiers;
and the executing module is used for responding to the second input received by the receiving module, and executing the operation corresponding to the second input on the message segment of the type indicated by the target cluster identifier.
8. The apparatus of claim 7, wherein the message clustering window comprises a plurality of application identifiers;
the first input is further used for triggering selection of at least one application identifier in the plurality of application identifiers, and the plurality of target sessions are sessions in the application program indicated by the at least one application identifier.
9. The apparatus according to claim 7 or 8, wherein the apparatus further comprises an acquisition module and a processing module;
the obtaining module is configured to obtain, before the displaying module displays the M cluster identifiers, P message contents related to the first keyword in the plurality of target sessions, where each message content indicates an event, and P is an integer greater than 1;
the processing module is configured to perform clustering processing on the P message contents acquired by the acquisition module according to event types of the P events to obtain M types of message segments, and the M types of message segments are indicated by the M cluster identifiers.
10. The apparatus according to claim 9, wherein the display module is further configured to display a plurality of session entries before the processing module clusters the P message contents acquired by the acquisition module according to the event types of the P events to obtain the M-class message segments, where each session entry corresponds to one of the target sessions;
the receiving module is further configured to receive a third input of a target session entry in the plurality of session entries, where a session corresponding to the target session entry includes the P message contents;
the processing module is specifically configured to cluster the P message contents according to the event types of the P events in response to the third input, so as to obtain the M-class message segments.
11. The apparatus of claim 7, wherein the execution module comprises a display sub-module or a send sub-module;
the display sub-module is used for displaying the message details of the message segments of the same type indicated by the target cluster identifier;
and the sending submodule is used for sending the message segments indicated by the target cluster identifier to receiving end equipment.
12. The apparatus of claim 11, further comprising a transmitting module;
the receiving module is further configured to receive a fourth input of the message details after the display sub-module displays the message details of the message segment of the type indicated by the target cluster identifier;
the display module is further configured to display K application identifiers in response to the fourth input, where K is a positive integer;
the receiving module is further configured to receive a fifth input of a target application identifier in the K application identifiers displayed by the display module;
and the sending module is used for responding to the fifth input and sending the message segments indicated by the target clustering identification to receiving end equipment through the application program indicated by the target application identification.
13. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the message processing method according to any one of claims 1 to 6.
14. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the message processing method according to any one of claims 1 to 6.
CN202011581912.4A 2020-12-28 2020-12-28 Message processing method and device and electronic equipment Active CN112612391B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011581912.4A CN112612391B (en) 2020-12-28 2020-12-28 Message processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011581912.4A CN112612391B (en) 2020-12-28 2020-12-28 Message processing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN112612391A true CN112612391A (en) 2021-04-06
CN112612391B CN112612391B (en) 2022-06-10

Family

ID=75249277

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011581912.4A Active CN112612391B (en) 2020-12-28 2020-12-28 Message processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112612391B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114048404A (en) * 2021-10-25 2022-02-15 北京字跳网络技术有限公司 Display method and device and electronic equipment
CN114124874A (en) * 2021-11-02 2022-03-01 维沃移动通信有限公司 Chat information sending method and device
CN115314456A (en) * 2021-04-20 2022-11-08 北京字跳网络技术有限公司 Interaction method and device and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102646134A (en) * 2012-03-29 2012-08-22 百度在线网络技术(北京)有限公司 Method and device for determining message session in message record
CN103430578A (en) * 2010-10-27 2013-12-04 诺基亚公司 Method and apparatus for identifying conversation in multiple strings
US20150370799A1 (en) * 2014-06-24 2015-12-24 Vmware, Inc. Method and system for clustering and prioritizing event messages
CN105516504A (en) * 2015-12-21 2016-04-20 魅族科技(中国)有限公司 Method for processing session messages and terminal
CN106610989A (en) * 2015-10-22 2017-05-03 北京国双科技有限公司 Search keyword clustering method and apparatus
CN109951380A (en) * 2019-03-29 2019-06-28 上海连尚网络科技有限公司 For searching method, electronic equipment and the computer-readable medium of conversation message
CN111274416A (en) * 2020-01-22 2020-06-12 维沃移动通信有限公司 Chat information searching method and electronic equipment
CN112069410A (en) * 2020-09-09 2020-12-11 腾讯科技(深圳)有限公司 Message processing method, device, equipment and medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103430578A (en) * 2010-10-27 2013-12-04 诺基亚公司 Method and apparatus for identifying conversation in multiple strings
CN102646134A (en) * 2012-03-29 2012-08-22 百度在线网络技术(北京)有限公司 Method and device for determining message session in message record
US20150370799A1 (en) * 2014-06-24 2015-12-24 Vmware, Inc. Method and system for clustering and prioritizing event messages
CN106610989A (en) * 2015-10-22 2017-05-03 北京国双科技有限公司 Search keyword clustering method and apparatus
CN105516504A (en) * 2015-12-21 2016-04-20 魅族科技(中国)有限公司 Method for processing session messages and terminal
CN109951380A (en) * 2019-03-29 2019-06-28 上海连尚网络科技有限公司 For searching method, electronic equipment and the computer-readable medium of conversation message
CN111274416A (en) * 2020-01-22 2020-06-12 维沃移动通信有限公司 Chat information searching method and electronic equipment
CN112069410A (en) * 2020-09-09 2020-12-11 腾讯科技(深圳)有限公司 Message processing method, device, equipment and medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JIE CHEN ET AL.: "QMP-MVIA: a message passing system for Linux clusters with gigabit Ethernet mesh connections", 《2004 IEEE INTERNATIONAL CONFERENCE ON CLUSTER COMPUTING (IEEE CAT. NO.04EX935)》 *
陈富赞 等: "一种基于会话聚类算法的Web使用挖掘方法", 《***工程学报》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115314456A (en) * 2021-04-20 2022-11-08 北京字跳网络技术有限公司 Interaction method and device and electronic equipment
CN115314456B (en) * 2021-04-20 2023-11-28 北京字跳网络技术有限公司 Interaction method and device and electronic equipment
CN114048404A (en) * 2021-10-25 2022-02-15 北京字跳网络技术有限公司 Display method and device and electronic equipment
WO2023071799A1 (en) * 2021-10-25 2023-05-04 北京字跳网络技术有限公司 Display method and apparatus, and electronic device
CN114124874A (en) * 2021-11-02 2022-03-01 维沃移动通信有限公司 Chat information sending method and device
CN114124874B (en) * 2021-11-02 2023-05-26 维沃移动通信有限公司 Chat information sending method and device

Also Published As

Publication number Publication date
CN112612391B (en) 2022-06-10

Similar Documents

Publication Publication Date Title
CN112612391B (en) Message processing method and device and electronic equipment
CN113126838A (en) Application icon sorting method and device and electronic equipment
CN111813284B (en) Application program interaction method and device
CN113194024B (en) Information display method and device and electronic equipment
CN112333084B (en) File sending method and device and electronic equipment
CN112083854A (en) Application program running method and device
CN112462990A (en) Image sending method and device and electronic equipment
CN111857460A (en) Split screen processing method, split screen processing device, electronic equipment and readable storage medium
CN113918055A (en) Message processing method and device and electronic equipment
CN112486444A (en) Screen projection method, device, equipment and readable storage medium
CN112787907A (en) Display method and device and electronic equipment
CN113325978B (en) Message display method and device and electronic equipment
CN113590008A (en) Chat message display method and device and electronic equipment
CN113268182B (en) Application icon management method and electronic device
CN113037925B (en) Information processing method, information processing apparatus, electronic device, and readable storage medium
CN112788178B (en) Message display method and device
CN112882619B (en) Application interface management method and device, electronic equipment and medium
CN112416212B (en) Program access method, apparatus, electronic device and readable storage medium
CN113867583A (en) Message record display method and device and electronic equipment
CN113311973A (en) Recommendation method and device
CN113114845A (en) Notification message display method and device
CN112100463A (en) Information processing method and device, electronic equipment and readable storage medium
WO2023040710A1 (en) Information display method and apparatus, electronic device, and storage medium
CN113325986B (en) Program control method, program control device, electronic device and readable storage medium
CN112818094A (en) Chat content processing 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
GR01 Patent grant
GR01 Patent grant