WO2023179345A1 - 消息处理方法、装置、设备、介质和计算机程序产品 - Google Patents

消息处理方法、装置、设备、介质和计算机程序产品 Download PDF

Info

Publication number
WO2023179345A1
WO2023179345A1 PCT/CN2023/079777 CN2023079777W WO2023179345A1 WO 2023179345 A1 WO2023179345 A1 WO 2023179345A1 CN 2023079777 W CN2023079777 W CN 2023079777W WO 2023179345 A1 WO2023179345 A1 WO 2023179345A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
message content
content
bubble
response
Prior art date
Application number
PCT/CN2023/079777
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 腾讯科技(深圳)有限公司
Priority to US18/456,582 priority Critical patent/US20230403245A1/en
Publication of WO2023179345A1 publication Critical patent/WO2023179345A1/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/06Message adaptation to terminal or network requirements
    • 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]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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/06Message adaptation to terminal or network requirements
    • H04L51/063Content adaptation, e.g. replacement of unsuitable content
    • 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/214Monitoring or handling of messages using selective forwarding

Definitions

  • the present application relates to communication technology, especially to the field of message processing technology, and in particular to a message processing method, device, equipment, medium and computer program product.
  • Communication application is an Internet-based communication software. Communication applications allow people to easily exchange information with users of another communication application, allowing people to communicate freely without worrying about expensive phone bills.
  • the current message merging method is that the user clicks the merge message button, checks the content of multiple messages to be merged, and then clicks the merge button to merge the multiple checked messages.
  • the message content is merged to integrate multiple messages into one message.
  • the current message merging method is relatively cumbersome in operation, resulting in low message merging efficiency.
  • this application provides a message processing method, which is applied to a terminal.
  • the method includes:
  • the merged message content including the first message content and the second message content is displayed.
  • this application provides a message processing device, which includes:
  • a display module used to display the first message content and the second message content
  • a moving module configured to move the first message content to the second message content in response to a continuous action operation on the first message content
  • the display module is also configured to, when the first message content moves to the location area where the second message content is located, display the first message content and the second message in response to the end of the continuous action operation.
  • the content of the merged message is also configured to, when the first message content moves to the location area where the second message content is located, display the first message content and the second message in response to the end of the continuous action operation.
  • this application provides a computer device, including a memory and one or more processors.
  • Computer-readable instructions are stored in the memory.
  • the one or more processors execute the computer-readable instructions, each method of the application is implemented. Steps in Examples.
  • the present application provides one or more computer-readable storage media, which store computer-readable instructions.
  • the computer-readable instructions are executed by one or more processors, the steps in each method embodiment of the present application are implemented.
  • the present application provides a computer program product, which includes computer-readable instructions.
  • the computer-readable instructions are executed by one or more processors, the steps in each method embodiment of the present application are implemented.
  • Figure 1 is an application environment diagram of the message processing method in one embodiment
  • Figure 2 is a schematic flow chart of a message processing method in one embodiment
  • Figure 3 is a schematic diagram showing message content in one embodiment
  • Figure 4 is a schematic diagram of the message content activation process in one embodiment
  • Figure 5 is a schematic diagram of activated message content in one embodiment
  • Figure 6 is a schematic diagram of the process of dragging one message bubble to move another message bubble in one embodiment
  • Figure 7 is a schematic diagram of the fusion process of two message bubbles in one embodiment
  • Figure 8 is a schematic diagram of fused message bubbles and merged message content in one embodiment
  • Figure 9 is a schematic diagram of the message content activation process in another embodiment.
  • Figure 10 is a schematic diagram of activated message content in another embodiment
  • Figure 11 is a schematic diagram of the fusion process of two message bubbles in another embodiment
  • Figure 12 is a schematic diagram of fused message bubbles and merged message content in another embodiment
  • Figure 13 is a schematic diagram after forwarding the merged message in one embodiment
  • Figure 14 is a schematic diagram of the message content activation process in yet another embodiment
  • Figure 15 is a schematic diagram of activated message content in yet another embodiment
  • Figure 16 is a schematic diagram of the process of dragging and moving message bubbles to the message display area in one embodiment
  • Figure 17 is a schematic diagram showing that the content of a message has been moved to the message display area in one embodiment
  • Figure 18 is a schematic diagram showing that two message contents have been moved to the message display area in one embodiment
  • Figure 19 is a schematic flow chart of a message processing method in another embodiment
  • Figure 20 is a structural block diagram of a message processing device in one embodiment
  • Figure 21 is an internal structure diagram of a computer device in one embodiment.
  • the message processing method provided by this application can be applied in the application environment as shown in Figure 1.
  • the terminal 102 communicates with the server 104 through the network.
  • the data storage system may store data that server 104 needs to process.
  • the data storage system can be integrated on the server 104, or placed on the cloud or other servers.
  • the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablets, Internet of Things devices and portable wearable devices.
  • the Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart vehicle-mounted devices, etc. .
  • Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc.
  • the server 104 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or it can provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, Cloud servers for basic cloud computing services such as middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.
  • the terminal 102 and the server 104 can be connected directly or indirectly through wired or wireless communication methods, which is not limited in this application.
  • the terminal 102 may display the first message content and the second message content, and move the first message content toward the second message content in response to the continuous action operation on the first message content.
  • the terminal 102 may display the merged message content including the first message content and the second message content in response to the end of the persisting operation.
  • the server 104 can provide the first message content and the second message content, and the terminal 102 can merge the first message content and the second message content.
  • the terminal 102 may also obtain the first message content and the second message content locally, and merge the first message content and the second message content. This embodiment does not limit this. It can be understood that the application scenario in Figure 1 is only a schematic illustration and is not limited thereto.
  • a message processing method is provided, which can be applied to a terminal and executed independently by the terminal itself, or can also be implemented through interaction between the terminal and the server.
  • This embodiment takes the method applied to the terminal 102 in Figure 1 as an example to illustrate, including the following steps:
  • Step 202 Display the first message content and the second message content.
  • the message content is the content of the message, and the message content may include at least one of message text content, message picture content, message voice content, message video content, and the like.
  • a message is a format information used for communication.
  • the message may include at least one of message content, message format, message sending time, etc. It can be understood that the first message content and the second message content are used to distinguish and represent two mutually independent message contents, and "first" and "second" are not used as specific limitations on the message content.
  • the terminal can obtain the first message content and the second message content, and display the first message content and the second message content in the display interface of the terminal.
  • the terminal may determine the message acquisition times corresponding to the first message content and the second message content, and obtain the first message in the order of the message acquisition times corresponding to the first message content and the second message content.
  • the content and the second message content are sorted and displayed on the display interface of the terminal.
  • the message acquisition time corresponding to the first message content and the second message content respectively is the time at which the terminal acquires the first message content and the second message content respectively. Since the message acquisition time can reflect the user session time Therefore, sorting and displaying the first message content and the second message content according to the order of message acquisition time can make the overall displayed content more conversational and logical, and improve the display effect of the message content.
  • Step 204 In response to the continuous action operation on the first message content, move the first message content to the second message content.
  • the continuous action operation is a control operation that continues to act on the first message content.
  • the user can trigger a continuous action operation on the first message content
  • the terminal can control the first message content to move to the second message content in response to the continuous action operation on the first message content.
  • the continuous action operation may include at least one of a drag operation, a long press operation, and the like.
  • the terminal may control the first message content to move to the second message content in response to the drag operation on the first message content.
  • the terminal may, in response to the persistence operation on the first message content, control the first message content to move toward the second message content along the movement direction pointed by the persistence operation.
  • Step 206 When the first message content moves to the location area where the second message content is located, in response to the end of the continuous action operation, display the merged message content including the first message content and the second message content.
  • the location area where the second message content is located refers to the area range to which the location of the second message content belongs.
  • the end of the continuous action operation means that the continuous action operation no longer continues to act on the first message content.
  • the merged message content is a new message content obtained by merging the first message content and the second message content.
  • the terminal may determine the moving location of the first message content to determine whether the first message content has moved to the location area where the second message content is located. It can be understood that if the moving position of the first message content is located in the location area where the second message content is located, it is determined that the first message content has moved to the location area where the second message content is located. When the first message content moves to the location area where the second message content is located, the terminal can determine whether the persisting operation on the first message content has ended.
  • the terminal can respond to After the continuous action operation is completed, the first message content and the second message content are merged to obtain the merged message content including the first message content and the second message content, and the merged message content including the first message content and the second message content is displayed on the display interface of the terminal. Merge message content of message content.
  • the terminal will not combine the first message content with the third message content.
  • the contents of the two messages are merged.
  • the terminal when the first message content has not moved to the location area where the second message content is located, but the persisting operation ends, the terminal can restore the display of the first message content to the initial position before the persisting operation.
  • the initial position is the position where the first message content is located before responding to the continuous action operation. Since the result of the persistence operation does not meet the message merging conditions, by restoring the moved first message content to the position before the persistence operation, the normal display of the message content can be restored to facilitate the next merging operation. , improve the efficiency of message merging.
  • the first message content and the second message content are displayed on the information interaction page.
  • the terminal may respond to the end of the continuous action operation and display a merge including the first message content and the second message content on the information interaction page.
  • Message content is a page used for information interaction. It can be understood that the information interaction page can be rendered in the display interface of the terminal.
  • the number of times of message merging includes multiple times.
  • the merged message content obtained by this message merging can be used as the first message content or the second message content of the next message merging to participate in the next message merging process.
  • the first message content and the second message content participating in message merging are not limited to the message content input by the user, thereby making the content sources of message merging richer.
  • continuing message merging based on the last merging result can also improve message merging efficiency.
  • the first message content can be moved to the second message content in response to the continuous action operation on the first message content.
  • the merged message content including the first message content and the second message content may be displayed.
  • this application moves the first message content to the second message content through a continuous operation on the first message content, so as to combine the first message content and the second message content.
  • Message merging of the second message content can more conveniently integrate multiple messages into one message, thus improving the efficiency of message merging.
  • the first message content and the second message content are displayed in the information interaction page; the method further includes: in response to a mobile activation operation for the first message content, activating the first message content and placing the information interaction page The page position is fixed; the display position of the fixed information interaction page does not change during the continuous action operation on the first message content; in response to the continuous action operation on the first message content, the first message content is moved to The second message content moves, including: in response to the activated The continuous action operation of the first message content moves the first message content to the second message content in the fixed information interaction page.
  • the move activation operation is an operation used to activate the first message content, and the activated first message content can be moved.
  • the display position of the page does not change, that is, the fixed information interaction page cannot slide.
  • the terminal may activate the first message content in response to a mobile activation operation for the first message content. It can be understood that after the first message content is activated, when subsequently responding to a continuing operation for the first message content, It may support moving the activated first message content to the second message content. At the same time, after the first message content is activated, the terminal can fix the page position of the information interaction page. The terminal may move the first message content to the second message content in the fixed information interaction page in response to the continuous action operation on the activated first message content.
  • the first message content by responding to the move activation operation for the first message content, the first message content can be activated, so that the activated first message content can subsequently be moved to the second message content.
  • the first message content by fixing the page position of the information interaction page and moving the first message content to the second message content in the fixed information interaction page, it is possible to avoid the sliding of the information interaction page that affects the movement of the first message content to the second message content.
  • the message content is moved, thereby ensuring that the first message content can be accurately moved to the second message content, thereby improving the accuracy of the message content movement.
  • the first message content and the second message content are displayed in the information interaction page; the method further includes: in response to a mobile activation operation for the first message content, activating the first message content and maintaining the information interaction page The page sliding state; the display position of the information interaction page in the page sliding state can change during the continuous operation on the first message content; in response to the continuous operation on the first message content, the first message Moving the content to the second message content includes: in response to a continuous action operation on the activated first message content, moving the first message content to the second message content in the information interaction page in the page sliding state.
  • moving the first message content to the second message content includes: in response to a persisting operation on the first message content, causing the first message content to follow The operation point of the continuous action operation moves toward the second message content.
  • the operating point of the continuous action operation refers to the operating position of the continuous action operation.
  • the terminal may respond to the persistence operation for the first message content, determine the operation point of the persistence operation, and control the first message content to move to the second message content following the movement of the operation point of the persistence operation.
  • the persisting operation includes a drag operation; in response to the persisting operation on the first message content, causing the first message content to move to the second message content following the movement of the operating point of the persisting operation includes: responding For the drag operation on the first message content, the first message content is moved to the second message content following the movement of the drag operation point of the drag operation.
  • the drag operation point of the drag operation refers to the drag position of the drag operation.
  • the terminal may respond to the drag operation for the first message content, determine the drag operation point of the drag operation, and control the first message content to follow the movement of the drag operation point of the drag operation to move to the second message content.
  • the first message content and the second message content are displayed in the message display area of the information interaction page; when the first message content moves to the location area where the second message content is located, in response to the end of the continuous action operation, it is displayed
  • the merged message content including the first message content and the second message content includes: when the first message content moves to the location area where the second message content is located in the message display area, in response to the end of the continuous action operation, in the message display
  • the merged message content including the first message content and the second message content is displayed in the area.
  • the message display area is an area used to display message content in the information interaction page.
  • the terminal may determine whether the first message content has moved to the location area where the second message content is located in the message display area. When the first message content moves to the location area where the second message content is located in the message display area, the terminal may merge the first message content and the second message content in the message display area in response to the end of the continuous action operation, And display the merged message content including the first message content and the second message content in the message display area.
  • the terminal can determine the moving position of the first message content. If the moving position of the first message content is within the location area where the second message content is located in the message display area, it is determined that the first message content has moved. to the location area where the second message content is located in the message display area.
  • the method further includes: displaying at least one message processing identifier for the merged message content in the message display area; each message processing identifier is used to identify a type of message processing method; responding to the message processing identifier The triggering operation performs corresponding message processing on the merged message content.
  • the message processing identifier is a symbol used to uniquely identify the message processing method.
  • the symbol may include at least one of text, numbers, letters, special characters, etc.
  • the terminal may display at least one message processing identifier for the merged message content in the message display area of the information interaction page. Furthermore, the terminal may perform corresponding message processing on the merged message content in response to a triggering operation for any one of the at least one message processing identifier.
  • the terminal may display at least one message processing identifier for the merged message content in the information interaction page; each message processing identifier is used to identify a type of message processing method.
  • the terminal may perform corresponding message processing on the merged message content displayed in the message display area in response to the triggering operation for the message processing identifier.
  • At least one message processing identifier includes at least one of a message forwarding processing identifier and a message collection processing identifier; in response to a trigger operation for the message processing identifier, performing corresponding message processing on the merged message content includes at least one of the following Processing: In response to the triggering operation on the message forwarding processing identifier, the merged message content is forwarded; in response to the triggering operation on the message collection processing identifier, the merged message content is collected.
  • the message forwarding processing identifier is a symbol used to identify the forwarding processing of the merged message content.
  • the message collection processing identifier is a symbol used to identify the collection processing of the merged message content.
  • the terminal may forward the merged message content in response to a triggering operation on the message forwarding processing identifier, and/or the terminal may collect the merged message content in response to a triggering operation on the message collection processing identifier.
  • the merged message content can be forwarded quickly and conveniently, thereby improving the message content forwarding efficiency.
  • the merged message content can be quickly and conveniently collected, thereby improving the collection efficiency of the message content.
  • the message processing identifier may also include a message deletion processing identifier.
  • the terminal may perform deletion processing on the merged message content.
  • the first message content and the second message content are displayed in the message display area.
  • the merged message content of the message content includes: when the position distance between the continuously moved first message content and the second message content meets the distance proximity condition, in response to the end of the continuous action operation, display including the first message content in the message display area The merged message content of the message content and the second message content.
  • the position distance between the first message content and the second message content refers to the distance between the position of the first message content and the position of the second message content.
  • the distance proximity condition includes that the distance between the location of the first message content and the location of the second message content is less than a preset distance threshold, and the distance between the location of the first message content and the location of the second message content is less than a preset distance threshold. The distance between locations falls within any of the preset distance ranges.
  • the terminal may determine whether the position distance between the continuously moved first message content and the second message content satisfies the distance proximity condition. When the position distance between the continuously moved first message content and the second message content satisfies When the distance is close to the condition, the terminal may respond to the end of the continuous action operation, merge the first message content and the second message content in the message display area, and display the first message content and the second message content in the message display area. Merge message content.
  • the first message when the position distance between the continuously moved first message content and the second message content satisfies the distance proximity condition, by responding to the end of the continuous action operation, the first message can be quickly moved in the message display area.
  • the content of the message is merged with the content of the second message to further improve the efficiency of message merging.
  • the first message content is stored in the first message bubble in the message display area; the second message content is stored in the second message bubble in the message display area; and the continuous action operation is used to store the first message The bubble moves to the second message bubble; when the When the first message content moves to the location area where the second message content is located, in response to the end of the continuous action operation, the merged message content including the first message content and the second message content is displayed, including: when the continuously moved first message bubble and the third message bubble are When the distance between the two message bubbles meets the distance proximity condition, in response to the end of the continuous action operation, the first message bubble and the second message bubble are fused in the message display area to obtain a fused message bubble; the fused message bubble includes the first message bubble.
  • the merged message content of the message content and the second message content is used to store the first message The bubble moves to the second message bubble; when the When the first message content moves to the location area where the second message content is located, in response to the end of the continuous action operation, the merged message content including the first message
  • the first message bubble is an area within the message display area and used to store the first message content.
  • the second message bubble is an area within the message display area and used to store the second message content. It can be understood that the first message bubble and the second message bubble are two areas located within the message display area and independent of each other.
  • the terminal may determine whether the distance between the continuously moved first message bubble and the second message bubble satisfies the distance proximity condition. When the distance between the continuously moved first message bubble and the second message bubble satisfies the distance proximity condition, When the conditions are met, the terminal may merge the first message bubble and the second message bubble in the message display area in response to the end of the continuous action operation to obtain the fused message bubble. The terminal may merge the first message content and the second message content, and display the merged message content including the first message content and the second message content in the merged message bubble.
  • the terminal before responding to the persistence operation, may obtain the coordinates of the first message bubble and the second message bubble respectively, and when responding to the persistence operation, moving the first message bubble toward the second message bubble, The terminal can periodically obtain the coordinates of the first message bubble during movement through a timer. If the coordinates of the first message bubble are close to the coordinates of the second message bubble, that is, when the distance between the coordinates of the first message bubble and the coordinates of the second message bubble is less than the preset distance threshold, the first message bubble and the second message bubble are merged. , get the fusion message bubble.
  • the continuous action operation includes a drag operation.
  • the message display area W01 includes four message bubbles, namely P01, P02, P03 and P04, and each message bubble stores message content respectively.
  • P03 is the first message bubble
  • P04 is the second message bubble
  • P03 stores the first message content, that is, "This is a long and long message”
  • P04 stores the second message content, that is, " It’s a long, long, long, long message.”
  • the terminal may activate the first message bubble P03 in response to the mobile activation operation for the first message content in P03. For example, by clicking on the first message bubble P03, P03 can be activated.
  • the first message bubble P03 is in an activated state, indicating that the first message bubble P03 can be moved.
  • the terminal may move the first message bubble P03 toward the second message bubble P04 in response to the drag operation on the first message bubble P03.
  • the first message bubble P03 and the second message bubble P04 begin to merge.
  • the terminal in response to the end of the drag operation, can fuse the first message bubble P03 and the second message bubble P04 in the message display area W01 to obtain the fused message bubble P05, and display the fused message bubble P05 including the first message bubble P05.
  • the combined message content of the message content and the second message content is "This is a long, long message. This is a long, long, long, long, long message.”
  • the persistence operation includes a drag operation.
  • the merged message content can participate in the next message merging process as the first message content or the second message content of the next message merging.
  • P02 is the first message bubble
  • P05 is the second message bubble
  • P02 stores the first message content, that is, "This is a piece of information”
  • P05 stores the second message content, that is, "This is a piece of information.”
  • the terminal may activate the first message bubble P02 in response to the mobile activation operation for the first message content in P02. For example, by clicking on the first message bubble P02, P02 can be activated.
  • the first message bubble P02 is in an activated state, indicating that the first message bubble P02 can be moved.
  • the terminal can respond to the drag operation on the first message bubble P02, move the first message bubble P02 to the second message bubble P05, and when the continuously moved first message bubble P02 and the second message When the distance between the bubbles P05 satisfies the distance proximity condition, the first message bubble P02 and the second message bubble P05 begin to merge.
  • the terminal in response to the end of the drag operation, the terminal can fuse the first message bubble P02 and the second message bubble P05 in the message display area W01 to obtain the fused message bubble P06, and display the fused message bubble P06 including the first message bubble P06.
  • the merged message content of the message content and the second message content that is, "This is a message, this is a long, long message, this is a long, long, long, long, long message.”
  • the terminal can display message processing identifiers such as a message forwarding processing identifier, a message collection processing identifier, and a message deletion processing identifier in the merged message bubble P06.
  • message processing identifiers such as a message forwarding processing identifier, a message collection processing identifier, and a message deletion processing identifier in the merged message bubble P06.
  • the terminal may forward the merged message content in the merged message bubble P06 in response to the triggering operation for the message forwarding processing identifier.
  • the first message bubble and the second message bubble when the distance between the continuously moved first message bubble and the second message bubble satisfies the distance proximity condition, by responding to the end of the continuous action operation, the first message bubble and the second message bubble can be merged in the message display area.
  • two message bubbles, and the merged message content including the first message content and the second message content is displayed in the fusion message bubble, further improving the message merging efficiency.
  • the first message bubble and the second message bubble are fused in the message display area to obtain the fused message bubble, including: when the distance between the continuously moved first message bubble and the second message bubble When the distance proximity condition is met, in response to the end of the continuous action operation, the first message bubble and the second message bubble are merged in the message display area to obtain the fused message bubble, and the first message bubble and the second message bubble are no longer displayed.
  • the terminal may determine whether the distance between the continuously moved first message bubble and the second message bubble satisfies the distance proximity condition. When the distance between the continuously moved first message bubble and the second message bubble satisfies the distance proximity condition, When the conditions are met, the terminal can respond to the end of the continuous action operation, fuse the first message bubble and the second message bubble in the message display area, obtain the fused message bubble, and stop the first message bubble and the second message bubble from being displayed. It can be understood that , after the fusion message bubble is generated, the first message bubble and the second message bubble are no longer displayed in the message display area.
  • the terminal may, in response to the end of the persistence operation, fuse the first message bubble and the second message bubble in the message display area to obtain the fused message bubble, and combine the first message bubble and the second message bubble in the message display area.
  • the message bubble is deleted so that after the fusion message bubble is generated, the first message bubble and the second message bubble are no longer displayed in the message display area.
  • the terminal may, in response to the end of the persistence operation, fuse the first message bubble and the second message bubble in the message display area to obtain the fused message bubble, and combine the first message bubble and the second message bubble in the message display area.
  • the message bubble is hidden, even if the first message bubble and the second message bubble are in an invisible state, so that after the fusion message bubble is generated, the first message bubble and the second message bubble are no longer displayed in the message display area.
  • the terminal in response to the end of the persisting operation, may merge the first message bubble and the second message bubble in the message display area to obtain the fused message bubble, and resume displaying the first message bubble before the persisting operation. The location of the first message bubble.
  • the first message content is sent by the first user object; before the first message bubble is moved, the visual information of the first user object is displayed correspondingly in the message display area; in response to the continued response to the first message content
  • the effect operation, moving the first message content to the second message content includes: in response to the continuous effect operation on the first message bubble, while maintaining the corresponding display between the first user visual information and the first message bubble, Move the visual information of the first user object and the first message bubble toward the second message bubble.
  • visual information refers to information that is used to describe user objects and is visualized.
  • the terminal may maintain the corresponding display between the first user visual information and the first message bubble in the message display area in response to the continuous operation of the first message bubble, and maintain the first user visual information and the first message.
  • the terminal may move the visual information of the first user object and the first message bubble to the second message bubble.
  • the terminal may respond to the end of the continuous action operation and display the first message content and the second message content in the message display area. Merge message content.
  • the visual information may include at least one of images, videos, and the like.
  • the visual information can be the avatar picture of the user object.
  • the persistence operation includes a drag operation.
  • the terminal may respond to the drag operation for the first message bubble P03 and, while maintaining the corresponding display between the first user visual information B and the first message bubble P03, change the first user object to the first message bubble P03.
  • the visual information B and the first message bubble P03 move toward the second message bubble P04.
  • the visual information of the first user object and the first message bubble are combined.
  • the message bubble moves to the second message bubble. In this way, during the movement of the first message bubble, you can quickly understand which user object sent the first message content in the first message bubble, which improves the visualization effect of the message merging process. .
  • the visual information of the first user object is displayed in association with the merged message content in the merged message bubble.
  • the terminal can add the first
  • the visual information B of the user object is displayed in association with the merged message content, that is, the visual information B of the first user object is displayed in association with "This is a long, long message. This is a long, long, long, long, long message.” .
  • the display effect of the merged message content can be further improved.
  • the first message content is displayed in association with the visual information of the first user object.
  • the second message content in the fused message bubble is displayed in association with the visual information of the second user object.
  • the terminal can associate and display the first message content with the visual information A of the first user object in the fusion message bubble P06 , at the same time, in the fusion message bubble P06, the second message content is displayed in association with the visual information B of the second user object, that is, "this is a piece of information” is displayed in association with the visual information A of the first user object, and "this is a piece of information” is displayed in association with the visual information A of the first user object. "It's a long, long piece of information. It's a long, long, long, long, long piece of information” is displayed in association with the visual information B of the second user object.
  • the first message content is displayed in association with the visual information of the first user object in the fusion message bubble, and through Displaying the second message content in association with the visual information of the second user object in the merged message bubble can further improve the display effect of the merged message content.
  • the first message content and the second message content in the merged message content are sorted and displayed according to the message acquisition times respectively corresponding to the first message content and the second message content.
  • the message acquisition time is the time when the terminal obtains the message content.
  • the terminal can determine the message acquisition time corresponding to the first message content and the second message content respectively, and will merge the first message content and the second message content in the message content, respectively, according to the first message content and the second message content.
  • the corresponding message acquisition time is sorted and displayed.
  • the first message content and the second message content in the merged message content are sorted and displayed according to the message acquisition times respectively corresponding to the first message content and the second message content, so that the display effect of the merged message content can be improved.
  • the terminal may associate and display the first message content and the message acquisition time of the first message content in the fused message bubble, and display the second message content and the message acquisition time of the second message content in the fused message bubble. associated display.
  • the first message content is displayed in the message display area of the information interaction page, and the second message content is displayed in the message editing area of the information interaction page;
  • the merged message content including the first message content and the second message content is displayed, including:
  • the merged message content including the first message content and the second message content is displayed in the message editing area.
  • the message editing area is an area used to edit message content in the information interaction page.
  • the terminal may merge the first message content and the second message content in response to the end of the continuous action operation, And display the merged message content including the first message content and the second message content in the message editing area.
  • the first message content and the second message content when the first message content is moved to the message editing area, by responding to the end of the continuous action operation, the first message content and the second message content can be merged in the message editing area, and the first message content and the second message content can be merged in the message editing area.
  • the merged message content including the first message content and the second message content is displayed in , which provides a new message merging method.
  • the first message content is stored in the first message bubble; after the merged message content including the first message content and the second message content is displayed in the message editing area in response to the end of the persistence operation, the method further includes : Resume the display of the first message bubble to the initial position before the continuous action operation; the initial position is the position of the first message bubble in the message display area before responding to the continuous action operation.
  • the terminal may move the first message bubble in the message display area toward the second message content in the message editing area in response to the continuous action operation on the first message bubble.
  • the terminal may respond to the end of the continuous action operation, merge the first message content and the second message content, and display the first message content and the second message content in the message editing area. Merge message content of message content.
  • the terminal may determine the initial position of the first message bubble in the message display area before responding to the persisting operation. Display the merged message including the first message content and the second message content in the message editing area Afterwards, the terminal can restore the display of the first message bubble to the initial position before the persistence operation.
  • the first message bubble is restored to the initial position before the continuous action operation.
  • the display effect of the message content can be improved, and at the same time, it can also facilitate the next message merging of the first message content.
  • the terminal may merge the first message content and the second message content in response to the end of the persistence operation, and display the merged message content including the first message content and the second message content in the message editing area, And the first message bubble is no longer displayed in the message display area.
  • the second message content is moved to the message editing area through a continuous action operation before the first message content; the first message content and the second message content in the message content are merged according to the first message content.
  • the moving order corresponding to the second message content is sorted and displayed; the moving order refers to the order in which the first message content and the second message content are moved to the message editing area.
  • the terminal may move the second message content to the message editing area in response to the persisting operation on the second message content. Furthermore, the terminal may move the first message content to the second message content in the message editing area in response to the continuous action operation on the first message content.
  • the terminal may merge the first message content and the second message content in response to the end of the persistence operation.
  • the terminal may display the merged message content including the first message content and the second message content in the order in which the first message content and the second message content are respectively moved to the message editing area.
  • the persistence operation includes a drag operation.
  • the first message content that is, "This is a long and long message” is stored in the first message bubble P03
  • the second message content that is, "This is a piece of information” is stored in the second message bubble.
  • the terminal may activate the second message bubble P02 in response to the movement activation operation for the second message bubble P02, and the activated second message bubble P02 may be dragged and moved.
  • the terminal may move the second message bubble P02 toward the message editing area W02 in response to the drag operation on the second message bubble P02. Referring to FIG.
  • the terminal may move the second message content in the second message bubble P02 to the message editing area W02.
  • the terminal may move the first message content in the first message bubble P03 to the second message content in the message editing area W02 in response to the drag operation on the first message bubble P03.
  • the terminal may respond to the end of the drag operation and display the merged message content including the first message content and the second message content in the message editing area W02, that is, "This is a message It’s a long, long message.”
  • the first message content and the second message content in the message content are merged, and the first message content and the second message content are sorted and displayed according to the corresponding movement order, so that a new message content display can be provided. method, and at the same time, it also improves the display effect of message content.
  • a message processing method is provided, which can be applied to a terminal and executed independently by the terminal itself, or can also be implemented through interaction between the terminal and the server.
  • This embodiment takes the method applied to the terminal 102 in Figure 1 as an example to illustrate, including the following steps:
  • Step 1902 display the first message content and the second message content; the first message content is stored in the first message bubble in the message display area of the information interaction page; the second message content is stored in the second message bubble in the message display area In; the first message content is sent by the first user object; before the first message bubble is moved, the visual information of the first user object is displayed correspondingly in the message display area.
  • Step 1904 In response to the movement activation operation for the first message bubble, activate the first message bubble, and fix the page position of the information interaction page.
  • Step 1906 In response to the continuous action operation on the first message bubble, in the fixed information interaction page, while maintaining the corresponding display between the first user's visual information and the first message bubble, the first user object is The visual information and the first message bubble move toward the second message bubble following the movement of the operating point of the persistent action operation.
  • Step 1908 When the distance between the continuously moved first message bubble and the second message bubble meets the distance proximity condition, in response to the end of the continuous action operation, the first message bubble and the second message bubble are merged in the message display area, Get the fusion message bubble.
  • Step 1910 Display the merged message content including the first message content and the second message content in the merged message bubble, and stop displaying the first message bubble and the second message bubble.
  • the visual information of the first user object is displayed in association with the merged message content in the merged message bubble.
  • the first message content is displayed in association with the visual information of the first user object.
  • merge the second message in the message bubble The content is displayed in association with the visual information of the second user object.
  • the first message content and the second message content in the merged message content are sorted and displayed according to the message acquisition times respectively corresponding to the first message content and the second message content.
  • Step 1912 Display at least one message processing identifier for the merged message content in the merged message bubble; each message processing identifier is used to identify a type of message processing method.
  • Step 1914 In response to the triggering operation on the message processing identifier, perform corresponding message processing on the merged message content.
  • At least one message processing identifier includes at least one of a message forwarding processing identifier and a message collection processing identifier; in response to a trigger operation for the message processing identifier, performing corresponding message processing on the merged message content includes at least one of the following Processing: In response to the triggering operation on the message forwarding processing identifier, the merged message content is forwarded; in response to the triggering operation on the message collection processing identifier, the merged message content is collected.
  • the first message content is displayed in the first message bubble in the message display area, and the second message content is displayed in the message editing area of the information interaction page; when the first message bubble moves to the message editing area , in response to the end of the persistence operation, the merged message content including the first message content and the second message content is displayed in the message editing area.
  • the first message bubble is restored to its initial position before the persistence operation; the initial position is the position of the first message bubble in the message display area before responding to the persistence operation.
  • the second message content is moved to the message editing area through a continuous action operation before the first message content; the first message content and the second message content in the message content are merged according to the first message content.
  • the moving order corresponding to the second message content is sorted and displayed; the moving order refers to the order in which the first message content and the second message content are moved to the message editing area.
  • the message processing method can be applied to message merging scenarios in instant messaging.
  • an instant messaging application is installed on the terminal, and the terminal can perform the above message processing method through the instant messaging application.
  • the terminal can display the first instant message content and the second instant message content; the first instant message content is stored in the first instant message bubble in the instant message display area of the information interaction page; the second instant message content is stored in the instant message In the second instant message bubble in the message display area; the first instant message content is sent by the first user object; before the first instant message bubble is moved, the visual information corresponding to the first user object is displayed in the instant message display area.
  • the first instant message bubble is activated, and the page position of the information interaction page is fixed.
  • the terminal may respond to the continuous action operation on the first instant message bubble, and in the fixed information interaction page, while maintaining the corresponding display between the first user's visual information and the first instant message bubble, enable the first user to The visual information of the object and the first instant message bubble move toward the second instant message bubble following the movement of the operation point of the persistent operation.
  • the first instant message bubble and the second instant message bubble are merged in the instant message display area Bubbles, get fused instant messaging bubbles.
  • the merged instant message content including the first instant message content and the second instant message content is displayed in the merged instant message bubble, and the first instant message bubble and the second instant message bubble are no longer displayed.
  • the visual information of the first user object in the merged instant message bubble is displayed in association with the merged instant message content.
  • the second instant message content is sent by a second user object that is different from the first user object, in the generated fused instant message bubble, the first instant message content is displayed in association with the visual information of the first user object, and the fused instant message bubble is displayed in association with the visual information of the first user object.
  • the second instant message content in the message bubble is displayed in association with the visual information of the second user object.
  • the first instant message content and the second instant message content in the merged instant message content may be displayed in order according to the message acquisition times corresponding to the first instant message content and the second instant message content respectively.
  • the terminal can display at least one instant message processing identifier for the merged instant message content in the merged instant message bubble; each instant message processing identifier is used to identify a type of instant message processing method. In response to the triggering operation for the instant message processing identifier, corresponding message processing is performed on the merged instant message content.
  • At least one instant message processing identifier includes at least one of an instant message forwarding processing identifier and an instant message collection processing identifier; in response to a triggering operation for the instant message processing identifier, performing corresponding message processing on the merged instant message content includes at least one of the following: Processing: in response to the trigger operation for the instant message forwarding processing identifier, forward the merged instant message content; in response to the trigger operation for the instant message collection processing identifier, collect the merged instant message content.
  • the terminal can In response to the end of the persistence operation, the merged instant message content including the first instant message content and the second instant message content is displayed in the instant message editing area.
  • the terminal can restore the display of the first instant message bubble to the initial position before the persistence operation; the initial position is the position of the first instant message bubble in the instant message display area before responding to the persistence operation.
  • the second instant message content may be moved to the instant message editing area through a continuous action operation before the first instant message content; the first instant message content and the second instant message content in the instant message content are merged, The first instant message content and the second instant message content may be sorted and displayed according to the corresponding moving order; the moving order refers to the first instant message content and the second instant message content being moved to the instant message editing area. Sequence.
  • This application moves the first instant message content to the second instant message content through a continuous action operation on the first instant message content, so as to perform instant message merging of the first instant message content and the second instant message content, which can more conveniently Integrating multiple instant message contents into one instant message content, that is, merging the instant message contents, improves the efficiency of instant message merging.
  • users can also quickly and conveniently process the merged instant message content accordingly.
  • instant messaging users can quickly and conveniently send the merged instant message content to other users participating in instant messaging. It meets the business needs of rapid response to instant messages in instant messaging application scenarios and further improves message processing efficiency.
  • This application also provides an application scenario in which the above message processing method is applied.
  • the message processing method can be applied to message merging scenarios other than instant messaging.
  • the message processing method of the present application the first non-instant message content and the second non-instant message content can be quickly and conveniently merged, thereby improving the efficiency of message merging in non-instant messaging scenarios.
  • the message processing method of this application can be applied to the merging of social platform messages.
  • this message processing method can be applied to the scenario of merging web forum messages. Specifically, the web forum page displays the first comment message content and the first comment message content, and the terminal can operate on the continuous effect of the first comment message content.
  • the message processing method of the present application can also be applied to at least one of the message merging scenarios in the video live broadcast platform, the barrage message merging scenarios, etc.
  • steps in the flowcharts of the above embodiments are shown in sequence, these steps are not necessarily executed in sequence. Unless explicitly stated in this article, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least some of the steps in the above embodiments may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but may be executed at different times. These sub-steps or stages The order of execution is not necessarily sequential, but may be performed in turn or alternately with other steps or sub-steps of other steps or at least part of the stages.
  • a message processing device 2000 is provided.
  • the device can adopt a software module or a hardware module, or a combination of the two to become part of a computer device.
  • the device specifically includes:
  • the display module 2002 is used to display the first message content and the second message content.
  • the moving module 2004 is configured to move the first message content to the second message content in response to the continuous action operation on the first message content.
  • the display module 2002 is also configured to display the merged message content including the first message content and the second message content in response to the end of the persistence operation when the first message content moves to the location area where the second message content is located.
  • the first message content and the second message content are displayed in the information interaction page; the mobile module 2004 is also configured to respond to the mobile activation operation for the first message content, activate the first message content, and move the information
  • the page position of the interactive page is fixed; the display position of the fixed information interaction page does not change during the continuous action operation on the first message content; in response to the continuous action operation on the activated first message content, the fixed information interaction page
  • the first message content is moved to the second message content in the subsequent information interaction page.
  • the moving module 2004 is further configured to, in response to the persistence operation on the first message content, move the first message content to the second message content following the movement of the operation point of the persistence operation.
  • the first message content and the second message content are displayed in the message display area of the information interaction page; the display module 2002 is also configured to move the first message content to the position where the second message content is located in the message display area.
  • the position area is located, in response to the end of the continuous action operation, the merged message content including the first message content and the second message content is displayed in the message display area.
  • the display module 2002 is also configured to display at least one message processing identifier for the merged message content in the message display area; each message processing identifier is used to identify a type of message processing method; in response to Handle logo touch Send operation and perform corresponding message processing on the merged message content.
  • At least one message processing identifier includes at least one of a message forwarding processing identifier and a message collection processing identifier; in response to a trigger operation for the message processing identifier, performing corresponding message processing on the merged message content includes at least one of the following Processing: In response to the triggering operation on the message forwarding processing identifier, the merged message content is forwarded; in response to the triggering operation on the message collection processing identifier, the merged message content is collected.
  • the display module 2002 is also configured to display in the message display area in response to the end of the continuous action operation when the position distance between the continuously moved first message content and the second message content satisfies the distance proximity condition.
  • Merged message content including first message content and second message content.
  • the first message content is stored in the first message bubble in the message display area; the second message content is stored in the second message bubble in the message display area; and the continuous action operation is used to store the first message
  • the bubble moves to the second message bubble; the display module 2002 is also configured to, when the distance between the continuously moved first message bubble and the second message bubble meets the distance proximity condition, in response to the end of the continuous action operation, in the message display area
  • the first message bubble and the second message bubble are merged to obtain a merged message bubble; the merged message content including the first message content and the second message content is displayed in the merged message bubble.
  • the display module 2002 is also configured to, when the distance between the continuously moved first message bubble and the second message bubble meets the distance proximity condition, in response to the end of the continuous action operation, merge the third message bubble in the message display area.
  • the first message bubble and the second message bubble are combined to obtain the fused message bubble, and the first message bubble and the second message bubble are no longer displayed.
  • the first message content is sent by the first user object; before the first message bubble is moved, the visual information of the first user object is displayed correspondingly in the message display area; the moving module 2004 is also used to respond to a request for The continuous action operation of the first message bubble moves the visual information of the first user object and the first message bubble to the second message bubble while maintaining the corresponding display between the first user's visual information and the first message bubble.
  • the visual information of the first user object is displayed in association with the merged message content in the merged message bubble.
  • the first message content is displayed in association with the visual information of the first user object.
  • the second message content in the fused message bubble is displayed in association with the visual information of the second user object.
  • the first message content and the second message content in the merged message content are sorted and displayed according to the message acquisition times respectively corresponding to the first message content and the second message content.
  • the first message content is displayed in the message display area of the information interaction page, and the second message content is displayed in the message editing area of the information interaction page; the display module 2002 is also used to when the first message content moves to the message When in the editing area, in response to the end of the persistence operation, the merged message content including the first message content and the second message content is displayed in the message editing area.
  • the first message content is stored in the first message bubble; the display module 2002 is also configured to restore the display of the first message bubble to the initial position before the persisting operation; the initial position is before responding to the persisting operation. , the position of the first message bubble in the message display area.
  • the second message content is moved to the message editing area through a continuous action operation before the first message content; the first message content and the second message content in the message content are merged according to the first message content.
  • the moving order corresponding to the second message content is sorted and displayed; the moving order refers to the order in which the first message content and the second message content are moved to the message editing area.
  • the display module 2002 is also used to determine the message acquisition time corresponding to the first message content and the second message content respectively; according to the order of the message acquisition time respectively corresponding to the first message content and the second message content, the The first message content and the second message content are sorted and displayed on the display interface.
  • the display module 2002 is also configured to restore the display of the first message content to the location before the persisting operation when the first message content has not moved to the location area where the second message content is located but the persisting operation has ended. the initial position.
  • the above message processing device by displaying the first message content and the second message content, can move the first message content to the second message content in response to a continuous operation on the first message content.
  • the merged message content including the first message content and the second message content may be displayed.
  • this application moves the first message content to the second message content through a continuous operation on the first message content, so as to combine the first message content and the second message content.
  • Message merging of the second message content can more conveniently integrate multiple messages into one message, thus improving the efficiency of message merging.
  • Each module in the above message processing device can be implemented in whole or in part by software, hardware and combinations thereof.
  • Each of the above modules may be embedded in or independent of the processor of the computer device in the form of hardware, or may be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
  • a computer device is provided.
  • the computer device may be a terminal, and its internal structure diagram may be as shown in Figure 21.
  • the computer device includes a processor, memory, input/output interface, communication interface, display unit and input device.
  • the processor, memory and input/output interface are connected through the system bus, and the communication interface, display unit and input device are connected to the system bus through the input/output interface.
  • the processor of the computer device is used to provide computing and control capabilities.
  • the memory of the computer device includes non-volatile storage media and internal memory.
  • the non-volatile storage medium stores an operating system and computer-readable instructions. This internal memory provides an environment for the execution of an operating system and computer-readable instructions in a non-volatile storage medium.
  • the input/output interface of the computer device is used to exchange information between the processor and external devices.
  • the communication interface of the computer device is used for wired or wireless communication with external terminals.
  • the wireless mode can be implemented through WIFI, mobile cellular network, NFC (Near Field Communication) or other technologies.
  • the computer readable instructions when executed by the processor, implement a message processing method.
  • the display unit of the computer device is used to form a visually visible picture and can be a display screen, a projection device or a virtual reality imaging device.
  • the display screen can be a liquid crystal display screen or an electronic ink display screen.
  • the input device of the computer device can be a display screen.
  • the touch layer covered above can also be buttons, trackballs or touch pads provided on the computer equipment shell, or it can also be an external keyboard, touch pad or mouse, etc.
  • Figure 21 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied.
  • Specific computer equipment can May include more or fewer parts than shown, or combine certain parts, or have a different arrangement of parts.
  • a computer device including a memory and one or more processors.
  • Computer-readable instructions are stored in the memory.
  • the one or more processors execute the computer-readable instructions, the above methods are implemented. Steps in Examples.
  • one or more computer-readable storage media are provided, storing computer-readable instructions.
  • the computer-readable instructions are executed by one or more processors, the steps in the above method embodiments are implemented.
  • a computer program product which includes computer-readable instructions. When executed by one or more processors, the computer-readable instructions implement the steps in each of the above method embodiments.
  • the user information including but not limited to user equipment information, user personal information, etc.
  • data including but not limited to data used for analysis, stored data, displayed data, etc.
  • Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc.
  • Volatile memory may include random access memory (RAM) or external cache memory.
  • RAM can be in many forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请涉及一种消息处理方法,属于通讯技术领域。方法包括:显示第一消息内容和第二消息内容(202);响应于针对第一消息内容的持续作用操作,将第一消息内容向第二消息内容移动(204);当第一消息内容移动至第二消息内容所在位置区域时,响应于持续作用操作结束,显示包括第一消息内容和第二消息内容的合并消息内容(206)。

Description

消息处理方法、装置、设备、介质和计算机程序产品
本申请要求于2022年03月24日提交中国专利局,申请号为2022102925482、发明名称为“消息处理方法、装置、设备、介质和计算机可读指令产品”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通讯技术、特别是涉及消息处理技术领域,特别是涉及一种消息处理方法、装置、设备、介质和计算机程序产品。
背景技术
随着计算机技术的发展,越来越多的通讯应用被广泛运用至人们的日常生活中。通讯应用,是一种基于互联网的交流软件。通讯应用使得人们可以便捷跟另外一个通讯应用的用户进行信息交互,使人们不必担心昂贵的话费而畅快地交流。
当用户在使用通讯应用进行信息交互时,目前的消息合并的方式是,用户点击合并消息按钮,通过勾选多条将要进行合并的消息内容,进而再通过点击合并按钮对已勾选的多条消息内容进行合并,从而实现将多条消息整合成一条消息。然而,目前的消息合并方法,操作上较为繁琐,从而导致消息合并效率较低。
发明内容
基于此,有必要针对上述技术问题,提供一种消息处理方法、装置、设备、介质和计算机程序产品。
第一方面,本申请提供了一种消息处理方法,应用于终端,所述方法包括:
显示第一消息内容和第二消息内容;
响应于针对所述第一消息内容的持续作用操作,将所述第一消息内容向所述第二消息内容移动;
当所述第一消息内容移动至所述第二消息内容所在位置区域时,响应于所述持续作用操作结束,显示包括所述第一消息内容和所述第二消息内容的合并消息内容。
第二方面,本申请提供了一种消息处理装置,所述装置包括:
显示模块,用于显示第一消息内容和第二消息内容;
移动模块,用于响应于针对所述第一消息内容的持续作用操作,将所述第一消息内容向所述第二消息内容移动;
所述显示模块还用于当所述第一消息内容移动至所述第二消息内容所在位置区域时,响应于所述持续作用操作结束,显示包括所述第一消息内容和所述第二消息内容的合并消息内容。
第三方面,本申请提供了一种计算机设备,包括存储器和一个或多个处理器,存储器中存储有计算机可读指令,该一个或多个处理器执行计算机可读指令时实现本申请各方法实施例中的步骤。
第四方面,本申请提供了一个或多个计算机可读存储介质,存储有计算机可读指令,该计算机可读指令被一个或多个处理器执行时实现本申请各方法实施例中的步骤。
第五方面,本申请提供了一种计算机程序产品,包括计算机可读指令,计算机可读指令被一个或多个处理器执行时实现本申请各方法实施例中的步骤。
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征、目的和优点将从说明书、附图以及权利要求书变得明显。
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
附图说明
图1为一个实施例中消息处理方法的应用环境图;
图2为一个实施例中消息处理方法的流程示意图;
图3为一个实施例中消息内容显示示意图;
图4为一个实施例中消息内容激活过程示意图;
图5为一个实施例中被激活的消息内容示意图;
图6为一个实施例中一个消息气泡被拖拽移动另一个消息气泡的过程示意图;
图7为一个实施例中两个消息气泡融合过程示意图;
图8为一个实施例中融合消息气泡和合并消息内容示意图;
图9为另一个实施例中消息内容激活过程示意图;
图10为另一个实施例中被激活的消息内容示意图;
图11为另一个实施例中两个消息气泡融合过程示意图;
图12为另一个实施例中融合消息气泡和合并消息内容示意图;
图13为一个实施例中将合并消息进行转发后的示意图;
图14为又一个实施例中消息内容激活过程示意图;
图15为又一个实施例中被激活的消息内容示意图;
图16为一个实施例中消息气泡被拖拽移动至消息显示区域的过程示意图;
图17为一个实施例中一条消息内容已被移动至消息显示区域的示意图;
图18为一个实施例中两条消息内容已被移动至消息显示区域的示意图;
图19为另一个实施例中消息处理方法的流程示意图;
图20为一个实施例中消息处理装置的结构框图;
图21为一个实施例中计算机设备的内部结构图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
本申请提供的消息处理方法,可以应用于如图1所示的应用环境中。其中,终端102通过网络与服务器104进行通信。数据存储系统可以存储服务器104需要处理的数据。数据存储系统可以集成在服务器104上,也可以放在云上或其他服务器上。其中,终端102可以但不限于是各种个人计算机、笔记本电脑、智能手机、平板电脑、物联网设备和便携式可穿戴设备,物联网设备可为智能音箱、智能电视、智能空调、智能车载设备等。便携式可穿戴设备可为智能手表、智能手环、头戴设备等。服务器104可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、CDN、以及大数据和人工智能平台等基础云计算服务的云服务器。终端102以及服务器104可以通过有线或无线通信方式进行直接或间接地连接,本申请在此不做限制。
终端102可显示第一消息内容和第二消息内容,并响应于针对第一消息内容的持续作用操作,将第一消息内容向第二消息内容移动。当第一消息内容移动至第二消息内容所在位置区域时,终端102可响应于持续作用操作结束,显示包括第一消息内容和第二消息内容的合并消息内容。
可以理解,服务器104可以提供第一消息内容和第二消息内容,终端102可对第一消息内容和第二消息内容进行合并。终端102也可以从本地获取第一消息内容和第二消息内容,并对第一消息内容和第二消息内容进行合并。本实施例对此不做限定,可以理解,图1中的应用场景仅为示意说明,并不限定于此。
在一个实施例中,如图2所示,提供了一种消息处理方法,该方法可应用于终端,由终端自身单独执行,也可以通过终端和服务器之间的交互来实现。本实施例以该方法应用于图1中的终端102为例进行说明,包括以下步骤:
步骤202,显示第一消息内容和第二消息内容。
其中,消息内容是消息的内容,消息内容可以包括消息文本内容、消息图片内容、消息语音内容和消息视频内容等中的至少一种。消息是一种用于通讯的格式信息,消息可以包括消息内容、消息格式、消息发送时间等中的至少一种。可以理解,第一消息内容和第二消息内容用于区分表示两条相互独立的消息内容,“第一”和“第二”并不作为对消息内容的具体限定。
具体地,终端可获取第一消息内容和第二消息内容,并在终端的显示界面中显示第一消息内容和第二消息内容。
在一个实施例中,终端可确定第一消息内容和第二消息内容分别对应的消息获取时间,并按照第一消息内容和第二消息内容分别对应的消息获取时间的先后顺序,将第一消息内容和第二消息内容在终端的显示界面中进行排序显示。其中,第一消息内容和第二消息内容分别对应的消息获取时间,是终端分别获取到第一消息内容和第二消息内容的时间。由于消息获取时间可以反映用户会话时间的 先后顺序,因此,按照消息获取时间的先后顺序,将第一消息内容和第二消息内容进行排序显示,可以使得展示的内容整体更具有会话的逻辑性,提升了消息内容的展示效果。
步骤204,响应于针对第一消息内容的持续作用操作,将第一消息内容向第二消息内容移动。
其中,持续作用操作,是持续作用于第一消息内容的控制操作。
具体地,用户可触发对第一消息内容的持续作用操作,终端可响应于针对第一消息内容的持续作用操作,控制第一消息内容向第二消息内容移动。
在一个实施例中,持续作用操作可以包括拖拽操作和长按操作等中的至少一种。举例说明,若持续作用操作为拖拽操作,则终端可响应于针对第一消息内容的拖拽操作,控制第一消息内容向第二消息内容移动。
在一个实施例中,终端可响应于针对所述第一消息内容的持续作用操作,控制第一消息内容沿着持续作用操作所指向的移动方向向第二消息内容移动。
步骤206,当第一消息内容移动至第二消息内容所在位置区域时,响应于持续作用操作结束,显示包括第一消息内容和第二消息内容的合并消息内容。
其中,第二消息内容所在位置区域,是指第二消息内容所在位置所归属的区域范围。持续作用操作结束,是指持续作用操作不再持续作用于第一消息内容。合并消息内容,是将第一消息内容和第二消息内容进行合并后所得到新的消息内容。
具体地,终端可确定第一消息内容的移动位置,以判断第一消息内容是否已经移动至第二消息内容所在位置区域。可以理解,若第一消息内容的移动位置位于第二消息内容所在位置区域时,则判断第一消息内容已经移动至第二消息内容所在位置区域。当第一消息内容移动至第二消息内容所在位置区域时,终端可判断针对第一消息内容的持续作用操作是否已经结束,若针对第一消息内容的持续作用操作已经结束,则终端可响应于持续作用操作结束,将第一消息内容和第二消息内容进行合并,得到包括第一消息内容和第二消息内容的合并消息内容,并在终端的显示界面中显示包括第一消息内容和第二消息内容的合并消息内容。
在一个实施例中,若第一消息内容未移动至第二消息内容所在位置区域,和/或,针对第一消息内容的持续作用操作还未结束,则终端不会将第一消息内容和第二消息内容进行合并。
在一个实施例中,在第一消息内容未移动至第二消息内容所在位置区域、但持续作用操作结束的情况下,终端可将第一消息内容恢复显示在持续作用操作前所处的初始位置。其中,初始位置,是在响应持续作用操作之前,第一消息内容所位于的位置。由于持续作用操作的结果不满足消息合并条件,因此通过将发生移动的第一消息内容恢复显示在持续作用操作前所处的位置,可以恢复对消息内容的正常显示,以便于下一次的合并操作,提升消息合并效率。
在一个实施例中,第一消息内容和第二消息内容显示在信息交互页面。当第一消息内容移动至第二消息内容在信息交互页面中所处的位置区域时,终端可响应于持续作用操作结束,在信息交互页面中显示包括第一消息内容和第二消息内容的合并消息内容。其中,信息交互页面,是用于信息交互的页面。可以理解,信息交互页面可渲染在终端的显示界面中。
在一个实施例中,消息合并的次数包括多次,本次消息合并所得到的合并消息内容,可以作为下一次消息合并的第一消息内容或者第二消息内容参与至下一次的消息合并过程中。这样,可以使得参与消息合并的第一消息内容和第二消息内容,不限定于用户输入的消息内容,从而使得消息合并的内容来源更加丰富。且,在上一次合并结果的基础上继续进行消息合并,也可以提升消息合并效率。
上述消息处理方法中,通过显示第一消息内容和第二消息内容,响应于针对第一消息内容的持续作用操作,可以将第一消息内容向第二消息内容移动。当第一消息内容移动至第二消息内容所在位置区域时,响应于持续作用操作结束,可以显示包括第一消息内容和第二消息内容的合并消息内容。相较于传统的通过多选多条消息以进行消息合并的方式,本申请通过针对第一消息内容的持续作用操作,将第一消息内容向第二消息内容移动,以将第一消息内容和第二消息内容进行消息合并,可以更便捷地将多条消息整合为一条消息,从而提升了消息合并效率。
在一个实施例中,第一消息内容和第二消息内容显示在信息交互页面中;方法还包括:响应于针对第一消息内容的移动激活操作,将第一消息内容激活,并将信息交互页面进行页面位置固定;固定后的信息交互页面在针对第一消息内容的持续作用操作的过程中页面的显示位置不发生变化;响应于针对第一消息内容的持续作用操作,将第一消息内容向第二消息内容移动,包括:响应于针对激活的 第一消息内容的持续作用操作,在固定后的信息交互页面中将第一消息内容向第二消息内容移动。
其中,移动激活操作,是用于将第一消息内容激活的操作,激活后的第一消息内容可被移动。页面的显示位置不发生变化,即固定后的信息交互页面不可发生滑动。
具体地,终端可响应于针对第一消息内容的移动激活操作,将第一消息内容激活,可以理解,第一消息内容被激活之后,在后续响应于针对第一消息内容的持续作用操作时,可支持将被激活的第一消息内容向第二消息内容移动。同时,第一消息内容被激活之后,终端可将信息交互页面进行页面位置固定。终端可响应于针对激活的第一消息内容的持续作用操作,在固定后的信息交互页面中将第一消息内容向第二消息内容移动。
上述实施例中,通过响应于针对第一消息内容的移动激活操作,可以将第一消息内容激活,以便后续可以将激活后的第一消息内容向第二消息内容移动。同时,通过将信息交互页面进行页面位置固定,并在固定后的信息交互页面中将第一消息内容向第二消息内容移动,可以避免由于信息交互页面滑动而影响将第一消息内容向第二消息内容移动,从而可以保证第一消息内容可以准确地向第二消息内容移动,提升了消息内容移动的准确性。
在一个实施例中,第一消息内容和第二消息内容显示在信息交互页面中;方法还包括:响应于针对第一消息内容的移动激活操作,将第一消息内容激活,并保持信息交互页面的页面滑动状态;处于页面滑动状态的信息交互页面在针对第一消息内容的持续作用操作的过程中页面的显示位置可发生变化;响应于针对第一消息内容的持续作用操作,将第一消息内容向第二消息内容移动,包括:响应于针对激活的第一消息内容的持续作用操作,在处于页面滑动状态的信息交互页面中将第一消息内容向第二消息内容移动。
在一个实施例中,响应于针对第一消息内容的持续作用操作,将第一消息内容向第二消息内容移动,包括:响应于针对第一消息内容的持续作用操作,使第一消息内容跟随持续作用操作的操作点的移动向第二消息内容移动。
其中,持续作用操作的操作点,是指持续作用操作的操作位置。
具体地,终端可响应于针对第一消息内容的持续作用操作,确定持续作用操作的操作点,并控制第一消息内容跟随持续作用操作的操作点的移动向第二消息内容移动。
上述实施例中,通过控制第一消息内容跟随持续作用操作的操作点的移动向第二消息内容移动,可以保证第一消息内容可以准确地向第二消息内容移动,提升了消息内容移动的准确性。
在一个实施例中,持续作用操作包括拖拽操作;响应于针对第一消息内容的持续作用操作,使第一消息内容跟随持续作用操作的操作点的移动向第二消息内容移动,包括:响应于针对第一消息内容的拖拽操作,使第一消息内容跟随拖拽操作的拖拽操作点的移动向第二消息内容移动。
其中,拖拽操作的拖拽操作点,是指拖拽操作的拖拽位置。
具体地,终端可响应于针对第一消息内容的拖拽操作,确定拖拽操作的拖拽操作点,并控制第一消息内容跟随拖拽操作的拖拽操作点的移动向第二消息内容移动。
上述实施例中,通过控制第一消息内容跟随拖拽操作的拖拽操作点的移动向第二消息内容移动,可以保证第一消息内容可以准确地向第二消息内容移动,提升了消息内容移动的准确性。
在一个实施例中,第一消息内容和第二消息内容显示在信息交互页面的消息显示区域中;当第一消息内容移动至第二消息内容所在位置区域时,响应于持续作用操作结束,显示包括第一消息内容和第二消息内容的合并消息内容,包括:当第一消息内容移动至第二消息内容在消息显示区域中所处的位置区域时,响应于持续作用操作结束,在消息显示区域中显示包括第一消息内容和第二消息内容的合并消息内容。
其中,消息显示区域,是信息交互页面中用于显示消息内容的区域。
具体地,终端可判断第一消息内容是否已经移动至第二消息内容在消息显示区域中所处的位置区域。当第一消息内容移动至第二消息内容在消息显示区域中所处的位置区域时,终端可响应于持续作用操作结束,在消息显示区域中将第一消息内容和第二消息内容进行合并,并在消息显示区域中显示包括第一消息内容和第二消息内容的合并消息内容。
在一个实施例中,终端可确定第一消息内容的移动位置,若第一消息内容的移动位置位于第二消息内容在消息显示区域中所处的位置区域范围,则判断第一消息内容已经移动至第二消息内容在消息显示区域中所处的位置区域。
上述实施例中,通过在消息显示区域中显示包括第一消息内容和第二消息内容的合并消息内容,可以便于后续针对合并消息内容的消息处理,提升了消息处理效率。
在一个实施例中,方法还包括:在消息显示区域中,显示针对合并消息内容的至少一个消息处理标识;每个消息处理标识用于标识一种类型的消息处理方式;响应于针对消息处理标识的触发操作,对合并消息内容进行相应的消息处理。
其中,消息处理标识,是一种用于唯一标识消息处理方式的符号,该符号可包括文字、数字、字母和特殊字符等中的至少一种。
具体地,终端可在信息交互页面的消息显示区域中,显示针对合并消息内容的至少一个消息处理标识。进而,终端可响应于针对至少一个消息处理标识中任一消息处理标识的触发操作,对合并消息内容进行相应的消息处理。
上述实施例中,通过在消息显示区域中提供针对合并消息内容的消息处理标识,并通过响应于针对消息处理标识的触发操作,可以快速、便捷地对合并消息内容进行相应的消息处理,提升了消息处理效率。
在一个实施例中,终端可在信息交互页面中,显示针对合并消息内容的至少一个消息处理标识;每个消息处理标识用于标识一种类型的消息处理方式。终端可响应于针对消息处理标识的触发操作,对显示在消息显示区域中的合并消息内容进行相应的消息处理。
在一个实施例中,至少一个消息处理标识包括消息转发处理标识和消息收藏处理标识中的至少一个;响应于针对消息处理标识的触发操作,对合并消息内容进行相应的消息处理包括以下至少一种处理:响应于针对消息转发处理标识的触发操作,对合并消息内容进行转发;响应于针对消息收藏处理标识的触发操作,对合并消息内容进行收藏。
其中,消息转发处理标识,是用于标识对合并消息内容进行转发处理的符号。消息收藏处理标识,是用于标识对合并消息内容进行收藏处理的符号。
具体地,终端可响应于针对消息转发处理标识的触发操作,对合并消息内容进行转发,和/或,终端可响应于针对消息收藏处理标识的触发操作,对合并消息内容进行收藏。
上述实施例中,通过在消息显示区域中提供消息转发处理标识,并通过响应于针对消息转发处理标识的触发操作,可以对合并消息内容进行快速、便捷地转发,提升消息内容转发效率。通过在消息显示区域中提供消息收藏处理标识,并通过响应于针对消息收藏处理标识的触发操作,可以对合并消息内容进行快速、便捷地收藏,提升消息内容的收藏效率。
在一个实施例中,消息处理标识还可以包括消息删除处理标识,响应于针对消息删除处理标识的触发操作,终端可对合并消息内容进行删除处理。
在一个实施例中,当第一消息内容移动至第二消息内容在消息显示区域中所处的位置区域时,响应于持续作用操作结束,在消息显示区域中显示包括第一消息内容和第二消息内容的合并消息内容,包括:当被持续移动的第一消息内容和第二消息内容之间的位置距离满足距离接近条件时,响应于持续作用操作结束,在消息显示区域中显示包括第一消息内容和第二消息内容的合并消息内容。
其中,第一消息内容和第二消息内容之间的位置距离,是指第一消息内容所处位置和第二消息内容所处位置之间的距离。
在一个实施例中,距离接近条件,包括第一消息内容所处位置和第二消息内容所处位置之间的距离小于预设距离阈值,以及第一消息内容所处位置和第二消息内容所处位置之间的距离落在预设距离范围中的任一种。
具体地,终端可判断被持续移动的第一消息内容和第二消息内容之间的位置距离是否满足距离接近条件,当被持续移动的第一消息内容和第二消息内容之间的位置距离满足距离接近条件时,终端可响应于持续作用操作结束,在消息显示区域中将第一消息内容和第二消息内容进行合并,并在消息显示区域中显示包括第一消息内容和第二消息内容的合并消息内容。
上述实施例中,当被持续移动的第一消息内容和第二消息内容之间的位置距离满足距离接近条件时,通过响应于持续作用操作结束,可以在消息显示区域中快速地将第一消息内容和第二消息内容进行合并,进一步提升消息合并效率。
在一个实施例中,第一消息内容存储于消息显示区域内的第一消息气泡中;第二消息内容存储于消息显示区域内的第二消息气泡中;持续作用操作,用于将第一消息气泡向第二消息气泡移动;当第 一消息内容移动至第二消息内容所在位置区域时,响应于持续作用操作结束,显示包括第一消息内容和第二消息内容的合并消息内容,包括:当被持续移动的第一消息气泡与第二消息气泡之间的距离满足距离接近条件时,响应于持续作用操作结束,在消息显示区域中融合第一消息气泡和第二消息气泡,得到融合消息气泡;在融合消息气泡中显示包括第一消息内容和第二消息内容的合并消息内容。
其中,第一消息气泡,是消息显示区域内的、且用于存储第一消息内容的区域。第二消息气泡,是消息显示区域内的、且用于存储第二消息内容的区域。可以理解,第一消息气泡和第二消息气泡是位于消息显示区域内的、且相互独立的两个区域。
具体地,终端可判断被持续移动的第一消息气泡与第二消息气泡之间的距离是否满足距离接近条件,当被持续移动的第一消息气泡与第二消息气泡之间的距离满足距离接近条件时,终端可响应于持续作用操作结束,在消息显示区域中融合第一消息气泡和第二消息气泡,得到融合消息气泡。终端可将第一消息内容和第二消息合并,并在融合消息气泡中显示包括第一消息内容和第二消息内容的合并消息内容。
在一个实施例中,在响应于持续作用操作之前,终端可分别获取第一消息气泡和第二消息气泡的坐标,当响应于持续作用操作,将第一消息气泡向第二消息气泡移动时,终端可通过定时器,定时获取第一消息气泡在移动过程中的坐标。若第一消息气泡坐标接近第二消息气泡坐标,即第一消息气泡的坐标与第二消息气泡的坐标之间的距离小于预设距离阈值时,将第一消息气泡和第二消息气泡进行融合,得到融合消息气泡。
在一个实施例中,持续作用操作包括拖拽操作,如图3所示,消息显示区域W01内包括四个消息气泡,即P01、P02、P03和P04,各个消息气泡中分别存储有消息内容。举例说明,P03为第一消息气泡,P04为第二消息气泡,P03中存储有第一消息内容,即“这是一条长长长长的信息”,P04中存储有第二消息内容,即“这是一条长长长长长长长长长的信息”。如图4所示,终端可响应于针对P03中第一消息内容的移动激活操作,将第一消息气泡P03激活。比如,点击一下第一消息气泡P03,即可将P03激活,参见图5,第一消息气泡P03处于被激活状态,表明第一消息气泡P03可被移动。如图6所示,终端可响应于针对第一消息气泡P03的拖拽操作,将第一消息气泡P03向第二消息气泡P04移动。如图7所示,当被持续移动的第一消息气泡P03与第二消息气泡P04之间的距离满足距离接近条件时,第一消息气泡P03与第二消息气泡P04开始融合。如图8所示,终端可响应于拖拽操作结束,在消息显示区域W01中融合第一消息气泡P03和第二消息气泡P04,得到融合消息气泡P05,在融合消息气泡P05中显示包括第一消息内容和第二消息内容的合并消息内容,即“这是一条长长长长的信息这是一条长长长长长长长长长的信息”。
在一个实施例中,持续作用操作包括拖拽操作。合并后的合并消息内容可以作为下一次消息合并的第一消息内容或者第二消息内容参与至下一次的消息合并过程中。如图9所示,P02为第一消息气泡,P05为第二消息气泡,P02中存储有第一消息内容,即“这是一条信息”,P05中存储有第二消息内容,即“这是一条长长长长的信息这是一条长长长长长长长长长的信息”。终端可响应于针对P02中第一消息内容的移动激活操作,将第一消息气泡P02激活。比如,点击一下第一消息气泡P02,即可将P02激活,参见图10,第一消息气泡P02处于被激活状态,表明第一消息气泡P02可被移动。如图11所示,终端可响应于针对第一消息气泡P02的拖拽操作,将第一消息气泡P02向第二消息气泡P05移动,且当被持续移动的第一消息气泡P02与第二消息气泡P05之间的距离满足距离接近条件时,第一消息气泡P02与第二消息气泡P05开始融合。如图12所示,终端可响应于拖拽操作结束,在消息显示区域W01中融合第一消息气泡P02和第二消息气泡P05,得到融合消息气泡P06,在融合消息气泡P06中显示包括第一消息内容和第二消息内容的合并消息内容,即“这是一条信息这是一条长长长长的信息这是一条长长长长长长长长长的信息”。
在一个实施例中,如图12所示,终端可在融合消息气泡P06中显示消息转发处理标识、消息收藏处理标识和消息删除处理标识等消息处理标识。如图13所示,终端可响应于针对消息转发处理标识的触发操作,对融合消息气泡P06中的合并消息内容进行转发。
上述实施例中,当被持续移动的第一消息气泡与第二消息气泡之间的距离满足距离接近条件时,通过响应于持续作用操作结束,可以在消息显示区域中融合第一消息气泡和第二消息气泡,并在融合消息气泡中显示包括第一消息内容和第二消息内容的合并消息内容,进一步提升了消息合并效率。
在一个实施例中,当被持续移动的第一消息气泡与第二消息气泡之间的距离满足距离接近条件 时,响应于持续作用操作结束,在消息显示区域中融合第一消息气泡和第二消息气泡,得到融合消息气泡,包括:当被持续移动的第一消息气泡与第二消息气泡之间的距离满足距离接近条件时,响应于持续作用操作结束,在消息显示区域中融合第一消息气泡和第二消息气泡,得到融合消息气泡,并使第一消息气泡和第二消息气泡不再显示。
具体地,终端可判断被持续移动的第一消息气泡与第二消息气泡之间的距离是否满足距离接近条件,当被持续移动的第一消息气泡与第二消息气泡之间的距离满足距离接近条件时,终端可响应于持续作用操作结束,在消息显示区域中融合第一消息气泡和第二消息气泡,得到融合消息气泡,并使第一消息气泡和第二消息气泡不再显示,可以理解,融合消息气泡生成之后,消息显示区域内不再显示有第一消息气泡和第二消息气泡。
在一个实施例中,终端可响应于持续作用操作结束,在消息显示区域中融合第一消息气泡和第二消息气泡,得到融合消息气泡,并在消息显示区域内将第一消息气泡和第二消息气泡删除,以使得融合消息气泡生成之后,消息显示区域内不再显示有第一消息气泡和第二消息气泡。
在一个实施例中,终端可响应于持续作用操作结束,在消息显示区域中融合第一消息气泡和第二消息气泡,得到融合消息气泡,并在消息显示区域内将第一消息气泡和第二消息气泡进行隐藏,即使第一消息气泡和第二消息气泡处于不可视状态,以使得融合消息气泡生成之后,消息显示区域内不再显示有第一消息气泡和第二消息气泡。
上述实施例中,通过在融合消息气泡中显示包括第一消息内容和第二消息内容的合并消息内容,并使第一消息气泡和第二消息气泡不再显示,可以避免在消息显示区域中显示重复的消息内容,提升了消息显示区域的区域利用率和区域显示效果。
在一个实施例中,终端可响应于持续作用操作结束,在消息显示区域中融合第一消息气泡和第二消息气泡,得到融合消息气泡,并将第一消息气泡恢复显示在持续作用操作之前该第一消息气泡所位于的位置。
在一个实施例中,第一消息内容是第一用户对象发送的;第一消息气泡被移动前与第一用户对象的可视化信息在消息显示区域内对应显示;响应于针对第一消息内容的持续作用操作,将第一消息内容向第二消息内容移动,包括:响应于针对第一消息气泡的持续作用操作,在保持第一用户可视化信息和第一消息气泡之间的对应显示的情况下,将第一用户对象的可视化信息和第一消息气泡向第二消息气泡移动。
其中,可视化信息,是指用于描述用户对象的、且可视化的信息。
具体地,终端可响应于针对第一消息气泡的持续作用操作,在消息显示区域内保持第一用户可视化信息和第一消息气泡之间的对应显示,在保持第一用户可视化信息和第一消息气泡之间的对应显示的情况下,终端可将第一用户对象的可视化信息和第一消息气泡一同向第二消息气泡移动。当第一用户对象的可视化信息和第一消息气泡移动至第二消息内容所在位置区域时,终端可响应于持续作用操作结束,在消息显示区域内显示包括第一消息内容和第二消息内容的合并消息内容。
在一个实施例中,可视化信息可包括图像和视频等中的至少一种。比如,可视化信息可以是用户对象的头像图片。
在一个实施例中,持续作用操作包括拖拽操作。参见图3、图4和图5,若第一消息气泡P03中的第一消息内容是第一用户对象发送的,第一消息气泡P03被移动前与第一用户对象的可视化信息B在消息显示区域W01内对应显示。参见图6和图7,终端可响应于针对第一消息气泡P03的拖拽操作,在保持第一用户可视化信息B和第一消息气泡P03之间的对应显示的情况下,将第一用户对象的可视化信息B和第一消息气泡P03向第二消息气泡P04移动。
上述实施例中,响应于针对第一消息气泡的持续作用操作,通过在保持第一用户可视化信息和第一消息气泡之间的对应显示的情况下,将第一用户对象的可视化信息和第一消息气泡向第二消息气泡移动,这样,在第一消息气泡移动过程中,也可快速了解第一消息气泡中的第一消息内容是哪一个用户对象发送的,提升了消息合并过程的可视化效果。
在一个实施例中,若第二消息内容是第一用户对象发送的,在融合消息气泡中第一用户对象的可视化信息与合并消息内容关联显示。
举例说明,如图8所示,若第一消息内容“这是一条长长长长的信息”和第二消息内容“这是一条长长长长长长长长长的信息”都是第一用户对象发送的,则终端可在融合消息气泡P06中将第一 用户对象的可视化信息B与合并消息内容关联显示,即将第一用户对象的可视化信息B与“这是一条长长长长的信息这是一条长长长长长长长长长的信息”关联显示。
上述实施例中,若第二消息内容是第一用户对象发送的,通过在融合消息气泡中将第一用户对象的可视化信息与合并消息内容关联显示,可以进一步提升合并消息内容的显示效果。
在一个实施例中,若第二消息内容是由不同于第一用户对象的第二用户对象发送的,则在生成的融合消息气泡中,第一消息内容与第一用户对象的可视化信息关联展示,融合消息气泡中的第二消息内容与第二用户对象的可视化信息关联展示。
举例说明,如图12所示,若第一消息内容“这是一条信息”是由第一用户对象发送的、且第二消息内容“这是一条长长长长的信息这是一条长长长长长长长长长的信息”是由不同于第一用户对象的第二用户对象发送的,则终端可在融合消息气泡P06中将第一消息内容与第一用户对象的可视化信息A关联展示,同时,在融合消息气泡P06中将第二消息内容与第二用户对象的可视化信息B关联展示,即,将“这是一条信息”与第一用户对象的可视化信息A关联展示,将“这是一条长长长长的信息这是一条长长长长长长长长长的信息”与第二用户对象的可视化信息B关联展示。
上述实施例中,若第二消息内容是由不同于第一用户对象的第二用户对象发送的,通过在融合消息气泡中将第一消息内容与第一用户对象的可视化信息关联展示,并通过在融合消息气泡中将第二消息内容与第二用户对象的可视化信息关联展示,可以进一步提升合并消息内容的显示效果。
在一个实施例中,合并消息内容中的第一消息内容和第二消息内容,是按照第一消息内容和第二消息内容分别对应的消息获取时间进行排序显示的。
其中,消息获取时间是终端获取到消息内容的时间。
可以理解,终端可确定第一消息内容和第二消息内容分别对应的消息获取时间,并将合并消息内容中的第一消息内容和第二消息内容,按照第一消息内容和第二消息内容分别对应的消息获取时间的先后顺序进行排序显示的。
上述实施例中,合并消息内容中的第一消息内容和第二消息内容,通过按照第一消息内容和第二消息内容分别对应的消息获取时间进行排序显示,可以提升合并消息内容的显示效果。
在一个实施例中,终端可以在融合消息气泡中将第一消息内容和第一消息内容的消息获取时间关联显示,以及在融合消息气泡中将第二消息内容和第二消息内容的消息获取时间关联显示。
在一个实施例中,第一消息内容显示在信息交互页面的消息显示区域中,第二消息内容显示在信息交互页面的消息编辑区域中;
当第一消息内容移动至第二消息内容所在位置区域时,响应于持续作用操作结束,显示包括第一消息内容和第二消息内容的合并消息内容,包括:
当第一消息内容移动至消息编辑区域中时,响应于持续作用操作结束,在消息编辑区域中显示包括第一消息内容和第二消息内容的合并消息内容。
其中,消息编辑区域,是信息交互页面中用于编辑消息内容的区域。
具体地,当第一消息内容从信息交互页面的消息显示区域移动至信息交互页面的消息编辑区域中时,终端可响应于持续作用操作结束,将第一消息内容和第二消息内容进行合并,并在消息编辑区域中显示包括第一消息内容和第二消息内容的合并消息内容。
上述实施例中,当第一消息内容移动至消息编辑区域中时,通过响应于持续作用操作结束,可以在消息编辑区域中将第一消息内容和第二消息内容进行合并,并在消息编辑区域中显示包括第一消息内容和第二消息内容的合并消息内容,提供了一种新的消息合并方式。
在一个实施例中,第一消息内容存储于第一消息气泡;在响应于持续作用操作结束,在消息编辑区域中显示包括第一消息内容和第二消息内容的合并消息内容之后,方法还包括:将第一消息气泡恢复显示于持续作用操作前所处的初始位置;初始位置是在响应持续作用操作之前,第一消息气泡在消息显示区域中所位于的位置。
具体地,终端可响应于针对第一消息气泡的持续作用操作,将消息显示区域中的第一消息气泡向消息编辑区域中的第二消息内容移动。当第一消息气泡移动至消息编辑区域中时,终端可响应于持续作用操作结束,将第一消息内容和第二消息内容进行合并,并在消息编辑区域中显示包括第一消息内容和第二消息内容的合并消息内容。终端可确定在响应持续作用操作之前,第一消息气泡在消息显示区域中所位于的初始位置。在消息编辑区域中显示包括第一消息内容和第二消息内容的合并消息内 容之后,终端可将第一消息气泡恢复显示于持续作用操作前所处的初始位置。
上述实施例中,通过将第一消息气泡恢复显示于持续作用操作前所处的初始位置。可以提升消息内容的显示效果,同时,还可以便于下一次针对第一消息内容的消息合并。
在一个实施例中,终端可响应于持续作用操作结束,将第一消息内容和第二消息内容进行合并,并在消息编辑区域中显示包括第一消息内容和第二消息内容的合并消息内容,并使第一消息气泡不再在消息显示区域显示。
在一个实施例中,第二消息内容是在第一消息内容之前通过持续作用操作移动至消息编辑区域中的;合并消息内容中的第一消息内容和第二消息内容,是按照第一消息内容和第二消息内容分别对应的移动先后顺序进行排序显示的;移动先后顺序,是指第一消息内容和第二消息内容被移动至消息编辑区域的先后顺序。
具体地,终端可响应于针对第二消息内容的持续作用操作,将第二消息内容移动至消息编辑区域中。进而,终端可响应于针对第一消息内容的持续作用操作,将第一消息内容向消息编辑区域中的第二消息内容移动。当第一消息内容移动至消息编辑区域时,终端可响应于持续作用操作结束,将第一消息内容和第二消息内容进行合并。终端可按照第一消息内容和第二消息内容分别被移动至消息编辑区域的先后顺序,显示包括第一消息内容和第二消息内容的合并消息内容。
在一个实施例中,持续作用操作包括拖拽操作。参见图14所示,第一消息内容,即“这是一条长长长长的信息”存储于第一消息气泡P03中,第二消息内容,即“这是一条信息”存储于第二消息气泡P02中。参见图15,终端可响应于针对第二消息气泡P02的移动激活操作,将第二消息气泡P02激活,被激活的第二消息气泡P02可被拖拽移动。参见图16,终端可响应于针对第二消息气泡P02的拖拽操作,将第二消息气泡P02向消息编辑区域W02移动。参见图17,终端可将第二消息气泡P02中的第二消息内容移动至消息编辑区域W02中。如图18所示,终端可响应于针对第一消息气泡P03的拖拽操作,将第一消息气泡P03中的第一消息内容向消息编辑区域W02中的第二消息内容移动。当第一消息内容移动至消息编辑区域W02时,终端可响应于拖拽操作结束,在消息编辑区域W02中显示包括第一消息内容和第二消息内容的合并消息内容,即“这是一条信息这是一条长长长长的信息”。
上述实施例中,合并消息内容中的第一消息内容和第二消息内容,通过按照第一消息内容和第二消息内容分别对应的移动先后顺序进行排序显示,可以提供一种新的消息内容展示方式,同时,也提升了消息内容的显示效果。
如图19所示,在一个实施例中,提供了一种消息处理方法,该方法可应用于终端,由终端自身单独执行,也可以通过终端和服务器之间的交互来实现。本实施例以该方法应用于图1中的终端102为例进行说明,包括以下步骤:
步骤1902,显示第一消息内容和第二消息内容;第一消息内容存储于信息交互页面的消息显示区域内的第一消息气泡中;第二消息内容存储于消息显示区域内的第二消息气泡中;第一消息内容是第一用户对象发送的;第一消息气泡被移动前与第一用户对象的可视化信息在消息显示区域内对应显示。
步骤1904,响应于针对第一消息气泡的移动激活操作,将第一消息气泡激活,并将信息交互页面进行页面位置固定。
步骤1906,响应于针对第一消息气泡的持续作用操作,在固定后的信息交互页面中,在保持第一用户可视化信息和第一消息气泡之间的对应显示的情况下,使第一用户对象的可视化信息和第一消息气泡跟随持续作用操作的操作点的移动向第二消息气泡移动。
步骤1908,当被持续移动的第一消息气泡与第二消息气泡之间的距离满足距离接近条件时,响应于持续作用操作结束,在消息显示区域中融合第一消息气泡和第二消息气泡,得到融合消息气泡。
步骤1910,在融合消息气泡中显示包括第一消息内容和第二消息内容的合并消息内容,并使第一消息气泡和第二消息气泡不再显示。
在一个实施例中,若第二消息内容是第一用户对象发送的,在融合消息气泡中第一用户对象的可视化信息与合并消息内容关联显示。
在一个实施例中,若第二消息内容是由不同于第一用户对象的第二用户对象发送的,则在生成的融合消息气泡中,第一消息内容与第一用户对象的可视化信息关联展示,融合消息气泡中的第二消息 内容与第二用户对象的可视化信息关联展示。
在一个实施例中,合并消息内容中的第一消息内容和第二消息内容,是按照第一消息内容和第二消息内容分别对应的消息获取时间进行排序显示的。
步骤1912,在融合消息气泡中,显示针对合并消息内容的至少一个消息处理标识;每个消息处理标识用于标识一种类型的消息处理方式。
步骤1914,响应于针对消息处理标识的触发操作,对合并消息内容进行相应的消息处理。
在一个实施例中,至少一个消息处理标识包括消息转发处理标识和消息收藏处理标识中的至少一个;响应于针对消息处理标识的触发操作,对合并消息内容进行相应的消息处理包括以下至少一种处理:响应于针对消息转发处理标识的触发操作,对合并消息内容进行转发;响应于针对消息收藏处理标识的触发操作,对合并消息内容进行收藏。
在一个实施例中,第一消息内容显示在消息显示区域内的第一消息气泡中,第二消息内容显示在信息交互页面的消息编辑区域中;当第一消息气泡移动至消息编辑区域中时,响应于持续作用操作结束,在消息编辑区域中显示包括第一消息内容和第二消息内容的合并消息内容。
在一个实施例中,将第一消息气泡恢复显示于持续作用操作前所处的初始位置;初始位置是在响应持续作用操作之前,第一消息气泡在消息显示区域中所位于的位置。
在一个实施例中,第二消息内容是在第一消息内容之前通过持续作用操作移动至消息编辑区域中的;合并消息内容中的第一消息内容和第二消息内容,是按照第一消息内容和第二消息内容分别对应的移动先后顺序进行排序显示的;移动先后顺序,是指第一消息内容和第二消息内容被移动至消息编辑区域的先后顺序。
本申请还提供一种应用场景,该应用场景应用上述的消息处理方法。具体地,该消息处理方法可应用于即时通讯中消息合并的场景。可以理解,终端上安装有即时通讯应用,终端可通过该即时通讯应用执行上述的消息处理方法。具体地,终端可显示第一即时消息内容和第二即时消息内容;第一即时消息内容存储于信息交互页面的即时消息显示区域内的第一即时消息气泡中;第二即时消息内容存储于即时消息显示区域内的第二即时消息气泡中;第一即时消息内容是第一用户对象发送的;第一即时消息气泡被移动前与第一用户对象的可视化信息在即时消息显示区域内对应显示。响应于针对第一即时消息气泡的移动激活操作,将第一即时消息气泡激活,并将信息交互页面进行页面位置固定。
终端可响应于针对第一即时消息气泡的持续作用操作,在固定后的信息交互页面中,在保持第一用户可视化信息和第一即时消息气泡之间的对应显示的情况下,使第一用户对象的可视化信息和第一即时消息气泡跟随持续作用操作的操作点的移动向第二即时消息气泡移动。当被持续移动的第一即时消息气泡与第二即时消息气泡之间的距离满足距离接近条件时,响应于持续作用操作结束,在即时消息显示区域中融合第一即时消息气泡和第二即时消息气泡,得到融合即时消息气泡。在融合即时消息气泡中显示包括第一即时消息内容和第二即时消息内容的合并即时消息内容,并使第一即时消息气泡和第二即时消息气泡不再显示。
其中,若第二即时消息内容是第一用户对象发送的,在融合即时消息气泡中第一用户对象的可视化信息与合并即时消息内容关联显示。若第二即时消息内容是由不同于第一用户对象的第二用户对象发送的,则在生成的融合即时消息气泡中,第一即时消息内容与第一用户对象的可视化信息关联展示,融合即时消息气泡中的第二即时消息内容与第二用户对象的可视化信息关联展示。需要说明的是,合并即时消息内容中的第一即时消息内容和第二即时消息内容,可以是按照第一即时消息内容和第二即时消息内容分别对应的消息获取时间进行排序显示的。
终端可在融合即时消息气泡中,显示针对合并即时消息内容的至少一个即时消息处理标识;每个即时消息处理标识用于标识一种类型的即时消息处理方式。响应于针对即时消息处理标识的触发操作,对合并即时消息内容进行相应的消息处理。
其中,至少一个即时消息处理标识包括即时消息转发处理标识和即时消息收藏处理标识中的至少一个;响应于针对即时消息处理标识的触发操作,对合并即时消息内容进行相应的消息处理包括以下至少一种处理:响应于针对即时消息转发处理标识的触发操作,对合并即时消息内容进行转发;响应于针对即时消息收藏处理标识的触发操作,对合并即时消息内容进行收藏。
若第一即时消息内容显示在即时消息显示区域内的第一即时消息气泡中,第二即时消息内容显示在信息交互页面的即时消息编辑区域中;当第一即时消息气泡移动至即时消息编辑区域中时,终端可 响应于持续作用操作结束,在即时消息编辑区域中显示包括第一即时消息内容和第二即时消息内容的合并即时消息内容。终端可将第一即时消息气泡恢复显示于持续作用操作前所处的初始位置;初始位置是在响应持续作用操作之前,第一即时消息气泡在即时消息显示区域中所位于的位置。需要说明的是,第二即时消息内容可以是在第一即时消息内容之前通过持续作用操作移动至即时消息编辑区域中的;合并即时消息内容中的第一即时消息内容和第二即时消息内容,可以是按照第一即时消息内容和第二即时消息内容分别对应的移动先后顺序进行排序显示的;移动先后顺序,是指第一即时消息内容和第二即时消息内容被移动至即时消息编辑区域的先后顺序。
本申请通过针对第一即时消息内容的持续作用操作,将第一即时消息内容向第二即时消息内容移动,以将第一即时消息内容和第二即时消息内容进行即时消息合并,可以更便捷地将多条即时消息内容整合为一条即时消息内容,即合并即时消息内容,提升了即时消息合并效率。此外,用户还可将合并后的合并即时消息内容进行快速和便捷的相应即时消息处理,尤其是即时通讯用户可以将合并后的合并即时消息内容快速和便捷地发送给参与即时通讯的其他用户,满足了即时通讯应用场景中需要快速响应即时消息的业务需求,进一步提升了消息处理效率。
本申请还另外提供一种应用场景,该应用场景应用上述的消息处理方法。具体地,该消息处理方法可应用于非即时通讯中消息合并的场景。通过本申请的消息处理方法,可快速和便捷地将第一非即时消息内容和第二非即时消息内容进行消息合并,提升了非即时通讯场景中消息的合并效率。比如,本申请的消息处理方法可应用于社交平台消息的合并。举例说明,该消息处理方法可应用于网页论坛消息合并的场景,具体地,网页论坛页面中显示有第一评论消息内容和第一评论消息内容,终端可针对第一评论消息内容的持续作用操作,将第一评论消息内容向第二评论消息内容移动,以实现对第一评论消息内容和第二评论消息内容的合并,提升了网页论坛消息合并的效率。可以理解,本申请的消息处理方法还可应用于视频直播平台中的消息合并场景、弹幕消息合并的场景等中的至少一种场景。
应该理解的是,虽然上述各实施例的流程图中的各个步骤按照顺序依次显示,但是这些步骤并不是必然按照顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,上述各实施例中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。
在一个实施例中,如图20所示,提供了一种消息处理装置2000,该装置可以采用软件模块或硬件模块,或者是二者的结合成为计算机设备的一部分,该装置具体包括:
显示模块2002,用于显示第一消息内容和第二消息内容。
移动模块2004,用于响应于针对第一消息内容的持续作用操作,将第一消息内容向第二消息内容移动。
显示模块2002还用于当第一消息内容移动至第二消息内容所在位置区域时,响应于持续作用操作结束,显示包括第一消息内容和第二消息内容的合并消息内容。
在一个实施例中,第一消息内容和第二消息内容显示在信息交互页面中;移动模块2004还用于响应于针对第一消息内容的移动激活操作,将第一消息内容激活,并将信息交互页面进行页面位置固定;固定后的信息交互页面在针对第一消息内容的持续作用操作的过程中页面的显示位置不发生变化;响应于针对激活的第一消息内容的持续作用操作,在固定后的信息交互页面中将第一消息内容向第二消息内容移动。
在一个实施例中,移动模块2004还用于响应于针对第一消息内容的持续作用操作,使第一消息内容跟随持续作用操作的操作点的移动向第二消息内容移动。
在一个实施例中,第一消息内容和第二消息内容显示在信息交互页面的消息显示区域中;显示模块2002还用于当第一消息内容移动至第二消息内容在消息显示区域中所处的位置区域时,响应于持续作用操作结束,在消息显示区域中显示包括第一消息内容和第二消息内容的合并消息内容。
在一个实施例中,显示模块2002还用于在消息显示区域中,显示针对合并消息内容的至少一个消息处理标识;每个消息处理标识用于标识一种类型的消息处理方式;响应于针对消息处理标识的触 发操作,对合并消息内容进行相应的消息处理。
在一个实施例中,至少一个消息处理标识包括消息转发处理标识和消息收藏处理标识中的至少一个;响应于针对消息处理标识的触发操作,对合并消息内容进行相应的消息处理包括以下至少一种处理:响应于针对消息转发处理标识的触发操作,对合并消息内容进行转发;响应于针对消息收藏处理标识的触发操作,对合并消息内容进行收藏。
在一个实施例中,显示模块2002还用于当被持续移动的第一消息内容和第二消息内容之间的位置距离满足距离接近条件时,响应于持续作用操作结束,在消息显示区域中显示包括第一消息内容和第二消息内容的合并消息内容。
在一个实施例中,第一消息内容存储于消息显示区域内的第一消息气泡中;第二消息内容存储于消息显示区域内的第二消息气泡中;持续作用操作,用于将第一消息气泡向第二消息气泡移动;显示模块2002还用于当被持续移动的第一消息气泡与第二消息气泡之间的距离满足距离接近条件时,响应于持续作用操作结束,在消息显示区域中融合第一消息气泡和第二消息气泡,得到融合消息气泡;在融合消息气泡中显示包括第一消息内容和第二消息内容的合并消息内容。
在一个实施例中,显示模块2002还用于当被持续移动的第一消息气泡与第二消息气泡之间的距离满足距离接近条件时,响应于持续作用操作结束,在消息显示区域中融合第一消息气泡和第二消息气泡,得到融合消息气泡,并使第一消息气泡和第二消息气泡不再显示。
在一个实施例中,第一消息内容是第一用户对象发送的;第一消息气泡被移动前与第一用户对象的可视化信息在消息显示区域内对应显示;移动模块2004还用于响应于针对第一消息气泡的持续作用操作,在保持第一用户可视化信息和第一消息气泡之间的对应显示的情况下,将第一用户对象的可视化信息和第一消息气泡向第二消息气泡移动。
在一个实施例中,若第二消息内容是第一用户对象发送的,在融合消息气泡中第一用户对象的可视化信息与合并消息内容关联显示。
在一个实施例中,若第二消息内容是由不同于第一用户对象的第二用户对象发送的,则在生成的融合消息气泡中,第一消息内容与第一用户对象的可视化信息关联展示,融合消息气泡中的第二消息内容与第二用户对象的可视化信息关联展示。
在一个实施例中,合并消息内容中的第一消息内容和第二消息内容,是按照第一消息内容和第二消息内容分别对应的消息获取时间进行排序显示的。
在一个实施例中,第一消息内容显示在信息交互页面的消息显示区域中,第二消息内容显示在信息交互页面的消息编辑区域中;显示模块2002还用于当第一消息内容移动至消息编辑区域中时,响应于持续作用操作结束,在消息编辑区域中显示包括第一消息内容和第二消息内容的合并消息内容。
在一个实施例中,第一消息内容存储于第一消息气泡;显示模块2002还用于将第一消息气泡恢复显示于持续作用操作前所处的初始位置;初始位置是在响应持续作用操作之前,第一消息气泡在消息显示区域中所位于的位置。
在一个实施例中,第二消息内容是在第一消息内容之前通过持续作用操作移动至消息编辑区域中的;合并消息内容中的第一消息内容和第二消息内容,是按照第一消息内容和第二消息内容分别对应的移动先后顺序进行排序显示的;移动先后顺序,是指第一消息内容和第二消息内容被移动至消息编辑区域的先后顺序。
在一个实施例中,显示模块2002还用于确定第一消息内容和第二消息内容分别对应的消息获取时间;按照第一消息内容和第二消息内容分别对应的消息获取时间的先后顺序,将第一消息内容和第二消息内容在显示界面中进行排序显示。
在一个实施例中,显示模块2002还用于在第一消息内容未移动至第二消息内容所在位置区域、但持续作用操作结束的情况下,将第一消息内容恢复显示在持续作用操作前所处的初始位置。
上述消息处理装置,通过显示第一消息内容和第二消息内容,响应于针对第一消息内容的持续作用操作,可以将第一消息内容向第二消息内容移动。当第一消息内容移动至第二消息内容所在位置区域时,响应于持续作用操作结束,可以显示包括第一消息内容和第二消息内容的合并消息内容。相较于传统的通过多选多条消息以进行消息合并的方式,本申请通过针对第一消息内容的持续作用操作,将第一消息内容向第二消息内容移动,以将第一消息内容和第二消息内容进行消息合并,可以更便捷地将多条消息整合为一条消息,从而提升了消息合并效率。
上述消息处理装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。
在一个实施例中,提供了一种计算机设备,该计算机设备可以是终端,其内部结构图可以如图21所示。该计算机设备包括处理器、存储器、输入/输出接口、通信接口、显示单元和输入装置。其中,处理器、存储器和输入/输出接口通过系统总线连接,通信接口、显示单元和输入装置通过输入/输出接口连接到系统总线。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机可读指令。该内存储器为非易失性存储介质中的操作系统和计算机可读指令的运行提供环境。该计算机设备的输入/输出接口用于处理器与外部设备之间交换信息。该计算机设备的通信接口用于与外部的终端进行有线或无线方式的通信,无线方式可通过WIFI、移动蜂窝网络、NFC(近场通信)或其他技术实现。该计算机可读指令被处理器执行时以实现一种消息处理方法。该计算机设备的显示单元用于形成视觉可见的画面,可以是显示屏、投影装置或虚拟现实成像装置,显示屏可以是液晶显示屏或电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。
本领域技术人员可以理解,图21中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。
在一个实施例中,还提供了一种计算机设备,包括存储器和一个或多个处理器,存储器中存储有计算机可读指令,该一个或多个处理器执行计算机可读指令时实现上述各方法实施例中的步骤。
在一个实施例中,提供了一个或多个计算机可读存储介质,存储有计算机可读指令,该计算机可读指令被一个或多个处理器执行时实现上述各方法实施例中的步骤。
在一个实施例中,提供了一种计算机程序产品,包括计算机可读指令,计算机可读指令被一个或多个处理器执行时实现上述各方法实施例中的步骤。
需要说明的是,本申请所涉及的用户信息(包括但不限于用户设备信息、用户个人信息等)和数据(包括但不限于用于分析的数据、存储的数据、展示的数据等),均为经用户授权或者经过各方充分授权的信息和数据,且相关数据的收集、使用和处理需要遵守相关国家和地区的相关法律法规和标准。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机可读指令来指令相关的硬件来完成,所述的计算机可读指令可存储于一非易失性计算机可读取存储介质中,该计算机可读指令在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器(Read-Only Memory,ROM)、磁带、软盘、闪存或光存储器等。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或外部高速缓冲存储器。作为说明而非局限,RAM可以是多种形式,比如静态随机存取存储器(Static Random Access Memory,SRAM)或动态随机存取存储器(Dynamic Random Access Memory,DRAM)等。
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。

Claims (23)

  1. 一种消息处理方法,其特征在于,应用于终端,所述方法包括:
    显示第一消息内容和第二消息内容;
    响应于针对所述第一消息内容的持续作用操作,将所述第一消息内容向所述第二消息内容移动;
    当所述第一消息内容移动至所述第二消息内容所在位置区域时,响应于所述持续作用操作结束,显示包括所述第一消息内容和所述第二消息内容的合并消息内容。
  2. 根据权利要求1所述的方法,其特征在于,所述第一消息内容和所述第二消息内容显示在信息交互页面中;所述方法还包括:
    响应于针对所述第一消息内容的移动激活操作,将所述第一消息内容激活,并将所述信息交互页面进行页面位置固定;固定后的信息交互页面在针对所述第一消息内容的持续作用操作的过程中页面的显示位置不发生变化;
    所述响应于针对所述第一消息内容的持续作用操作,将所述第一消息内容向所述第二消息内容移动,包括:
    响应于针对激活的所述第一消息内容的持续作用操作,在固定后的信息交互页面中将所述第一消息内容向所述第二消息内容移动。
  3. 根据权利要求1所述的方法,其特征在于,所述响应于针对所述第一消息内容的持续作用操作,将所述第一消息内容向所述第二消息内容移动,包括:
    响应于针对所述第一消息内容的持续作用操作,使所述第一消息内容跟随所述持续作用操作的操作点的移动向所述第二消息内容移动。
  4. 根据权利要求3所述的方法,其特征在于,所述持续作用操作包括拖拽操作;所述响应于针对所述第一消息内容的持续作用操作,使所述第一消息内容跟随所述持续作用操作的操作点的移动向所述第二消息内容移动,包括:
    响应于针对所述第一消息内容的拖拽操作,使所述第一消息内容跟随所述拖拽操作的拖拽操作点的移动向所述第二消息内容移动。
  5. 根据权利要求1所述的方法,其特征在于,所述第一消息内容和所述第二消息内容显示在信息交互页面的消息显示区域中;
    所述当所述第一消息内容移动至所述第二消息内容所在位置区域时,响应于所述持续作用操作结束,显示包括所述第一消息内容和所述第二消息内容的合并消息内容,包括:
    当所述第一消息内容移动至所述第二消息内容在所述消息显示区域中所处的位置区域时,响应于所述持续作用操作结束,在所述消息显示区域中显示包括所述第一消息内容和所述第二消息内容的合并消息内容。
  6. 根据权利要求5所述的方法,其特征在于,所述方法还包括:
    在所述消息显示区域中,显示针对所述合并消息内容的至少一个消息处理标识;每个消息处理标识用于标识一种类型的消息处理方式;
    响应于针对所述消息处理标识的触发操作,对所述合并消息内容进行相应的消息处理。
  7. 根据权利要求6所述的方法,其特征在于,所述至少一个消息处理标识包括消息转发处理标识和消息收藏处理标识中的至少一个;所述响应于针对所述消息处理标识的触发操作,对所述合并消息内容进行相应的消息处理包括以下至少一种处理:
    响应于针对所述消息转发处理标识的触发操作,对所述合并消息内容进行转发;
    响应于针对所述消息收藏处理标识的触发操作,对所述合并消息内容进行收藏。
  8. 根据权利要求5所述的方法,其特征在于,所述当所述第一消息内容移动至所述第二消息内容在所述消息显示区域中所处的位置区域时,响应于所述持续作用操作结束,在所述消息显示区域中显示包括所述第一消息内容和所述第二消息内容的合并消息内容, 包括:
    当被持续移动的第一消息内容和所述第二消息内容之间的位置距离满足距离接近条件时,响应于所述持续作用操作结束,在所述消息显示区域中显示包括所述第一消息内容和所述第二消息内容的合并消息内容。
  9. 根据权利要求1所述的方法,其特征在于,所述第一消息内容存储于消息显示区域内的第一消息气泡中;所述第二消息内容存储于所述消息显示区域内的第二消息气泡中;所述持续作用操作,用于将所述第一消息气泡向所述第二消息气泡移动;
    所述当所述第一消息内容移动至所述第二消息内容所在位置区域时,响应于所述持续作用操作结束,显示包括所述第一消息内容和所述第二消息内容的合并消息内容,包括:
    当被持续移动的所述第一消息气泡与所述第二消息气泡之间的距离满足距离接近条件时,响应于所述持续作用操作结束,在所述消息显示区域中融合所述第一消息气泡和所述第二消息气泡,得到融合消息气泡;
    在所述融合消息气泡中显示包括所述第一消息内容和所述第二消息内容的合并消息内容。
  10. 根据权利要求9所述的方法,其特征在于,所述当被持续移动的所述第一消息气泡与所述第二消息气泡之间的距离满足距离接近条件时,响应于所述持续作用操作结束,在所述消息显示区域中融合所述第一消息气泡和所述第二消息气泡,得到融合消息气泡,包括:
    当被持续移动的所述第一消息气泡与所述第二消息气泡之间的距离满足距离接近条件时,响应于所述持续作用操作结束,在所述消息显示区域中融合所述第一消息气泡和所述第二消息气泡,得到融合消息气泡,并使所述第一消息气泡和所述第二消息气泡不再显示。
  11. 根据权利要求9所述的方法,其特征在于,所述第一消息内容是第一用户对象发送的;所述第一消息气泡被移动前与第一用户对象的可视化信息在所述消息显示区域内对应显示;
    所述响应于针对所述第一消息内容的持续作用操作,将所述第一消息内容向所述第二消息内容移动,包括:
    响应于针对所述第一消息气泡的持续作用操作,在保持所述第一用户可视化信息和所述第一消息气泡之间的对应显示的情况下,将所述第一用户对象的可视化信息和所述第一消息气泡向所述第二消息气泡移动。
  12. 根据权利要求11所述的方法,其特征在于,若所述第二消息内容是所述第一用户对象发送的,在所述融合消息气泡中所述第一用户对象的可视化信息与所述合并消息内容关联显示。
  13. 根据权利要求11所述的方法,其特征在于,若所述第二消息内容是由不同于所述第一用户对象的第二用户对象发送的,则在生成的融合消息气泡中,所述第一消息内容与所述第一用户对象的可视化信息关联展示,所述融合消息气泡中的所述第二消息内容与所述第二用户对象的可视化信息关联展示。
  14. 根据权利要求1所述的方法,其特征在于,所述合并消息内容中的所述第一消息内容和所述第二消息内容,是按照所述第一消息内容和所述第二消息内容分别对应的消息获取时间进行排序显示的。
  15. 根据权利要求1所述的方法,其特征在于,所述第一消息内容显示在信息交互页面的消息显示区域中,所述第二消息内容显示在信息交互页面的消息编辑区域中;
    所述当所述第一消息内容移动至所述第二消息内容所在位置区域时,响应于所述持续作用操作结束,显示包括所述第一消息内容和所述第二消息内容的合并消息内容,包括:
    当所述第一消息内容移动至所述消息编辑区域中时,响应于所述持续作用操作结束, 在所述消息编辑区域中显示包括所述第一消息内容和所述第二消息内容的合并消息内容。
  16. 根据权利要求15所述的方法,其特征在于,所述第一消息内容存储于第一消息气泡;在所述响应于所述持续作用操作结束,在所述消息编辑区域中显示包括所述第一消息内容和所述第二消息内容的合并消息内容之后,所述方法还包括:
    将所述第一消息气泡恢复显示于持续作用操作前所处的初始位置;所述初始位置是在响应所述持续作用操作之前,所述第一消息气泡在所述消息显示区域中所位于的位置。
  17. 根据权利要求16所述的方法,其特征在于,所述第二消息内容是在所述第一消息内容之前通过持续作用操作移动至所述消息编辑区域中的;所述合并消息内容中的所述第一消息内容和所述第二消息内容,是按照所述第一消息内容和所述第二消息内容分别对应的移动先后顺序进行排序显示的;所述移动先后顺序,是指所述第一消息内容和所述第二消息内容被移动至所述消息编辑区域的先后顺序。
  18. 根据权利要求1所述的方法,其特征在于,所述显示第一消息内容和第二消息内容,包括:
    确定第一消息内容和第二消息内容分别对应的消息获取时间;
    按照所述第一消息内容和所述第二消息内容分别对应的消息获取时间的先后顺序,将所述第一消息内容和所述第二消息内容在显示界面中进行排序显示。
  19. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    在所述第一消息内容未移动至所述第二消息内容所在位置区域、但所述持续作用操作结束的情况下,将所述第一消息内容恢复显示在所述持续作用操作前所处的初始位置。
  20. 一种消息处理装置,其特征在于,所述装置包括:
    显示模块,用于显示第一消息内容和第二消息内容;
    移动模块,用于响应于针对所述第一消息内容的持续作用操作,将所述第一消息内容向所述第二消息内容移动;
    所述显示模块还用于当所述第一消息内容移动至所述第二消息内容所在位置区域时,响应于所述持续作用操作结束,显示包括所述第一消息内容和所述第二消息内容的合并消息内容。
  21. 一种计算机设备,包括存储器和一个或多个处理器,所述存储器存储有计算机可读指令,其特征在于,所述一个或多个处理器执行所述计算机可读指令时实现权利要求1至19中任一项所述的方法的步骤。
  22. 一个或多个计算机可读存储介质,存储有计算机可读指令,其特征在于,所述计算机可读指令被一个或多个处理器执行时实现权利要求1至19中任一项所述的方法的步骤。
  23. 一种计算机程序产品,包括计算机可读指令,其特征在于,所述计算机可读指令被一个或多个处理器执行时实现权利要求1至19中任一项所述的方法的步骤。
PCT/CN2023/079777 2022-03-24 2023-03-06 消息处理方法、装置、设备、介质和计算机程序产品 WO2023179345A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US18/456,582 US20230403245A1 (en) 2022-03-24 2023-08-28 Message processing method and apparatus, device, and medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210292548.2 2022-03-24
CN202210292548.2A CN116846855A (zh) 2022-03-24 2022-03-24 消息处理方法、装置、设备、介质和计算机程序产品

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/456,582 Continuation US20230403245A1 (en) 2022-03-24 2023-08-28 Message processing method and apparatus, device, and medium

Publications (1)

Publication Number Publication Date
WO2023179345A1 true WO2023179345A1 (zh) 2023-09-28

Family

ID=88099913

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/079777 WO2023179345A1 (zh) 2022-03-24 2023-03-06 消息处理方法、装置、设备、介质和计算机程序产品

Country Status (3)

Country Link
US (1) US20230403245A1 (zh)
CN (1) CN116846855A (zh)
WO (1) WO2023179345A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110119337A1 (en) * 2009-11-19 2011-05-19 At&T Intellectual Property I, L.P. System and Method for Electronic Messaging and Voicemail Management
CN105141496A (zh) * 2014-05-29 2015-12-09 腾讯科技(深圳)有限公司 一种即时通信消息播放方法及装置
CN108009136A (zh) * 2017-10-31 2018-05-08 努比亚技术有限公司 一种消息修正的方法及移动终端、计算机可读存储介质
CN110620846A (zh) * 2019-09-26 2019-12-27 Oppo广东移动通信有限公司 消息合并方法、装置、设备及存储介质
CN110673770A (zh) * 2019-09-18 2020-01-10 维沃移动通信有限公司 消息展示方法及终端设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110119337A1 (en) * 2009-11-19 2011-05-19 At&T Intellectual Property I, L.P. System and Method for Electronic Messaging and Voicemail Management
CN105141496A (zh) * 2014-05-29 2015-12-09 腾讯科技(深圳)有限公司 一种即时通信消息播放方法及装置
CN108009136A (zh) * 2017-10-31 2018-05-08 努比亚技术有限公司 一种消息修正的方法及移动终端、计算机可读存储介质
CN110673770A (zh) * 2019-09-18 2020-01-10 维沃移动通信有限公司 消息展示方法及终端设备
CN110620846A (zh) * 2019-09-26 2019-12-27 Oppo广东移动通信有限公司 消息合并方法、装置、设备及存储介质

Also Published As

Publication number Publication date
CN116846855A (zh) 2023-10-03
US20230403245A1 (en) 2023-12-14

Similar Documents

Publication Publication Date Title
US10877826B2 (en) Message processing method and apparatus, storage medium, and computer device
KR102608967B1 (ko) 메신저 어플리케이션과 연관된 대화방을 디스플레이하는 방법 및 장치
US10326715B2 (en) System and method for updating information in an instant messaging application
US20130254708A1 (en) Communication Room Management Systems
WO2022089209A1 (zh) 一种图片评论的处理方法、装置、电子设备和存储介质
US11775244B2 (en) Data processing method and electronic terminal
WO2017005097A1 (zh) 基于聊天群进行业务操作、获取群成员信息的方法及装置
JP7167229B2 (ja) 融合関係ネットワークの構築方法、融合関係ネットワークの構築装置、電子デバイス、記憶媒体及びプログラム
JP2024518775A (ja) メッセージ処理方法、第1メッセージ処理装置、第2メッセージ処理装置及び電子機器
CN111880695A (zh) 一种屏幕共享方法、装置、设备及存储介质
TWI734670B (zh) 資訊卡處理方法及裝置
US20230004673A1 (en) Information management system and method for communication application, and display terminal
WO2014176896A1 (en) System and method for updating information in an instant messaging application
US20220291815A1 (en) Message transmitting method and apparatus, message receiving method and apparatus, device, and medium
CN113885746A (zh) 消息发送方法、装置及电子设备
EP3835967A1 (en) Card data display method and apparatus, and storage medium
WO2023179345A1 (zh) 消息处理方法、装置、设备、介质和计算机程序产品
CN110704151A (zh) 一种信息处理方法、装置和电子设备
WO2022253132A1 (zh) 信息显示方法、装置和电子设备
CN115373558A (zh) 投屏方法、装置、设备及存储介质
CN109753205B (zh) 一种显示方法及装置
US11972173B2 (en) Providing change in presence sounds within virtual working environment
US20230034924A1 (en) Object account grouping method and apparatus
US20230410394A1 (en) Image display method and apparatus, device, and medium
WO2024007655A1 (zh) 一种社交处理方法及相关设备

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: 23773596

Country of ref document: EP

Kind code of ref document: A1