Message processing method and device for instant messaging
By responding to user selections in the human-computer interaction interface of instant messaging software and directly displaying message records in multi-person conversations, the problem of cumbersome operation in existing technologies is solved, and communication efficiency and user experience are improved.
Patent Information
- Application Number
- CN202110843928.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-26
- Publication Date
- 2026-02-27
- Estimated Expiration
- 2041-07-26
AI Technical Summary
In existing instant messaging software, the process of querying multi-person conversation message records is cumbersome and affects communication efficiency.
By responding to the user's selection of a participant in the human-computer interaction interface, the message history of that participant is displayed in the second area, simplifying the operation process.
It improves the convenience of querying message records and communication efficiency, reduces cumbersome operations, and enhances the user experience.
Smart Images

Figure CN115695347B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the computer technical field, and particularly relates to a message processing method, device and equipment of instant messaging and a computer readable storage medium. BACKGROUND
[0002] With the continuous development of information technology, instant messaging software provides many conveniences for the interaction between users. Users can realize real-time interaction with other users through instant messaging software, and the message records generated thereby are saved in the local of the user terminal or the application server of the instant messaging software.
[0003] In the related art, users usually need to perform cumbersome operations to query message records, which affects the communication efficiency. SUMMARY
[0004] The embodiments of the present application provide a message processing method, device and computer readable storage medium of instant messaging, which can query message records through convenient operations, thereby effectively improving the communication efficiency of instant messaging.
[0005] The technical scheme of the embodiments of the present application is implemented as follows:
[0006] The embodiments of the present application provide a message processing method of instant messaging, comprising:
[0007] receiving messages sent by multiple participants of a session in turn;
[0008] displaying the messages sent by the multiple participants of the session in turn in a first area of a man-machine interactive interface;
[0009] in response to a selection operation in the first area for at least one participant of the multiple participants, displaying message records of the at least one participant in a second area of the man-machine interactive interface;
[0010] The message records comprise at least one message sent by the at least one participant in the session.
[0011] The embodiments of the present application provide a message processing device of instant messaging, comprising:
[0012] a receiving module configured to receive messages sent by multiple participants of a session in turn; a first display module configured to display the messages sent by the multiple participants of the session in turn in a first area of a man-machine interactive interface; and a second display module configured to, in response to a selection operation in the first area for at least one participant of the multiple participants, display message records of the at least one participant in a second area of the man-machine interactive interface; wherein the message records comprise at least one message sent by the at least one participant in the session.
[0013] An electronic device for message processing of instant messaging is provided in the embodiments of the present application, and the electronic device comprises:
[0014] a memory for storing executable instructions;
[0015] a processor for executing the executable instructions stored in the memory to implement the message processing method of instant messaging provided in the embodiments of the present application.
[0016] A computer readable storage medium is provided in the embodiments of the present application, and the computer readable storage medium stores executable instructions for being executed by a processor to implement the message processing method of instant messaging provided in the embodiments of the present application.
[0017] A computer program product or computer program is provided in the embodiments of the present application, and the computer program product or computer program comprises computer instructions stored in a computer readable storage medium. A processor of a computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to enable the computer device to execute the message processing method of instant messaging provided in the embodiments of the present application.
[0018] The embodiments of the present application have the following beneficial effects:
[0019] In a session in which a plurality of participants participate, at least one participant in the plurality of participants is selected, and in response to the selection operation on the at least one participant in the plurality of participants, the message record of the at least one participant is displayed in a second area of the man-machine interactive interface. In this way, the message record can be conveniently queried by the convenient selection operation on the at least one participant in the plurality of participants, and the subsequent communication efficiency is effectively improved. BRIEF DESCRIPTION OF DRAWINGS
[0020] Figure 1 is an architecture schematic diagram of the message processing system of instant messaging provided in the embodiments of the present application;
[0021] Figure 2 is a structure schematic diagram of the electronic device for message processing of instant messaging provided in the embodiments of the present application;
[0022] Figures 3A-3O is a flow schematic diagram of the message processing method of instant messaging provided in the embodiments of the present application;
[0023] Figures 4A-4T is an interface schematic diagram of the message processing method of instant messaging provided in the embodiments of the present application;
[0024] Figures 5-6 is an interaction flow schematic diagram of the message processing method of instant messaging provided in the embodiments of the present application. DETAILED DESCRIPTION
[0025] In order to make the purposes, technical solutions and advantages of the present application clearer, the following will further describe the present application in conjunction with the accompanying drawings, the described embodiments should not be regarded as limitations to the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of protection of the present application.
[0026] In the following description, "some embodiments" are referred to, which describe a subset of all possible embodiments, but it can be understood that "some embodiments" can be the same subset or different subset of all possible embodiments, and can be combined with each other without conflict.
[0027] In the following description, the terms "first\second\third" are only to distinguish similar objects, and do not represent a specific order for the objects, and it can be understood that "first\second\third" can be interchanged with a specific order or sequence as allowed, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0028] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the present application belongs. The terms used herein are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application.
[0029] Before the embodiments of the present application are further described in detail, the terms and phrases involved in the embodiments of the present application are explained, and the terms and phrases involved in the embodiments of the present application are applicable to the following explanations.
[0030] 1) In response to: used to indicate the conditions or states on which the operations performed depend, when the dependent conditions or states are met, one or more operations performed can be real-time or have a set delay; in the absence of special instructions, there is no restriction on the execution order of multiple operations performed.
[0031] 2) Instant messaging (IM, Instant Messaging) is a real-time communication technology that allows two or more people to communicate in real time using the network to deliver text messages, files, voice and video.
[0032] 3) Human Machine Interaction (HMI), also known as user interface or user interface, is the medium and dialogue interface for information transmission and exchange between human and computer, and is an important part of computer system. Human machine interaction interface is the medium for interaction and information exchange between system and user, which realizes the conversion between internal form of information and form acceptable by human. There is human machine interaction interface in all fields involving human machine information exchange.
[0033] 4) Message record: a collection of all sent messages in the session within a time period from the time point of establishing the session to the time point of the current session.
[0034] In the implementation process of the embodiments of the present application, the applicant finds that the related art has the following problems:
[0035] In the prior art, viewing the message record of a certain user in a multi-party conversation message window can be performed in a mobile terminal or in a personal computer (PC).
[0036] When viewing the message record of a certain user in a multi-party conversation message window in a mobile terminal, the following operations are usually required: clicking the more function entry in the upper right corner of the multi-party conversation message window; clicking the "find message record" function entry; clicking the "group member" function entry; clicking the user to be viewed to view all messages of the user in the multi-party conversation message window.
[0037] When viewing the message record of a certain user in a multi-party conversation message window in a personal computer (PC), the following operations are usually required: clicking the message record entry of the multi-party conversation message window; clicking the filter message function entry; clicking the filter member function entry; finding and clicking the user to be viewed; clicking the "OK" button to view all messages of the user in the multi-party conversation message window.
[0038] In summary, when viewing the message record of at least one participant in a conversation composed of multiple participants, whether in a mobile terminal or in a PC, the prior art has the following operation process: first, click the more function entry in the conversation composed of multiple participants, click the find message record function entry, click the at least one participant function entry, click the at least one participant to be viewed, and then view all message records of the at least one participant in the conversation. It can be seen that in the related art, users usually need tedious operations to query message records, which affects communication efficiency and thus affects the user experience of instant messaging software.
[0039] The embodiment of the present application provides a message processing method and device of instant messaging, electronic equipment and computer readable storage medium, which can query message records through convenient operation, and further effectively improves communication efficiency.
[0040] The message processing method of instant messaging provided by the embodiment of the present application can be realized by the terminal alone, or can be realized by the terminal and the server in cooperation, for example, the terminal alone bears the message processing method of instant messaging below, or the terminal sends a message record request to the server, the server executes the message processing method of instant messaging below according to the received message record request, and sends the obtained message record result to the terminal to display in the man-machine interface of the terminal, thereby providing the user with corresponding message record.
[0041] The electronic equipment for message processing of instant messaging provided by the embodiment of the present application can be various types of terminals or servers, wherein the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content distribution networks (CDN), and basic cloud computing services such as big data and artificial intelligence platforms, wherein the cloud service can be a navigation processing service, which is called by the terminal; the terminal can be a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart voice interaction device, etc., but is not limited thereto. The terminal and the server can be directly or indirectly connected through wired or wireless communication, and the embodiment of the present application does not limit this.
[0042] Referring to Figure 1 , Figure 1 is an architecture schematic diagram of the message processing system 100 of instant messaging provided by the embodiment of the present application, the terminal (exemplarily shows the terminal 200) is connected to the server 400 through the network 300, and the network 300 can be a wide area network or a local area network, or a combination of the two.
[0043] In some embodiments, the message processing method for instant communication provided by the embodiments of the present application can be implemented by the terminal 200, taking the terminal as an example. For example, after the terminal 200 receives the messages sent by the multiple participants of the session in turn, the terminal 200 stores the message records locally, and displays the messages sent by the multiple participants of the session in turn in the first area of the man-machine interactive interface. The user triggers the selection operation for at least one participant in the multiple participants in the terminal 200, and the terminal 200 displays the message records of the at least one participant in the second area of the man-machine interactive interface in response to the selection operation for the at least one participant in the multiple participants, so that the message records can be inquired through convenient operation, and the communication efficiency is effectively improved.
[0044] In some embodiments, the message processing method for instant communication provided by the embodiments of the present application can be implemented by the terminal 200 and the server 400. For example, the terminal 200 obtains the message records from the server 400 and displays the message records, and the terminal 200 obtains the message records of at least one participant in the multiple participants in response to the selection operation for the at least one participant in the multiple participants, and displays the message records of the at least one participant in the second area of the man-machine interactive interface, so that the message records can be inquired through convenient operation, and the communication efficiency is effectively improved.
[0045] In some embodiments, the terminal 200 or the server 400 can implement the message processing method for instant communication provided by the embodiments of the present application by running a computer program. For example, the computer program can be a native program or a software module in the operating system; can be a native application program (APP), that is, a program that needs to be installed in the operating system to run, such as various instant communication clients; can be an instant communication applet, that is, a program that only needs to be downloaded into a browser environment to run; or can be a small program that can be embedded into any APP. In summary, the above computer program can be any form of application program, module or plug-in.
[0046] The structure of the electronic device provided by the embodiments of the present application will be described below. Taking the terminal as an example, referring to Figure 2 , Figure 2 is a structural schematic diagram of an electronic device 400 for message processing of instant communication provided by the embodiments of the present application, Figure 2 The electronic device 400 shown in FIG. 4 includes at least one processor 410, a memory 450, at least one network interface 420 and a user interface 430. The various components in the electronic device 400 are coupled together through a bus system 440. It can be understood that the bus system 440 is used to realize the connection and communication between the components. In addition to the data bus, the bus system 440 also includes a power bus, a control bus and a status signal bus. However, in order to clearly illustrate the present application, only the data bus is shown in the figure.Figure 2 Various buses are shown as bus system 440.
[0047] Processor 410 can be an integrated circuit chip having signal processing capabilities, such as a general purpose processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic, discrete hardware components, etc. The general purpose processor can be a microprocessor, or any conventional processor, etc.
[0048] User interface 430 includes one or more output devices 431 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. User interface 430 also includes one or more input devices 432 that facilitate user input, such as a keyboard, a mouse, a microphone, a touch screen display, a camera, other input buttons and portals.
[0049] Memory 450 can be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard drives, optical drives, etc. Memory 450 optionally includes one or more storage devices remotely located from processor 410.
[0050] Memory 450 includes volatile memory or non-volatile memory, or both. Non-volatile memory can be read only memory (ROM), volatile memory can be random access memory (RAM). The memory 450 described herein is intended to include any suitable type of memory.
[0051] In some embodiments, memory 450 is capable of storing data to support various operations, examples of such data including programs, modules, and data structures or subsets or superset thereof, which are illustratively described below.
[0052] Operating system 451 includes systems programs for handling various basic system services and for performing hardware dependent tasks, such as a firmware layer, a kernel layer, a driver layer, etc., for implementing various basic tasks such as resource management, scheduling, input / output control, etc.
[0053] Network communication module 452 is for communicating to other computing devices via one or more (wired or wireless) network interfaces 420, examples of which include Bluetooth, Wireless Compatibility Certification (WiFi), and Universal Serial Bus (USB), etc.
[0054] a presentation module 453 for enabling presentation of information (e.g., a user interface for operating the peripheral device and displaying content and information) via one or more output devices 431 (e.g., a display screen, a speaker, etc.) associated with the user interface 430;
[0055] an input processing module 454 for detecting and translating one or more user inputs or interactions from one or more input devices 432.
[0056] In some embodiments, the instant messaging message processing apparatus provided by the embodiments of the present application can be implemented in software, Figure 2 An instant messaging message processing apparatus 455 stored in the memory 450 is shown, which can be software in the form of programs and plug-ins, etc., including the following software modules: a receiving module 4551, a first display module 4552 and a second display module 4553, which are logical and thus can be combined or further split according to the implemented functions. The functions of the various modules will be described below.
[0057] In some other embodiments, the message processing apparatus provided by the embodiments of the present application can be implemented in hardware, as an example, the message processing apparatus provided by the embodiments of the present application can be a processor in the form of a hardware decoding processor, which is programmed to execute the instant messaging message processing method provided by the embodiments of the present application, for example, the processor in the form of a hardware decoding processor can use one or more application specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs) or other electronic elements.
[0058] The instant messaging message processing method provided by the embodiments of the present application will be described in conjunction with the exemplary applications and implementations of the electronic device provided by the embodiments of the present application.
[0059] Referring to Figure 3A , Figure 3A is a flowchart of the instant messaging message processing method provided by the embodiments of the present application, which will be described in conjunction with the steps shown. Figure 3A
[0060] In step 101, messages sent by a plurality of participants of a session in turn are received.
[0061] It should be noted that the "multiple" in the embodiments of the present application is "at least two", that is, the messages sent by the multiple participants of the session can be the messages sent by at least two participants of the session in turn.
[0062] As an example, refer to Figure 4A , Figure 4A is an interface diagram of the message processing method of instant messaging provided by the embodiments of the present application. For example, Xiaosun, the holder of an electronic device, logs in an instant messaging client and joins a session, and receives the messages sent by Xiaozhao, Xiaoyang and Xiaozhou, the multiple participants of the session, in turn in the session.
[0063] As an example, refer to Figure 4B , Figure 4B is an interface diagram of the message processing method of instant messaging provided by the embodiments of the present application. Xiaoli, Zhang and Wang, the multiple participants of the session, send the messages in turn.
[0064] In step 102, the messages sent by the multiple participants of the session in turn are displayed in the first area of the man-machine interaction interface.
[0065] In some embodiments, refer to Figure 4A , the messages sent by the multiple participants in turn can be text messages, link messages, and the messages can also be voice messages, video messages, etc.
[0066] For example, refer to Figure 4A , the messages sent by Xiaozhao, Xiaoyang and Xiaozhou, the multiple participants of the session, in turn are displayed in the first area 41a of the man-machine interaction interface of the mobile terminal.
[0067] For example, refer to Figure 4B , the messages sent by Xiaoli, Zhang and Wang, the multiple participants of the session, in turn are displayed in the first area 41b of the man-machine interaction interface of the PC terminal.
[0068] In step 103, in response to a selection operation in the first area for at least one participant of the multiple participants, the message record of the at least one participant is displayed in the second area of the man-machine interaction interface, wherein the message record includes at least one message sent by the at least one participant in the session.
[0069] In some embodiments, the form of the selection operation can be single-click, double-click, specific direction drag, etc. operation form through the mouse, and the form of the selection operation can be single-click, double-click, specific direction drag, etc. operation form through the finger (for example, single finger or multiple fingers).
[0070] For example, refer to Figure 4AFor example, the mobile terminal displays the message record of at least one participant (e.g., Xiao Zha) in the second area 42a of the man-machine interactive interface in response to the selection operation of Xiao Xiong on Xiao Zha.
[0071] For another example, referring to Figure 4B , the message record includes three messages sent by at least one participant (e.g., Xiao Li) in the conversation.
[0072] For another example, referring to Figure 4A , the message record includes three messages sent by at least one participant (e.g., Xiao Zha) in the conversation.
[0073] In the conversation involving multiple participants, the message record of at least one participant is displayed in the second area of the man-machine interactive interface in response to the selection operation on the at least one participant. In this way, the message record of the at least one participant can be viewed by the convenient selection operation on the at least one participant, and the cumbersome operation for querying the message record is saved, and the communication efficiency is effectively improved.
[0074] In some embodiments, referring to Figure 3B , Figure 3B is a flowchart of the message processing method of instant messaging provided by the embodiments of the present application. After step 102, the message record of at least one participant is displayed in the second area of the man-machine interactive interface in response to the selection operation on the at least one participant in step 103. After the message record of the at least one participant is displayed in the second area, in step 104, the selected target message is displayed as the reference content in the third area of the man-machine interactive interface in response to the selection operation on the message record of the at least one participant in the second area, and the message editing tool is displayed, wherein the message editing tool is used to edit the reply message to the target message.
[0075] As an example, referring to Figure 4C , Figure 4C is an interface diagram of the message processing method of instant messaging provided by the embodiments of the present application. The third area 43c of the man-machine interactive interface can be a display area of the man-machine interactive interface different from the first area 41c and the second area 42c of the man-machine interactive interface. The message editing tool 44c can be displayed in the third area 43c of the man-machine interactive interface, and the message to be replied 45c can also be displayed.
[0076] In some embodiments, the message editing tool 44c can be an editing tool for editing text, voice, and virtual expression displayed in the third area 43c.
[0077] For example, when detecting a selection operation on the message record of at least one participant, see Figure 4C When detecting a selection operation on the message record "I like you" 451c in the message record of Xiao Zhao, in response to the message record "I like you" 451c in the message record of Xiao Zhao, the selected target message "I like you" is displayed as a quoted content in the third area 43c of the man-machine interactive interface, and the message editing tool 44c is displayed.
[0078] In this way, by directly selecting at least one message record of at least one participant, the selected target message can be displayed as a quoted content in the third area of the man-machine interactive interface, and the message editing tool is displayed, which facilitates the user to directly reply to the selected message.
[0079] In some embodiments, see Figure 3B , Figure 3B is a flowchart of the message processing method of instant messaging provided by the embodiments of the present application. After the selected target message is displayed as a quoted content in the third area of the man-machine interactive interface and the message editing tool is displayed in response to the selection operation on the message record of at least one participant in step 104, steps 105 and 106 are executed.
[0080] In step 105, in response to an editing operation on the message editing tool, the edited reply message is displayed in the third area of the man-machine interactive interface.
[0081] In step 106, in response to a sending operation on the edited reply message, the quoted content and the edited reply message are sent to the multiple participants of the conversation.
[0082] In some embodiments, the editing operation on the message editing tool can be clicking the corresponding control in the message editing tool displayed in the third area, so as to realize the editing operation on the message editing tool.
[0083] As an example, see Figure 4D , Figure 4D is an interface diagram of the message processing method of instant messaging provided by the embodiments of the present application. When detecting a click on the "T" control in the message editing tool, in response to the editing operation on the message editing tool 44d, the edited reply message "I also like you" 47d is displayed in the third area 43d of the man-machine interactive interface. In some embodiments, the sending operation on the edited reply message can be clicking the sending control 45d displayed in the third area 43d, so as to realize the sending operation of the edited reply message.
[0084] For example, see Figure 4DWhen detecting the click of the sending control 45d displayed in the third area, the reference content and the edited reply message are further sent to the multiple participants of the conversation in response to the sending operation of the edited reply message.
[0085] In this way, the message to be replied is edited by the message editing tool 44d, and the reference content 47d and the edited reply message 48d are sent to the multiple participants of the conversation, which facilitates the user to directly reply to the selected message, thereby significantly improving the communication efficiency.
[0086] In some embodiments, Figure 3A The illustrated step 103 can also be implemented by displaying, in the second area of the human-computer interaction interface, the message record of the selected one participant in the conversation in response to the selection operation of the one participant in the multiple participants in the first area.
[0087] As an example, refer to Figure 4E , Figure 4E is an interface schematic diagram of the message processing method of instant messaging provided by the embodiments of the present application, and the message record of the selected one participant (for example, Xiao Zhao) in the conversation is displayed in the second area 4e of the human-computer interaction interface in response to the selection operation of the one participant (for example, Xiao Zhao) in the multiple participants.
[0088] In this way, in the multi-person conversation scenario, the message record of the selected one participant in the conversation is displayed in the second area of the human-computer interaction interface in response to the selection operation of the one participant in the multiple participants, which can directly call out the message record of the other party, effectively improving the efficiency of viewing the message record and the efficiency of establishing a conversation with a single person.
[0089] In some embodiments, Figure 3A The illustrated step 103 can be implemented by displaying, in the second area of the human-computer interaction interface, the message record of the interaction between the selected at least two participants in response to the selection operation of the at least two participants in the multiple participants in the first area.
[0090] As an example, refer to Figure 4F , Figure 4F is an interface schematic diagram of the message processing method of instant messaging provided by the embodiments of the present application, and the message record of the interaction between the selected at least two participants (for example, Xiao Zhao and Xiao Yang) in the conversation is displayed in the second area 4f of the human-computer interaction interface in response to the selection operation of the at least two participants (for example, Xiao Zhao and Xiao Yang) in the multiple participants.
[0091] In some embodiments, the message record of the interaction between the at least two participants can be the message record corresponding to each other between the participant Xiao Zhao and the participant Xiao Yang, or the message record of the continuous conversation between the participant Xiao Zhao and the participant Xiao Yang on the same topic (for example, the topic of food between the participant Xiao Zhao and the participant Xiao Yang).
[0092] In this way, in the process of group chat with at least two users, by displaying the message record of the selected at least two participants in the conversation in the second area of the human-computer interaction interface in response to the selection operation on the at least two participants in the plurality of participants, the message record of the interaction between the at least two participants can be directly called out, thereby effectively improving the efficiency of viewing the message record and the efficiency of the group chat.
[0093] In some embodiments, when the selection operation is a pressing operation, referring to Figure 3C , Figure 3C is a flowchart of a message processing method of instant messaging provided by the embodiments of the present application, Figure 3C shows Figure 3A Step 103 of the method can also be implemented by steps 1033 to 1035.
[0094] In step 1033, when the pressing operation on the identifier of the first participant is detected, the pressing duration of the pressing operation is detected.
[0095] In step 1034, when the pressing duration reaches the pressing duration threshold, the message record of the first participant is displayed in the second area of the human-computer interaction interface.
[0096] In step 1035, when it is detected that the pressing operation is not released and the pressing object is switched from the identifier of the first participant to the identifier of the second participant, the message record of the first participant displayed in the second area of the human-computer interaction interface is switched to the message record of the second participant.
[0097] For example, the identifier of the first participant can be the avatar of the first participant, and the identifier of the first participant can also be the name of the first participant.
[0098] As an example, referring to Figure 4G , Figure 4G is an interface diagram of a message processing method of instant messaging provided by the embodiments of the present application, when the pressing operation on the identifier of the first participant (for example, the pressing operation on the identifier of Xiao Zhao) is detected, the pressing duration of the pressing operation is detected. In some embodiments, the pressing duration threshold can be 2s, 3s, 4s, etc., and when the pressing duration reaches the pressing duration threshold, the message record of the first participant (for example, Xiao Zhao) is displayed in the second area 4g of the human-computer interaction interface. For example, referring to Figure 4GWhen it is detected that the pressing operation is not released and the pressing object is switched from the identity of the first participant (e.g., Xiao Zhao) to the identity of the second participant (e.g., Xiao Yang), the message record of the first participant (e.g., Xiao Zhao) displayed in the second area 4g of the man-machine interaction interface is switched to the message record of the second participant (e.g., Xiao Yang).
[0099] In this way, by switching the pressing object of the pressing operation from the identity of the first participant to the identity of the second participant, so that the identities of the first participant and the second participant are pressed, and then the message record of the first participant displayed in the second area 4g of the man-machine interaction interface is switched to the message record of the second participant. Through the simple two pressing operations, the message records of the two participants can be displayed in turn, which effectively improves the efficiency of communication and reduces the complexity of operation.
[0100] In some embodiments, referring to Figure 3D , Figure 3D is a flowchart of a message processing method of instant messaging provided by the embodiments of the present application, Figure 3D shows Figure 3A Step 103 of the method can also be implemented by steps 1036A to 1038A.
[0101] In step 1036A, when the pressing duration reaches the pressing time threshold, the first function and the second function entry are displayed in the second area of the man-machine interaction interface.
[0102] In step 1037A, in response to the triggering operation on the first function entry, the message record of the first participant is displayed in the second area of the man-machine interaction interface.
[0103] In step 1038A, in response to the triggering operation on the second function entry, the message editing tool is displayed in the third area of the man-machine interaction interface, wherein the message editing tool is used to edit the reply message to the first participant.
[0104] In some embodiments, the first function entry is used to display the message record of the first participant, and the second function entry is used to display the message editing tool. As an example, referring to Figure 4H , Figure 4H is an interface diagram of a message processing method of instant messaging provided by the embodiments of the present application, when the triggering operation on the first function entry is received, in response to the triggering operation on the first function entry (e.g., option 1), the message record of the first participant (e.g., Xiao Zhao) is displayed in the second area 4h of the man-machine interaction interface. As an example, referring to Figure 4I , Figure 4Iis an interface schematic diagram of the message processing method of instant messaging provided by the embodiment of the present application. When receiving a triggering operation of the second function entry (for example, option 2), in response to the triggering operation of the second function entry (for example, option 2), the message editing tool 41i is displayed in the third area 4i of the man-machine interaction interface.
[0105] Referring to Figure 3E , Figure 3E is a flow schematic diagram of the message processing method of instant messaging provided by the embodiment of the present application, Figure 3E shows Figure 3A Step 103 of the embodiment can also be implemented by steps 1036B to 1038B.
[0106] In step 1036B, when the pressing duration reaches the duration threshold, the first function entry and the second function entry are alternately displayed in the second area of the man-machine interaction interface according to a preset duration.
[0107] In step 1037B, in response to the triggering operation of the first function entry, the message record of the first participant is displayed in the second area of the man-machine interaction interface.
[0108] In step 1038B, in response to the triggering operation of the second function entry, the message editing tool is displayed in the third area of the man-machine interaction interface.
[0109] In some embodiments, the first function entry is used to display the message record of the first participant, and the second function entry is used to display the message editing tool. As an example, refer to Figure 4J , Figure 4J is an interface schematic diagram of the message processing method of instant messaging provided by the embodiment of the present application. When receiving a triggering operation of the first function entry (for example, the first icon), in response to the triggering operation of the first function entry (for example, the first icon), the message record of the first participant (for example, Xiao Zhao) is displayed in the second area 4j of the man-machine interaction interface. As an example, refer to Figure 4K , Figure 4K is an interface schematic diagram of the message processing method of instant messaging provided by the embodiment of the present application. When receiving a triggering operation of the second function entry (for example, the second icon), in response to the triggering operation of the second function entry (for example, the second icon), the message editing tool 41k is displayed in the third area of the man-machine interaction interface.
[0110] In this way, by alternately displaying the first function entry and the second function entry in the second area of the man-machine interaction interface according to a preset duration, the user can select the first function entry and the second function entry according to the needs in a short time, and then the user can quickly decide whether to display the message record of the first participant or the message editing tool, thereby effectively improving the efficiency of communication.
[0111] In some embodiments, the selecting operation comprises a hovering operation, see Figure 3F , Figure 3F is a flow diagram of a message processing method of instant messaging provided by embodiments of the present application, Figure 3F shows Figure 3A Step 103 of
[0112] In step 1036C, when the hovering operation on the identification of the at least one participant is detected, the hovering duration of the hovering operation is detected.
[0113] In step 1037C, when the hovering duration reaches the hovering duration threshold, the message record of the at least one participant is displayed in the second area of the human-computer interaction interface.
[0114] In some embodiments, the hovering operation can be a hovering operation realized by a mouse. The user realizes the hovering operation by moving the mouse and moving the mouse arrow to hover over the identification of the participant.
[0115] In some embodiments, in addition to the hovering operation, it can also be an operation mode realized by dragging the mouse in a specific direction, double-clicking the mouse, etc.
[0116] As an example, see Figure 4L , Figure 4L is an interface diagram of a message processing method of instant messaging provided by embodiments of the present application. When it is identified that the mouse 411 moves to the identification of Xiaoli, the hovering operation on the identification of the at least one participant (e.g., Xiaoli) is detected, and the hovering duration of the hovering operation is detected. In some embodiments, the hovering duration threshold can be 2s, 3s, 4s, etc.
[0117] For example, see Figure 4L When the hovering duration reaches the hovering duration threshold, the message record of the at least one participant (e.g., Xiaoli) is displayed in the second area 41 of the human-computer interaction interface.
[0118] In this way, the message record of the at least one participant can be displayed in the second area 2 of the human-computer interaction interface through the convenient hovering operation, thereby effectively improving the communication efficiency.
[0119] In some embodiments, see Figure 3G , Figure 3G is a flow diagram of a message processing method of instant messaging provided by embodiments of the present application, Figure 3G shows Figure 3A Step 103 of
[0120] In step 1036D, in response to the selection operation for at least one participant in the plurality of participants in the first area, a plurality of message categories are displayed in the second area of the human-computer interaction interface.
[0121] In step 1037D, in response to the selection operation for the plurality of message categories, message records of the at least one participant conforming to a target message category are displayed, wherein the target message category is a selected message category in the plurality of message categories.
[0122] The message categories are diversified, for example, can be a picture message category, a voice message category, a text message category, a link message category, and can also be a life message category, a work message category, an entertainment message category, and the like.
[0123] As an example, refer to Figure 4M , Figure 4M is an interface schematic diagram of the message processing method of instant messaging provided by the embodiments of the present application, when the selection operation for at least one participant (for example, Xiao Li) in the plurality of participants is detected, in response to the selection operation for at least one participant (for example, Xiao Li) in the plurality of participants, a plurality of message categories are displayed in the second area 4m of the human-computer interaction interface. As an example, refer to Figure 4N , Figure 4N is an interface schematic diagram of the message processing method of instant messaging provided by the embodiments of the present application, when the selection operation for at least one participant (for example, Xiao Li) in the plurality of participants is detected, in response to the selection operation for at least one participant (for example, Xiao Li) in the plurality of participants, a plurality of message categories are displayed in the second area 4m of the human-computer interaction interface. As an example, refer to
[0124] In this way, by dividing the messages into a plurality of message categories, the user can quickly find the messages of the corresponding category according to the needs.
[0125] In some embodiments, refer to Figure 3H , Figure 3H is a flow schematic diagram of the message processing method of instant messaging provided by the embodiments of the present application, Figure 3H illustrates Figure 3A the steps 103 can also be implemented by steps 1036E to 1037E.
[0126] In step 1036E, in response to the selection operation for at least one participant in the plurality of participants in the first area, a plurality of conversation topics are displayed in the second area of the human-computer interaction interface.
[0127] In step 1037E, in response to the selection operation on the plurality of conversation topics, the message records of the at least one participant meeting the target conversation topic are displayed in the second area of the human-computer interaction interface, where the target conversation topic is the selected conversation topic in the plurality of conversation topics.
[0128] In some embodiments, the conversation topic can be a keyword extracted from the conversation message, and the conversation topic can represent the topic of the conversation message.
[0129] As an example, referring to Figure 4O , Figure 4O is an interface diagram of the message processing method of instant messaging provided by the embodiments of the present application. When it is detected that the selection operation is performed on the at least one participant in the plurality of participants, the plurality of conversation topics are displayed in the second area 4o of the human-computer interaction interface in response to the selection operation on the at least one participant in the plurality of participants. When it is detected that the selection operation is performed on the plurality of conversation topics (for example, the happy topic can be selected), the message records of the at least one participant (for example, Li) meeting the target conversation topic are displayed in the second area of the human-computer interaction interface. In Figure 4O , the displayed is the message record related to the "happy" topic in the message record of Li, that is, the happy expression sent by Li at 7:12:10 on June 18, 2021.
[0130] In this way, by dividing the conversation message into a plurality of conversation topics, the conversation topic is more suitable for the actual content of the conversation, so that the user can quickly find the corresponding message record, and it is more suitable for the actual needs of the user.
[0131] In some embodiments, referring to Figure 3I , Figure 3I is a flow diagram of the message processing method of instant messaging provided by the embodiments of the present application, Figure 3I illustrates Figure 3A the step 103 can also be implemented by steps 1036F to 1037F.
[0132] In step 1036F, in response to the selection operation on the at least one participant in the plurality of participants in the first area, the plurality of time periods are displayed in the second area of the human-computer interaction interface.
[0133] In step 1037F, in response to the selection operation on the plurality of time periods, the message records of the at least one participant meeting the target time period are displayed in the second area of the human-computer interaction interface, where the target time period is the selected time period in the plurality of time periods.
[0134] For example, the time period can be a time period in "hours" (e.g., two hours), can be a time period in days (e.g., two days), and can also be a time period in "weeks". The multiple time periods can be automatically set by the instant messaging client, or can be set by the user through the instant messaging client.
[0135] As an example, refer to Figure 4P , Figure 4P is an interface diagram of the message processing method of instant messaging provided by the embodiments of the present application. In response to the selection operation on at least one participant in the multiple participants, the "no time limit" drop-down bar is displayed in the second area 4p of the man-machine interaction interface, and the multiple time periods are hidden and displayed in the drop-down bar. When it is detected that the "no time limit" drop-down bar is clicked, one time period in the multiple time periods can be further selected. In response to the selection operation on the multiple time periods (for example, the selected time period is June 18, 2021), the message records of the at least one participant that meet the target time period (June 18, 2021) are displayed in the second area 4p of the man-machine interaction interface.
[0136] In this way, by dividing the conversation messages into multiple different time period messages according to the sending time, the user can quickly find the message records of the corresponding time period, and the communication efficiency is effectively improved.
[0137] In some embodiments, in the above, the scheme of selecting messages by choosing one of the time period, the category, and the theme is given. As an alternative to the scheme described above, the message records can be filtered in combination with at least two of the time period, the category, and the theme, which will be introduced below.
[0138] Refer to Figure 4M , the multiple time periods and the multiple message categories can also be displayed in the second area of the man-machine interaction interface in response to the selection operation on at least one participant in the multiple participants; and the message records of the at least one participant that meet the target time period and meet the target message category are displayed in the second area of the man-machine interaction interface in response to the selection operation on the multiple time periods and the multiple message categories.
[0139] Refer to Figure 4O , the multiple conversation themes and the multiple message categories are displayed in the second area of the man-machine interaction interface in response to the selection operation on at least one participant in the multiple participants; and the message records of the at least one participant that meet the target conversation theme and meet the target message category are displayed in the second area of the man-machine interaction interface in response to the selection operation on the multiple conversation themes and the multiple message categories.
[0140] Therefore, the user can select at least one filtering condition of a plurality of conversation topics, a plurality of message categories, and a plurality of time periods according to a requirement, and then display the message record meeting the filtering condition in the second area of the man-machine interaction interface, thereby effectively improving the communication efficiency.
[0141] In some embodiments, referring to Figure 3J and 3K , Figure 3J is a flowchart of a message processing method of instant messaging provided by an embodiment of the present application, Figure 3K is a flowchart of a message processing method of instant messaging provided by an embodiment of the present application, Figure 3J and Figure 3K show that Figure 3A before step 103 of the method shown in
[0142] In step 104, the relevances of a plurality of messages in the message record of the at least one participant to the current topic of the conversation are determined, and the plurality of messages in the message record are sorted in descending order based on the relevances.
[0143] As an example, referring to Figure 4Q , Figure 4Q is an interface diagram of a message processing method of instant messaging provided by an embodiment of the present application, and the current chat message of the conversation is "Xiaozhao: Shall we go to eat? I: Yes. Xiaozhao: What shall we eat? I: As you like. Xiaoyang: The convenience store downstairs". It can be known that the current topic of the conversation is "food and drink". Then the relevances of a plurality of messages in the message record of the at least one participant to the current topic of the conversation are determined, and the plurality of messages in the message record are sorted in descending order based on the relevances, and the messages with high relevance to the current topic are arranged in front of the messages with low relevance to the current topic.
[0144] For example, referring to Figure 4Q , before sorting, the messages in the message record are "Xiaozhao: Bought new clothes today; Xiaozhao: Where shall we go to eat? Xiaozhao: Order takeout", and after sorting, the messages in the message record are "Xiaozhao: Where shall we go to eat? Xiaozhao: Order takeout; Xiaozhao: Bought new clothes today". It can be understood that the relevance of "Xiaozhao: Bought new clothes today" in the message record to the current conversation topic is the lowest, and after sorting, this message can be arranged at the end.
[0145] In step 105, the plurality of messages in the message record of the at least one participant are sorted in descending order or ascending order according to the publishing time.
[0146] As an example, referring to Figure 4R , Figure 4Ris an interface schematic diagram of the message processing method of instant messaging provided by the embodiment of the present application. Before sorting, the sending time of the messages in the message record is: "yesterday 21:38:21; yesterday 19:20:58; yesterday 22:38:56", and after sorting, the messages in the message record are: "yesterday 19:20:58; yesterday 21:38:21; yesterday 22:38:56".
[0147] In this way, by sorting the messages in the message record, the message record displayed in the second area of the man-machine interaction interface is more regular, which facilitates the user to browse the message record more conveniently and quickly, and thus the communication efficiency is improved.
[0148] In some embodiments, referring to Figure 3L , Figure 3L is a flow schematic diagram of the message processing method of instant messaging provided by the embodiment of the present application, Figure 3L is a flow schematic diagram of the message processing method of instant messaging provided by the embodiment of the present application, Figure 3L after step 103 of Figure 3A , in step 106, in response to the keyword input operation, the message record of the at least one participant displayed in the second area is switched to display the messages in the message record of the at least one participant matched with the keyword.
[0149] As an example, referring to Figure 4S , Figure 4S is an interface schematic diagram of the message processing method of instant messaging provided by the embodiment of the present application. When it is detected that there is a keyword input, and it is detected that there is a click operation on the query control 44s in the third area 43s, in response to the keyword input operation, the message record of the at least one participant displayed in the second area 42s (for example, the message record is "Xiaozhao: I like you; Xiaozhao: XXXXXXXXXX; Xiaozhao: XXXXXXXX") is switched to display the messages in the message record of the at least one participant matched with the keyword (for example, the message record is "Xiaozhao: I like you").
[0150] In some embodiments, referring to Figure 3M , Figure 3M is a flow schematic diagram of the message processing method of instant messaging provided by the embodiment of the present application, Figure 3M after step 106 of Figure 3L , step 106 can be implemented by step 1061 to step 1062.
[0151] In step 1061, in response to the function switching operation of the message editing tool in the third area, the message editing tool is switched from the message editing mode to the message search mode.
[0152] In step 1062, in response to the keyword input operation based on the message editing tool, messages matching the input keyword are queried in the message record of the at least one participant, and display of the message record of the at least one participant in the second area is switched to display of the messages matching the input keyword.
[0153] As an example, refer to Figure 4T , Figure 4T is an interface schematic diagram of the message processing method of instant messaging provided by the embodiments of the present application, and the function switching operation can be a long press operation on a specific area of the message editing tool 41t. When the long press operation on the specific area of the message editing tool 41t in the third area 43t is detected, the message editing tool 41t is switched from the message editing mode to the message search mode in response to the long press operation on the specific area of the message editing tool 41t in the third area 43t, that is, the sending control 42t in the message editing tool 41t is switched to the query control 45t. When the keyword input based on the message editing tool 41t is detected, messages matching the input keyword "like" are queried in the message record of the at least one participant in response to the keyword input operation based on the message editing tool 41t, that is, "Xiaozhao: I like you", from the display of the message record of the at least one participant "Xiaozhao: I like you; Xiaozhao: XXXXXXXXXXXX; Xiaozhao: XXXXXXXX") in the second area to the display of the messages matching the input keyword "Xiaozhao: I like you".
[0154] In some embodiments, refer to Figure 3N , Figure 3N is a flow schematic diagram of the message processing method of instant messaging provided by the embodiments of the present application, Figure 3N before step 103 of Figure 3A , steps 107 and 108 can also be respectively performed.
[0155] In step 107, a plurality of messages in the message record of the at least one participant are clustered to obtain categories to which the plurality of messages respectively belong.
[0156] In some embodiments, refer to Figure 3O , Figure 3O is a flow schematic diagram of the message processing method of instant messaging provided by the embodiments of the present application, Figure 3O before step 107 of Figure 3N , steps 1071 to 1072 can also be implemented.
[0157] In step 1071, a plurality of messages in the message record of the at least one participant are segmented to obtain a segmentation vector of the message record of the at least one participant.
[0158] In step 1072, the tokenization vectors of the message records of the at least one participant are clustered to obtain categories to which the plurality of messages respectively belong.
[0159] In some embodiments, tokenization is a process of recombining a continuous word sequence into a word sequence according to a certain specification.
[0160] For example, the plurality of messages in the message records of the at least one participant are tokenized, so that each message can be divided into a plurality of words, for example, the chat message "I like you" is divided into tokenization vectors "I / like / you". Thus, each message record can be divided into a plurality of words to obtain a word set corresponding to each message record, facilitating subsequent processing operations. For example, the tokenization vectors after tokenization are clustered to divide the message records into a plurality of categories. For example, LDA algorithm can be used for clustering, specifically, each message record in the plurality of message records is taken as a document d, all documents d form a document set D, and the word set obtained after the foregoing tokenization of each document d is <w1, w2,..., wn>, where wi represents the ith word and n represents the number of words of each document d. When the document set D is clustered by the LDA algorithm, the number of topics is specified in advance, where a topic is a category. Assuming that k topics are specified in advance, the ith topic is represented as ti. After LDA clustering, the following results are obtained: for any document d, the probability of corresponding to different topics. If a document d corresponds to a topic with the maximum probability, the document d is attributed to the topic, and the documents d attributed to the same topic are attributed to the same category.
[0161] In step 108, the messages in each category are subjected to keyword extraction processing, and the obtained keywords are taken as the message topics corresponding to each category.
[0162] For example, the messages (e.g., I like you) in a category are subjected to keyword extraction, and the obtained keywords (e.g., like) are taken as the topics corresponding to each category.
[0163] By taking the extracted message topics as the topics corresponding to each category, the user habits can be better adapted to, and the user can more conveniently query the message records.
[0164] In the following, an exemplary application of the embodiments of the present application in the application scenario of instant messaging software will be described.
[0165] Generally, when a user chats through instant messaging software, the user can chat with a single other user or chat with a plurality of participants. In the following, the message processing method of instant messaging provided by the embodiments of the present application will be described by taking the chat of a user with a plurality of participants through instant messaging software as an example.
[0166] The embodiment of the present application can quickly call out the historical message record of the specified object in the multi-person conversation window by the interaction mode of hovering operation (in PC client) or long pressing operation (mobile client) in the instant messaging software, and only one step operation can help the user quickly view the historical message of a person in the multi-person conversation window, thereby significantly improving the communication efficiency.
[0167] The message processing method of instant messaging provided by the embodiment of the present application can quickly call out the historical message record of the specified object in the multi-person conversation window by the interaction mode of hovering operation (in PC client) or long pressing operation (mobile client) in the instant messaging software, and only one step operation can help the user quickly view the historical message of a person in the multi-person conversation window, thereby significantly improving the communication efficiency.
[0168] The message processing method of instant messaging provided by the embodiment of the present application can quickly call out the historical message record of the specified object in the multi-person conversation window by the interaction mode of hovering operation (in PC client) or long pressing operation (mobile client) in the instant messaging software, and only one step operation can help the user quickly view the historical message of a person in the multi-person conversation window, thereby significantly improving the communication efficiency.
[0169] In some embodiments, referring to Figure 5 , Figure 5 is the interaction flow diagram of the message processing method of instant messaging provided by the embodiment of the present application, which will be described in combination with the steps shown in Figure 5 .
[0170] In step 201, the client receives the operation of long pressing the nickname of the conversation participant-user B in the multi-person conversation message window by user A.
[0171] In step 202, the client retrieves all historical message data sent by user B in the multi-person conversation message window.
[0172] In step 203, the client displays the historical message record of user B in the current multi-person conversation message window by a panel.
[0173] In step 204, the client receives the operation of long pressing at least one message in the message record of user B by user A.
[0174] In step 205, the client displays a to-be-input state of replying to the message in the current multi-person session message window.
[0175] In some embodiments, referring to Figure 6 , Figure 6 is an interactive flowchart of the message processing method of instant messaging provided by the embodiments of the present application, which will be described in combination with the steps shown in Figure 6 .
[0176] In step 301, the client receives an operation of user A hovering the mouse over the nickname of user B who has sent a message in the multi-person session message window for more than 3 seconds.
[0177] In step 302, the client retrieves all historical message data sent by user B in the multi-person session message window.
[0178] In step 303, the client displays the historical message record of user B in the current multi-person session message window by using a panel.
[0179] In step 304, the client receives an operation of user A double-clicking at least one message in the message record of user B by using the mouse.
[0180] In step 305, the client displays a to-be-input state of replying to the message in the current multi-person session message window.
[0181] Through the message processing method of instant messaging provided by the embodiments of the present application, a user can quickly view all message records of a specified chat object in a multi-person session window through a short operation, and quickly and conveniently reply to a historical message, thereby significantly improving the efficiency of the user in the multi-person session.
[0182] Next, an exemplary structure of the message processing apparatus 455 of instant messaging provided by the embodiments of the present application implemented as a software module is described. Figure 2 As shown in
[0183] The receiving module is configured to receive messages sent by multiple participants of a session in sequence.
[0184] The first display module is configured to display the messages sent by the multiple participants of the session in sequence in a first region of the human-computer interaction interface.
[0185] The second display module is configured to display a message record of at least one participant in a second region of the human-computer interaction interface in response to a selection operation on the at least one participant in the first region; wherein the message record includes at least one message sent by the at least one participant in the session.
[0186] In some embodiments, the message processing apparatus 455 for instant messaging further comprises a third display module configured to, in response to a selection operation on the message record of at least one participant in the second area, display the selected target message as a quoted content in a third area of the human-computer interaction interface, and display a message editing tool, wherein the message editing tool is configured to edit a reply message to the target message.
[0187] In some embodiments, the message processing apparatus 455 for instant messaging further comprises an editing module configured to, in response to an editing operation on the message editing tool, display the edited reply message in the third area of the human-computer interaction interface; and a fourth display module configured to, in response to a sending operation on the edited reply message, send the quoted content and the edited reply message to the plurality of participants in the conversation.
[0188] In some embodiments, the second display module is further configured to, in response to a selection operation on one participant in the plurality of participants in the first area, display the message record of the selected one participant in the second area of the human-computer interaction interface.
[0189] In some embodiments, the second display module is further configured to, in response to a selection operation on at least two participants in the plurality of participants in the first area, display the message record of the interaction between the selected at least two participants in the second area of the human-computer interaction interface.
[0190] In some embodiments, the selection operation can include a press operation; the second display module is further configured to, when detecting the press operation on the identification of the first participant, detect a press duration of the press operation; when the press duration reaches a press duration threshold, display the message record of the first participant in the second area of the human-computer interaction interface; and when detecting that the press operation is not released and the press object is switched from the identification of the first participant to the identification of the second participant, switch the message record of the first participant displayed in the second area of the human-computer interaction interface to the message record of the second participant.
[0191] In some embodiments, the message processing apparatus 455 for instant messaging further comprises a fifth display module configured to, when the press duration reaches the press duration threshold, display a first function and a second function entry in the second area of the human-computer interaction interface, wherein the first function is configured to display the message record of the first participant, and the second function is configured to display the message editing tool; in response to a trigger operation on the first function entry, display the message record of the first participant in the second area of the human-computer interaction interface; and in response to a trigger operation on the second function entry, display the message editing tool in the third area of the human-computer interaction interface, wherein the message editing tool is configured to edit a reply message to the first participant.
[0192] In some embodiments, the message processing apparatus 455 for instant messaging further comprises a sixth display module configured to display, in the second area of the human-computer interaction interface, a first function and a second function entry when the pressing duration reaches the pressing duration threshold, wherein the first function is configured to display the message record of the first participant, and the second function is configured to display the message editing tool; display, in the second area of the human-computer interaction interface, the first function entry and the second function entry alternately according to a preset duration when the pressing duration reaches the duration threshold, display the message record of the first participant in the second area of the human-computer interaction interface in response to a triggering operation on the first function entry, and display the message editing tool in the third area of the human-computer interaction interface in response to a triggering operation on the second function entry, wherein the message editing tool is configured to edit the reply message to the first participant.
[0193] In some embodiments, the selection operation comprises a pressing operation; and the second display module is further configured to detect a hovering duration of the hovering operation when detecting the hovering operation on the identification of the at least one participant, and display the message record of the at least one participant in the second area of the human-computer interaction interface when the hovering duration reaches a hovering duration threshold.
[0194] In some embodiments, the second display module is further configured to display, in the second area of the human-computer interaction interface, a plurality of message categories in response to the selection operation on the at least one participant in the first area, and display the message record of the at least one participant that meets a target message category in response to the selection operation on the plurality of message categories, wherein the target message category is a message category selected from the plurality of message categories.
[0195] In some embodiments, the second display module is further configured to display, in the second area of the human-computer interaction interface, a plurality of conversation topics in response to the selection operation on the at least one participant in the first area, and display the message record of the at least one participant that meets a target conversation topic in response to the selection operation on the plurality of conversation topics, wherein the target conversation topic is a conversation topic selected from the plurality of conversation topics.
[0196] In some embodiments, the second display module is further configured to display, in the second area of the human-computer interaction interface, a plurality of time periods in response to the selection operation on the at least one participant in the first area, and display the message record of the at least one participant that meets a target time period in response to the selection operation on the plurality of time periods, wherein the target time period is a time period selected from the plurality of time periods.
[0197] In some embodiments, the message processing apparatus 455 of the instant messaging further comprises: a first sorting module configured to determine a relevance of each of the plurality of messages in the message record of the at least one participant to the current topic of the conversation, and sort the plurality of messages in the message record of the at least one participant in descending order based on the relevance; and a second sorting module configured to sort the plurality of messages in the message record of the at least one participant in descending order or ascending order according to the time of publishing.
[0198] In some embodiments, the message processing apparatus 455 of the instant messaging further comprises: a matching module configured to, in response to a keyword input operation, switch from displaying the message record of the at least one participant in the second area to displaying the messages in the message record of the at least one participant that match the keyword.
[0199] In some embodiments, the matching module is further configured to, in response to a function switching operation on the message editing tool in the third area, switch the message editing tool from the message editing mode to the message searching mode, and in response to a keyword input operation based on the message editing tool, query the messages in the message record of the at least one participant that match the input keyword, and switch from displaying the message record of the at least one participant in the second area to displaying the messages that match the input keyword.
[0200] In some embodiments, the message processing apparatus 455 of the instant messaging further comprises: a clustering module configured to perform clustering processing on the plurality of messages in the message record of the at least one participant to obtain a category to which each of the plurality of messages belongs; and an extracting module configured to perform keyword extraction processing on the messages in each category, and obtain the keywords as the message topic corresponding to each category.
[0201] In some embodiments, the clustering module is further configured to perform word segmentation processing on the plurality of messages in the message record of the at least one participant to obtain a word segmentation vector of the message record of the at least one participant, and perform clustering processing on the word segmentation vector of the message record of the at least one participant to obtain a category to which each of the plurality of messages belongs.
[0202] The embodiments of the present application provide a computer program product or a computer program, which comprises computer instructions stored in a computer readable storage medium. A processor of a computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to enable the computer device to perform the message processing method of the instant messaging provided by the embodiments of the present application.
[0203] The embodiments of the present application provide a computer readable storage medium storing executable instructions, wherein the executable instructions, when executed by a processor, cause the processor to perform the method provided by the embodiments of the present application, for example, as described above. Figure 3AThe message processing method of instant messaging is shown.
[0204] In some embodiments, the computer-readable storage medium can be FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disc, or CD-ROM memory, etc.; or various devices including one or any combination of the above memories.
[0205] In some embodiments, the executable instructions can be in the form of programs, software, software modules, scripts or code, written in any form of programming language, including compiled or interpreted languages, or declarative or procedural languages, and can be deployed in any form, including being deployed as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
[0206] As an example, the executable instructions can but need not correspond to files in a file system, can be stored in a part of a file that holds other programs or data, for example, in one or more scripts stored in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files, for example, files that store one or more modules, sub programs, or code portions.
[0207] As an example, the executable instructions can be deployed to execute on one computer device, or on multiple computer devices located at one site, or on multiple computer devices distributed across multiple sites and interconnected through a communication network.
[0208] In summary, the embodiments of the present application have the following beneficial effects:
[0209] (1) In a session involving multiple participants, by performing a selection operation on at least one of the multiple participants, in response to the selection operation on the at least one of the multiple participants, the message records of the at least one participant are displayed in a second area of the human-computer interaction interface. In this way, by performing a convenient selection operation on at least one of the multiple participants, the message records of the at least one participant can be viewed, thereby saving the cumbersome operation of querying the message records and effectively improving the communication efficiency.
[0210] (2) By directly selecting the message records of the at least one participant, the selected target message is displayed as a reference content in a third area of the human-computer interaction interface, and a message editing tool is displayed, which facilitates the user to directly reply to the selected message, thereby significantly improving the communication efficiency.
[0211] (3) The message to be replied is edited by a message editing tool, and the quoted content and the edited reply message are sent to multiple participants of the conversation, so that the user can directly reply to the selected message, thereby significantly improving the communication efficiency.
[0212] (4) In the process of private chatting with one user, the message record of the selected one participant in the conversation is displayed in the second area of the human-computer interaction interface in response to the selection operation for one participant in the multiple participants, so that the message record of the other party can be directly called out, thereby effectively improving the efficiency of viewing the message record and the efficiency of chatting with a single person.
[0213] (5) In the process of group chatting with at least two users, the message record of the selected at least two participants in the conversation is displayed in the second area of the human-computer interaction interface in response to the selection operation for at least two participants in the multiple participants, so that the message record of the interaction of the at least two participants can be directly called out, thereby effectively improving the efficiency of viewing the message record and the efficiency of group chatting.
[0214] (6) The pressing object of the pressing operation is switched from the identifier of the first participant to the identifier of the second participant, so that the identifiers of the first participant and the second participant are pressed, and the message record of the first participant displayed in the second area of the human-computer interaction interface is switched to the message record of the second participant. Through two simple pressing operations, the message records of the two participants can be displayed in turn, thereby effectively improving the communication efficiency and reducing the complexity of the operation.
[0215] (7) The first function entrance and the second function entrance are alternately displayed in the second area of the human-computer interaction interface according to a preset time length, so that the user can select the first function entrance and the second function entrance according to the demand in a short time, and then the user can quickly decide whether to display the message record of the first participant or the message editing tool, thereby effectively improving the communication efficiency.
[0216] (8) The messages are divided into multiple message categories, so that the user can quickly find the messages of the corresponding category according to the demand, thereby effectively improving the communication efficiency.
[0217] (9) The conversation messages are divided into multiple conversation topics, and the conversation topics are more suitable for the actual content of the conversation, so that the user can quickly find the corresponding message record, and the actual demand of the user is more suitable.
[0218] (10) The conversation messages are divided into messages of multiple different time periods according to the sending time, so that the user can quickly find the message record of the corresponding time period, thereby effectively improving the communication efficiency.
[0219] (11) By sorting the messages in the message record, the message record displayed in the second area of the man-machine interaction interface is more regular, the user can browse the message record more conveniently and quickly, and the communication efficiency is improved.
[0220] The above is only an embodiment of the present application, and is not used to limit the protection scope of the present application. Any modification, equivalent replacement and improvement within the spirit and scope of the present application shall be included in the protection scope of the present application.
Claims
1. A message processing method for instant messaging, characterized by, The method comprises: receiving messages sent by multiple participants of a session in turn; displaying the messages sent by the multiple participants of the session in turn in a first area of a human-computer interaction interface; in response to a selection operation in the first area for at least one participant of the multiple participants, displaying a message record of the at least one participant in a second area of the human-computer interaction interface, and displaying multiple session topics, the selection operation comprising a pressing operation, the message record comprising at least one message sent by the at least one participant in the session, the at least one message being sorted in descending order of relevance to a current topic of the session; wherein when the pressing operation for an identifier of a first participant is detected, if a pressing duration reaches a pressing duration threshold, the message record of the first participant is displayed in the second area; when it is detected that the pressing operation is not released and a pressing object is switched from the identifier of the first participant to an identifier of a second participant, the message record of the first participant displayed in the second area is switched to a message record of the second participant; when the selection operation is for at least two participants, the message record of a conversation between the at least two selected participants on continuity of the same topic is displayed in the second area; in response to a selection operation for the multiple session topics, displaying the message record of the at least one participant that meets a target session topic in the second area, wherein the target session topic is a selected session topic of the multiple session topics; in response to a function switching operation of a message editing tool in a third area of the human-computer interaction interface, switching the message editing tool from a message editing mode to a message search mode, and in response to a keyword input operation based on the message editing tool, querying a message matching the input keyword in the message record of the at least one participant, and switching from displaying the message record of the at least one participant in the second area to displaying the message matching the input keyword in the second area; wherein the message editing tool is used to edit text, voice and virtual expressions.
2. The method of claim 1, wherein, The method further comprises: in response to a selection operation in the second area for the message record of the at least one participant, displaying a target message selected as reference content in a third area of the human-computer interaction interface, and displaying a message editing tool.
3. The method of claim 2, wherein, After displaying the message editing tool, the method further comprises: in response to an editing operation for the message editing tool, displaying an edited reply message in the third area of the human-computer interaction interface; in response to a sending operation for the edited reply message, sending the reference content and the edited reply message to the multiple participants of the session.
4. The method of claim 1, wherein, The response to the selection operation in the first area for at least one participant of the multiple participants, displaying the message record of the at least one participant in the second area of the human-computer interaction interface, comprises: In response to a selection operation in the first region for one of the plurality of participants, display in a second region of the human-computer interaction interface message records of the selected one participant in the conversation.
5. The method of claim 1, wherein, The method further includes: When the press duration reaches the press duration threshold, display in a second region of the human-computer interaction interface a first function entry and a second function entry, wherein the first function entry is used to display message records of the first participant, and the second function entry is used to display a message editing tool; In response to a triggering operation for the first function entry, display in a second region of the human-computer interaction interface message records of the first participant; In response to a triggering operation for the second function entry, display in a third region of the human-computer interaction interface the message editing tool.
6. The method of claim 1, wherein, The method further includes: When the press duration reaches the press duration threshold, display in a second region of the human-computer interaction interface a first function entry and a second function entry, wherein the first function entry is used to display message records of the first participant, and the second function entry is used to display a message editing tool; When the press duration reaches the press duration threshold, display in a second region of the human-computer interaction interface the first function entry and the second function entry in a preset duration alternately, in response to a triggering operation for the first function entry, display in a second region of the human-computer interaction interface message records of the first participant, and in response to a triggering operation for the second function entry, display in a third region of the human-computer interaction interface the message editing tool.
7. The method of claim 1, wherein The selection operation includes a hovering operation; The displaying, in response to the selection operation in the first region for at least one of the plurality of participants, of the message records of the at least one participant in the second region of the human-computer interaction interface includes: When the hovering operation for the identification of the at least one participant is detected, detecting a hovering duration of the hovering operation; When the hovering duration reaches a hovering duration threshold, displaying in a second region of the human-computer interaction interface the message records of the at least one participant.
8. The method of claim 1, wherein, The displaying, in response to the selection operation in the first region for at least one of the plurality of participants, of the message records of the at least one participant in the second region of the human-computer interaction interface includes: In response to a selection operation in the first region for at least one of the plurality of participants, display in a second region of the human-computer interaction interface a plurality of message categories; In response to a selection operation for the plurality of message categories, display message records of the at least one participant that conform to a target message category, wherein the target message category is a selected message category among the plurality of message categories.
9. The method of claim 1, wherein, The displaying, in response to the selection operation in the first region for at least one of the plurality of participants, of the message records of the at least one participant in the second region of the human-computer interaction interface includes: in response to a selection operation for at least one participant in the plurality of participants in the first area, display a plurality of time periods in the second area of the human-computer interaction interface; in response to a selection operation for the plurality of time periods, display message records of the at least one participant that meet a target time period in the second area of the human-computer interaction interface, wherein the target time period is a time period selected from the plurality of time periods.
10. The method of claim 1, wherein, Before the display of the message records of the at least one participant in the second area of the human-computer interaction interface, the method further comprises: performing clustering processing on a plurality of messages in the message records of the at least one participant to obtain categories to which the plurality of messages respectively belong; performing keyword extraction processing on the messages in each of the categories to obtain keywords as message topics of the corresponding categories.
11. The method of claim 10, wherein, The clustering processing on the plurality of messages in the message records of the at least one participant to obtain categories to which the plurality of messages respectively belong comprises: performing word segmentation processing on the plurality of messages in the message records of the at least one participant to obtain a word segmentation vector of the message records of the at least one participant; performing clustering processing on the word segmentation vector of the message records of the at least one participant to obtain categories to which the plurality of messages respectively belong.
12. An instant messaging message processing apparatus, characterized by comprising: The apparatus comprises: a receiving module configured to receive messages sent by a plurality of participants of a session in turn; a first display module configured to display the messages sent by the plurality of participants of the session in turn in a first area of a human-computer interaction interface; a second display module configured to, in response to a selection operation for at least one participant in the plurality of participants in the first area, display message records of the at least one participant in a second area of the human-computer interaction interface and display a plurality of session topics, the selection operation comprising a pressing operation, the message records comprising at least one message sent by the at least one participant in the session, the at least one message being sorted in descending order of relevance to a current topic of the session; wherein when the pressing operation for an identifier of a first participant is detected, if a pressing duration of the pressing operation is detected; when the pressing duration reaches a pressing duration threshold, the message records of the first participant are displayed in the second area of the human-computer interaction interface; when it is detected that the pressing operation is not released and a pressing object is switched from the identifier of the first participant to an identifier of a second participant, the message records of the first participant displayed in the second area of the human-computer interaction interface are switched to message records of the second participant; when the selection operation is for at least two participants, message records of a conversation between the at least two selected participants about continuity of the same topic are displayed in the second area of the human-computer interaction interface; the second display module is further configured to, in response to a selection operation for the plurality of session topics, display message records of the at least one participant that meet a target session topic in the second area, wherein the target session topic is a session topic selected from the plurality of session topics. The matching module is configured to switch the message editing tool from a message editing mode to a message searching mode in response to a function switching operation of the message editing tool in the third region of the human-computer interaction interface, and to query messages matching an input keyword from the message records of the at least one participant and switch from displaying the message records of the at least one participant in the second region to displaying the messages matching the input keyword in response to a keyword input operation of the message editing tool; wherein the message editing tool is configured to edit text, voice and virtual expressions.
13. An electronic device, comprising: The electronic device comprises: a memory for storing executable instructions; a processor for executing the executable instructions stored in the memory to implement the instant messaging message processing method of any one of claims 1 to 11.
14. A computer-readable storage medium, characterized in that, The memory stores executable instructions for being executed by the processor to implement the instant messaging message processing method of any one of claims 1 to 11.
15. A computer program product comprising computer-executable instructions or a computer program, characterized in that, The computer executable instructions or computer programs are executed by the processor to implement the instant messaging message processing method of any one of claims 1 to 11.
Citation Information
Patent Citations
Information display method and terminal device
CN110825298A
Message processing method and electronic equipment
CN110971510A