# US 2024/0205298 A1 · Method for processing a session message and apparatus, device, storage medium, and program product

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0205298 A1
- Document ID: US20240205298A1
- Status: Published application
- Kind: A1
- Application number: 18/594,111
- Filed: 2024-03-04
- Published: 2024-06-20
- Earliest claimed: 2022-07-25
- Assignees: Tencent Technology (Shenzhen) Company Limited
- Applicants: Tencent Technology (Shenzhen) Company Limited
- Inventors: Sha Sha; Liqiang Liu; Shiyu Chen; Longwu Jiang; Yulin Shen; Xianmin Xiao
- Web page: https://patentgrep.com/patent/US20240205298A1

## CPC

- H04L 67/148: Migration or transfer of sessions
- H04L 51/04: Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L 51/043: using or handling presence information
- H04L 51/046: Interoperability with other network applications or services
- H04L 51/216: Handling conversation history, e.g. grouping of messages in sessions or threads
- H04L 51/226: Delivery according to priorities
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method for processing a session message and apparatus, a device, a storage medium, and a program product. The method includes displaying at least two session messages, the at least two session messages comprising a first session message and a second session message, receiving a message merging instruction, the message merging instruction being configured to instruct merging the first session message and the second session message and displaying, based on the message merging instruction, a third session message obtained by merging the first session message and the second session message.

## Claims

### Claim 1

A session message processing method, performed by an electronic device, comprising:
displaying at least two session messages, the at least two session messages comprising a first session message and a second session message;
receiving a message merging instruction, the message merging instruction being configured to instruct merging the first session message and the second session message; and
displaying, based on the message merging instruction, a third session message obtained by merging the first session message and the second session message.

### Claim 2 (depends on 1)

The session message processing method according to claim 1, wherein receiving comprises:
displaying, based on a dragging operation for the first session message meeting a message movement condition, a process that the first session message is dragged; and
receiving, based on the first session message being dragged to a position of the second session message, the message merging instruction when the dragging operation is released.

### Claim 3 (depends on 2)

The session message processing method according to claim 2, wherein displaying, based on the dragging operation meeting the message movement condition, the process that the first session message is dragged comprises:
obtaining a first time interval between a transmitting time of the first session message and a current time based on the dragging operation meeting the message movement condition; and
displaying, based on the first time interval being less than or equal to a time interval threshold, the process that the first session message is dragged.

### Claim 4 (depends on 2)

The session message processing method according to claim 2, wherein receiving, based on the first session message being dragged to the position of the second session message, the message merging instruction based on the dragging operation being released comprises:
obtaining, based on the first session message being dragged to the position of the second session message, a transmitting time interval between the first session message and the second session message based on the dragging operation being released; and
receiving the message merging instruction based on the transmitting time interval being less than or equal to a transmitting time interval threshold.

### Claim 5 (depends on 1)

The session message processing method according to claim 1, further comprising:
displaying a message merging function item;
controlling, based on a triggering operation for the message merging function item, the at least two session messages to be in a candidate state; and
triggering the message merging instruction based on a selection operation for the first session message and the second session message that are in the candidate state.

### Claim 6 (depends on 5)

The session message processing method according to claim 5, wherein displaying the third session message obtained by merging the first session message and the second session message comprises:
displaying, based on a transmitting time of the first session message being earlier than a transmitting time of the second session message, a process that the first session message automatically moves to a position of the second session message, and displaying the third session message obtained by merging the first session message and the second session message.

### Claim 7 (depends on 1)

The session message processing method according to claim 1, wherein displaying the at least two session messages comprises:
displaying the at least two session messages in a session interface; and
wherein after displaying the third session message obtained by merging the first session message and the second session message, the session message processing method further comprises:
moving a position of the third session message in the session interface based on an order adjustment instruction for the third session message to change a message order of the third session message in the at least two session messages.

### Claim 8 (depends on 7)

The session message processing method according to claim 7, further comprising:
triggering, based on a dragging operation for the third session message, the order adjustment instruction for the third session message based on an operation duration of the dragging operation reaching a duration threshold,
wherein the moving comprises:
controlling, along with performing of the dragging operation, the third session message to synchronously move in the session interface to change the message order of the third session message in the at least two session messages.

### Claim 9 (depends on 7)

The session message processing method according to claim 7, further comprising:
displaying a target region in a process of moving the position of the third session message; and
displaying movement prompt information based on the third session message being moved to an edge of the target region, the movement prompt information being configured to prompt to adjust an order of the third session message in the target region.

### Claim 10 (depends on 7)

The session message processing method according to claim 7, further comprising:
in a process of moving the position of the third session message, based on the third session message being moved to a target position, the target position enabling the third session message to be adjacent to a target historical session message, and a transmitting time interval between the third session message and the target historical session message reaching a time interval threshold,
displaying an interception line between the third session message and the target historical session message, the interception line being configured to intercept the third session message based on the third session message being moved to the interception line.

### Claim 11 (depends on 1)

The session message processing method according to claim 1, wherein the third session message comprises first content corresponding to the first session message and second content corresponding to the second session message; and
wherein after displaying the third session message obtained by merging the first session message and the second session message in the session interface, the session message processing method further comprises:
adjusting a position of at least one of the first content and the second content in the third session message based on a position adjustment instruction for content in the third session message to change an order between the first content and the second content in the third session message.

### Claim 12 (depends on 1)

The session message processing method according to claim 1, wherein
displaying the at least two session messages comprises: displaying the at least two session messages in a session interface of a target object; and
based on a transmitting object of the first session message being the target object, and a transmitting object of the second session message being a session object of the target object, displaying the third session message obtained by merging the first session message and the second session message comprises:
displaying a message copy of the second session message; and
displaying, in the session interface, the third session message obtained by merging the first session message and the message copy of the second session message.

### Claim 13 (depends on 1)

The session message processing method according to claim 1,
wherein displaying the at least two session messages comprises: displaying the at least two session messages in a session interface of a target object;
wherein based on a transmitting object of at least one of the first session message and the second session message is a session object of the target object, before displaying the third session message obtained by merging the first session message and the second session message, the session message processing method further comprises:
displaying authorization prompt information and a corresponding determining function item, the authorization prompt information being configured to prompt to obtain authorization for performing a merging operation on a session message of the session object; and
transmitting an authorization request to the session object based on a triggering operation for the determining function item, the authorization request being configured to request authorization for performing the merging operation on the session message of the session object; and
wherein displaying the third session message obtained by merging the first session message and the second session message comprises:
displaying the third session message obtained by merging the first session message and the second session message in the session interface based on the authorization for performing the merging operation on the session message of the session object being obtained.

### Claim 14 (depends on 1)

The session message processing method according to claim 1,
wherein displaying the at least two session messages comprises: displaying the at least two session messages in a session interface of a target object; and
wherein based on a transmitting object of the first session message being the target object, and a transmitting object of the second session message being a session object of the target object, the session message processing method further comprises:
controlling, based on a press operation for the first session message, the first session message to be in a selected state;
displaying a copy of the second session message based a dragging operation for the second session message in a process of performing the press operation, and displaying a process that the copy of the second session message is dragged in the session interface; and
triggering, based on the second session message being dragged to a position of the first session message, the message merging instruction based on the dragging operation being released.

### Claim 15 (depends on 14)

The session message processing method according to claim 14, wherein after displaying the third session message obtained by merging the first session message and the second session message, the session message processing method further comprises:
displaying, in the process of performing the press operation, based on a dragging operation for a fourth session message, a process that the fourth session message is dragged in the session interface; and
displaying, based on the fourth session message being dragged to a position of the third session message, based on that the dragging operation being released, a fifth session message obtained by merging the fourth session message and the third session message.

### Claim 16 (depends on 1)

The session message processing method according to claim 1, wherein displaying the at least two session messages comprises: displaying the at least two session messages in a session interface of a target object; and
wherein based on a transmitting object of the first session message being the target object and a transmitting object of the second session message being a session object of the target object, receiving comprises:
based on a press operation for the first session message, controlling the session messages in the session interface to be in a candidate state based on the press operation meeting a press condition; and
receiving the message merging instruction based on a triggering operation for the second session message in the candidate state in a process of performing the press operation.

### Claim 17 (depends on 16)

The session message processing method according to claim 16, wherein after displaying the third session message obtained by merging the first session message and the second session message, the session message processing method further comprises:
displaying, in the process of performing the press operation, based on a triggering operation for the sixth session message, a process that a copy of a sixth session message automatically moves to the position of the third session message, and displaying a seventh session message obtained by merging the copy of the sixth session message and the third session message.

### Claim 18 (depends on 1)

The session message processing method according to claim 1, wherein after displaying the third session message obtained by merging the first session message and the second session message, the session message processing method further comprises:
displaying at least one message processing function item corresponding to the third session message; and
performing, based on a triggering operation for a target message processing function item in the at least one message processing function item, a target processing operation indicated by the target message processing function item on the third session message.

### Claim 19

A session message processing apparatus, comprising:
at least one memory configured to store program code; and
at least one processor configured to read the program code and operate as instructed by the program code, the program code comprising:
first display code configured to cause at least one of the at least one processor to display at least two session messages, the at least two session messages comprising a first session message and a second session message;
receiving code configured to cause at least one of the at least one processor to receive a message merging instruction, the message merging instruction being configured to instruct merging the first session message and the second session message; and
second display code configured to cause at least one of the at least one processor to display, based on the message merging instruction, a third session message obtained by merging the first session message and the second session message.

### Claim 20

A non-transitory computer-readable storage medium storing computer code which, when executed by at least one processor, causes the at least one processor tot:
display at least two session messages, the at least two session messages comprising a first session message and a second session message;
receive a message merging instruction, the message merging instruction being configured to instruct merging the first session message and the second session message; and
display, based on the message merging instruction, a third session message obtained by merging the first session message and the second session message.
