WO2024021646A1 - 会话消息的处理方法、装置、设备、存储介质及程序产品 - Google Patents

会话消息的处理方法、装置、设备、存储介质及程序产品 Download PDF

Info

Publication number
WO2024021646A1
WO2024021646A1 PCT/CN2023/083661 CN2023083661W WO2024021646A1 WO 2024021646 A1 WO2024021646 A1 WO 2024021646A1 CN 2023083661 W CN2023083661 W CN 2023083661W WO 2024021646 A1 WO2024021646 A1 WO 2024021646A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
conversation
session
merging
conversation message
Prior art date
Application number
PCT/CN2023/083661
Other languages
English (en)
French (fr)
Inventor
沙莎
刘立强
陈世玉
江龙武
沈玉璘
肖仙敏
Original Assignee
腾讯科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2024021646A1 publication Critical patent/WO2024021646A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/043Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/226Delivery according to priorities

Definitions

  • the present application relates to the fields of artificial intelligence and Internet technologies, and in particular to a session message processing method, device, equipment, storage medium and program product.
  • AI Artificial Intelligence
  • the conversation messages are sorted in the conversation interface according to the sending time. There will be a phenomenon that multiple consecutive messages sent by oneself are interspersed with other people's messages. The message transmission efficiency is low. When needed, When operating (such as summarizing) messages sent by a user that are dispersedly displayed, you need to operate them one by one, resulting in low efficiency in operating messages.
  • Embodiments of the present application provide a conversation message processing method, device, electronic device, computer-readable storage medium and computer program product, which can realize message merging during the conversation process, improve message transmission efficiency and operation efficiency for multiple messages. .
  • This embodiment of the present application provides a method for processing session messages, including:
  • a third conversation message obtained by merging the first conversation message and the second conversation message is displayed.
  • An embodiment of the present application also provides a session message processing device, including:
  • a first display module configured to display at least two conversation messages, where the at least two conversation messages include a first conversation message and a second conversation message;
  • a receiving module configured to receive a message merging instruction, where the message merging instruction is used to instruct merging the first session message and the second session message;
  • the second display module is configured to respond to the message merging instruction and display the third conversation message obtained by merging the first conversation message and the second conversation message.
  • An embodiment of the present application also provides an electronic device, including:
  • memory configured to store executable instructions
  • the processor is configured to implement the session message processing method provided by the embodiment of the present application when executing executable instructions stored in the memory.
  • Embodiments of the present application also provide a computer-readable storage medium that stores executable instructions.
  • the executable instructions are executed by a processor, the session message processing method provided by the embodiments of the present application is implemented.
  • An embodiment of the present application also provides a computer program product, which includes a computer program or instructions.
  • a computer program product which includes a computer program or instructions.
  • the conversation message processing method provided by the embodiment of the present application is implemented.
  • the third conversation message obtained by merging the first conversation message and the second conversation message is displayed; in this way, since the message merging instruction indicates merging the first conversation message and The second conversation message, that is, the first conversation message and the second conversation message are designated to be merged.
  • the electronic device can respond to the message merging instruction to realize the merging of the designated first conversation message and the second conversation message, which improves the efficiency of the message.
  • the operation improves the efficiency of operating multiple conversation messages; at the same time, compared with the solution of displaying messages in the conversation interface based only on the sending time of the messages in related technologies, it improves the efficiency of electronic device hardware processing resources and display resources. Utilization.
  • Figure 1 is a schematic diagram of an interface for message conversation in related technologies
  • Figure 2 is a schematic architectural diagram of a session message processing system 100 provided by an embodiment of the present application.
  • Figure 3 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • Figure 4 is a schematic flowchart of a session message processing method provided by an embodiment of the present application.
  • Figure 5 is a schematic diagram of the interface for dragging session messages to implement message merging provided by the embodiment of the present application
  • Figure 6 is a schematic interface diagram of the timeout prompt during the message merging process provided by the embodiment of the present application.
  • Figure 7 is a schematic diagram of the triggering interface of the message merging instruction provided by the embodiment of the present application.
  • 8A to 8C are schematic interface diagrams for adjusting the sorting of merged conversation messages provided by embodiments of the present application.
  • FIGS. 9A to 9F are schematic interface diagrams for merging different types of session messages provided by embodiments of the present application.
  • Figures 10A to 10C are schematic interface diagrams of merging conversation messages of different conversation objects provided by embodiments of the present application.
  • Figure 11 is a schematic diagram of the interface for merging operations provided by the embodiment of the present application.
  • Figure 12 is a schematic diagram of an interface showing the number of merged conversation messages provided by an embodiment of the present application.
  • Figures 13A and 13B are schematic interface diagrams of message processing based on message processing function items provided by embodiments of the present application;
  • Figure 14 is a schematic diagram of an interface for displaying voting results provided by an embodiment of the present application.
  • Figure 15 is a schematic flowchart of a session message processing method provided by an embodiment of the present application.
  • Figure 16 is a schematic diagram of the sending flow of conversation messages provided by the embodiment of the present application.
  • Figure 17 is a schematic diagram of message composition provided by the embodiment of the present application.
  • Figure 18 is a schematic diagram of the composition of the protocol request packet provided by the embodiment of the present application.
  • Figure 19 is a schematic diagram of the composition of the response packet provided by the embodiment of the present application.
  • Figure 20 is a schematic flowchart of pre-processing for message merging provided by the embodiment of the present application.
  • Figure 21 is a schematic diagram of the interaction flow between the client and the server provided by the embodiment of the present application.
  • Figure 22 is a schematic flowchart of preprocessing for adjusting the position of merged messages provided by the embodiment of the present application.
  • Figure 23 is a schematic diagram of the interaction flow when moving merged messages provided by the embodiment of the present application.
  • Figure 24 is a schematic diagram comparing message signaling provided by the embodiment of the present application.
  • Figure 25 is a schematic flowchart of pre-processing for merging other people's messages provided by the embodiment of the present application.
  • Figure 26 is a schematic diagram of the message content structure provided by the embodiment of the present application.
  • Figure 27 is a schematic diagram of the processing flow after message merging provided by the embodiment of the present application.
  • first ⁇ second ⁇ third are only used to distinguish similar objects and do not represent a specific ordering of objects. It is understandable that "first ⁇ second ⁇ third" Where permitted, the specific order or sequence may be interchanged so that the embodiments of the application described herein can be practiced in an order other than that illustrated or described herein.
  • Response is used to represent the conditions or states on which the performed operations depend.
  • the dependent conditions or states are met, the one or more operations performed may be in real time or may have a set delay; Unless otherwise specified, there is no restriction on the execution order of the multiple operations performed.
  • Client an application running in the terminal to provide various services, in this article refers to an instant messaging client or a client with conversation function, such as a video playback client, a game client, an education client, etc.
  • Figure 1 is a schematic diagram of an interface for message conversation in related technologies.
  • the inventor found during the research process that in related technologies, in the conversation interface, messages are displayed in order according to the sending time of the messages, and there will be a message that you want to send.
  • the phenomenon of continuous messages being interspersed with other people's messages.
  • For group chat conversations when you want to summarize the discussion content of multiple people in the group, you can only copy them one by one and then summarize them. The message processing efficiency is very low.
  • the conversation message processing system provided by the embodiments of the present application will be described below.
  • Figure 2 is the architecture of the conversation message processing system 100 provided by the embodiments of the present application.
  • the terminal exemplarily shows the terminal 300-1 and the terminal 300-2, wherein the terminal 300-1 is provided with a client 310-1, and the terminal 300-2 is provided with a client
  • the terminal 310-2 is connected to the server 200 through the network 500.
  • the network 500 can be a wide area network or a local area network, or a combination of the two, using wireless or wired links to realize data transmission.
  • the terminal of the target object is terminal 300-1, and the terminal of the conversation object of the target object is terminal 300-2.
  • the number of session objects (terminal 300-2) of the target object may be one or more (ie, at least two).
  • the server 200 is configured to distribute messages sent by each member in the session (the target object or the session object of the target object) to each member in the session;
  • Terminal 300-1 and terminal 300-2 are configured to display the message in the session interface after receiving the message distributed by the server;
  • the terminal 300-1 is also configured to respond to a message merging instruction triggered by the target object when the session message displayed in the session interface is at least two session messages including a first session message and a second session message. Used to indicate merging the first session message and the second session message,
  • a third conversation message obtained by merging the first conversation message and the second conversation message is displayed.
  • the terminal 300-1 is provided with a client, such as an instant messaging client, and the terminal runs the instant messaging client so that the target object can conduct message conversations based on the conversation interface displayed by the instant messaging client.
  • a client such as an instant messaging client
  • the terminal runs the instant messaging client so that the target object can conduct message conversations based on the conversation interface displayed by the instant messaging client.
  • the target object conducts a message conversation based on the conversation interface
  • at least two conversation messages including the first conversation message and the second conversation message are displayed in the conversation interface
  • the instant messaging client responds to the message triggered by the target object.
  • Message merging instruction When the message merging instruction is used to instruct merging the first conversation message and the second conversation message, the third conversation message obtained by merging the first conversation message and the second conversation message is displayed in the conversation interface.
  • the server 200 can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or it can provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, and networks. Services, cloud communications, middleware services, domain name services, security services, content delivery network (CDN, Content Delivery Network), and cloud servers for basic cloud computing services such as big data and artificial intelligence platforms.
  • the terminal (such as the terminal 300-1) can be a smartphone, a tablet computer, a notebook computer, a desktop computer, a smart home appliance (such as a smart speaker, a smart TV), a smart watch, a smart voice interaction device, a vehicle-mounted terminal, an aircraft, etc., but it does not Limited to this.
  • the terminal (such as terminal 300-1) and the server 200 can be connected directly or indirectly through wired or wireless communication methods, which is not limited in this application.
  • the electronic device includes but is not limited to a server or a terminal.
  • the electronic device may be the terminal in Figure 2 (including terminal 300-1 and Terminal 300-2).
  • Figure 3 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • the electronic device 400 shown in Figure 3 includes: at least one processor 410, a memory 450, at least one network interface 420 and a user interface 430.
  • the various components in electronic device 400 are coupled together by bus system 440 .
  • the bus system 440 is used to implement connection communication between these components.
  • the bus system 440 also includes a power bus, a control bus, and a status signal bus.
  • the various buses are labeled as bus system 440 in FIG. 3 .
  • the processor 410 may be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware Components, etc., wherein the general processor can be a microprocessor or any conventional processor, etc.
  • DSP Digital Signal Processor
  • User interface 430 includes one or more output devices 431 that enable the presentation of media content, including one or more speakers and/or one or more visual displays.
  • User interface 430 also includes one or more input devices 432, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, and other input buttons and controls.
  • Memory 450 may be removable, non-removable, or a combination thereof.
  • Exemplary hardware devices include solid state memory, hard disk drives, optical disk drives, etc.
  • Memory 450 optionally includes one or more storage devices physically located remotely from processor 410 .
  • Memory 450 includes volatile memory or non-volatile memory, and may include both volatile and non-volatile memory.
  • Non-volatile memory can be read-only memory (ROM, Read Only Memory), and volatile memory can be random access memory (RAM, Random Access Memory).
  • RAM Random Access Memory
  • the memory 450 described in the embodiments of this application is intended to include any suitable type of memory.
  • the memory 450 is capable of storing data to support various operations, examples of which include programs, modules, and data structures, or subsets or supersets thereof, as exemplarily described below.
  • the operating system 451 includes system programs configured to handle various basic system services and perform hardware-related tasks, such as the framework layer, core library layer, driver layer, etc., used to implement various basic services and process hardware-based tasks;
  • Network communications module 452 configured to reach other computing devices via one or more (wired or wireless) network interfaces 420, example network interfaces 420 include: Bluetooth, Wireless Compliance Certified (WiFi), and Universal Serial Bus ( USB, Universal Serial Bus), etc.;
  • Presentation module 453 configured to enable the presentation of information (e.g., for operating peripheral devices and displaying content and information to a user via one or more output devices 431 (e.g., display screens, speakers, etc.) associated with user interface 430 interface);
  • An input processing module 454 configured to detect one or more user inputs or interactions from one or more input devices 432 and translate the detected inputs or interactions.
  • the session message processing device provided by the embodiment of the present application can be implemented in a software manner.
  • Figure 3 shows a session message processing device 455 stored in the memory 450, which can be in the form of a program, a plug-in, etc.
  • the software includes the following software modules: the first display module 4551, the receiving module 4552 and the second display module 4553. These modules are logical, so they can be combined or split arbitrarily according to the functions implemented. Each will be described below. module functionality.
  • the conversation message processing device provided by the embodiment of the present application can be implemented by combining software and hardware.
  • the conversation message processing device provided by the embodiment of the present application can be implemented in the form of a hardware decoding processor.
  • a processor in the form of a hardware decoding processor may adopt one or more Application Specific Integrated Circuits (ASIC, Application Specific Integrated Circuit).
  • ASIC Application Specific Integrated Circuit
  • DSP programmable logic device
  • PLD Programmable Logic Device
  • CPLD Complex Programmable Logic Device
  • FPGA Field-Programmable Gate Array
  • Figure 4 is a schematic flowchart of a session message processing method provided by an embodiment of the present application; in some embodiments, the session message processing method can be implemented by the server or the terminal alone, or by the server and the terminal collaboratively, so as to Taking terminal implementation as an example, the session message processing method provided by the embodiment of this application includes:
  • Step 101 The terminal displays at least two conversation messages including a first conversation message and a second conversation message.
  • a client is usually installed on the terminal, such as an instant messaging client.
  • the user i.e. the target object
  • the target object conducts message conversations with other conversation objects based on the conversation interface displayed by the client.
  • the conversation corresponding to the conversation interface can be a group conversation (that is, a conversation including at least three members) or a single-person conversation. .
  • the session interface of the target object displays session messages sent by the target object itself and sent by other members in the session.
  • the session interface of the target object displays multiple session messages.
  • the plurality of conversation messages include a first conversation message and a second conversation message.
  • the first conversation message and the second conversation message may both be sent by the target object, or one of them may be sent by the target object and the other may be sent by the target object. It can also be sent by the session object of the target object.
  • Step 102 In response to the message merging instruction, which is used to instruct merging the first conversation message and the second conversation message, display the third conversation message obtained by merging the first conversation message and the second conversation message.
  • the target object can instruct two or more messages (such as three or more) in the conversation interface to be merged by triggering the message merging instruction.
  • the message merging instruction is used to select the target object. Two messages (such as the first session message and the second session message) are merged.
  • the target object needs to merge three or more session messages, it can be achieved by triggering the message merge instruction multiple times. In this way, when multiple consecutive messages sent by the user (target object) themselves are interrupted, the missed messages can be avoided by merging the interrupted messages.
  • the user needs to summarize the messages of multiple conversation objects in the group chat, When sending messages, messages from different conversation objects can be merged through message merging, so that messages from different conversation objects are presented through one message. This improves the efficiency of conversation message transmission and the user's message processing efficiency.
  • the message merging instruction can be triggered based on the conversation interface.
  • the target object can trigger the message merging instruction by dragging the conversation message in the conversation interface, and the target object drags the first conversation message in the conversation interface. , merging the session messages sent by the target object itself as an example.
  • the terminal responds to the drag operation of the target object on the first session message. When the drag operation satisfies the message movement conditions, the first session is displayed in the session interface. In the process of message dragging, when the first session message is dragged to the second session message, in response to the drag operation being released, the message merging instruction is triggered.
  • Figure 5 is a schematic diagram of the interface for dragging conversation messages to implement message merging provided by the embodiment of the present application.
  • Figure (1) is a conversation interface for displaying conversation messages based on the sending time of the messages. You can see in Figure (1) The continuous messages "Let's go camping" and "The weather is nice! sent by the user themselves are interrupted by the conversation object.
  • Figure (2) shows that the user (target object) drags the conversation message “Let's go camping” on The process of moving in the conversation interface.
  • Figure (3) shows the interface when the user (target object) drags the conversation message "Let's go camping" to the conversation message "The weather is nice!.
  • Figure (4) shows the interface. The user (target object) releases the session message "I After the drag operation (i.e. let go) of "Let's go camping", the conversation message "Let's go camping” and the conversation message "The weather is nice! "A conversation message obtained by merging.
  • the drag operation for the first conversation message may include a continuously performed selection operation for the first conversation message (such as a click operation, a long press operation, that is, a press operation whose pressing duration reaches the duration threshold) and a pulling operation, and the message moves
  • the conditions may include at least one of the following: the operation duration reaches the duration threshold, and the operation track length of the pull operation reaches the length threshold.
  • the terminal controls the first session message to be in a suspended state, and along with the execution of the drag operation, displays the dragged first session message in the suspended state in the session interface. process.
  • the terminal can display the first conversation message in the form of a bubble card.
  • the terminal uses the bubble card to display the first conversation message.
  • the drag operation of the target object on the first conversation message satisfies the message movement condition
  • the bubble card carrying the first conversation message is controlled to be in a suspended state, and the process of the bubble card being dragged is displayed in the conversation interface.
  • the target object drags the first conversation message, that is, the target object selects the first conversation message as the conversation message to be merged, and drags the first conversation message to the second conversation message, that is, the target object The subject selects the second conversation message as a conversation message to be merged with the first conversation message.
  • the target object can only drag the sending duration (that is, the time interval from the sending time point of the message to the current time point) within the target duration range.
  • the specific setting can be set according to actual needs). Taking the target duration as one minute as an example, the target object can only drag and send session messages whose time interval from the current time point is within one minute.
  • the terminal when the drag operation satisfies the message movement condition, the terminal obtains the first time interval between the sending time of the first session message and the current time; when the first time interval is less than or equal to the time interval threshold (ie, the target duration) , display the process of the first session message being dragged in the session interface; when the first time interval is greater than the time interval threshold, a timeout prompt information is displayed.
  • the timeout prompt information is used to prompt that the time for merging the first session message has exceeded.
  • the target object can only merge session messages whose sending duration is within the target duration, that is, the sending duration of the first session message and the second session message must both be within the target duration; in practical applications, when the When a conversation message is dragged to the second conversation message, in response to the drag operation being released, the first sending duration of the first conversation message and the second sending duration of the second conversation message are obtained.
  • the first sending duration and the second sending duration are When at least one of the two sending durations exceeds the target duration, a timeout message is displayed to remind the user that only session messages whose sending duration is within the target duration can be merged, and the first session message is moved to the position before the above drag operation is performed.
  • FIG 6 is a schematic interface diagram of the timeout prompt during the message merging process provided by the embodiment of the present application.
  • the timeout message “Only messages within 1 minute can be merged” is displayed, and Reset the dragged conversation message "Let's go camping” to the position before dragging.
  • the time interval between the merged first session message and the second session message indicated by the target object needs to be within a certain time range, that is, when the first session message is dragged to the second session message
  • the sending time interval between the sending time of the first session message and the sending time of the second session message is obtained.
  • the message merging instruction is triggered,
  • the interval prompt information is displayed, and the first session message is moved to the position before the drag operation is performed; where the interval prompt information is used to prompt the first session message and the second session message.
  • the sending time interval has exceeded the sending time interval threshold, and you can be prompted for the sending time interval for message merging.
  • the sending time interval for message merging is 1 minute.
  • the message merging instruction can also be triggered by the message merging function item.
  • the terminal displays the message merging function item in the session interface; in response to the triggering operation for the message merging function item, control at least two The conversation message is in the candidate state; in response to the selection operation on the first conversation message and the second conversation message in the candidate state, the message merging instruction is triggered.
  • Figure 7 is a schematic diagram of the triggering interface of the message merging instruction provided by the embodiment of the present application. Referring to Figure 7, a message merging function item 72 is displayed in the conversation interface 71.
  • the conversation message in the conversation interface is in the candidate state, that is, as shown in the conversation interface 73, when the target object selects "Let's go camping" and "The weather is nice! based on the conversation interface 73, and
  • the OK control 75 is clicked, as shown in the conversation interface 74, the message merging instruction is triggered.
  • the terminal may display the third session message obtained by merging the first session message and the second session message in the following manner: when the sending time of the first session message is earlier than the sending time of the second session message, the terminal displays The process of automatically moving the first session message to the second session destination and merging it with the second session message to obtain the third session message; or when the sending time of the first session message is earlier than the sending time of the second session message, the terminal Display the process of automatically moving the first conversation message to the second conversation destination, and display the third conversation message obtained by merging the first conversation message and the second conversation message. That is, after the first conversation message is automatically moved to the second conversation location, the terminal may display the process of merging the first conversation message and the second conversation message, or may only display the merged status, that is, only display the merging result.
  • the terminal may also display a third conversation message obtained by merging the first conversation message and the second conversation message in the following manner: when the first conversation message and the second conversation message are not the latest ones in the conversation interface.
  • the terminal displays the third conversation message by automatically moving the first conversation message to the second conversation message or automatically moving the second conversation message to the first conversation message, and merging the third conversation message, and the third conversation message is moved to the Describe the process below for sending the latest session message.
  • the terminal may also display the automatic movement of the first conversation message to the second conversation message or the automatic movement of the second conversation message when the first conversation message and the second conversation message are not the latest conversation message in the conversation interface. Go to the process of the first conversation message, and display the third conversation message obtained by merging the first conversation message and the second conversation message. The third conversation message is located below the conversation message with the latest sending time.
  • the terminal after the terminal displays the third session message obtained by merging the first session message and the second session message, the position of the merged third session message in the session interface can be adjusted, that is, the third session message
  • the terminal responds to the sorting adjustment instruction for the third session message and moves the position of the third session message in the session interface to change the message sorting of the third session message in the session interface.
  • the target object can adjust the sorting of the third session message by dragging the third session message.
  • the terminal responds to the drag operation for the third session message.
  • the drag operation is When the operation duration reaches the duration threshold, the sorting adjustment instruction for the third session message is triggered.
  • the third session message is controlled to move synchronously in the session interface to change the message of the third session message in the session interface. Sort.
  • Figure 8A is a schematic diagram of an interface for sorting and adjusting merged conversation messages provided by an embodiment of the present application.
  • the message dragged by the target object in Figure (1) is a pair of "The weather is good! and The third conversation message obtained by merging "Let's go camping", when the target's dragging time for the message reaches the duration threshold, the movement of the message in the conversation interface is triggered.
  • the target object drags the third conversation message Go to the bottom of the conversation message "Hahaha! I just want to go out and relax on the weekend” and release the drag operation, as shown in Figure (2), to adjust the sorting of the third conversation message, as shown in Figure (3).
  • the third conversation message is sorted in the conversation interface after "Haha, okay! I just want to go out and relax on the weekend.”
  • the target object can also adjust the sorting of the third session messages through the sorting control in the session interface.
  • the terminal display After displaying the third conversation message obtained by merging the first conversation message and the second conversation message, the third conversation message is controlled to be in a sorting state to be adjusted, and a sorting control is displayed in the conversation interface.
  • the sorting control includes an upward adjustment control and a downward adjustment control. Control, the target object adjusts the control upward by triggering (such as clicking) to realize the movement of the third session message sorting from bottom to top in the session interface.
  • the control is adjusted upward and moves up one position; if the target object By triggering (such as clicking) the downward adjustment control, the sorting of the third session messages in the session interface is moved from top to bottom. For example, each time the downward adjustment control is clicked, the downward adjustment control moves one position downward.
  • FIG. 8B is a schematic diagram of an interface for adjusting the sorting of merged conversation messages provided by an embodiment of the present application. See FIG. 8B.
  • the sorting control includes an upward adjustment control and a downward adjustment control, as shown in Figure (1)
  • the target object clicks the downward adjustment control the third conversation message 81 is triggered to move downward by one position, that is, to the bottom of the conversation message adjacent to the third conversation message in the conversation interface, and the confirmation control 83 is displayed.
  • the target object clicks the confirmation control 83 to trigger the confirmation instruction the adjustment for the sorting of the third conversation message is implemented, as shown in Figure (3).
  • the target object when the target object adjusts the sorting of the merged session messages (such as the third session message), the adjustment can only be made within the target area in the session interface.
  • the terminal moves the third session message.
  • the target area is displayed; when the third conversation message moves to the edge of the target area, the movement prompt information is displayed.
  • the movement prompt information is used to prompt that the third conversation message can only be adjusted within the target area. Sort.
  • the sending time of the third session message obtained after merging is the sending time of the second session message.
  • the target object sorts and adjusts the merged conversation messages (such as the third conversation message)
  • the adjusted position can only be within a period of time (such as 1 minute). For example, the sending time of the third conversation message is 11:15.
  • the position movement range of the third conversation message is between 11:14 and 11:16; in practical applications, when the terminal moves the position of the third conversation message, when the third conversation message moves to the target position, When the target position is such that the third conversation message is adjacent to the target historical conversation message, and the sending time interval between the third conversation message and the target historical conversation message reaches the time interval threshold, between the third conversation message and the target historical conversation message, it is displayed
  • the interception line is used to intercept the third conversation message when the third conversation message moves to the interception line, that is, the third conversation message cannot cross the interception line and is moved to the area where the target historical conversation message is located; In this way, the movement range and sorting range of messages are controlled, and content confusion caused by excessive sending time intervals of adjacent messages is avoided.
  • Figure 8C is a schematic diagram of an interface for adjusting the sorting of merged conversation messages provided by an embodiment of the present application.
  • conversation message 84 is the third conversation message obtained after message merging.
  • the time interval threshold displays an interception line 86 between the session message 84 and the session message 85, as shown in Figure (2), so that when the user continues to drag the session message 84 downward, the session message 84 is intercepted, so that the user The conversation message 84 cannot be moved below the conversation message 85.
  • the control conversation message 84 is displayed at the release position corresponding to the drag operation, as shown in Figure (3) Show.
  • the target object after merging the first conversation message and the second conversation message to obtain the third conversation message, can also sequence the content of the first conversation message and the content corresponding to the second conversation message in the merged message. Adjustment is made.
  • the content corresponding to the first conversation message is the first content
  • the content corresponding to the second conversation message is the second content.
  • the result obtained by merging the first conversation message and the second conversation message is displayed.
  • the terminal controls the first content and the second content in the third conversation message to be in a state of waiting for sorting. If the user does not need to adjust the first content and the second content
  • the sorting of the second content triggers a confirmation command, such as clicking on a blank area in the conversation interface. If the user needs to adjust the sorting of the first content and the second content, the corresponding position adjustment can be triggered by dragging the first content or the second content. Instructions, for example, when the first content "The weather is nice! is sorted first and the second content "Let's go camping" is sorted last, you can drag the position of the first content to behind the position of the second content.
  • the types of the first conversation message and the second conversation message specified by the target object for merging may be at least one of the following: text messages, voice messages, picture messages, video messages, emoticon messages, and rich media messages.
  • Figures 9A to 9F are schematic diagrams of interfaces for merging different types of conversation messages provided by embodiments of the present application. Refer to Figure 9A.
  • the user realizes the merging of picture messages and text messages by dragging the picture message to the text message; see Figure 9B, the user realizes the merging of the video message and the text message by dragging the video message to the text message; see Figure 9C, the user realizes the merging of the voice message and the text message by dragging the voice message to the text message; see Figure 9D, The user can merge the picture message and the voice message by dragging the picture message to the voice message.
  • Figure 9E the user can merge the picture message and the video message by dragging the picture message to the video message. In practical applications, the user can merge multiple conversation messages by dragging the message multiple times. See Figure 9F.
  • the user first drags the voice message to the text message to merge the voice message and the text message to obtain the merged message. , and then drag the picture message to the merge message location to realize the merging of the picture message and the merged message. In this way, the merging of the voice message, text message and picture message is realized.
  • the message merging instruction realizes the merging of session messages of two or more message types.
  • the user in addition to merging session messages sent by itself, can also merge session messages sent by itself and other session objects, or only merge session messages sent by other session objects.
  • the terminal when When the first session message is sent to the target object and the second session message is sent to the session object of the target object, the terminal can display the third session message obtained by merging the first session message and the second session message in the following manner: Terminal Display the message copy of the second session message; in the session interface, display the third session message obtained by merging the first session message and the message copy of the second session message, or display the merging of the first session message and the second session message.
  • the process of obtaining the third conversation message for example, the process of dynamically displaying message copies of the first conversation message and the second conversation message, gradually approaching each other from being independent to each other, and finally merging into the third conversation message.
  • the conversation message dragged by the user is a conversation message sent by itself, the movement of the conversation message itself is triggered. If the conversation message dragged by the user is When the session message is a session message sent by the user's session object, what is triggered is the movement of a copy of the session message. Of course, in some embodiments, the session message dragged by the user is sent by the user's session object. When a session message is generated, the trigger may also be the movement and merging of the session message itself.
  • the message merging instruction may be triggered in the following manner: in response to the pressing operation for the first conversation message, the terminal controls the first conversation message to be in the selected state; during the process of performing the pressing operation, in response to the pressing operation for the second
  • the drag operation of the session message displays a copy of the second session message, and displays the process of dragging the copy of the second session message in the session interface; when the second session message is dragged to the first session message, respond When the drag operation is released, the message merging command is triggered.
  • Figure 10A is a schematic diagram of an interface for merging conversation messages of different conversation objects provided by an embodiment of the present application.
  • the terminal determines the conversation The message is a conversation message to be merged, and the conversation message is controlled to be in the selected state. While the user is pressing the conversation message "Place A", use another finger to drag the conversation message "One-day trip to Place B" sent by others.
  • the terminal responds to the drag operation on the session message "One-day trip to location B", generates and displays a message copy of the session message "One-day trip to location B", and displays the message of "one-day trip to location B" in the session interface
  • the process of the copy being dragged When the message copy of "One-day trip to location B" is dragged to the conversation message "location A”, in response to the drag operation being released, the message merging instruction is triggered. The process of displaying "One-day trip to location B" and "Place A" in the conversation interface.
  • the user when the user performs the pressing operation on the first conversation message, the user can drag the conversation messages sent by others multiple times to realize the integration of multiple conversation messages sent by others and the conversation messages sent by the user.
  • merging that is, after the terminal displays the third conversation message obtained by merging the first conversation message and the second conversation message, and in the process of the target object performing a pressing operation on the first conversation message, the terminal responds to the fourth conversation message.
  • the drag operation displays the dragging process of the fourth session message in the session interface; when the fourth session message is dragged to the third session message, in response to the drag operation being released, the fourth session message and The third conversation message is merged to obtain the fifth conversation message, or the process of merging the fourth conversation message and the third conversation message to obtain the fifth conversation message is displayed.
  • Figure 10B is a schematic diagram of an interface for merging conversation messages of different conversation objects provided by an embodiment of the present application.
  • the number of merged conversation messages can be displayed in the conversation interface. In this way, it is convenient for the user to clearly know the number of merged conversation messages.
  • the message merging instruction may also be triggered in the following manner: the terminal responds to the target object for the first session message.
  • the pressing operation of the conversation message when the pressing operation reaches the pressing condition, the conversation message in the control conversation interface is in the candidate state; in the process of performing the pressing operation, in response to the triggering operation for the second conversation message in the candidate state, the triggering message Merge instruction; accordingly, after the message merge instruction is triggered, the third session message obtained by merging the first session message and the second session message is displayed in the following manner: the copy of the displayed second session message is automatically moved to the first session message.
  • the above pressing condition is determined to be satisfied when at least one of the following conditions is met: the pressing duration of the pressing operation reaches the duration threshold, and the pressure of the pressing operation reaches the pressure threshold.
  • Figure 10C is a schematic diagram of an interface for merging conversation messages of different conversation objects provided by the embodiment of the present application.
  • the terminal controls the conversation.
  • Other conversation messages in the interface are in the candidate state.
  • the user is pressing the conversation message "Place A”
  • he uses another finger to click on the conversation message "Place C” sent by others.
  • the terminal responds to the click on the conversation message "Place C”.
  • Operation trigger the message merge command, generate and display a message copy of the conversation message "Place C", and display the message copy of "Place C" in the conversation interface and automatically move to the conversation message "Place A" and merge with "Place A” the process of.
  • the above-mentioned clicking operation on other people's conversation messages can be performed multiple times.
  • the operation of merging can be guided, that is, the guidance information used to guide the user to trigger the operation of the message merging instruction is displayed in the conversation interface.
  • the form of the guidance information can be text form, graphics, At least one of the animation form and the video form is used to guide the target object to perform the target operation to trigger the message merging instruction;
  • Figure 11 is a schematic diagram of the interface for merging operations provided by the embodiment of the present application. See Figure 11. When the user presses the button to send When clicking on a conversation message, the user is prompted in text form in the conversation interface. By clicking on other conversation messages, it can be merged with the currently pressed conversation message, as shown in Figure 11 with prompt information 111, that is, "Click on the message to merge.”
  • Figure 12 is a schematic diagram of an interface for displaying the number of merged conversation messages provided by an embodiment of the present application. Referring to Figure 12, while the user's finger 121 continues to perform a pressing operation, another finger performs multiple click operations on messages. Merge multiple conversation messages, and display the number of merged conversation messages 122 in the conversation interface.
  • the terminal displays authorization prompt information and corresponding determined function items; wherein, the authorization prompt information is used to prompt to obtain the session for the session object.
  • the authorization request is used to request authorization to perform a merge operation on session messages for the session object; when the authorization request for the session object is obtained
  • the terminal displays the third session message obtained by merging the first session message and the second session message in the session interface.
  • the terminal displays the third conversation message obtained by merging the first conversation message and the second conversation message
  • the user can be provided with a function item for processing the third conversation message.
  • the terminal displays the third conversation message.
  • At least one message processing function item corresponding to the conversation message.
  • Each message processing function item corresponds to a processing operation.
  • the processing operation can be a copy operation, a forwarding operation, a sharing operation, an editing operation, etc.; in response to at least one message processing function
  • the trigger operation of the target message processing function item in the item is to perform the target processing operation indicated by the target message processing function item on the third session message.
  • the message processing function items displayed by the terminal may include at least one of the following function items: a sending function item for sending messages, a forwarding function item for forwarding messages, a copying function item for copying messages, File generation function items for generating target format files (such as text format files, .txt files), meeting minutes function items for generating meeting minutes, and voting function items for voting on the content in messages, etc., message processing functions
  • a sending function item for sending messages a forwarding function item for forwarding messages
  • a copying function item for copying messages a file generation function items for generating target format files (such as text format files, .txt files), meeting minutes function items for generating meeting minutes, and voting function items for voting on the content in messages, etc.
  • message processing functions The specific function settings of the items can be set according to actual needs.
  • performing the target processing operation indicated by the target message processing function item on the third conversation message may include: displaying the third conversation message
  • the voting message includes: options corresponding to each sub-content and a voting operation control; wherein the voting operation control is used to vote on the sub-content selected based on the options.
  • the terminal can display the voting message corresponding to the third session message in the following manner: display the voting message corresponding to the third session message in the session interface; or, display a display floating layer, and display the third session message in the display floating layer.
  • FIG. 13A and FIG. 13B are schematic interface diagrams of message processing based on message processing function items provided by embodiments of the present application.
  • the terminal displays the third session message obtained by merging the first session message and the second session message.
  • the merged message processing interface 131 is displayed, and the merged third session message 132 and the message processing function item 133 corresponding to the third session message 132 are displayed in the message processing interface.
  • the third session message 132 is displayed in the message processing interface.
  • Three conversation messages 132 made The new session message is sent to the session interface; continue to refer to Figure 13B.
  • the terminal displays the voting message 134 corresponding to the third session message in the session interface.
  • the voting message includes: corresponding The options 135 of each sub-content and the voting operation control 136, when the user selects the voting content based on the options 135 corresponding to each sub-content, such as clicking on the options corresponding to "Place A” and “Place B One-day Tour", and click to vote
  • the control 136 is operated, voting on "One-day tour of location A" and "location B" is implemented.
  • the voting result of the corresponding sub-content is displayed in the associated area of each sub-content in the voting message.
  • the voting result is used to indicate voting for the corresponding sub-content.
  • Figure 14 is a schematic diagram of an interface for displaying voting results provided by an embodiment of the present application. Refer to Figure 14. In the voting message 134, the associated area of each sub-content displays the voting results 137 of the corresponding sub-content, such as the voting results for location A.
  • the number of conversation objects is 1, and the number of one-day tours to location B is 5.
  • the user's voting time is limited.
  • the terminal after the terminal displays the voting message corresponding to the third session message, the terminal obtains the display duration of the voting message.
  • the display duration threshold specifically, Set according to actual needs, such as 10 minutes
  • cancel the display of the voting operation control and display the end instruction information indicating that the voting has ended in the voting message.
  • the terminal displays at least one forwarding object for selection, and the forwarding object has a social association relationship with the target object (such as the target object and the forwarding object is a friend relationship in the client); in response to the selection instruction for the target forwarding object in the at least one forwarding object, sending the third session message to the target forwarding object.
  • the terminal can display at least one forwarding object for selection in the following manner: the terminal displays a forwarding object selection interface; displays at least one forwarding object for selection in the forwarding object selection interface; or, displays a display overlay, and At least one forwarding object for selection is displayed in the display floating layer.
  • the meeting minutes corresponding to the third session message are generated; in response to the storage instruction for the meeting minutes, the meeting minutes are stored. Meeting minutes.
  • the meeting minutes include the title of the meeting minutes, the time of the meeting minutes, and the text of the meeting minutes.
  • the terminal can generate it in the following manner Meeting minutes corresponding to the third conversation message: perform semantic analysis on the content of the third conversation message, and generate the title of the meeting minutes based on the analysis results; obtain the sending time corresponding to each sub-content, and determine the title of the meeting minutes based on the obtained sending time. Minutes time: use the content of the third session message as the body of the meeting minutes to generate meeting minutes including the title, minute time and body.
  • the title of the meeting minutes can be obtained through prediction by a pre-trained neural network model.
  • the third conversation message is input to the neural network model and the title of the meeting minutes is output.
  • the target object triggers the message merging instruction. Since the message merging instruction instructs to merge the first session message and the second session message, that is, the target object specifies to merge the first session message and the second session message.
  • the electronic device Able to respond to the message merging command, in the conversation interface, to achieve the merging of the first conversation message and the second conversation message specified by the target object. By merging the interrupted messages, the missed reading of the sent message can be avoided.
  • the user needs to summarize When there are messages from multiple conversation objects in a group chat, messages from different conversation objects can be merged through message merging, so that messages from different conversation objects are presented through one message, which improves the efficiency of message transmission. At the same time, compared with related In the technology, the message is displayed in the conversation interface only based on the sending time of the message, which improves the utilization of electronic device hardware processing resources and display resources.
  • FIG 15 is a schematic flowchart of the session message processing method provided by the embodiment of the present application.
  • the session message processing method provided by the embodiment of the present application can be implemented by the terminal alone, by the server alone, or by the server alone.
  • the terminal and the server are implemented collaboratively.
  • the terminal implementation is taken as an example. See Figure 15.
  • the session message processing method provided by the embodiment of the present application includes:
  • Step 201 The terminal displays at least two conversation messages in the group conversation interface of the first object.
  • the group conversation interface is an interface corresponding to the group conversation.
  • the group may include a first object, a second object, and a third object.
  • the at least two conversation messages displayed in the group conversation interface may include: the first object sends The first conversation message and the second conversation message, the third conversation message sent by the second object and the fourth conversation message sent by the third object.
  • Step 202 In response to the drag operation on the first conversation message, display the process in which the first conversation message is dragged.
  • the target duration can be set according to actual needs, such as 10s
  • the drag operation of the first conversation message will be displayed. process.
  • Step 203 When the first conversation message is dragged to the second conversation message and the drag operation is released, display the process of merging the first conversation message and the second conversation message to obtain the fifth conversation message.
  • Step 204 In response to the pressing operation on the fifth conversation message, control the third conversation message and the fourth conversation message in the group conversation interface to be in the candidate state.
  • Step 205 During the pressing operation, in response to the click operation on the third conversation message in the candidate state, the copy of the third conversation message is automatically moved to the fifth conversation message and merged with the fifth conversation message to obtain Sixth Session Message Process.
  • Step 206 During the pressing operation, in response to the click operation on the fourth conversation message in the candidate state, the copy of the fourth conversation message is automatically moved to the sixth conversation message and merged with the sixth conversation message to obtain The seventh session message process.
  • Step 207 In response to the pressing operation being released, the voting function item is displayed.
  • the voting function item is used to vote on each sub-content contained in the seventh conversation message (that is, the content of the first conversation message, the content of the second conversation message, the content of the third conversation message, and the content of the fourth conversation message) Take a vote.
  • Step 208 In response to the trigger operation for the voting function item, display the voting message corresponding to the seventh conversation message, where the voting message includes options corresponding to each sub-content and voting operation controls.
  • Step 209 In response to the voting instruction for the selected sub-content triggered based on the voting operation control, display the voting results of the corresponding sub-content in the associated area of each sub-content in the voting message.
  • the user can merge the messages sent by himself by dragging the conversation messages, and can merge his own conversation messages with multiple groups in the group conversation by pressing a conversation message and clicking on other conversation messages.
  • the merging of conversation messages sent by members in this way, by merging the messages sent by oneself, the missed reading of interrupted messages is avoided, and the efficiency of message transmission is improved.
  • the messages of different conversation objects can be realized.
  • the message is displayed in the conversation interface only based on the sending time of the message, which improves the utilization of electronic device hardware processing resources and display resources.
  • the server and the terminal to be implemented collaboratively and the instant messaging client installed on the terminal as an example.
  • the user can trigger the message merging instruction by dragging a message in the conversation interface to another conversation message, thereby merging two messages into one message. Based on this, the client and server sides of the message merging are Message processing is explained.
  • each session message has the concepts of seq (sequence or sorting) and timestamp (timestamp).
  • Users sending session messages based on the client will go through the background server (server).
  • the seq When sending a message, the seq will be returned to the client.
  • the data will be assembled and the seq will be sent to the receiving end. It can be used as the unique identifier of the message.
  • the client can locate the message based on the seq. Timestamp represents the timestamp when the message is sent. It is also based on the timestamp of the background server. It does not depend on the client.
  • seq it will be returned to the sender when sending. At the same time, it will be sent to the receiver when assembling the data. .
  • Figure 16 is a schematic diagram of the session message sending process provided by the embodiment of the present application.
  • the message sending end after the user edits the message, the message can be sent by clicking the send button.
  • the message sending end sends message signaling to the message background. (i.e. server), the server obtains the timestamp and sorting of the message based on the message signaling, processes the message, and distributes it to each terminal of the session, that is, returns the sending result to the message sending end so that the message sending end updates the message status , deliver the message to the receiving end so that the receiving end can display the message.
  • server i.e. server
  • the server obtains the timestamp and sorting of the message based on the message signaling, processes the message, and distributes it to each terminal of the session, that is, returns the sending result to the message sending end so that the message sending end updates the message status , deliver the message to the receiving end so that the receiving end can display the message.
  • FIG 17 is a schematic diagram of the message composition provided by the embodiment of the present application.
  • Each message has seq and timestamp fields, the content of which is an array representation, used to display messages, merged messages, mixed rich text messages, etc. It can accommodate text, pictures, videos, etc.; among them, text, pictures, and videos are all independent message content item representations.
  • FIG. 18 is a schematic diagram of the composition of the protocol request packet provided by the embodiment of the present application. See Figure 18.
  • the protocol request packet includes a request header. internal data, message editing package array, wherein the message editing package array can include at least two message editing packages, each message editing package editing type (such as update or delete) and basic message information (such as sorting, timestamp, specific message content wait).
  • the server will return a response packet.
  • Figure 19 is a schematic diagram of the composition of the response packet provided by the embodiment of this application. See Figure 19.
  • the response packet includes response packet header data and results.
  • Basic information The basic information of the result may include request error code and request result description.
  • the detailed protocol definitions for request packets and response packets are as follows:
  • the message merging may involve the following two changes:
  • FIG. 20 is a schematic flowchart of the pre-processing process for message merging provided by the embodiment of the present application. The pre-processing is executed by the client. Referring to Figure 20, the merging message pre-processing process is as follows:
  • Step 1 the client moves the message.
  • the client responds to the user's drag operation on the session message and triggers the movement of the session message when the drag condition is met (for example, the drag duration reaches a duration threshold).
  • Step 2 Determine whether the time limit has been exceeded.
  • the user can only merge messages within a certain time range (such as 1 minute), and the client determines the dragged message and the message instructed by the user to merge (that is, when the user releases the drag operation, the dragged message Whether the sending duration of the dragged message is within the set time range. If it is not within the time range, perform step 3, that is, there is no effect processing, and the dragged message is reset; if it is within the time range, Perform step 4.
  • a certain time range such as 1 minute
  • Step 4 Extract the content of the dragged message.
  • Step 5 Merge message content.
  • Step 6 Assemble message deletion data.
  • the client reassembles the message based on the merged message content and deletes the original data of the dragged message.
  • Step 7 Assemble message update data.
  • Step 8 Request message editing signaling.
  • the client generates request message editing signaling based on the updated data to send to the server.
  • FIG. 21 is a schematic diagram of the interaction process between the client and the server provided by the embodiment of the present application. Referring to Figure 21, the interaction logic between the client sender, the background server and the client receiver is as follows:
  • Step 1 The client performs message editing preprocessing.
  • the client's message editing preprocessing is specifically shown in Figure 20. After the client performs the message editing preprocessing, it sends message editing signaling to the message background (ie, the server).
  • the message background ie, the server.
  • Step 2 The message background detects the validity of the message editing signaling.
  • the detection of legality can be to check whether the format of the message editing signaling is correct, whether there is illegal content, whether the user has corresponding operation permissions, etc.; when the message background detects illegality, step 3 is triggered.
  • step 3 When the message information is detected, When the command is legal, step 4 is triggered.
  • Step 3 Return the editing failure result to the message sending end.
  • the message sending end when the message sending end receives the editing failure result sent in the message background, it handles the message editing failure, such as displaying a prompt message of merge failure, etc.
  • Step 4 Send message editing signaling to the message sending end and the message receiving end.
  • the message sending end when the message sending end receives the message editing signaling sent by the message background, it can display the result of successful editing.
  • the message receiving end receives the message editing signaling sent by the message background, it can edit and process the local message, such as deletion. Local news and update local news content.
  • the sender and receiver of the client will process local data according to the data of message editing signaling.
  • Specific messages can be found for update/delete based on seq.
  • seq is the message's Uniquely identifies. If it is a message update, it will be replaced with the message content whose modify_type is MODIFY_TYPE_UPDATE in the message editing signaling. If it is deleted (modify_type value is MODIFY_TYPE_UPDATE), the message corresponding to seq will be deleted.
  • the client can adjust the position of the third session message.
  • the messages in the session are uniquely identified by seq. Timestamp is used to identify the timestamp of the message and is used to sort the messages when displaying them. After the client gets the message, it can put the message according to the timestamp (timestamp) of the message. Insert into a specific location. Among them, the meaning of timestamp is the number of seconds that have passed since January 1, 1970. The timestamp returned by the server is uniformly used to ensure the uniformity of timestamps.
  • Figure 22 is provided by the embodiment of this application. The schematic diagram of the preprocessing flow of adjusting the position of the merged message (such as the third session message) is shown in Figure 22.
  • the preprocessing logic of the mobile merged message is as follows:
  • Step 1 the client moves the message.
  • an instruction to move the message is triggered.
  • the instruction to move the message can be used to instruct the message to be moved by moving, dragging, etc., in order to adjust the position of the message. .
  • Step 2 Determine whether it is a merged message type.
  • the client determines whether the user's message indicating location adjustment is a merged message (such as a third session message). If so, perform step 3. If not, perform step 4.
  • Step 3 Determine whether the time limit is met.
  • the client determines whether the time difference of the mobile message position is within the time period. If so, perform step 5. If not, perform step 4.
  • Step 4 Invalid processing results.
  • the client controls the dragged message to be reset, and can indicate that the movement of the message is invalid, that is, the invalid movement indication information is displayed.
  • Step 5 Get the timestamp of the last message.
  • Step 6 Merge message timestamp +1.
  • Step 7 Assemble message update data.
  • Step 8 Request message editing signaling.
  • the client generates request message editing signaling based on the updated data to send to the server.
  • the mobile message location when mobile merging messages, the mobile message location will be preprocessed, mainly judging two aspects: whether the message is a merge type, and whether the time difference of the mobile message location conforms to the time period. Only when the conditions are met, the message will be updated through message editing signaling, mainly to update the timestamp of the message. According to the location of the mobile message, 1 will be added to the timestamp of the previous message at the destination location for convenience.
  • the client achieves the purpose of moving to a specific location when sorting messages and displaying the message list.
  • the client can request message editing signaling, and send the message mobile editing information to the client receiving end through the background server.
  • the modify_type type is MODIFY_TYPE_UPDATE.
  • Figure 23 is a schematic diagram of the interaction process when moving merged messages provided by the embodiment of the present application. See Figure 23.
  • Step 1 The client performs message editing preprocessing.
  • the client's message editing preprocessing is specifically shown in Figure 22. After the client performs the message editing preprocessing, it sends message editing signaling to the message background (ie, the server).
  • the message background ie, the server.
  • Step 2 The message background detects the validity of the message editing signaling.
  • the detection of legality can be to check whether the format of the message editing signaling is correct, whether there is illegal content, whether the user has the corresponding operating permissions, etc.; when the message background detects illegality, step 3 is triggered.
  • step 3 When the message information is detected, When the command is legal, step 4 is triggered.
  • Step 3 Return the editing failure result to the message sending end.
  • the message sending end when the message sending end receives the editing failure result sent by the message background, it processes the message editing failure, such as displaying a prompt message of movement failure, etc.
  • Step 4 The message background sends the message movement editing signaling to the message sending end and the message receiving end.
  • the sending end when the sending end receives the message move editing signaling, it can display the message move successfully and refresh the message list.
  • the receiving end receives the message move editing signaling, Afterwards, the local message can be moved and processed, such as deleting the moved local message and updating the local message content.
  • FIG. 24 is a schematic comparison diagram of message signaling provided by the embodiment of the present application. Referring to Figure 24, in the signaling of merging one's own messages, there is deletion and update of message content, while in the signaling of merging other people's and one's own messages, only Contains updates to message content.
  • FIG. 25 is a schematic diagram of the preprocessing flow of merging other people's messages provided by the embodiment of the present application. Referring to Figure 25, the preprocessing logic for merging other people’s messages is as follows:
  • Step 1 The user presses and holds the message.
  • Step 2 The client determines whether to release.
  • the client will detect in real time whether the message held by the user is released. If it is detected that it is released, it will assemble the message update data and generate a request message editing signaling to send to the server. If it is detected that it is not released, perform step 3. .
  • Step 3 The user clicks on someone else’s message.
  • Step 4 The client determines whether the time limit has been exceeded.
  • the client determines whether the sending time of the message clicked by the user exceeds the time limit based on the message timestamp. If it exceeds the time limit, the execution operation will have no effect. If it does not exceed the time limit, extract the content of the clicked message and merge the message content.
  • FIG. 26 is a schematic diagram of the message content structure provided by the embodiment of the present application. See Figure 26 as follows:
  • the content of each message is a MessageBody, which contains some basic information of the message, such as the unique identifier seq of the message, is_combine used to identify whether to combine message types, and the timestamp of the message.
  • the specific content of the message is included in the MessageArray structure. It is an array. Each item in the array is the MessageContent structure. MessageConent will have type to identify the type of specific content of the message (text/picture/audio/video, etc.). At the same time, there is specific content. If it is text, it is text.
  • the specific content if it is the content corresponding to pictures/audio/video, is the fileid of the resource uploaded to the server. fileid is the resource uploaded to the server, and the corresponding unique identifier fileid will be returned. The corresponding resource can be downloaded through this fileid.
  • Figure 27 is a schematic diagram of the processing flow after message merging provided by the embodiment of the present application.
  • the post-message operation process includes: when the user clicks on the merged message (that is, a merged type message), the client will pop up an operation selection box , the operation selection box includes the send function item, forwarding function item, copy function item and voting function item; when the user clicks send, the call message is triggered to send; when the user clicks forward, the call message is triggered to forward; when the user clicks When copying, the call message is triggered for copying; when the user clicks to vote, the client is triggered to parse the message content and split the message content into each voting item, and then call the interface for the user to vote.
  • This application provides a way to disrupt the time sequence, merge multiple messages and perform operations in a chat.
  • messages are sorted according to time, and sometimes the continuous messages you want to send are interspersed with other people's messages, etc. Phenomenon; or in a multi-person discussion scenario in a group, it is very troublesome to summarize multi-person discussion information; in this application, users can drag and drop their own multiple messages within a certain period of time to merge them. After merging into one message, its order can be adjusted at will; in multi-person discussions, users can also drag and merge other people's messages. After merging, summary minutes are generated for operations such as copying, forwarding, and voting. This allows users to convey their own messages more continuously during chats, and better summarize other people’s chat messages, thereby increasing the efficiency of information transmission in chats.
  • the session message processing device 455 provided by the embodiment of the present application is implemented as a software module.
  • the session message processing device 455 stored in the memory 450 Software modules can include:
  • the first display module 4551 is configured to display at least two conversation messages, where the at least two conversation messages include a first conversation message and a second conversation message;
  • the receiving module 4552 is configured to receive a message merging instruction, where the message merging instruction is used to instruct merging the first session message and the second session message;
  • the second display module 4553 is configured to, in response to the message merging instruction, display the third conversation message obtained by merging the first conversation message and the second conversation message.
  • the first display module is further configured to, in response to a drag operation for the first session message, display the first session when the operation duration of the drag operation reaches a duration threshold. The process of the message being dragged;
  • the receiving module is further configured to receive the message merging instruction in response to the drag operation being released when the first conversation message is dragged to the second conversation message.
  • the first display module is further configured to obtain the first time interval between the sending time of the first session message and the current time when the operation duration of the drag operation reaches a duration threshold;
  • the process of dragging the first conversation message is displayed.
  • the receiving module is further configured to obtain the second session message in response to the drag operation being released when the first session message is dragged to the second session message.
  • the message merging instruction is received.
  • the receiving module is further configured to obtain the first session message in response to the drag operation being released when the first session message is dragged to the second session message.
  • the message merging instruction is triggered.
  • the first display module is also configured to display message merging function items in the conversation interface
  • the receiving module is further configured to control the at least two conversation messages to be in a candidate state in response to a triggering operation for the message merging function item;
  • the message merging instruction is received in response to a selection operation on the first conversation message and the second conversation message in the candidate state.
  • the second display module is further configured to display that the first conversation message automatically moves to the destination when the sending time of the first conversation message is earlier than the sending time of the second conversation message.
  • the process of terminating the second session is described, and the third session message obtained by merging the first session message and the second session message is displayed.
  • the above-mentioned at least two conversation messages are displayed in the conversation interface, and the device further includes:
  • a first position adjustment module configured to move the position of the third conversation message in the conversation interface in response to a sorting adjustment instruction for the third conversation message, so as to change the position of the third conversation message in the conversation interface. Message sorting.
  • the receiving module is further configured to, in response to a drag operation for the third session message, trigger the operation for the third session message when the operation duration of the drag operation reaches a duration threshold. Sorting adjustment instructions;
  • the first position adjustment module is also configured to control the synchronous movement of the third conversation message in the conversation interface with the execution of the drag operation to change the message of the third conversation message in the conversation interface. Sort.
  • the second display module is further configured to display the target area during the process of moving the position of the third conversation message
  • the movement prompt information is used to prompt to adjust the sorting of the third conversation message in the target area.
  • the second display module is further configured to, in the process of moving the position of the third conversation message, when the third conversation message moves to the target position, the target position causes the third conversation message to move to the target position.
  • the target position causes the third conversation message to move to the target position.
  • An interception line is displayed between the third conversation message and the target historical conversation message.
  • the interception line is used to intercept the third conversation message when the third conversation message moves to the interception line. .
  • the third conversation message includes the first content corresponding to the first conversation message and the second content corresponding to the second conversation message; the device further includes:
  • a second position adjustment module configured to adjust the position of at least one of the first content and the second content in the third conversation message in response to a position adjustment instruction for the content in the third conversation message. Adjustment is made to change the ordering of the first content and the second content in the third conversation message.
  • the first display module is further configured to display at least two conversation messages in the conversation interface of the target object; when the first conversation message is sent to the target object, the second conversation When the message is sent to the session object of the target object,
  • the second display module is further configured to display a message copy of the second session message
  • a third conversation message obtained by merging the first conversation message and the message copy of the second conversation message is displayed.
  • the first display module is also configured to display at least two conversation messages in the conversation interface of the target object;
  • the first display module is also configured to display authorization prompt information and corresponding determined function items
  • the authorization prompt information is used to prompt for obtaining authorization to perform a merge operation on the session messages of the session object;
  • the second display module is further configured to display, in the conversation interface, the result obtained by merging the first conversation message and the second conversation message when authorization is obtained to perform a merge operation on the conversation message of the conversation object. of the third session message.
  • the first display module is also configured to display at least two conversation messages in the conversation interface of the target object;
  • the second display module is further configured to control the first conversation message to be in a selected state in response to a pressing operation on the first conversation message;
  • the receiving module is further configured to receive the message merging instruction in response to the drag operation being released when the second conversation message is dragged to the first conversation message.
  • the second display module is further configured to display the fourth session in the session interface in response to the drag operation for the fourth session message during the pressing operation. The process of the message being dragged;
  • the second display module is further configured to display the number of merged conversation messages during the pressing operation.
  • the first display module is further configured to display the merge guidance information in the session interface of the target object
  • the merging guidance information is used to guide the target object to perform a target operation to trigger the message merging instruction.
  • the apparatus further includes a message processing module
  • the second display module is further configured to display at least one message processing function item corresponding to the third conversation message after displaying the third conversation message obtained by merging the first conversation message and the second conversation message;
  • the message processing module is configured to perform a target processing operation indicated by the target message processing function item on the third session message in response to a triggering operation for a target message processing function item in the at least one message processing function item.
  • the third conversation message includes at least two sub-contents
  • the message processing module is also configured to display a voting message corresponding to the third session message in the conversation interface when the target message processing function item is a voting function item, and the voting message includes: corresponding to each Options for said sub-content and voting action controls;
  • the voting operation control is configured to vote on the sub-content selected based on the option.
  • the message processing module is also configured to display the voting results of the corresponding sub-content in the associated area of each sub-content in the voting message; wherein the voting results are used to indicate that the corresponding sub-content The number of session objects voting.
  • the message processing module is further configured to cancel the display of the voting operation control when the display duration of the voting message reaches a display duration threshold after displaying the voting message corresponding to the third conversation message.
  • end indication information indicating that the voting has ended is displayed.
  • the message processing module is further configured to display a forwarding object selection interface when the target message processing function item is a forwarding function item;
  • the third session message is sent to the target forwarding object.
  • the message processing module is further configured to generate the third session message in response to a triggering operation for the meeting minutes function item when the target message processing function item is a meeting minutes function item. Corresponding meeting minutes;
  • the meeting minutes are stored.
  • the third conversation message includes at least two sub-contents
  • the message processing module is further configured to perform semantic analysis on the content of the third conversation message and generate a title of the meeting minutes based on the analysis results;
  • a meeting minute including the title, the minute time and the text is generated.
  • the second display module is further configured to, in the conversation interface, after displaying the third conversation message obtained by merging the first conversation message and the second conversation message, in response to the response to the In the message merging instruction of the third conversation message and the sixth conversation message, in the conversation interface, a seventh conversation message obtained by merging the third conversation message and the sixth conversation message is displayed.
  • An embodiment of the present application also provides an electronic device, where the electronic device includes:
  • memory configured to store executable instructions
  • the processor is configured to implement the session message processing method provided by the embodiment of the present application when executing executable instructions stored in the memory.
  • Embodiments of the present application also provide a computer program product or computer program.
  • the computer program product or computer program includes computer-executable instructions, and the computer-executable instructions are stored in a computer-readable storage medium.
  • the processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the session message processing method provided by the embodiment of the present application.
  • Embodiments of the present application also provide a computer-readable storage medium that stores executable instructions.
  • the executable instructions are executed by a processor, the session message processing method provided by the embodiments of the present application is implemented.
  • An embodiment of the present application also provides a computer program product, which includes a computer program or instructions.
  • a computer program product which includes a computer program or instructions.
  • the conversation message processing method provided by the embodiment of the present application is implemented.
  • the computer-readable storage medium may be Read-Only Memory (ROM), Random Access Memory (RAM), Erasable Programmable Read-Only Memory (Erasable Programmable Read-Only Memory). , EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), flash memory, magnetic surface memory, optical disk, or CD-ROM; it can also include one or any combination of the above memories of various equipment.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • Erasable Programmable Read-Only Memory Erasable Programmable Read-Only Memory
  • EPROM Erasable Programmable Read-Only Memory
  • EEPROM Electrically Erasable Programmable Read-Only Memory
  • flash memory magnetic surface memory, optical disk, or CD-ROM; it can also include one or any combination of the above memories of various equipment.
  • executable instructions may take the form of a program, software, software module, script, or code, written in any form of programming language, including compiled or interpreted languages, or declarative or procedural languages, and their May be deployed in any form, including deployed as a stand-alone program or deployed as a module, component, subroutine, or other unit suitable for use in a computing environment.
  • executable instructions may, but do not necessarily correspond to, files in a file system and may be stored as part of a file holding other programs or data, for example, in a Hyper Text Markup Language (HTML) document. in one or more scripts, in a single file that is specific to the program in question, or in multiple collaborative files (e.g., files that store one or more modules, subroutines, or portions of code).
  • HTML Hyper Text Markup Language
  • executable instructions may be deployed to execute on one computing device, or on multiple computing devices located at one location, or alternatively, on multiple computing devices distributed across multiple locations and interconnected by a communications network execute on.

Abstract

本申请提供了一种会话消息的处理方法、装置、设备、存储介质及程序产品;方法包括:显示至少两条会话消息,所述至少两条会话消息包括第一会话消息及第二会话消息;接收消息合并指令,该消息合并指令用于指示合并第一会话消息及第二会话消息,响应于消息合并指令,显示第一会话消息与第二会话消息合并得到第三会话消息的过程。

Description

会话消息的处理方法、装置、设备、存储介质及程序产品
相关申请的交叉引用
本申请基于申请号为202210889534.9、申请日为2022年07月25日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本申请涉及人工智能和互联网技术领域,尤其涉及一种会话消息的处理方法、装置、设备、存储介质及程序产品。
背景技术
人工智能(Artificial Intelligence,AI)是计算机科学的一个综合技术,它企图了解智能的实质,并生产出一种新的能以人类智能相似的方式做出反应的智能机器,随着人工智能技术的不断发展,已经越来越多地应用于即时通讯等领域。
相关技术中,用户基于会话界面进行会话过程中,会话消息按照发送时间在会话界面中排序,会出现自己发送的连续的多条消息被别人的消息穿插的现象,消息的传达效率低,当需要对分散显示的某个用户所发送的消息进行操作(如汇总)时,需要逐条进行操作,导致针对消息的操作效率低。
发明内容
本申请实施例提供一种会话消息的处理方法、装置、电子设备、计算机可读存储介质及计算机程序产品,能够实现会话过程中的消息合并,提高消息的传达效率及针对多条消息的操作效率。
本申请实施例的技术方案是这样实现的:
本申请实施例提供一种会话消息的处理方法,包括:
显示至少两条会话消息,所述至少两条会话消息包括第一会话消息及第二会话消息;
接收消息合并指令,所述消息合并指令用于指示合并所述第一会话消息及所述第二会话消息,
响应于所述消息合并指令,显示所述第一会话消息与所述第二会话消息合并得到的第三会话消息。
本申请实施例还提供一种会话消息的处理装置,包括:
第一显示模块,配置为显示至少两条会话消息,所述至少两条会话消息包括第一会话消息及第二会话消息;
接收模块,配置为接收消息合并指令,所述消息合并指令用于指示合并所述第一会话消息及所述第二会话消息;
第二显示模块,配置为响应于所述消息合并指令,显示所述第一会话消息与所述第二会话消息合并得到的第三会话消息。
本申请实施例还提供一种电子设备,包括:
存储器,配置为存储可执行指令;
处理器,配置为执行所述存储器中存储的可执行指令时,实现本申请实施例提供的会话消息的处理方法。
本申请实施例还提供一种计算机可读存储介质,存储有可执行指令,所述可执行指令被处理器执行时,实现本申请实施例提供的会话消息的处理方法。
本申请实施例还提供一种计算机程序产品,包括计算机程序或指令,所述计算机程序或指令被处理器执行时,实现本申请实施例提供的会话消息的处理方法。
本申请实施例具有以下有益效果:
当触发指示合并第一会话消息及第二会话消息的消息合并指令时,显示第一会话消息与第二会话消息合并得到的第三会话消息;如此,由于消息合并指令指示合并第一会话消息及第二会话消息,也即指定对第一会话消息与第二会话消息进行合并,电子设备能够响应该消息合并指令,实现对指定的第一会话消息与第二会话消息的合并,提高了消息的传达效率,且由于将独立的第一会话消息及第二会话消息合并成第三会话消息,当需要对第一会话消息及第二会话消息进行操作时,可直接对合并得到的第三会话消息进行操作,提高了对多条会话消息的操作效率;同时,相较于相关技术中仅依据消息的发送时间,在会话界面中进行消息展示的方案,提高了电子设备硬件处理资源及显示资源的利用率。
附图说明
图1是相关技术中进行消息会话的界面示意图;
图2是本申请实施例提供的会话消息的处理系统100的架构示意图;
图3是本申请实施例提供的电子设备的结构示意图;
图4是本申请实施例提供的会话消息的处理方法的流程示意图;
图5是本申请实施例提供的拖动会话消息实现消息合并的界面示意图;
图6是本申请实施例提供的消息合并过程中超时提示的界面示意图;
图7是本申请实施例提供的消息合并指令的触发界面示意图;
图8A至图8C是本申请实施例提供的对合并后的会话消息进行排序调整的界面示意图;
图9A至图9F为本申请实施例提供的针对不同类型的会话消息进行合并的界面示意图;
图10A至图10C为本申请实施例提供的合并不同会话对象的会话消息的界面示意图;
图11为本申请实施例提供的进行合并操作的界面示意图;
图12为本申请实施例提供的显示已合并的会话消息的数量的界面示意图;
图13A及图13B为本申请实施例提供的基于消息处理功能项进行消息处理的界面示意图;
图14为本申请实施例提供的显示投票结果的界面示意图;
图15是本申请实施例提供的会话消息的处理方法的流程示意图;
图16是本申请实施例提供的会话消息的发送流程示意图;
图17是本申请实施例提供的消息组成示意图;
图18是本申请实施例提供的协议请求包的组成示意图;
图19是本申请实施例提供的响应包的组成示意图;
图20是本申请实施例提供的进行消息合并的预处理流程示意图;
图21是本申请实施例提供的客户端与服务器间的交互流程示意图;
图22是本申请实施例提供的调整合并消息的位置的预处理流程示意图;
图23是本申请实施例提供的进行合并消息移动时的交互流程示意图;
图24是本申请实施例提供的消息信令对比示意图;
图25是本申请实施例提供的合并他人消息的预处理流程示意图;
图26是本申请实施例提供的消息内容结构示意图;
图27是本申请实施例提供的消息合并后的处理流程示意图。
具体实施方式
为了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请作地详细描述,所描述的实施例不应视为对本申请的限制,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。
在以下的描述中,涉及到“一些实施例”,其描述了所有可能实施例的子集,但是可以理解,“一些实施例”可以是所有可能实施例的相同子集或不同子集,并且可以在不冲突的情况下相互结合。
在以下的描述中,所涉及的术语“第一\第二\第三”仅仅是是区别类似的对象,不代表针对对象的特定排序,可以理解地,“第一\第二\第三”在允许的情况下可以互换特定的顺序或先后次序,以使这里描述的本申请实施例能够以除了在这里图示或描述的以外的顺序实施。
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中所使用的术语只是为了描述本申请实施例的目的,不是旨在限制本申请。
对本申请实施例进行详细说明之前,对本申请实施例中涉及的名词和术语进行说明,本申请实施例中涉及的名词和术语适用于如下的解释。
1)响应于,用于表示所执行的操作所依赖的条件或者状态,当满足所依赖的条件或状态时,所执行的一个或多个操作可以是实时的,也可以具有设定的延迟;在没有特别说明的情况下,所执行的多个操作不存在执行先后顺序的限制。
2)客户端,终端中运行的用于提供各种服务的应用程序,在本文中指即时通讯客户端或具有会话功能的客户端,如视频播放客户端、游戏客户端、教育客户端等。
图1是相关技术中进行消息会话的界面示意图,参见图1,发明人在研究过程中发现,相关技术中,在会话界面中,消息都是按照消息的发送时间排序展示,会出现自己要发的连续消息被别人的消息穿插的现象,针对群聊会话,当要汇总群内多人讨论内容时,也只能逐条复制再汇总,消息处理效率很低。
基于上述对本申请实施例中涉及的名词和术语的解释,下面说明本申请实施例提供的会话消息的处理系统,参见图2,图2是本申请实施例提供的会话消息的处理系统100的架构示意图,为实现支撑一个示例性应用,终端(示例性示出了终端300-1和终端300-2,其中,终端300-1上设置有客户端310-1,终端300-2上设置有客户端310-2),通过网络500连接服务器200,网络500可以是广域网或者局域网,又或者是二者的组合,使用无线或有线链路实现数据传输。
在进行消息会话的场景中,以目标对象的终端为终端300-1、目标对象的会话对象的终端为终端300-2为例进行说明。在实际实施时,目标对象的会话对象的数量(终端300-2)的数量可以为一个或多个(即至少两个)。
服务器200,配置为将会话中的各个成员(目标对象或目标对象的会话对象)所发送的消息,分发至会话中的各个成员;
终端300-1及终端300-2,配置为在接收到服务器分发的消息后,在会话界面中进行显示;
终端300-1,还配置为当会话界面中显示的会话消息为,包括第一会话消息及第二会话消息的至少两条会话消息时,响应于目标对象触发的消息合并指令,该消息合并指令用于指示合并第一会话消息及第二会话消息,
在会话界面中,显示第一会话消息与第二会话消息合并得到的第三会话消息。
这里,在实际应用中,终端300-1上设置有客户端,如即时通讯客户端,终端运行该即时通讯客户端,使得目标对象能够基于该即时通讯客户端所展示的会话界面,进行消息会话,在一些实施例中,当目标对象基于会话界面进行消息会话时,会话界面中,显示包括第一会话消息及第二会话消息的至少两条会话消息,即时通讯客户端响应于目标对象触发的消息合并指令,当该消息合并指令用于指示合并第一会话消息及第二会话消息时,在会话界面中,显示第一会话消息与第二会话消息合并得到的第三会话消息。
在实际应用中,服务器200可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、内容分发网络(CDN,Content Delivery Network)、以及大数据和人工智能平台等基础云计算服务的云服务器。终端(如终端300-1)可以是智能手机、平板电脑、笔记本电脑、台式计算机、智能家电(如智能音箱、智能电视)、智能手表、智能语音交互设备、车载终端、飞行器等,但并不局限于此。终端(如终端300-1)以及服务器200可以通过有线或无线通信方式进行直接或间接地连接,本申请在此不做限制。
下面对本申请实施例提供的会话消息的处理方法的电子设备的硬件结构做详细说明,电子设备包括但不限于服务器或终端,比如该电子设备可以是图2中的终端(包括终端300-1和终端300-2)。参见图3,图3是本申请实施例提供的电子设备的结构示意图,图3所示的电子设备400包括:至少一个处理器410、存储器450、至少一个网络接口420和用户接口430。电子设备400中的各个组件通过总线系统440耦合在一起。可理解,总线系统440用于实现这些组件之间的连接通信。总线系统440除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图3中将各种总线都标为总线系统440。
处理器410可以是一种集成电路芯片,具有信号的处理能力,例如通用处理器、数字信号处理器(DSP,Digital Signal Processor),或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等,其中,通用处理器可以是微处理器或者任何常规的处理器等。
用户接口430包括使得能够呈现媒体内容的一个或多个输出装置431,包括一个或多个扬声器和/或一个或多个视觉显示屏。用户接口430还包括一个或多个输入装置432,包括有助于用户输入的用户接口部件,比如键盘、鼠标、麦克风、触屏显示屏、摄像头、其他输入按钮和控件。
存储器450可以是可移除的,不可移除的或其组合。示例性的硬件设备包括固态存储器,硬盘驱动器,光盘驱动器等。存储器450可选地包括在物理位置上远离处理器410的一个或多个存储设备。
存储器450包括易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。非易失性存储器可以是只读存储器(ROM,Read Only Memory),易失性存储器可以是随机存取存储器(RAM,Random Access Memory)。本申请实施例描述的存储器450旨在包括任意适合类型的存储器。
在一些实施例中,存储器450能够存储数据以支持各种操作,这些数据的示例包括程序、模块和数据结构或者其子集或超集,下面示例性说明。
操作系统451,包括配置为处理各种基本系统服务和执行硬件相关任务的系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务;
网络通信模块452,配置为经由一个或多个(有线或无线)网络接口420到达其他计算设备,示例性的网络接口420包括:蓝牙、无线相容性认证(WiFi)、和通用串行总线(USB,Universal Serial Bus)等;
呈现模块453,配置为于经由一个或多个与用户接口430相关联的输出装置431(例如,显示屏、扬声器等)使得能够呈现信息(例如,用于操作外围设备和显示内容和信息的用户接口);
输入处理模块454,配置为对一个或多个来自一个或多个输入装置432之一的一个或多个用户输入或互动进行检测以及翻译所检测的输入或互动。
在一些实施例中,本申请实施例提供的会话消息的处理装置可以采用软件方式实现,图3示出了存储在存储器450中的会话消息的处理装置455,其可以是程序和插件等形式的软件,包括以下软件模块:第一显示模块4551、接收模块4552及第二显示模块4553,这些模块是逻辑上的,因此根据所实现的功能可以进行任意的组合或拆分,将在下文中说明各个模块的功能。
在另一些实施例中,本申请实施例提供的会话消息的处理装置可以采用软硬件结合的方式实现,作为示例,本申请实施例提供的会话消息的处理装置可以是采用硬件译码处理器形式的处理器,其被编程以执行本申请实施例提供的会话消息的处理方法,例如,硬件译码处理器形式的处理器可以采用一个或多个应用专用集成电路(ASIC,Application Specific Integrated Circuit)、DSP、可编程逻辑器件(PLD,Programmable Logic Device)、复杂可编程逻辑器件(CPLD,Complex Programmable Logic Device)、现场可编程门阵列(FPGA,Field-Programmable Gate Array)或其他电子元件。
基于上述对本申请实施例的会话消息的处理系统及电子设备的说明,下面说明本申请实施例提供的会话消息的处理方法。参见图4,图4是本申请实施例提供的会话消息的处理方法的流程示意图;在一些实施例中,该会话消息的处理方法可由服务器或终端单独实施,或由服务器及终端协同实施,以终端实施为例,本申请实施例提供的会话消息的处理方法包括:
步骤101:终端显示包括第一会话消息及第二会话消息的至少两条会话消息。
在实际应用中,终端上通常安装有客户端,比如即时通讯客户端。用户(即目标对象)可通过安装的客户端与其他用户进行即时通讯,比如发送语音、文字、图片、动画等格式的会话消息、进行语音或者视频通话等。
这里,目标对象基于客户端所展示的会话界面,与其他会话对象进行消息会话,该会话界面所对应的会话可以是群组会话(即包括至少三个成员的会话),也可以是单人会话。
在会话过程中,目标对象的会话界面中,显示目标对象自身发送的、以及会话中其他成员发送的会话消息,在一些实施例中,目标对象的会话界面中,显示有多条会话消息,该多条会话消息包括第一会话消息及第二会话消息,该第一会话消息及第二会话消息可以均是目标对象所发送的,也可以是其中一条为目标对象所发送,另一条是目标对象的会话对象所发送,还可以均是目标对象的会话对象所发送。
步骤102:响应于消息合并指令,该消息合并指令用于指示合并第一会话消息及第二会话消息,显示第一会话消息与第二会话消息合并得到的第三会话消息。
在实际应用中,目标对象可通过触发消息合并指令,指示合并会话界面中的两条或多条消息(如三条或三条以上),在一些实施例中,消息合并指令用于对目标对象选择的两条消息(如第一会话消息及第二会话消息)进行合并,当目标对象需要合并三条或三条以上的会话消息时,可以通过多次触发该消息合并指令实现。如此,当用户(目标对象)自身发送的多条连续的消息被打断时,可通过合并被打断的消息避免所发送消息的漏读,当用户需要汇总群组聊天中多个会话对象的消息时,可通过消息合并,实现不同会话对象的消息的合并,使得不同会话对象的消息通过一条消息呈现,如此,提高了会话消息的传达效率及用户对消息的处理效率。
对消息合并指令的触发方式进行说明。在一些实施例中,消息合并指令可基于会话界面所触发,例如,目标对象可以通过拖动会话界面中的会话消息实现消息合并指令的触发,以目标对象拖动会话界面中的第一会话消息、合并目标对象自身发送的会话消息为例,在实际应用中,终端响应于目标对象针对第一会话消息的拖动操作,当拖动操作满足消息移动条件时,在会话界面中显示第一会话消息被拖动的过程,当第一会话消息被拖动至第二会话消息处时,响应于拖动操作被释放,触发消息合并指令。图5是本申请实施例提供的拖动会话消息实现消息合并的界面示意图,参见图5,图(1)为依据消息的发送时间进行会话消息展示的会话界面,在图(1)中可以看出用户自己发送的连续消息“我们去露营吧”和“天气好好啊!”被会话对象所打断,图(2)示出了用户(目标对象)拖动会话消息“我们去露营吧”在会话界面中移动的过程,图(3)示出了用户(目标对象)将会话消息“我们去露营吧”拖动至会话消息“天气好好啊!”处时的界面,图(4)示出了用户(目标对象)释放针对会话消息“我 们去露营吧”的拖动操作(即松手)后,会话消息“我们去露营吧”和会话消息“天气好好啊!”合并得到的一条会话消息。
这里,针对第一会话消息的拖动操作可以包括连续执行的、针对第一会话消息的选择操作(如点击操作、长按操作,即按压时长达到时长阈值的按压操作)及拉动操作,消息移动条件可以包括以下至少之一:操作时长达到时长阈值、拉动操作的操作轨迹长度达到长度阈值。
在实际应用中,当拖动操作满足消息移动条件时,终端控制第一会话消息处于悬浮状态,并伴随拖动操作的执行,在会话界面中显示处于悬浮状态的第一会话消息被拖动的过程。这里,终端可以通过气泡卡片的方式显示第一会话消息,当终端接收到第一会话消息时,采用气泡卡片显示第一会话消息,当目标对象针对第一会话消息的拖动操作满足消息移动条件时,控制承载有第一会话消息的气泡卡片处于悬浮状态,并在会话界面中显示气泡卡片被拖动的过程。
在一些实施例中,当满足以下情况至少之一时,确定第一会话消息被拖动至第二会话消息处:第一会话消息被拖动至第二会话消息的显示区域外围的关联区域;用于承载第一会话消息的气泡卡片与用于承载第二会话消息的气泡卡片存在重叠。这里,在实际应用中,目标对象拖动第一会话消息,也即目标对象选择了第一会话消息作为待合并的会话消息,将第一会话消息拖动至第二会话消息处,也即目标对象选择了将第二会话消息,作为与第一会话消息进行合并的会话消息。
在通过拖动会话消息实现消息合并指令触发的场景下,在一些实施例中,目标对象仅可拖动发送时长(即从消息的发送时间点开始到当前时间点的时间间隔)处于目标时长范围内(具体可依据实际需要进行设定)的会话消息,以目标时长为一分钟为例,目标对象仅可拖动发送时间点距当前时间点的时间间隔处于一分钟内的会话消息。在实际实施时,当拖动操作满足消息移动条件时,终端获取第一会话消息的发送时间与当前时间的第一时间间隔;当第一时间间隔小于或等于时间间隔阈值(即目标时长)时,在会话界面中显示第一会话消息被拖动的过程;当第一时间间隔大于时间间隔阈值时,显示超时提示信息,该超时提示信息,用于提示已超过合并第一会话消息的时长,当目标对象基于该超时提示信息释放拖动操作时,第一会话消息复位,即重新回到拖动前的位置。
在另一些实施例中,目标对象仅可合并发送时长处于目标时长内的会话消息,也即第一会话消息及第二会话消息的发送时长均需处于目标时长内;在实际应用中,当第一会话消息被拖动至第二会话消息处时,响应于拖动操作被释放,获取第一会话消息的第一发送时长与第二会话消息的第二发送时长,当第一发送时长与第二发送时长中至少之一超过目标时长时,显示超时提示信息,以提示用户仅可合并发送时长处于目标时长内的会话消息,并移动第一会话消息至上述拖动操作执行前的位置。图6是本申请实施例提供的消息合并过程中超时提示的界面示意图,参见图6,当用户拖动会话消息“我们去露营吧”至“天气好好啊!”处,并释放拖动操作时,由于“我们去露营吧”至“天气好好啊!”中存在发送时长超出目标时长(此处为1分钟)的消息,因此,显示超时提示信息“仅可合并1分钟以内的消息”,并将被拖动的会话消息“我们去露营吧”复位至拖动前的位置。
在另一些实施例中,目标对象所指示合并的第一会话消息及第二会话消息之间的时间间隔需要处于一定时长范围内,也即,当第一会话消息被拖动至第二会话消息处时,响应于拖动操作被释放,获取第一会话消息的发送时间与第二会话消息的发送时间的发送时间间隔,当发送时间间隔小于或等于发送时间间隔阈值时,触发消息合并指令,而当该时间间隔大于时间间隔阈值时,显示间隔提示信息,并移动第一会话消息至拖动操作执行前的位置;其中,该间隔提示信息,用于提示第一会话消息与第二会话消息的发送时间间隔已超出发送时间间隔阈值,并可提示可进行消息合并的发送时间间隔,如提示可进行消息合并的发送时间间隔为1分钟。
在一些实施例中,消息合并指令还可通过消息合并功能项所触发,在实际应用中,终端在会话界面中显示消息合并功能项;响应于针对消息合并功能项的触发操作,控制至少两条会话消息处于候选状态;响应于针对处于候选状态的第一会话消息及第二会话消息的选择操作,触发消息合并指令。示例性地,图7是本申请实施例提供的消息合并指令的触发界面示意图,参见图7,在会话界面71中显示有消息合并功能项72,当目标对象触发该消息合并功能项72(如点击消息合并功能项72)时,会话界面中的会话消息处于候选状态,即会话界面73所示,当目标对象基于会话界面73选择了“我们去露营吧”及“天气好好啊!”,并点击确定控件75时,如会话界面74所示,触发消息合并指令。
这里,对基于消息合并功能项触发消息合并指令后,消息的合并进行说明。
在一些实施例中,终端可通过如下方式显示第一会话消息与第二会话消息合并得到的第三会话消息:当第一会话消息的发送时间早于第二会话消息的发送时间时,终端显示第一会话消息自动移动至第二会话消处、并与第二会话消息合并得到第三会话消息的过程;或者,当第一会话消息的发送时间早于第二会话消息的发送时间时,终端显示第一会话消息自动移动至第二会话消处的过程,并显示第一会话消息与第二会话消息合并得到的第三会话消息。也即,在第一会话消息自动移动至第二会话消处后,终端可展示第一会话消息与第二会话消息合并的过程,也可仅展示合并后的状态,即仅展示合并结果。
在另一些实施例中,终端还可通过如下方式显示第一会话消息与第二会话消息合并得到的第三会话消息:当第一会话消息与第二会话消息并非会话界面中发送时间最晚的会话消息时,终端显示通过将第一会话消息自动移动至第二会话消息处或将第二会话消息自动移动至第一会话消息处,合并得到第三会话消息、且第三会话消息移动至所述发送时间最晚的会话消息的下方的过程。
这里,终端还可在第一会话消息与第二会话消息并非会话界面中发送时间最晚的会话消息时,显示将第一会话消息自动移动至第二会话消息处或将第二会话消息自动移动至第一会话消息处的过程,并显示第一会话消息与第二会话消息合并得到的第三会话消息,第三会话消息位于发送时间最晚的会话消息的下方。
在一些实施例中,终端显示第一会话消息与第二会话消息合并得到的第三会话消息之后,可以对合并得到的第三会话消息在会话界面中的位置进行调整,即对第三会话消息在会话界面中消息的排序进行调整,终端响应于针对第三会话消息的排序调整指令,移动第三会话消息在会话界面中的位置,以改变第三会话消息在会话界面中的消息排序。
在实际应用中,目标对象可以通过拖动第三会话消息实现针对第三会话消息的排序的调整,在实际应用中,终端响应于针对第三会话消息的拖动操作,当该拖动操作的操作时长达到时长阈值时,触发针对第三会话消息的排序调整指令,伴随该拖动操作的执行,控制第三会话消息在会话界面中同步移动、以改变第三会话消息在会话界面中的消息排序。
示例性地,图8A是本申请实施例提供的对合并后的会话消息进行排序调整的界面示意图,参见图8A,图(1)中目标对象拖动的消息为对“天气好好啊!”及“我们去露营吧”进行合并所得到的第三会话消息,当目标针对该消息的拖动时长达到时长阈值时,触发该消息在会话界面中的移动,当目标对象将第三会话消息拖动至会话消息“哈哈好呀!我周末刚好想出去放松一下”的下方,并释放拖动操作时,如图(2),实现针对第三会话消息的排序的调整,如图(3),在拖动操作释放后,第三会话消息在会话界面中的排序处于“哈哈好呀!我周末刚好想出去放松一下”之后。
在实际应用中,目标对象也可以通过会话界面中的排序控件实现针对第三会话消息的排序的调整,在实际应用中,终端显 示第一会话消息与第二会话消息合并得到的第三会话消息之后,控制第三会话消息处于排序待调整状态,并在会话界面中显示排序控件,该排序控件包括向上调整控件及向下调整控件,目标对象通过触发(如单击)向上调整控件,实现第三会话消息在会话界面中的排序由下到上的移动,如每单击一次向上调整控件,向上移动一个位置;若目标对象通过触发(如单击)向下调整控件,实现第三会话消息在会话界面中的排序由上到下的移动,如每单击一次向下调整控件,向下移动一个位置。
示例性地,图8B是本申请实施例提供的对合并后的会话消息进行排序调整的界面示意图,参见图8B,图(1)中在对“天气好好啊!”及“我们去露营吧”进行合并得到的第三会话消息81后,该会话消息81处于排序待调整状态,终端在会话界面中显示排序控件82,该排序控件包括向上调整控件及向下调整控件,如图(1)所示,当目标对象点击向下调整控件时,触发第三会话消息81向下移动一个位置,即移动至会话界面中与第三会话消息下方相邻的会话消息的下方,并显示确定控件83,当目标对象点击确定控件83触发确定指令时,实现针对第三会话消息的排序的调整,如图(3)所示。
在一些实施例中,目标对象对合并后的会话消息(如第三会话消息)进行排序调整时,仅可在会话界面中的目标区域范围内进行调整,在实际应用中,终端在移动第三会话消息的位置的过程中,显示目标区域;当第三会话消息移动至目标区域的边缘时,显示移动提示信息,该移动提示信息,用于提示仅可在目标区域内调整第三会话消息的排序。
在一些实施例中,由于第三会话消息通过移动第一会话消息至第二会话消息处所合并得到,因此,合并后所得到的第三会话消息的发送时间即为第二会话消息的发送时间,目标对象对合并后的会话消息(如第三会话消息)进行排序调整时,所调整的位置仅可在一段时间(如1分钟)内,比如第三会话消息的发送时间为11点15分,则第三会话消息的位置移动范围处于11点14分与11点16分之间;在实际应用中,终端在移动第三会话消息的位置的过程中,当第三会话消息移动至目标位置、该目标位置使得第三会话消息与目标历史会话消息相邻、且第三会话消息与目标历史会话消息的发送时间间隔达到时间间隔阈值时,在第三会话消息与目标历史会话消息之间,显示拦截线,该拦截线,用于当第三会话消息移动至拦截线时,拦截第三会话消息,也即,第三会话消息无法跨过拦截线,被移动至目标历史会话消息所处区域;如此,实现了对消息的移动范围及排序范围的控制,避免了相邻消息的发送时间间隔过大所导致的内容混乱的情况。
示例性地,图8C是本申请实施例提供的对合并后的会话消息进行排序调整的界面示意图,参见图8C,会话消息84为进行消息合并后所得到的第三会话消息,在用户拖动会话消息84以调整其在会话界面中的排序时,当该会话消息84移动至与会话消息85(即目标历史会话消息)相邻,且会话消息84移动至与会话消息85的发送时间间隔达到时间间隔阈值,在会话消息84与会话消息85之间,显示拦截线86,如图(2)所示,以当用户继续向下拖动会话消息84时,对会话消息84进行拦截,使得用户无法将会话消息84移动至会话消息85下方,当用户在图(2)所示位置处释放拖动操作时,控制会话消息84显示于拖动操作所对应的释放位置,如图(3)所示。
在实际应用中,在将第一会话消息与第二会话消息合并得到第三会话消息之后,目标对象还可对合并后的消息中第一会话消息所内容及第二会话消息所对应内容的顺序进行调整,在实际应用中,第一会话消息所对应内容为第一内容,第二会话消息所对应内容为第二内容,在会话界面中,显示第一会话消息与第二会话消息合并得到的第三会话消息之后,终端响应于针对第三会话消息中内容的位置调整指令,对第一内容、第二内容中至少之一在第三会话消息中的位置进行调整,以改变第三会话消息中第一内容及第二内容的排序。例如,终端显示第一会话消息与第二会话消息合并得到的第三会话消息之后,控制第三会话消息中的第一内容及第二内容处于待排序状态,若用户不需要调整第一内容及第二内容的排序,触发确定指令,如点击会话界面中空白区域即可,若用户需要调整第一内容及第二内容的排序,可通过拖动第一内容或第二内容触发相应的位置调整指令,例如当第一内容“天气好好啊!”排序在前、第二内容“我们去露营吧”排序在后时,可拖动第一内容的位置至第二内容的位置之后。
接下来对合并的会话消息的类型进行说明。在一些实施例中,目标对象所指定进行合并的第一会话消息及第二会话消息的类型可以为以下至少之一:文本消息、语音消息、图片消息、视频消息、表情消息及富媒体消息。图9A至图9F为本申请实施例提供的针对不同类型的会话消息进行合并的界面示意图,参见图9A,用户通过拖动图片消息至文本消息处,实现图片消息与文本消息的合并;参见图9B,用户通过拖动视频消息至文本消息处,实现视频消息与文本消息的合并;参见图9C,用户通过拖动语音消息至文本消息处,实现语音消息与文本消息的合并;参见图9D,用户通过拖动图片消息至语音消息处,实现图片消息与语音消息的合并;参见图9E,用户通过拖动图片消息至视频消息处,实现图片消息与视频消息的合并。在实际应用中,用户可通过多次拖动消息实现针对多条会话消息的合并,参见图9F,用户首先通过拖动语音消息至文本消息处,实现语音消息与文本消息的合并,得到合并消息,进而通过将图片消息拖动至合并消息处于,实现图片消息与合并消息的合并,如此,实现了语音消息、文本消息及图片消息的合并,当然,在实际应用中,用户可通过多次触发消息合并指令,实现两种或两种以上消息类型的会话消息的合并。
在实际应用中,用户除可合并自身发送的会话消息外,还可对自身与其他会话对象发送的会话消息进行合并,或者仅合并其他会话对象所发送的会话消息,在一些实施例中,当第一会话消息的发送对象为目标对象、第二会话消息的发送对象为目标对象的会话对象时,终端可通过如下方式显示第一会话消息与第二会话消息合并得到的第三会话消息:终端显示第二会话消息的消息副本;在会话界面中,显示第一会话消息与第二会话消息的消息副本合并得到的第三会话消息,或者显示第一会话消息与第二会话消息的消息副本合并得到第三会话消息的过程,例如,动态显示第一会话消息与第二会话消息的消息副本,从彼此独立逐渐靠近,到最终合并成为第三会话消息的过程。
这里,当用户通过执行针对会话消息的拖动操作触发消息合并指令时,若用户拖动的会话消息为自身发送的会话消息时,触发的是针对该会话消息本身的移动,若用户拖动的会话消息为该用户的会话对象所发送的会话消息时,则触发的是针对该会话消息的副本的移动,当然,在一些实施例中,用户拖动的会话消息为该用户的会话对象所发送的会话消息时,触发的也可以是针对该会话消息本身的移动及合并。
对第一会话消息的发送对象为目标对象、第二会话消息的发送对象为目标对象的会话对象时,消息合并指令的触发进行说明。在一些实施例中,可通过如下方式触发消息合并指令:终端响应于针对第一会话消息的按压操作,控制第一会话消息处于选定状态;在执行按压操作的过程中,响应于针对第二会话消息的拖动操作,显示第二会话消息的副本,并在会话界面中显示第二会话消息的副本被拖动的过程;当第二会话消息被拖动至第一会话消息处时,响应于拖动操作被释放,触发消息合并指令。
示例性地,图10A为本申请实施例提供的合并不同会话对象的会话消息的界面示意图,参见图10A,当用户用一只手指按压自身发送的会话消息“地点A”时,终端确定该会话消息为待合并的会话消息,并控制该会话消息处于选定状态,在用户按压会话消息“地点A”的过程中,用另一根手指拖动他人发送的会话消息“地点B一日游”,终端响应于针对会话消息“地点B一日游”的拖动操作,生成并显示会话消息“地点B一日游”的消息副本,并在会话界面中显示“地点B一日游”的消息副本被拖动的过程, 当“地点B一日游”的消息副本被拖动至会话消息“地点A”处时,响应于拖动操作被释放,触发消息合并指令。在会话界面中显示“地点B一日游”与“地点A”的过程。
这里,在实际应用中,用户在执行对第一会话消息的按压操作的过程中,可通过多次拖动他人所发送的会话消息,实现多条他人所发送的会话消息与自身所发送会话消息的合并,也即,终端在显示第一会话消息与第二会话消息合并得到的第三会话消息之后,在目标对象执行针对第一会话消息的按压操作的过程中,响应于针对第四会话消息的拖动操作,在会话界面中显示第四会话消息被拖动的过程;当第四会话消息被拖动至第三会话消息处时,响应于拖动操作被释放,显示第四会话消息与第三会话消息合并得到的第五会话消息,或者显示第四会话消息与第三会话消息合并得到第五会话消息的过程。如图10B所示,图10B为本申请实施例提供的合并不同会话对象的会话消息的界面示意图,该图接续图10A,其中,用户按压的会话消息“地点A,地点B一日游”为执行图10A中操作所得到的第三会话消息,用户在持续执行按压操作的过程中,再次拖动其它会话消息,如图10B中所示的“地点C”(即第四会话消息),当将“地点C”的副本拖动至“地点A,地点B一日游”处时,显示第四会话消息与第三会话消息合并得到第五会话消息(地点A,地点B一日游,地点C)的过程。
这里,在用户在持续执行按压操作、并多次拖动他人会话消息进行消息合并的过程中,可在会话界面中显示已合并的会话消息的数量。如此,便于用户清楚的得知已合并的会话消息的数量。
当第一会话消息的发送对象为目标对象、第二会话消息的发送对象为目标对象的会话对象时,在另一些实施例中,还可通过如下方式触发消息合并指令:终端响应于针对第一会话消息的按压操作,当按压操作达到按压条件时,控制会话界面中的会话消息处于候选状态;在执行按压操作的过程中,响应于针对处于候选状态的第二会话消息的触发操作,触发消息合并指令;相应的,在触发消息合并指令之后,通过如下方式显示第一会话消息与第二会话消息合并得到的第三会话消息:显示第二会话消息的副本自动移动至第一会话消息处的过程,并显示第二会话消息的副本与第一会话消息合并得到的第三会话消息;或者,显示第二会话消息的副本自动移动至第一会话消息处、并与第一会话消息合并得到第三会话消息的过程。在用户执行按压操作的过程中,可通过多次点击他人消息实现多条会话消息的合并,在实际应用中,终端在执行按压操作的过程中,响应于针对第六会话消息的触发操作,显示第六会话消息的副本自动移动至第三会话消息处、并与第三会话消息合并得到第七会话消息的过程。
这里,在一些实施例中,当以下条件至少之一得到满足时,确定上述按压条件得到满足:按压操作的按压时长达到时长阈值,按压操作的压力大小达到压力大小阈值。
示例性地,图10C为本申请实施例提供的合并不同会话对象的会话消息的界面示意图,参见图10C,当用户用一只手指按压自身发送的会话消息“地点A”时,终端控制该会话界面中其它会话消息处于候选状态,在用户按压会话消息“地点A”的过程中,用另一根手指点击他人发送的会话消息“地点C”,终端响应于针对会话消息“地点C”的点击操作,触发消息合并指令,生成并显示会话消息“地点C”的消息副本,并在会话界面中显示“地点C”的消息副本自动移动至会话消息“地点A”处、与“地点A”合并的过程。在用户持续执行按压操作的过程中,用户可通过点击他人消息实现多条消息的合并,例如,在会话消息“地点C”与“地点A”合并得到“地点A,地点C”后,在用户持续执行按压操作的过程中,当用户点击“地点D”时,触发“地点D”与“地点A,地点C”的合并,即生成并显示会话消息“地点D”的消息副本,并在会话界面中显示“地点D”的消息副本自动移动至会话消息“地点A,地点C”处、与“地点A,地点C”合并的过程。这里,需要说明的是,在用户持续执行按压操作的过程中,上述针对他人会话消息的点击操作可多次执行。
这里,为了便于用户操作,可对实现合并的操作进行引导,也即,在会话界面中显示用于引导用户触发消息合并指令的操作的引导信息,该引导信息的形式可以为文本形式、图形、动画形式、视频形式中至少之一,用于引导目标对象执行目标操作,以触发消息合并指令;图11为本申请实施例提供的进行合并操作的界面示意图,参见图11,当用户按压自身发送的会话消息时,在会话界面中采用文本的方式提示用户,通过点击其它会话消息,可实现与当前所按压的会话消息进行合并,如图11中提示信息111,即“点击消息进行拼合”。
在用户在持续执行按压操作、并多次点击他人会话消息进行消息合并的过程中,可在会话界面中显示已合并的会话消息的数量。图12为本申请实施例提供的显示已合并的会话消息的数量的界面示意图,参见图12,在用户的手指121持续执行按压操作的过程中,通过另一个手指多次执行消息的点击操作,进行多条会话消息的合并,在会话界面中显示合并的会话消息的数量122。
在一些实施例中,用户若合并会话中他人消息,需要获得对方授权,在实际应用中,当第一会话消息与第二会话消息中至少之一的发送对象为目标对象的会话对象时,在会话界面中,显示第一会话消息与第二会话消息合并得到的第三会话消息之前,终端显示授权提示信息以及相应的确定功能项;其中,授权提示信息,用于提示获取针对会话对象的会话消息执行合并操作的授权;终端响应于针对确定功能项的触发操作,发送授权请求至会话对象,该授权请求,用于请求授权执行针对会话对象的会话消息的合并操作;当获得针对会话对象的会话消息执行合并操作的授权时,终端在会话界面中,显示第一会话消息与第二会话消息合并得到的第三会话消息。
在实际应用中,终端显示第一会话消息与第二会话消息合并得到的第三会话消息之后,可为用户提供对第三会话消息进行处理的功能项,在一些实施例中,终端显示第三会话消息对应的至少一个消息处理功能项,每个消息处理功能项对应一种处理操作,例如该处理操作可以为复制操作、转发操作、分享操作、编辑操作等;响应于针对至少一个消息处理功能项中目标消息处理功能项的触发操作,对第三会话消息执行目标消息处理功能项所指示的目标处理操作。其中,终端显示的消息处理功能项可以包括以下功能项至少之一:用于进行消息发送的发送功能项、用于进行消息转发的转发功能项、用于进行消息复制的复制功能项、用于生成目标格式文件(如文本格式文件,.txt文件)的文件生成功能项,用于生成会议纪要的会议纪要功能项,以及用于对消息中的内容进行投票的投票功能项等,消息处理功能项的具体功能的设置可以依据实际需要进行设定。
这里,当第三会话消息包括至少两个子内容、目标消息处理功能项为投票功能项时,对第三会话消息执行目标消息处理功能项所指示的目标处理操作,可以包括:显示第三会话消息对应的投票消息,该投票消息包括:对应各子内容的选项以及投票操作控件;其中,投票操作控件,用于对基于选项所选择的子内容进行投票。在实际应用中,终端可以通过如下方式显示第三会话消息对应的投票消息:在会话界面中显示第三会话消息对应的投票消息;或者,显示展示浮层,并在该展示浮层中显示第三会话消息对应的投票消息;或者,显示投票信息界面,并在该投票信息界面中显示第三会话消息对应的投票消息。
示例性地,图13A及图13B为本申请实施例提供的基于消息处理功能项进行消息处理的界面示意图,参见图13A,终端显示第一会话消息与第二会话消息合并得到的第三会话消息之后,显示合并消息处理界面131,并在消息处理界面中显示合并得到的第三会话消息132,以及第三会话消息132对应的消息处理功能项133,当用户触发“发送”功能项时,第三会话消息132作 为新的会话消息被发送至会话界面中;继续参见图13B,当用户触发“投票”功能项时,终端在会话界面中,显示第三会话消息对应的投票消息134,该投票消息包括:对应各子内容的选项135以及投票操作控件136,当用户基于对应各子内容的选项135进行投票内容的选择,如点击“地点A”及“地点B一日游”所对应的选项,并点击投票操作控件136时,实现对“地点A”及“地点B一日游”的投票。
在一些实施例中,终端显示第三会话消息对应的投票消息之后,在投票消息中各子内容的关联区域,显示相应子内容的投票结果,该投票结果,用于指示针对相应子内容进行投票的会话对象的数量。图14为本申请实施例提供的显示投票结果的界面示意图,参见图14,在投票消息134中,各个子内容的关联区域,显示有相应子内容的投票结果137,如针对地点A的投票的会话对象的数量为1,地点B一日游最多,数量是5。
在实际应用中,用户的投票时间有限,在实际应用中,当终端显示第三会话消息对应的投票消息之后,终端获取投票消息的显示时长,当投票消息的显示时长达到显示时长阈值(具体可依据实际需要进行设定,如10分钟)时,取消显示投票操作控件,并在投票消息中,显示用于指示投票已结束的结束指示信息。
在一些实施例中,当目标消息处理功能项为转发功能项时,在用户触发该转发功能项后,终端显示供选择的至少一个转发对象,转发对象与目标对象具有社交关联关系(如目标对象与转发对象为客户端中的好友关系);响应于针对至少一个转发对象中目标转发对象的选择指令,发送第三会话消息至目标转发对象。在实际应用中,终端可通过如下方式显示供选择的至少一个转发对象:终端显示转发对象选择界面;在转发对象选择界面中显示供选择的至少一个转发对象;或者,显示展示浮层,并在该展示浮层中显示供选择的至少一个转发对象。
在一些实施例中,当目标消息处理功能项为会议纪要功能项时,响应于针对会议纪要功能项的触发操作,生成第三会话消息对应的会议纪要;响应于针对会议纪要的存储指令,存储会议纪要。
这里,在实际应用中,会议纪要包括会议纪要的标题、会议纪要的纪要时间及会议纪要的正文,在一些实施例中,当第三会话消息包括至少两个子内容时,终端可通过如下方式生成第三会话消息对应的会议纪要:对第三会话消息的内容进行语义分析,并基于分析结果生成会议纪要的标题;获取各子内容对应的发送时间,并基于获取的发送时间,确定会议纪要的纪要时间;以第三会话消息的内容为会议纪要的正文,生成包括标题、纪要时间及正文的会议纪要。
这里,在另一些实施例中,会议纪要的标题的获取可以通过预先训练的神经网络模型进行预测得到,在实际应用中,将第三会话消息输入至神经网络模型,输出会议纪要的标题。
应用本申请上述实施例,目标对象触发消息合并指令,由于消息合并指令指示合并第一会话消息及第二会话消息,也即目标对象指定对第一会话消息与第二会话消息进行合并,电子设备能够响应该消息合并指令,在会话界面中,实现对目标对象指定的第一会话消息与第二会话消息的合并,可通过合并被打断的消息避免所发送消息的漏读,当用户需要汇总群组聊天中多个会话对象的消息时,可通过消息合并,实现不同会话对象的消息的合并,使得不同会话对象的消息通过一条消息呈现,提高了消息的传达效率,同时,相较于相关技术中仅依据消息的发送时间,在会话界面中进行消息展示,提高了电子设备硬件处理资源及显示资源的利用率。
图15是本申请实施例提供的会话消息的处理方法的流程示意图,在一些实施例中,本申请实施例提供的会话消息的处理方法可以由终端单独实施,也可以由服务器单独实施,或者由终端和服务器协同实施,这里以终端实施为例进行说明,参见图15,本申请实施例提供的会话消息的处理方法包括:
步骤201:终端在第一对象的群组会话界面中,显示至少两条会话消息。
这里,群组会话界面为群组会话所对应的界面,群组可以包括第一对象、第二对象及第三对象,群组会话界面中显示的至少两条会话消息可以包括:第一对象发送的第一会话消息及第二会话消息、第二对象发送的第三会话消息及第三对象发送的第四会话消息。
步骤202:响应于针对第一会话消息的拖动操作,显示第一会话消息被拖动的过程。
这里,在实际实施时,当针对第一会话消息的拖动操作的时长达到目标时长(目标时长的大小可以依据实际需要进行设定,如10s)时,才显示第一会话消息被拖动的过程。
步骤203:当第一会话消息被拖动至第二会话消息处、且拖动操作被释放时,显示第一会话消息与第二会话消息合并得到第五会话消息的过程。
步骤204:响应于针对第五会话消息的按压操作,控制群组会话界面中第三会话消息及第四会话消息处于候选状态。
步骤205:在按压操作执行的过程中,响应于针对处于候选状态的第三会话消息的点击操作,显示第三会话消息的副本自动移动至第五会话消息处、并与第五会话消息合并得到第六会话消息的过程。
步骤206:在按压操作执行的过程中,响应于针对处于候选状态的第四会话消息的点击操作,显示第四会话消息的副本自动移动至第六会话消息处、并与第六会话消息合并得到第七会话消息的过程。
步骤207:响应于按压操作被释放,显示投票功能项。
这里,投票功能项,用于对第七会话消息中所包含的各个子内容(即第一会话消息的内容、第二会话消息的内容、第三会话消息的内容及第四会话消息的内容)进行投票。
步骤208:响应于针对投票功能项的触发操作,显示对应第七会话消息的投票消息,投票消息包括对应各子内容的选项以及投票操作控件。
步骤209:响应于基于投票操作控件触发的针对所选择子内容的投票指令,在投票消息中各子内容的关联区域,显示相应子内容的投票结果。
应用本申请上述实施例,用户可通过拖动会话消息实现针对自身所发送消息的合并,并可通过按压一条会话消息,并点击其它会话消息,实现群组会话中自身会话消息与多个群组成员所发送会话消息的合并;如此,通过合并自身所发送的消息避免被打断的消息的漏读,提高了消息传达效率,通过合并自身与他人的会话消息,可实现不同会话对象的消息的汇总;针对汇总得到的消息,提供投票功能,使得用户对合并的消息中的各子内容进行投票,并相应的显示投票结果,提高了目标对象针对多条会话消息的处理效率,同时,相较于相关技术中仅依据消息的发送时间,在会话界面中进行消息展示,提高了电子设备硬件处理资源及显示资源的利用率。
下面将说明本申请实施例在一个实际的应用场景中的示例性应用。该实施例以服务器及终端协同实施、终端上设置有即时通讯客户端为例进行说明。在一些实施例中,用户通过拖动会话界面中的消息至另一会话消息处,可触发消息合并指令,进而实现两条消息合并成一条消息,基于此,对消息合并中客户端及服务器侧的消息处理进行说明。
在会话消息处理体系中,每条会话消息都有seq(顺序或排序)以及timestamp(时间戳)的概念,用户基于客户端发送会话消息都会经过后台server(服务器),在当前会话中第seq条消息,发送的时候会将seq返回给客户端,同时发送时会组装数据带上seq给接收端,可以当作消息的唯一标识,客户端可根据seq定位到消息。timestamp是表示消息发送的时间戳,也是以后台server的时间戳为准,不依赖客户端,同seq一样的是,也会在发送时返回给发送方,同时组装数据时带上发送给接收方。
图16是本申请实施例提供的会话消息的发送流程示意图,参见图16,在消息发送端,用户编辑好消息后,可通过点击发送按钮实现消息发送,消息发送端发消息信令至消息后台(即服务器),服务器基于该消息信令获取该消息的时间戳及排序,对消息进行处理处理,分发至会话的各个终端,即返回发送结果至消息发送端,以使消息发送端更新消息状态,下发消息至接收端,以使接收端进行消息展示。
这里,对消息的组装进行说明。客户端根据timestamp进行列表的排序,根据seq组装得到特定的会话消息。图17是本申请实施例提供的消息组成示意图,参见图17,每条消息都有seq和timestamp字段,其中的内容是一个数组表示,用来展示消息、合并的消息、混合富文本消息等,可容纳文本,图片,视频等;其中,文本,图片,视频都是独立的消息内容item表示。
在实际应用中,客户端通过向服务器发送协议请求包实现消息的修改、删除等编辑处理,图18是本申请实施例提供的协议请求包的组成示意图,参见图18,协议请求包包括请求包头部数据、消息编辑包数组,其中,消息编辑包数组可以包括至少两个消息编辑包,每个消息编辑包编辑类型(如更新或删除)及消息基本信息(如排序、时间戳、消息具体内容等)。相应的,针对客户端发送的消息编辑信令协议请求包,服务器会返回响应包,图19是本申请实施例提供的响应包的组成示意图,参见图19,响应包包括响应包头部数据及结果基本信息,该结果基本信息可以包括请求错误码及请求结果描述。请求包以及响应包对应详细的协议定义如下:
在实际应用中,用户触发消息合并指令,以指示进行会话消息合并时,该消息合并可能会涉及到以下两点改动:
1,被合并消息的删除;2,合并消息内容修改。
在消息编辑协议请求体中会有两个编辑信息,包括删除和修改,删除被合并的,同时也会更新修改的消息体,将被删除的消息体添加到合并的消息体中,达到更新消息的目的。图20是本申请实施例提供的进行消息合并的预处理流程示意图,该预处理由客户端执行,参见图20,合并消息预处理流程如下:
步骤1,客户端移动消息。
这里,客户端响应于用户针对会话消息的拖动操作,当拖动条件得到满足(如拖动时长达到时长阈值)时,触发会话消息的移动。
步骤2,判断是否超过时间限制。
这里,在一些实施例中,用户仅可合并一定时间范围内(如1分钟)的消息,客户端判断所拖动的消息及用户所指示合并的消息(即用户释放拖动操作时,所拖动的消息触达的消息)的发送时长是否处于设定的时间范围内,若不在该时间范围内,执行步骤3,即无效果处理,被拖动的消息复位;若在该时间范围内,执行步骤4。
步骤3,无效果处理。
步骤4,提取被拖动消息的内容。
步骤5,合并消息内容。
步骤6,组装消息删除数据。
这里,客户端基于合并的消息内容,重新进行消息组装,并删除被拖动消息的原始数据。
步骤7,组装消息更新数据。
这里,基于重新组装的消息进行数据更新。
步骤8,请求消息编辑信令。
这里,客户端基于更新后的数据,生成请求消息编辑信令,以发送至服务器。
在实际实施时,客户端生成请求消息编辑信令后,通过server的桥接将消息编辑信息push给消息的接收方,供消息接收方客户端根据相应的编辑信息更新本地的消息。图21是本申请实施例提供的客户端与服务器间的交互流程示意图,参见图21,客户端发送端、后台server以及客户端接收端的之间的交互逻辑如下:
步骤1,客户端进行消息编辑预处理。
这里,客户端的消息编辑预处理具体如图20所示,在客户端进行消息编辑预处理之后,发送消息编辑信令至消息后台(即服务器)。
步骤2,消息后台检测消息编辑信令的合法性。
这里,合法性的检测可以是消息编辑信令的格式是否正确,是否存在违法内容、用户是否具备相应操作权限等的检测;当消息后台检测到不合法时,触发步骤3,当检测到消息信令合法时,触发步骤4。
步骤3,返回编辑失败结果至消息发送端。
这里,当消息发送端接收到消息后台发送的编辑失败结果时,处理消息编辑失败,如显示合并失败的提示信息等。
步骤4,下发消息编辑信令至消息发送端及消息接收端。
这里,当消息发送端接收到消息后台发送的消息编辑信令时,可显示编辑成功后的结果,当消息接收端接收到消息后台发送的消息编辑信令时,可编辑处理本地消息,如删除本地消息及更新本地消息内容。
在实际实施时,客户端的发送方及接收方,会根据消息编辑信令的数据对本地数据进行处理,根据seq可以找到特定的消息进行更新/删除,在每个消息会话中,seq是消息的唯一标识。如果是消息更新,将用消息编辑信令中modify_type为MODIFY_TYPE_UPDATE的消息内容进行替换,如果是删除(modify_type值为MODIFY_TYPE_UPDATE)的,将对应seq的消息进行删除。
在实际实施时,客户端在会话界面中对第一会话消息与第二会话消息合并得到第三会话消息后,可对第三会话消息的位置进行调整。在会话中的消息是用seq作为唯一标识,timestamp用于标识消息的时间戳,用于消息展示时消息的排列顺序,客户端拿到消息后,就可以根据消息的时间戳(timestamp)将消息插入到特定的位置上。其中,时间戳(timestamp)的含义就是从1970年1月1日开始所经过的秒数,统一用服务器上返回的时间戳,做到时间戳的统一性,图22是本申请实施例提供的调整合并消息(如第三会话消息)的位置的预处理流程示意图,参见图22,移动合并消息预处理逻辑如下:
步骤1,客户端移动消息。
这里,当用户触发针对消息位置的调整操作,如拖动操作时,触发移动消息的指令,该移动消息的指令可以用于指示通过挪动、拖动等方式移动消息,以实现针对消息的位置调整。
步骤2,判断是否是合并消息类型。
这里,客户端判断用户指示位置调整的消息是否是合并消息(如第三会话消息),如果是,执行步骤3,如果不是,执行步骤4。
步骤3,判断是否符合时间限制。
这里,客户端判断移动消息位置的时间差异是否符合时间段内,如果是执行步骤5,若不是,执行步骤4。
步骤4,无效处理结果。
这里,客户端控制被拖动的消息复位,并可指示针对消息的移动无效,即显示无效移动指示信息。
步骤5,获取上条消息时间戳。
步骤6,合并消息时间戳+1。
步骤7,组装消息更新数据。
步骤8,请求消息编辑信令。
这里,客户端基于更新后的数据,生成请求消息编辑信令,以发送至服务器。
综上,在移动合并消息会对移动消息位置进行预处理,主要判断两个方面:消息是否为合并类型,以及移动消息位置的时间差异是否符合时间段内。只有符合了条件,才会通过消息编辑信令对消息进行更新,主要是对消息的时间戳进行更新,会根据移动消息的位置,在目的位置的上一条消息的时间戳基础上加1,便于客户端在排序消息,展示消息列表时达到移动到特定位置的目的。待移动消息预处理完客户端即可请求消息编辑信令,通过后台server将消息移动编辑信息下发至客户端接收端。其中modify_type类型为MODIFY_TYPE_UPDATE。
图23是本申请实施例提供的进行合并消息移动时的交互流程示意图,参见图23,
步骤1,客户端进行消息编辑预处理。
这里,客户端的消息编辑预处理具体如图22所示,在客户端进行消息编辑预处理之后,发送消息编辑信令至消息后台(即服务器)。
步骤2,消息后台检测消息编辑信令的合法性。
这里,合法性的检测可以是消息编辑信令的格式是否正确,是否存在违法内容、用户是否具备相应操作权限等的检测;当消息后台检测到不合法时,触发步骤3,当检测到消息信令合法时,触发步骤4。
步骤3,返回编辑失败结果至消息发送端。
这里,当消息发送端接收到消息后台发送的编辑失败结果时,处理消息编辑失败,如显示移动失败的提示信息等。
步骤4,消息后台下发消息移动编辑信令至消息发送端及消息接收端。
这里,当发送端接收到消息移动编辑信令后,可显示消息移动成功,并刷新消息列表,当接收端接收到消息移动编辑信令 后,可移动处理本地消息,如删除被移动的本地消息,并更新本地消息内容。
在实际应用中,基于前述实施例,用户不仅可以合并自身发送的会话消息,也可以合并自身与他人的消息,也即,本申请不仅局限于合并自己的消息内容,也可以合并他人的消息,将他人的消息合并到自己的消息中,同时又不影响他人的消息。同前述合并1分钟内多条自身所发送消息不同之处在于,只是单纯的将他人的消息合并到自己的消息中,并不会存在删除他人的消息,在请求消息编辑信令中不会有删除的内容存在,只有update的情况。图24是本申请实施例提供的消息信令对比示意图,参见图24,在合并自己的消息的信令中,存在消息内容的删除及更新,而在合并他人和自身消息的信令中,仅包含消息内容的更新。
合并他人消息,在交互上会涉及到两手的操作,需要先按住自己的消息,同时用另一手点击其他人的消息,程序上会自动将别人的消息内容自动合并到自己的消息内容中,当用户松开按住的自己的消息,将会进行消息编辑中的更新,将当前的消息更新为当前设置的消息内容,图25是本申请实施例提供的合并他人消息的预处理流程示意图,参见图25,合并别人消息预处理逻辑如下:
步骤1,用户按住自己消息。
步骤2,客户端判断是否松开。
这里,客户端会实时检测用户所按住的消息是否松开,如果检测到松开,则组装消息更新数据,并生成请求消息编辑信令发送至服务器,如果检测到没有松开,执行步骤3。
步骤3,用户点击别人消息。
步骤4,客户端判断是否超过时间限制。
这里,客户端依据消息时间戳,判断用户所点击的消息的发送时长是否超过时间限制,如果超过,执行操作无效果处理,如果未超过,提取被点击消息内容,合并消息内容。
合并别人消息预处理完,就可以请求消息编辑信令,信令内容中只有UPDATE,会对当前的自己消息进行更新,同时通过信令,通过消息的接收方更新消息数据。请求的信令见前述图20及相应描述,流程上都是用同一套机制,用同一种信令,只是在信令数据的组装上有点差异,不存在DELETE的情况。
当消息合并完,会在消息的内容中会有is_combine用于表示该消息是否为合并消息,true为合并消息,false为普通消息。对于合并的时候,可以右击弹出操作选择框,供操作选择有发送/转发/复制/投票等,提供了这至少四种能力,其中发送/转发/复制复用现有即时通讯客户端中的能力,对于投票,需要对消息进行做处理,适配到投票的接口。消息内容在格式上就是一个数组,数组的每一项当作投票的一项即可。图26是本申请实施例提供的消息内容结构示意图,参见图26,如下:
每条消息内容就是一个MessageBody,会包含消息的一些基本消息,比如消息的唯一标识seq,用于标识是否合并消息类型的is_combine,以及消息的时间戳,消息的具体内容是包含在MessageArray结构中,就是一个数组,数组中的每一项就是MessageContent结构,MessageConent会有type用于标识消息具体内容的类型(文本/图片/音频/视频等),同时存在具体的内容,如果是文本,就是文本的具体内容,如果是图片/音频/视频对应的内容,就是资源上传到服务器上的fileid,fileid就是资源在上传到服务器,会返回对应的唯一标识fileid,可通过这个fileid下载到对应的资源。
图27是本申请实施例提供的消息合并后的处理流程示意图,参见图27,消息后操作流程包括:当用户点击合并后的消息(即合并类型的消息)时,客户端会弹出操作选择框,改操作选择框中包括发送功能项、转发功能项、复制功能项及投票功能项;当用户点击发送时,触发调用消息进行发送;当用户点击转发时,触发调用消息进行转发;当用户点击复制时,触发调用消息进行复制;当用户点击投票时,触发客户端解析消息内容,并将消息内容进行拆分,即拆分成投票每一项,然后调用接口,以供用户进行投票。
本申请提供了一种在聊天中,打乱时间序,合并多条消息并进行操作的方式,相关技术中,消息按照时间排序,有时候会出现自己要发的连续消息被别人的消息穿插等现象;或者在群内多人讨论场景中,想要去汇总多人讨论信息时,很麻烦;本申请中,用户可以拖拽自己的、一定时间内的多条消息,进行合并。合并成一条消息后,其顺序也可随意调节;在多人讨论中,用户也可拖拽合并他人消息,合并后生成总结纪要,进行复制、转发和投票等操作。让用户在聊天中,本人的消息传达更加连续,他人的聊天信息更好汇总,增加聊天中的信息传达效率。
下面继续说明本申请实施例提供的会话消息的处理装置455的实施为软件模块的示例性结构,在一些实施例中,如图3所示,存储在存储器450的会话消息的处理装置455中的软件模块可以包括:
第一显示模块4551,配置为显示至少两条会话消息,所述至少两条会话消息包括第一会话消息及第二会话消息;
接收模块4552,配置为接收消息合并指令,所述消息合并指令用于指示合并所述第一会话消息及所述第二会话消息;
第二显示模块4553,配置为响应于所述消息合并指令,显示所述第一会话消息与所述第二会话消息合并得到的第三会话消息。
在一些实施例中,所述第一显示模块,还配置为响应于针对所述第一会话消息的拖动操作,当所述拖动操作的操作时长达到时长阈值时,显示所述第一会话消息被拖动的过程;
所述接收模块,还配置为当所述第一会话消息被拖动至所述第二会话消息处时,响应于所述拖动操作被释放,接收到所述消息合并指令。
在一些实施例中,所述第一显示模块,还配置为当所述拖动操作的操作时长达到时长阈值时,获取所述第一会话消息的发送时间与当前时间的第一时间间隔;
当所述第一时间间隔小于或等于时间间隔阈值时,显示所述第一会话消息被拖动的过程。
在一些实施例中,所述接收模块,还配置为当所述第一会话消息被拖动至所述第二会话消息处时,响应于所述拖动操作被释放,获取所述第二会话消息的发送时间与当前时间的第二时间间隔;
当所述第二时间间隔小于或等于所述时间间隔阈值时,接收到所述消息合并指令。
在一些实施例中,所述接收模块,还配置为当所述第一会话消息被拖动至所述第二会话消息处时,响应于所述拖动操作被释放,获取所述第一会话消息与所述第二会话消息的发送时间间隔;
当所述发送时间间隔小于或等于发送时间间隔阈值时,触发所述消息合并指令。
在一些实施例中,所述第一显示模块,还配置为在所述会话界面中显示消息合并功能项;
所述接收模块,还配置为响应于针对所述消息合并功能项的触发操作,控制所述至少两条会话消息处于候选状态;
响应于针对处于所述候选状态的第一会话消息及所述第二会话消息的选择操作,接收到所述消息合并指令。
在一些实施例中,所述第二显示模块,还配置为当所述第一会话消息的发送时间早于所述第二会话消息的发送时间时,显示所述第一会话消息自动移动至所述第二会话消处的过程,并显示所述第一会话消息与所述第二会话消息合并得到的第三会话消息。
在一些实施例中,上述至少两条会话消息显示于会话界面中,所述装置还包括:
第一位置调整模块,配置为响应于针对所述第三会话消息的排序调整指令,移动所述第三会话消息在所述会话界面中的位置,以改变所述第三会话消息在会话界面中的消息排序。
在一些实施例中,所述接收模块,还配置为响应于针对所述第三会话消息的拖动操作,当所述拖动操作的操作时长达到时长阈值时,触发针对所述第三会话消息的排序调整指令;
所述第一位置调整模块,还配置为伴随所述拖动操作的执行,控制所述第三会话消息在所述会话界面中同步移动、以改变所述第三会话消息在会话界面中的消息排序。
在一些实施例中,所述第二显示模块,还配置为在移动第三会话消息的位置的过程中,显示目标区域;
当所述第三会话消息移动至所述目标区域的边缘时,显示移动提示信息;
其中,所述移动提示信息,用于提示在所述目标区域内调整所述第三会话消息的排序。
在一些实施例中,所述第二显示模块,还配置为在移动所述第三会话消息的位置的过程中,当所述第三会话消息移动至目标位置、所述目标位置使得所述第三会话消息与目标历史会话消息相邻、且所述第三会话消息与目标历史会话消息的发送时间间隔达到时间间隔阈值时,
在所述第三会话消息与所述目标历史会话消息之间,显示拦截线,所述拦截线,用于当所述第三会话消息移动至所述拦截线时,拦截所述第三会话消息。
在一些实施例中,所述第三会话消息包括所述第一会话消息对应的第一内容、及所述第二会话消息对应的第二内容;所述装置还包括:
第二位置调整模块,配置为响应于针对所述第三会话消息中内容的位置调整指令,对所述第一内容、所述第二内容中至少之一在所述第三会话消息中的位置进行调整,以改变所述第三会话消息中所述第一内容及所述第二内容的排序。
在一些实施例中,第一显示模块,还配置为在目标对象的会话界面中,显示至少两条会话消息;当所述第一会话消息的发送对象为所述目标对象、所述第二会话消息的发送对象为所述目标对象的会话对象时,
所述第二显示模块,还配置为显示所述第二会话消息的消息副本;
在所述会话界面中,显示所述第一会话消息与所述第二会话消息的消息副本合并得到的第三会话消息。
在一些实施例中,第一显示模块,还配置为在目标对象的会话界面中,显示至少两条会话消息;
当所述第一会话消息与所述第二会话消息中至少之一的发送对象为所述目标对象的会话对象时,
所述第一显示模块,还配置为显示授权提示信息以及相应的确定功能项;
其中,所述授权提示信息,用于提示获取针对所述会话对象的会话消息执行合并操作的授权;
响应于针对所述确定功能项的触发操作,发送授权请求至所述会话对象,所述授权请求,用于请求授权执行针对所述会话对象的会话消息的合并操作;
所述第二显示模块,还配置为当获得针对所述会话对象的会话消息执行合并操作的授权时,在所述会话界面中,显示所述第一会话消息与所述第二会话消息合并得到的第三会话消息。
在一些实施例中,第一显示模块,还配置为在目标对象的会话界面中,显示至少两条会话消息;
当所述第一会话消息的发送对象为所述目标对象、所述第二会话消息的发送对象为所述目标对象的会话对象时,
所述第二显示模块,还配置为响应于针对所述第一会话消息的按压操作,控制所述第一会话消息处于选定状态;
在执行所述按压操作的过程中,响应于针对所述第二会话消息的拖动操作,显示所述第二会话消息的副本,并在所述会话界面中显示所述第二会话消息的副本被拖动的过程;
所述接收模块,还配置为当所述第二会话消息被拖动至所述第一会话消息处时,响应于所述拖动操作被释放,接收到所述消息合并指令。
在一些实施例中,所述第二显示模块,还配置为在执行所述按压操作的过程中,响应于针对第四会话消息的拖动操作,在所述会话界面中显示所述第四会话消息被拖动的过程;
当所述第四会话消息被拖动至所述第三会话消息处时,响应于所述拖动操作被释放,显示所述第四会话消息与所述第三会话消息合并得到的第五会话消息。
在一些实施例中,所述第二显示模块,还配置为在执行所述按压操作的过程中,显示已合并的会话消息的数量。
在一些实施例中,所述第一显示模块,还配置为在所述目标对象的会话界面中,显示合并引导信息;
其中,所述合并引导信息,用于引导所述目标对象执行目标操作,以触发所述消息合并指令。
在一些实施例中,所述装置还包括消息处理模块;
所述第二显示模块,还配置为在显示所述第一会话消息与所述第二会话消息合并得到的第三会话消息之后,显示所述第三会话消息对应的至少一个消息处理功能项;
所述消息处理模块,配置为响应于针对所述至少一个消息处理功能项中目标消息处理功能项的触发操作,对所述第三会话消息执行所述目标消息处理功能项所指示的目标处理操作。
在一些实施例中,所述第三会话消息包括至少两个子内容;
所述消息处理模块,还配置为当所述目标消息处理功能项为投票功能项时,在所述会话界面中,显示所述第三会话消息对应的投票消息,所述投票消息包括:对应各所述子内容的选项以及投票操作控件;
其中,所述投票操作控件,配置为对基于所述选项所选择的子内容进行投票。
在一些实施例中,所述消息处理模块,还配置为在所述投票消息中各子内容的关联区域,显示相应子内容的投票结果;其中,所述投票结果,用于指示针对相应子内容进行投票的会话对象的数量。
在一些实施例中,所述消息处理模块,还配置为在显示所述第三会话消息对应的投票消息之后,当所述投票消息的显示时长达到显示时长阈值时,取消显示所述投票操作控件,并
在所述投票消息中,显示用于指示投票已结束的结束指示信息。
在一些实施例中,所述消息处理模块,还配置为当所述目标消息处理功能项为转发功能项时,显示转发对象选择界面;
在所述转发对象选择界面中显示供选择的至少一个转发对象,所述转发对象与所述目标对象具有社交关联关系;
响应于针对所述至少一个转发对象中目标转发对象的选择指令,发送所述第三会话消息至所述目标转发对象。
在一些实施例中,所述消息处理模块,还配置为当所述目标消息处理功能项为会议纪要功能项时,响应于针对所述会议纪要功能项的触发操作,生成所述第三会话消息对应的会议纪要;
响应于针对所述会议纪要的存储指令,存储所述会议纪要。
在一些实施例中,所述第三会话消息包括至少两个子内容;
所述消息处理模块,还配置为对所述第三会话消息的内容进行语义分析,并基于分析结果生成所述会议纪要的标题;
获取各所述子内容对应的发送时间,并基于获取的所述发送时间,确定所述会议纪要的纪要时间;
以所述第三会话消息的内容为所述会议纪要的正文,生成包括所述标题、所述纪要时间及所述正文的会议纪要。
在一些实施例中,所述第二显示模块,还配置为在所述会话界面中,显示所述第一会话消息与所述第二会话消息合并得到的第三会话消息之后,响应于针对所述第三会话消息与第六会话消息的消息合并指令,在所述会话界面中,显示所述第三会话消息与所述第六会话消息合并得到的第七会话消息。
本申请实施例还提供一种电子设备,所述电子设备包括:
存储器,配置为存储可执行指令;
处理器,配置为执行所述存储器中存储的可执行指令时,实现本申请实施例提供的会话消息的处理方法。
本申请实施例还提供一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机可执行指令,该计算机可执行指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行本申请实施例提供的会话消息的处理方法。
本申请实施例还提供一种计算机可读存储介质,存储有可执行指令,所述可执行指令被处理器执行时,实现本申请实施例提供的会话消息的处理方法。
本申请实施例还提供一种计算机程序产品,包括计算机程序或指令,所述计算机程序或指令被处理器执行时,实现本申请实施例提供的会话消息的处理方法。
在一些实施例中,计算机可读存储介质可以是只读存储器(Read-Only Memory,ROM)、随即存储器(Random Access Memory,RAM)、可擦写可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM)、电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、闪存、磁表面存储器、光盘、或CD-ROM等存储器;也可以是包括上述存储器之一或任意组合的各种设备。
在一些实施例中,可执行指令可以采用程序、软件、软件模块、脚本或代码的形式,按任意形式的编程语言(包括编译或解释语言,或者声明性或过程性语言)来编写,并且其可按任意形式部署,包括被部署为独立的程序或者被部署为模块、组件、子例程或者适合在计算环境中使用的其它单元。
作为示例,可执行指令可以但不一定对应于文件系统中的文件,可以可被存储在保存其它程序或数据的文件的一部分,例如,存储在超文本标记语言(HTML,Hyper Text Markup Language)文档中的一个或多个脚本中,存储在专用于所讨论的程序的单个文件中,或者,存储在多个协同文件(例如,存储一个或多个模块、子程序或代码部分的文件)中。
作为示例,可执行指令可被部署为在一个计算设备上执行,或者在位于一个地点的多个计算设备上执行,又或者,在分布在多个地点且通过通信网络互连的多个计算设备上执行。
以上所述,仅为本申请的实施例而已,并非用于限定本申请的保护范围。凡在本申请的精神和范围之内所作的任何修改、等同替换和改进等,均包含在本申请的保护范围之内。

Claims (25)

  1. 一种会话消息的处理方法,所述方法由电子设备执行,所述方法包括:
    显示至少两条会话消息,所述至少两条会话消息包括第一会话消息及第二会话消息;
    接收消息合并指令,所述消息合并指令用于指示合并所述第一会话消息及所述第二会话消息;
    响应于所述消息合并指令,显示所述第一会话消息与所述第二会话消息合并得到的第三会话消息。
  2. 如权利要求1所述的方法,其中,所述接收消息合并指令,包括:
    响应于针对所述第一会话消息的拖动操作,当所述拖动操作满足消息移动条件时,显示所述第一会话消息被拖动的过程;
    当所述第一会话消息被拖动至所述第二会话消息处时,响应于所述拖动操作被释放,接收到所述消息合并指令。
  3. 如权利要求2所述的方法,其中,当所述拖动操作满足消息移动条件时,显示所述第一会话消息被拖动的过程,包括:
    当所述拖动操作满足消息移动条件时,获取所述第一会话消息的发送时间与当前时间的第一时间间隔;
    当所述第一时间间隔小于或等于时间间隔阈值时,显示所述第一会话消息被拖动的过程。
  4. 如权利要求2所述的方法,其中,当所述第一会话消息被拖动至所述第二会话消息处时,响应于所述拖动操作被释放,接收到所述消息合并指令,包括:
    当所述第一会话消息被拖动至所述第二会话消息处时,响应于所述拖动操作被释放,获取所述第一会话消息与所述第二会话消息的发送时间间隔;
    当所述发送时间间隔小于或等于发送时间间隔阈值时,接收到所述消息合并指令。
  5. 如权利要求1所述的方法,其中,所述方法还包括:
    显示消息合并功能项;
    响应于针对所述消息合并功能项的触发操作,控制所述至少两条会话消息处于候选状态;
    响应于针对处于所述候选状态的第一会话消息及所述第二会话消息的选择操作,触发所述消息合并指令。
  6. 如权利要求5所述的方法,其中,所述显示所述第一会话消息与所述第二会话消息合并得到的第三会话消息,包括:
    当所述第一会话消息的发送时间早于所述第二会话消息的发送时间时,显示所述第一会话消息自动移动至所述第二会话消息处的过程,并显示所述第一会话消息与所述第二会话消息合并得到的第三会话消息。
  7. 如权利要求1所述的方法,其中,所述显示至少两条会话消息,包括:在会话界面中显示至少两条会话消息;
    所述会话界面中包括至少两条会话消息,所述显示所述第一会话消息与所述第二会话消息合并得到的第三会话消息之后,所述方法还包括:
    响应于针对所述第三会话消息的排序调整指令,移动所述第三会话消息在所述会话界面中的位置,以改变所述第三会话消息在所述至少两条会话消息中的消息排序。
  8. 如权利要求7所述的方法,其中,所述方法还包括:
    响应于针对所述第三会话消息的拖动操作,当所述拖动操作的操作时长达到时长阈值时,触发针对所述第三会话消息的排序调整指令;
    所述移动所述第三会话消息在所述会话界面中的位置,以改变所述第三会话消息在所述至少两条会话消息中的消息排序,包括:
    伴随所述拖动操作的执行,控制所述第三会话消息在所述会话界面中同步移动、以改变所述第三会话消息在所述至少两条会话消息中的消息排序。
  9. 如权利要求7所述的方法,其中,所述方法还包括:
    在移动所述第三会话消息的位置的过程中,显示目标区域;
    当所述第三会话消息移动至所述目标区域的边缘时,显示移动提示信息;
    其中,所述移动提示信息,用于提示在所述目标区域内调整所述第三会话消息的排序。
  10. 如权利要求7所述的方法,其中,所述方法还包括:
    在移动所述第三会话消息的位置的过程中,当所述第三会话消息移动至目标位置、所述目标位置使得所述第三会话消息与目标历史会话消息相邻、且所述第三会话消息与目标历史会话消息的发送时间间隔达到时间间隔阈值时,
    在所述第三会话消息与所述目标历史会话消息之间,显示拦截线,所述拦截线,用于当所述第三会话消息移动至所述拦截线时,拦截所述第三会话消息。
  11. 如权利要求1所述的方法,其中,所述第三会话消息包括所述第一会话消息对应的第一内容、及所述第二会话消息对应的第二内容;
    在所述会话界面中,显示所述第一会话消息与所述第二会话消息合并得到的第三会话消息之后,所述方法还包括:
    响应于针对所述第三会话消息中内容的位置调整指令,对所述第一内容、所述第二内容中至少之一在所述第三会话消息中的位置进行调整,以改变所述第三会话消息中所述第一内容及所述第二内容的排序。
  12. 如权利要求1所述的方法,其中,所述显示至少两条会话消息,包括:在目标对象的会话界面中,显示至少两条会话消息;
    当所述第一会话消息的发送对象为所述目标对象、所述第二会话消息的发送对象为所述目标对象的会话对象时,所述显示所述第一会话消息与所述第二会话消息合并得到的第三会话消息,包括:
    显示所述第二会话消息的消息副本;
    在所述会话界面中,显示所述第一会话消息与所述第二会话消息的消息副本合并得到的第三会话消息。
  13. 如权利要求1所述的方法,其中,所述显示至少两条会话消息,包括:在目标对象的会话界面中,显示至少两条会话消息;
    当所述第一会话消息与所述第二会话消息中至少之一的发送对象为所述目标对象的会话对象时,所述显示所述第一会话消息与所述第二会话消息合并得到的第三会话消息之前,所述方法还包括:
    显示授权提示信息以及相应的确定功能项;
    其中,所述授权提示信息,用于提示获取针对所述会话对象的会话消息执行合并操作的授权;
    响应于针对所述确定功能项的触发操作,发送授权请求至所述会话对象,所述授权请求,用于请求授权执行针对所述会话对象的会话消息的合并操作;
    所述显示所述第一会话消息与所述第二会话消息合并得到的第三会话消息,包括:
    当获得针对所述会话对象的会话消息执行合并操作的授权时,在所述会话界面中,显示所述第一会话消息与所述第二会话消息合并得到的第三会话消息。
  14. 如权利要求1所述的方法,其中,所述显示至少两条会话消息,包括:在目标对象的会话界面中,显示至少两条会话消息;
    当所述第一会话消息的发送对象为所述目标对象、所述第二会话消息的发送对象为所述目标对象的会话对象时,所述方法还包括:
    响应于针对所述第一会话消息的按压操作,控制所述第一会话消息处于选定状态;
    在执行所述按压操作的过程中,响应于针对所述第二会话消息的拖动操作,显示所述第二会话消息的副本,并在所述会话界面中显示所述第二会话消息的副本被拖动的过程;
    当所述第二会话消息被拖动至所述第一会话消息处时,响应于所述拖动操作被释放,触发所述消息合并指令。
  15. 如权利要求14所述的方法,其中,所述显示所述第一会话消息与所述第二会话消息合并得到的第三会话消息之后,所述方法还包括:
    在执行所述按压操作的过程中,响应于针对第四会话消息的拖动操作,在所述会话界面中显示所述第四会话消息被拖动的过程;
    当所述第四会话消息被拖动至所述第三会话消息处时,响应于所述拖动操作被释放,显示所述第四会话消息与所述第三会话消息合并得到的第五会话消息。
  16. 如权利要求1所述的方法,其中,所述显示至少两条会话消息,包括:在目标对象的会话界面中,显示至少两条会话消息;
    当所述第一会话消息的发送对象为所述目标对象、所述第二会话消息的发送对象为所述目标对象的会话对象时,所述接收消息合并指令,包括:
    响应于针对所述第一会话消息的按压操作,当所述按压操作达到按压条件时,控制所述会话界面中的会话消息处于候选状态;
    在执行所述按压操作的过程中,响应于针对处于候选状态的所述第二会话消息的触发操作,接收到所述消息合并指令。
  17. 如权利要求16所述的方法,其中,所述显示所述第一会话消息与所述第二会话消息合并得到的第三会话消息之后,所述方法还包括:
    在执行所述按压操作的过程中,响应于针对第六会话消息的触发操作,显示所述第六会话消息的副本自动移动至所述第三会话消息处的过程,并显示所述第六会话消息的副本与所述第三会话消息合并得到的第七会话消息。
  18. 如权利要求1所述的方法,其中,所述显示所述第一会话消息与所述第二会话消息合并得到的第三会话消息之后,所述方法还包括:
    显示所述第三会话消息对应的至少一个消息处理功能项;
    响应于针对所述至少一个消息处理功能项中目标消息处理功能项的触发操作,对所述第三会话消息执行所述目标消息处理功能项所指示的目标处理操作。
  19. 如权利要求18所述的方法,其中,所述第三会话消息包括至少两个子内容;所述对所述第三会话消息执行所述目标消息处理功能项所指示的目标处理操作,包括:
    当所述目标消息处理功能项为投票功能项时,显示所述第三会话消息对应的投票消息,所述投票消息包括:对应各所述子内容的选项以及投票操作控件;
    其中,所述投票操作控件,用于对基于所述选项所选择的子内容进行投票。
  20. 如权利要求19所述的方法,其中,所述显示所述第三会话消息对应的投票消息之后,所述方法还包括:
    在所述投票消息中各子内容的关联区域,显示相应子内容的投票结果;
    其中,所述投票结果,用于指示针对相应子内容进行投票的会话对象的数量。
  21. 如权利要求18所述的方法,其中,所述对所述第三会话消息执行所述目标消息处理功能项所指示的目标处理操作,包括:
    当所述目标消息处理功能项为会议纪要功能项时,响应于针对所述会议纪要功能项的触发操作,生成所述第三会话消息对应的会议纪要;
    响应于针对所述会议纪要的存储指令,存储所述会议纪要。
  22. 一种会话消息的处理装置,所述装置包括:
    第一显示模块,配置为显示至少两条会话消息,所述至少两条会话消息包括第一会话消息及第二会话消息;
    接收模块,配置为接收消息合并指令,所述消息合并指令用于指示合并所述第一会话消息及所述第二会话消息;
    第二显示模块,配置为响应于所述消息合并指令,显示所述第一会话消息与所述第二会话消息合并得到的第三会话消息。
  23. 一种电子设备,所述电子设备包括:
    存储器,配置为存储可执行指令;
    处理器,配置为执行所述存储器中存储的可执行指令时,实现如权利要求1至21任一项所述的会话消息的处理方法。
  24. 一种计算机可读存储介质,存储有可执行指令,所述可执行指令被执行时,用于实现如权利要求1至21任一项所述的会话消息的处理方法。
  25. 一种计算机程序产品,包括计算机程序或指令,所述计算机程序或指令被处理器执行时,实现权利要求1至21任一项所述的会话消息的处理方法。
PCT/CN2023/083661 2022-07-25 2023-03-24 会话消息的处理方法、装置、设备、存储介质及程序产品 WO2024021646A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210889534.9 2022-07-25
CN202210889534.9A CN117499356A (zh) 2022-07-25 2022-07-25 会话消息的处理方法、装置、设备、存储介质及程序产品

Publications (1)

Publication Number Publication Date
WO2024021646A1 true WO2024021646A1 (zh) 2024-02-01

Family

ID=89673217

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/083661 WO2024021646A1 (zh) 2022-07-25 2023-03-24 会话消息的处理方法、装置、设备、存储介质及程序产品

Country Status (2)

Country Link
CN (1) CN117499356A (zh)
WO (1) WO2024021646A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140136989A1 (en) * 2012-11-12 2014-05-15 Samsung Electronics Co., Ltd. Method and apparatus for managing message, and method and apparatus for transmitting message in electronic device
CN111327518A (zh) * 2020-01-21 2020-06-23 上海掌门科技有限公司 一种拼接消息的方法与设备
CN113360238A (zh) * 2021-06-29 2021-09-07 维沃移动通信有限公司 消息处理方法、装置、电子设备和存储介质
CN113918055A (zh) * 2021-09-14 2022-01-11 维沃移动通信有限公司 消息处理方法、装置和电子设备
CN114422468A (zh) * 2020-10-12 2022-04-29 腾讯科技(深圳)有限公司 消息处理方法、装置、终端及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140136989A1 (en) * 2012-11-12 2014-05-15 Samsung Electronics Co., Ltd. Method and apparatus for managing message, and method and apparatus for transmitting message in electronic device
CN111327518A (zh) * 2020-01-21 2020-06-23 上海掌门科技有限公司 一种拼接消息的方法与设备
CN114422468A (zh) * 2020-10-12 2022-04-29 腾讯科技(深圳)有限公司 消息处理方法、装置、终端及存储介质
CN113360238A (zh) * 2021-06-29 2021-09-07 维沃移动通信有限公司 消息处理方法、装置、电子设备和存储介质
CN113918055A (zh) * 2021-09-14 2022-01-11 维沃移动通信有限公司 消息处理方法、装置和电子设备

Also Published As

Publication number Publication date
CN117499356A (zh) 2024-02-02

Similar Documents

Publication Publication Date Title
JP7263442B2 (ja) モバイルアプリケーションのリアルタイム遠隔制御のためのシステムおよび方法
US10362072B2 (en) Systems and methods for multimedia multipoint real-time conferencing allowing real-time bandwidth management and prioritized media distribution
US8209384B2 (en) Persistent group-based instant messaging
US8914446B2 (en) IM continuation across SIP sessions and across clients for point-to-point and multi-user chat
RU2611041C2 (ru) Способы и системы для совместной конференцсвязи и совместного использования программного приложения
US8280948B1 (en) System and method for enabling online collaboration amongst a plurality of terminals using a web server
EP3162005B1 (en) Cross-device notifications
US20120017149A1 (en) Video whisper sessions during online collaborative computing sessions
TWI677225B (zh) 即時通訊的實現方法和裝置
US20100313249A1 (en) Methods and apparatus for distributing, storing, and replaying directives within a network
JP2013518351A (ja) 空間的な通信環境のためのウェブブラウザインタフェイス
CN111522604B (zh) 一种应用数据处理方法、装置以及计算机可读存储介质
CN110383774B (zh) 嵌入式会议扩展
US11900006B2 (en) Synchronizing local room and remote sharing
US11374992B2 (en) Seamless social multimedia
US20100311393A1 (en) Methods and apparatus for distributing, storing, and replaying directives within a network
US20170373870A1 (en) Multimedia Communication System
US20100312813A1 (en) Methods and apparatus for distributing, storing, and replaying directives within a network
CN114942806A (zh) 界面显示方法、显示处理方法及设备
CN116964608A (zh) 用于外部用户在会议聊天中选择性每次消息参与的数据对象
WO2024021646A1 (zh) 会话消息的处理方法、装置、设备、存储介质及程序产品
WO2023202721A1 (zh) 文件传输方法、装置、电子设备和存储介质
US20130218955A1 (en) System and method for providing a virtual collaborative environment
WO2022111193A1 (zh) 会议控制方法、装置、设备以及介质
US11711229B2 (en) Transition to messaging from transcription and captioning

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23844864

Country of ref document: EP

Kind code of ref document: A1